Fix CHANGELOG for v2.0.0-alpha.2

[ci skip]
This commit is contained in:
Timothy Gu 2017-01-28 08:41:59 -08:00
parent e9db869523
commit db733374dd
1 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,11 @@ Changelog
# 2.x release
## v2.0.0-alpha.2
- Major: remove `headers.getAll()`; make `get()` return all headers delimited by commas (per spec)
- Major: remove undocumented `FOLLOW_SPEC` switch -- it is now the default
## v2.0.0-alpha.1
This is a major release. Check [our upgrade guide](https://github.com/bitinn/node-fetch/blob/master/UPGRADE-GUIDE.md) for an overview on some key differences between v1 and v2.
@ -12,7 +17,6 @@ This is a major release. Check [our upgrade guide](https://github.com/bitinn/nod
- Major: Node.js 0.10.x support is dropped
- Major: rewrite in transpiled ES2015
- Major: internal methods are no longer exposed
- Major: remove `headers.getAll()`; make `get()` return all headers (per spec)
- Major: throw error when a GET/HEAD Request is constructed with a non-null body (per spec)
- Major: `response.text()` no longer attempts to detect encoding, instead always opting for UTF-8 (per spec); use `response.textConverted()` for the old behavior
- Major: make `response.json()` throw error instead of returning an empty object on 204 no-content respose (per spec; reverts behavior set in v1.6.2)