Skip to content

Commit fcfe7f9

Browse files
Version Packages (#215)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent c7b190a commit fcfe7f9

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.changeset/smart-tools-occur.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @apollo/datasource-rest
22

3+
## 6.0.1
4+
5+
### Patch Changes
6+
7+
- [#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.
8+
9+
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.
10+
311
## 6.0.0
412

513
### Major Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@apollo/datasource-rest",
33
"description": "REST DataSource for Apollo Server v4",
4-
"version": "6.0.0",
4+
"version": "6.0.1",
55
"author": "Apollo <packages@apollographql.com>",
66
"license": "MIT",
77
"repository": {

0 commit comments

Comments
 (0)