Releases: serviejs/popsicle
Releases · serviejs/popsicle
Export `request`
Added
- More idiomatic method for non-ES6 users (calling
popsicle.default
is odd, now you can usepopsicle.request
)
Changed
- Corrections in the README
ES6ify
Changed
- ES6 exports with TypeScript definition
- Make
headers
a getter and setter for the normalised headers object (correct casing) - Make
url
andquery
a getter and setter forUrl
(a parsed url object) - Removed
fullUrl
method (useurl
getter) - Make built-in middleware into functions (consistency change)
Unzip Header Plugin
Changed
- Support unzipping encoding is added during
unzip
middleware, not by theheaders
middleware
Error Instance Name
Changed
- Add the name to the error instance
Added
- Note in README about proxying
Popsicle Error Instances
Changed
- Use custom error instance from
make-error-cause
- Property
original
is moved tocause
- Renamed
type
tocode
- Property
- Kill Bower and checked in build file
Raw Headers
Changed
- Expose
rawHeaders
(when available) with response instances
Add `typings.json` to NPM package
Fixed
- Add
typings.json
to NPM package deployment
Use Typings
Changed
- Replaced
tsd
withtypings
Cookies Over Redirection
Fixed
- Cookies have been pulled into the node request logic to handle setting over redirection
Changed
- Added a
statusText
property to the response object
Clone Transport Object
Fixed
- Causing mutations on the transport object can be fatal to the operation of HTTP requests