Skip to content

Releases: serviejs/popsicle

Export `request`

11 Jan 23:00
Compare
Choose a tag to compare

Added

  • More idiomatic method for non-ES6 users (calling popsicle.default is odd, now you can use popsicle.request)

Changed

  • Corrections in the README

ES6ify

10 Jan 01:53
Compare
Choose a tag to compare

Changed

  • ES6 exports with TypeScript definition
  • Make headers a getter and setter for the normalised headers object (correct casing)
  • Make url and query a getter and setter for Url (a parsed url object)
  • Removed fullUrl method (use url getter)
  • Make built-in middleware into functions (consistency change)

Unzip Header Plugin

08 Jan 23:03
Compare
Choose a tag to compare

Changed

  • Support unzipping encoding is added during unzip middleware, not by the headers middleware

Error Instance Name

17 Dec 21:41
Compare
Choose a tag to compare

Changed

  • Add the name to the error instance

Added

  • Note in README about proxying

Popsicle Error Instances

14 Dec 20:56
Compare
Choose a tag to compare

Changed

  • Use custom error instance from make-error-cause
    • Property original is moved to cause
    • Renamed type to code
  • Kill Bower and checked in build file

Raw Headers

08 Dec 00:57
Compare
Choose a tag to compare

Changed

  • Expose rawHeaders (when available) with response instances

Add `typings.json` to NPM package

22 Nov 03:11
Compare
Choose a tag to compare

Fixed

  • Add typings.json to NPM package deployment

Use Typings

22 Nov 03:04
Compare
Choose a tag to compare

Changed

  • Replaced tsd with typings

Cookies Over Redirection

05 Nov 06:44
Compare
Choose a tag to compare

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

04 Nov 08:32
Compare
Choose a tag to compare

Fixed

  • Causing mutations on the transport object can be fatal to the operation of HTTP requests