diff --git a/CHANGELOG.md b/CHANGELOG.md index 85b2e2ad0..5166b53db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/package.json b/package.json index 57b0f9586..0792d74f4 100644 --- a/package.json +++ b/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",