Skip to content

Commit 2b359c1

Browse files
authored
V2 alpha.6 (node-fetch#313)
2.0.0-alpha.6 * changelog update for new release * version bump
1 parent 432cd8a commit 2b359c1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ This is a major release. Check [our upgrade guide](https://github.com/bitinn/nod
1919
- Other: rewrite in ES2015 using Babel
2020
- Other: use Codecov for code coverage tracking
2121
- Other: update package.json script for npm 5
22+
- Other: `encoding` module is now optional
2223

2324
### HTTP requests
2425

@@ -33,6 +34,8 @@ This is a major release. Check [our upgrade guide](https://github.com/bitinn/nod
3334
- Major: throw error when a `GET` or `HEAD` Request is constructed with a non-null body (per spec)
3435
- Enhance: add `response.arrayBuffer()` (also applies to Requests)
3536
- Enhance: add experimental `response.blob()` (also applies to Requests)
37+
- Enhance: `URLSearchParams` is now accepted as a body
38+
- Enhance: wrap `response.json()` json parsing error as `FetchError`
3639
- Fix: fix Request and Response with `null` body
3740

3841
### Headers class

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-alpha.5",
3+
"version": "2.0.0-alpha.6",
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)