Merge pull request #319 from bitinn/v2-alpha-8

prepare next release (alpha.8)
This commit is contained in:
David Frank 2017-07-27 01:09:52 +08:00 committed by GitHub
commit 863449de2e
2 changed files with 3 additions and 2 deletions

View File

@ -19,12 +19,13 @@ This is a major release. Check [our upgrade guide](https://github.com/bitinn/nod
- Other: rewrite in ES2015 using Babel
- Other: use Codecov for code coverage tracking
- Other: update package.json script for npm 5
- Other: `encoding` module is now optional
- Other: `encoding` module is now optional (alpha.7)
### HTTP requests
- Major: overwrite user's `Content-Length` if we can be sure our information is correct (per spec)
- Fix: support WHATWG URL objects, created by `whatwg-url` package or `require('url').URL` in Node.js 7+
- Fix: a regression in older v2 build where `index.es.js` doesn't require https module, causing HTTPS request to fail (alpha.8)
### Response and Request classes

View File

@ -1,6 +1,6 @@
{
"name": "node-fetch",
"version": "2.0.0-alpha.7",
"version": "2.0.0-alpha.8",
"description": "A light-weight module that brings window.fetch to node.js",
"main": "lib/index.js",
"browser": "./browser.js",