Unfetch Versions Save

🐕 Bare minimum 500b fetch polyfill.

3.0.0

6 years ago

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!)

[email protected]

  • 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

7 years ago
  • Fix polyfill in webpack 2 (#31, thanks @sapegin!)

2.1.1

7 years ago
  • Only set withCredentials to true when credentials is "include" (#28, thanks @suhaotian!)

2.1.0

7 years ago
  • #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

7 years ago
  • Fixes an issue with the UMD bundle

2.0.0

7 years ago
  • 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

7 years ago
  • Fixes issue with XHR status.