Skip to content

Releases: serviejs/popsicle

Remove Promise Error

04 Nov 08:33
Compare
Choose a tag to compare

Fixed

  • Using native-or-promise, no need for a custom error message when promise is undefined

Native Or Bluebird

29 Oct 00:11
Compare
Choose a tag to compare

Changed

  • Using native-or-bluebird for transparent promise support

Expose the transport object

18 Sep 21:51
Compare
Choose a tag to compare

Changed

  • Expose transport object for live-replacements inside of plugins (use will not be updated, but you can effect transport.open and transport.abort)

XHR responseType

05 Aug 02:45
Compare
Choose a tag to compare

Added

  • Support XHR responseType property

Changed

  • Default exports are just defaults used with internal transports
  • Header parsing provided by get-headers module

Removed

  • No more XMLHttpRequest fallbacks, Popsicle is unlikely to work with old IE anyway

Major Release 1.0

25 Jul 08:54
Compare
Choose a tag to compare

Popsicle 1.0 is out and in TypeScript!

Changed

  • Promise starts resolving on nextTick
  • Separated browser and node scripts for smaller builds and better environment detection (E.g. Node Webkit, Atom)
  • Moved environment options into a dedicated options setting
  • Added use config option to override default plugins
  • Exposed default plugins
  • Errors no longer use properties and instead use err.type string

Added

  • Transport layer override (could support JSONP soon)
  • Request method short-hands
  • Defaults function for creating Popsicle instances
  • Dedicated options object for environments and transportation layer to use

Redirects

24 Jul 11:36
Compare
Choose a tag to compare

Fixed

  • Following redirects with non-GET requests

Changed

  • Storing referrer and referer under referer header name (official typo)

Added

  • Option to disable following redirects under node