parent
e9db869523
commit
db733374dd
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue