Skip to content

Releases: developit/unfetch

3.0.0

28 Jun 15:20
Compare
Choose a tag to compare

Breaking

  • Remove invented xml() method (not part of the Fetch spec. #43/#44 - thanks @AntonioVdlC!)

Bug Fixes

  • Fix illegal invocation errors in Webpack 2+ when window.fetch exists (#46/#47, thanks @jhnns!)

isomorphic-unfetch@2.0.0

  • This release is paired up with an update to isomorphic-unfetch that fixes an issue where ES Module-compatible bundlers like Webpack 2+ would fail to polyfill window.fetch.

2.1.2

03 Mar 14:35
Compare
Choose a tag to compare

2.1.1

27 Feb 04:04
Compare
Choose a tag to compare
  • Only set withCredentials to true when credentials is "include" (#28, thanks @suhaotian!)

2.1.0

25 Feb 20:28
Compare
Choose a tag to compare
  • #25: The module / jsnext:main now point to a pre-transpiled bundle with ES Modules exports. Fixes an issue where Webpack 2 users who are not transpiling node_modules would end up with untranspiled code.

2.0.1

25 Feb 20:26
Compare
Choose a tag to compare
  • Fixes an issue with the UMD bundle

2.0.0

25 Feb 05:14
Compare
Choose a tag to compare
  • Add unfetch/polyfill entry, which automatically installs to window.fetch if it doesn't exist
  • Add support for the credentials option, specifically { credentials: 'include' }
  • Fix response.ok reporting false erroneously in some cases
  • Fix response.blob() so it actually returns a Blob
  • Clean up header parsing
  • Forward XMLHttpRequest errors for more information

1.0.1

23 Feb 19:34
Compare
Choose a tag to compare
  • Fixes issue with XHR status.