Releases: serviejs/popsicle
Releases · serviejs/popsicle
ServieJS
Changed
- Complete rewrite of core logic to use ServieJS interfaces and a transport function
@types
Changed
- Replace
typings
with@types
namespace
Updated Redirection Handler
Changed
- Automatically follow
HEAD
with 301, 302 or 303 (act likeGET
) - Remove 300 and 305 from handling
User-Agent Header
Fixed
- Correct the
User-Agent
header to follow RFC (https://tools.ietf.org/html/rfc7231#section-5.5.3)- Changed from
https://github.com/blakeembrey/popsicle
toPopsicle (https://github.com/blakeembrey/popsicle)
- Changed from
Middleware Handler
Notice: This version drops node < 4.0 support.
Fixed
- Correct the
Cookie
header usage to remove possible duplicates (28eb9e3) - Improved the usage of handling the end of the middleware chain to invoke the transport handler - previously it always created a promise instance even though it may never have resolved (e.g. in the case of cached responses, it would not call
next()
)
Changed
- Update to TypeScript 2.1
- Shrunk dependency footprint (extend and promises are available in node >= 4)
- Refactor progress and abort to use an internal event system which is propagated to cloned instances
Alias `Request#response`
Changed
- Alias
Request#response
to the response object (f577a21) - Update
[email protected]
(9ce0e89)
Export `FormData` constructor
Added
- Export the
FormData
constructor from main
Update `form-data`
Changed
- Updated
form-data
to latest release
Ignore empty bodies
Changed
- Always ignore empty bodies regardless of content type
Ignore `null` bodies
Changed
- Ignore
null
bodies