Skip to content

Commit

Permalink
Version Packages (#215)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jun 7, 2023
1 parent c7b190a commit fcfe7f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .changeset/smart-tools-occur.md

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @apollo/datasource-rest

## 6.0.1

### Patch Changes

- [#214](https://github.com/apollographql/datasource-rest/pull/214) [`c7b190a`](https://github.com/apollographql/datasource-rest/commit/c7b190a03d7c768e9db598755ce94ae2fa4581b8) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Fix bug in Cloudflare Worker usage where we try to call the `.raw()` method on its response headers object when it doesn't exist.

For some reason, the Cloudflare Worker's global `fetch` `HeadersList` object is passing the instanceof check against `node-fetch`'s `Headers` class, but it doesn't have the `.raw()` method we expect on it. To be sure, we can just make sure it's there before we call it.

## 6.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@apollo/datasource-rest",
"description": "REST DataSource for Apollo Server v4",
"version": "6.0.0",
"version": "6.0.1",
"author": "Apollo <packages@apollographql.com>",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit fcfe7f9

Please sign in to comment.