Skip to content

Releases: github/fetch

v3.6.2

27 Feb 18:46
Compare
Choose a tag to compare

v3.6.1

18 Feb 17:48
Compare
Choose a tag to compare

Bug fixes:

  • Fixes a bug in v3.6.0 where the syntax used was not ES3 as it has used const
  • Fixes a bug in v3.6.0 where String.prototype.includes was used, which is not supported in IE 11

Both were fixed in #914

v3.6.0

18 Feb 12:29
Compare
Choose a tag to compare

Bug fixes:

  • Improve error message if a header contains an invalid character -- #880 Thank you for the contribution @CarmeloPatti

  • Make Response.statusText be an empty string if set to undefined and be 'null' if set to null -- #897 Thank you for the contribution @tkrotoff

  • Represent non-stringified JSON request body as an [object Object] string -- #881 Thank you for the contribution @kettanaito

v3.5.0

06 Nov 10:31
Compare
Choose a tag to compare

Added a work-around for projects which use core-js -- #748

Republishing to ensure the dist/fetch.umd.js is up-to-date

07 Sep 10:37
Compare
Choose a tag to compare

Republishing to ensure the dist/fetch.umd.js is up-to-date

v3.4.0

07 Aug 16:04
Compare
Choose a tag to compare

Use globalThis as the global object if it exists #822

v3.3.1

04 Aug 11:34
Compare
Choose a tag to compare
3.3.1

v3.3.0

04 Aug 11:16
Compare
Choose a tag to compare

Features:

  • Updated documentation for AbortController to recommend a polyfill which is spec-compliant and fully synchronous. -- #814

Bug fixes:

  • Fixed the "self is not defined" error that was reported for NodeJS applications - #794

  • Reverted the DOMException handling refactor as the original code fixed issues in old Android browsers - #797

  • Response.arrayBuffer() now always resolve with a ArrayBuffer as per the specification. -- #816

  • Request and Response can now only be called via new (as constructors) as per the specification. -- #796

  • Headers which are passed as a Headers object no longer have their names normalised as per the specification -- #798

Refactor:

  • Removed the top-level this to stop warnings being emitted from Rollup. -- #815

v3.2.0

09 Jul 15:51
Compare
Choose a tag to compare

Features:

  • Add support for no-cache and no-store - #795

Bug fixes:

  • Fixed the "self is not defined" error that was reported for NodeJS applications - #794
  • Throw a TypeError if Request or Response functions are called without new - #796

Refactor:

  • Refactor DOMException handling code to avoid redundant exceptions generation - #797

v3.1.1

08 Jul 17:29
Compare
Choose a tag to compare

Bug fix

-- check if Content-Type header exists prior to examining the value #792