Skip to content

Commit ccaeae0

Browse files
committed
v2.1.0
1 parent 119138e commit ccaeae0

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ Changelog
55

66
# 2.x release
77

8+
## v2.1.0
9+
10+
- Enhance: allow using ArrayBuffer as the `body` of a `fetch()` or `Request`
11+
- Fix: store HTTP headers of a `Headers` object internally with the given case, for compatibility with older servers that incorrectly treated header names in a case-sensitive manner
12+
- Fix: silently ignore invalid HTTP headers
13+
- Fix: handle HTTP redirect responses without a `Location` header just like non-redirect responses
14+
- Fix: include bodies when following a redirection when appropriate
15+
816
## v2.0.0
917

1018
This is a major release. Check [our upgrade guide](https://github.com/bitinn/node-fetch/blob/master/UPGRADE-GUIDE.md) for an overview on some key differences between v1 and v2.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-fetch",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "A light-weight module that brings window.fetch to node.js",
55
"main": "lib/index.js",
66
"browser": "./browser.js",

0 commit comments

Comments
 (0)