Releases: node-fetch/node-fetch
Releases · node-fetch/node-fetch
v2.6.0
v2.5.0
v2.4.1
v2.4.0
v2.3.0
v2.2.1
Version 2.1.2
- Fix: allow
Body
methods to work on ArrayBuffer-backed
Body` objects - Fix: reject promise returned by
Body
methods when the accumulatedBuffer
exceeds the maximum size - Fix: support custom
Host
headers with any casing - Fix: support importing
fetch()
from TypeScript inbrowser.js
- Fix: handle the redirect response body properly
See CHANGELOG.
Version 2.1.1
See CHANGELOG.
Fix packaging errors in version 2.1.0.
Version 2.1.0
See CHANGELOG:
- Enhance: allow using ArrayBuffer as the
body
of afetch()
orRequest
- 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 - Fix: silently ignore invalid HTTP headers
- Fix: handle HTTP redirect responses without a
Location
header just like non-redirect responses - Fix: include bodies when following a redirection when appropriate
Version 2.0.0
This is a major release. See upgrade guide on how to upgrade from v1.x, and the changelog for all changes.