File tree 2 files changed +4
-1
lines changed 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ This is a major release. Check [our upgrade guide](https://github.com/bitinn/nod
19
19
- Other: rewrite in ES2015 using Babel
20
20
- Other: use Codecov for code coverage tracking
21
21
- Other: update package.json script for npm 5
22
+ - Other: ` encoding ` module is now optional
22
23
23
24
### HTTP requests
24
25
@@ -33,6 +34,8 @@ This is a major release. Check [our upgrade guide](https://github.com/bitinn/nod
33
34
- Major: throw error when a ` GET ` or ` HEAD ` Request is constructed with a non-null body (per spec)
34
35
- Enhance: add ` response.arrayBuffer() ` (also applies to Requests)
35
36
- 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 `
36
39
- Fix: fix Request and Response with ` null ` body
37
40
38
41
### Headers class
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " node-fetch" ,
3
- "version" : " 2.0.0-alpha.5 " ,
3
+ "version" : " 2.0.0-alpha.6 " ,
4
4
"description" : " A light-weight module that brings window.fetch to node.js" ,
5
5
"main" : " lib/index.js" ,
6
6
"browser" : " ./browser.js" ,
You can’t perform that action at this time.
0 commit comments