Skip to content

Commit

Permalink
2.4.0 release (#616)
Browse files Browse the repository at this point in the history
* changelog update
* package.json update
  • Loading branch information
bitinn committed Apr 26, 2019
1 parent 49d7760 commit c9805a2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Expand Up @@ -5,9 +5,17 @@ Changelog

# 2.x release

## v2.4.0

- Enhance: added `Brotli` compression support (using node's zlib).
- Enhance: updated `Blob` implementation per spec.
- Fix: set content type automatically for `URLSearchParams`.
- Fix: `Headers` now reject empty header names.
- Fix: test cases, as node 12+ no longer accepts invalid header response.

## v2.3.0

- New: `AbortSignal` support, with README example.
- Enhance: added `AbortSignal` support, with README example.
- Enhance: handle invalid `Location` header during redirect by rejecting them explicitly with `FetchError`.
- Fix: update `browser.js` to support react-native environment, where `self` isn't available globally.

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "node-fetch",
"version": "2.3.0",
"version": "2.4.0",
"description": "A light-weight module that brings window.fetch to node.js",
"main": "lib/index",
"browser": "./browser.js",
Expand Down

0 comments on commit c9805a2

Please sign in to comment.