github/fetch
### [`v3.6.2`](https://togithub.com/github/fetch/compare/v3.6.1...v3.6.2)
[Compare Source](https://togithub.com/github/fetch/compare/v3.6.1...v3.6.2)
### [`v3.6.1`](https://togithub.com/github/fetch/releases/v3.6.1)
[Compare Source](https://togithub.com/github/fetch/compare/v3.6.0...v3.6.1)
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 https://github.com/github/fetch/pull/914
### [`v3.6.0`](https://togithub.com/github/fetch/releases/v3.6.0)
[Compare Source](https://togithub.com/github/fetch/compare/v3.5.0...v3.6.0)
Bug fixes:
- Improve error message if a header contains an invalid character -- https://github.com/github/fetch/pull/880 Thank you for the contribution [@CarmeloPatti](https://togithub.com/CarmeloPatti)
- Make Response.statusText be an empty string if set to `undefined` and be `'null'` if set to `null` -- https://github.com/github/fetch/pull/897 Thank you for the contribution [@tkrotoff](https://togithub.com/tkrotoff)
- Represent non-stringified JSON request body as an \[object Object] string -- https://github.com/github/fetch/pull/881 Thank you for the contribution [@kettanaito](https://togithub.com/kettanaito)
### [`v3.5.0`](https://togithub.com/github/fetch/releases/v3.5.0)
[Compare Source](https://togithub.com/github/fetch/compare/v3.4.1...v3.5.0)
Added a work-around for projects which use core-js -- https://github.com/github/fetch/issues/748
### [`v3.4.1`](https://togithub.com/github/fetch/releases/v3.4.1)
[Compare Source](https://togithub.com/github/fetch/compare/v3.4.0...v3.4.1)
Republishing to ensure the dist/fetch.umd.js is up-to-date
### [`v3.4.0`](https://togithub.com/github/fetch/releases/v3.4.0)
[Compare Source](https://togithub.com/github/fetch/compare/v3.3.1...v3.4.0)
Use globalThis as the global object if it exists [#822](https://togithub.com/github/fetch/issues/822)
### [`v3.3.1`](https://togithub.com/github/fetch/compare/v3.3.0...v3.3.1)
[Compare Source](https://togithub.com/github/fetch/compare/v3.3.0...v3.3.1)
### [`v3.3.0`](https://togithub.com/github/fetch/releases/v3.3.0)
[Compare Source](https://togithub.com/github/fetch/compare/v3.2.0...v3.3.0)
Features:
- Updated documentation for AbortController to recommend a polyfill which is spec-compliant and fully synchronous. -- https://github.com/github/fetch/pull/814
Bug fixes:
- Fixed the "self is not defined" error that was reported for NodeJS applications - https://github.com/github/fetch/pull/794
- Reverted the DOMException handling refactor as the original code fixed issues in old Android browsers - https://github.com/github/fetch/pull/797
- `Response.arrayBuffer()` now always resolve with a `ArrayBuffer` as per the specification. -- https://github.com/github/fetch/pull/816
- `Request` and `Response` can now only be called via `new` (as constructors) as per the specification. -- https://github.com/github/fetch/pull/796
- Headers which are passed as a `Headers` object no longer have their names normalised as per the specification -- https://github.com/github/fetch/pull/798
Refactor:
- Removed the top-level `this` to stop warnings being emitted from Rollup. -- https://github.com/github/fetch/pull/815
### [`v3.2.0`](https://togithub.com/github/fetch/releases/v3.2.0)
[Compare Source](https://togithub.com/github/fetch/compare/v3.1.1...v3.2.0)
Features:
- Add support for no-cache and no-store - https://github.com/github/fetch/pull/795
Bug fixes:
- Fixed the "self is not defined" error that was reported for NodeJS applications - https://github.com/github/fetch/pull/794
- Throw a TypeError if Request or Response functions are called without `new` - https://github.com/github/fetch/pull/796
Refactor:
- Refactor DOMException handling code to avoid redundant exceptions generation - https://github.com/github/fetch/pull/797
### [`v3.1.1`](https://togithub.com/github/fetch/releases/v3.1.1)
[Compare Source](https://togithub.com/github/fetch/compare/v3.1.0...v3.1.1)
Bug fix
\-- check if Content-Type header exists prior to examining the value [#792](https://togithub.com/github/fetch/issues/792)
### [`v3.1.0`](https://togithub.com/github/fetch/releases/v3.1.0)
[Compare Source](https://togithub.com/github/fetch/compare/v3.0.1...v3.1.0)
Documentation:
- Added documentation on features of `fetch` which are not polyfilled. -- https://github.com/github/fetch/pull/734
Bug fixes:
- Empty header names used to not throw an error which was not compliant with the specification. They now throw a TypeError, the same as Chrome, Firefox and Safari do. -- https://github.com/github/fetch/pull/684
- Changed the default status text of a response to align with the specification, the default is now an empty string. -- https://github.com/github/fetch/pull/698
- We now allow exclamation mark as valid header character to align with the specification -- https://github.com/github/fetch/pull/745
- We no longer convert `application/octet-stream` responses into `Blob`s if the browser supports `ArrayBuffers` -- https://github.com/github/fetch/pull/752
- Added compatibility for `fetch-mock` -- https://github.com/github/fetch/pull/736
- Making a fetch request with an empty string for the url no longer throws a DOMException error in Internet Explorer -- https://github.com/github/fetch/pull/619
- Fixed another Internet Explorer bug to make sure all resolved fetch promises will trigger their promise chains -- https://github.com/github/fetch/pull/575
### [`v3.0.1`](https://togithub.com/github/fetch/compare/v3.0.0...v3.0.1)
[Compare Source](https://togithub.com/github/fetch/compare/v3.0.0...v3.0.1)
Configuration
π Schedule: At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β»οΈ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
3.0.0
->3.6.2
Release Notes
github/fetch
### [`v3.6.2`](https://togithub.com/github/fetch/compare/v3.6.1...v3.6.2) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.1...v3.6.2) ### [`v3.6.1`](https://togithub.com/github/fetch/releases/v3.6.1) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.0...v3.6.1) 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 https://github.com/github/fetch/pull/914 ### [`v3.6.0`](https://togithub.com/github/fetch/releases/v3.6.0) [Compare Source](https://togithub.com/github/fetch/compare/v3.5.0...v3.6.0) Bug fixes: - Improve error message if a header contains an invalid character -- https://github.com/github/fetch/pull/880 Thank you for the contribution [@CarmeloPatti](https://togithub.com/CarmeloPatti) - Make Response.statusText be an empty string if set to `undefined` and be `'null'` if set to `null` -- https://github.com/github/fetch/pull/897 Thank you for the contribution [@tkrotoff](https://togithub.com/tkrotoff) - Represent non-stringified JSON request body as an \[object Object] string -- https://github.com/github/fetch/pull/881 Thank you for the contribution [@kettanaito](https://togithub.com/kettanaito) ### [`v3.5.0`](https://togithub.com/github/fetch/releases/v3.5.0) [Compare Source](https://togithub.com/github/fetch/compare/v3.4.1...v3.5.0) Added a work-around for projects which use core-js -- https://github.com/github/fetch/issues/748 ### [`v3.4.1`](https://togithub.com/github/fetch/releases/v3.4.1) [Compare Source](https://togithub.com/github/fetch/compare/v3.4.0...v3.4.1) Republishing to ensure the dist/fetch.umd.js is up-to-date ### [`v3.4.0`](https://togithub.com/github/fetch/releases/v3.4.0) [Compare Source](https://togithub.com/github/fetch/compare/v3.3.1...v3.4.0) Use globalThis as the global object if it exists [#822](https://togithub.com/github/fetch/issues/822) ### [`v3.3.1`](https://togithub.com/github/fetch/compare/v3.3.0...v3.3.1) [Compare Source](https://togithub.com/github/fetch/compare/v3.3.0...v3.3.1) ### [`v3.3.0`](https://togithub.com/github/fetch/releases/v3.3.0) [Compare Source](https://togithub.com/github/fetch/compare/v3.2.0...v3.3.0) Features: - Updated documentation for AbortController to recommend a polyfill which is spec-compliant and fully synchronous. -- https://github.com/github/fetch/pull/814 Bug fixes: - Fixed the "self is not defined" error that was reported for NodeJS applications - https://github.com/github/fetch/pull/794 - Reverted the DOMException handling refactor as the original code fixed issues in old Android browsers - https://github.com/github/fetch/pull/797 - `Response.arrayBuffer()` now always resolve with a `ArrayBuffer` as per the specification. -- https://github.com/github/fetch/pull/816 - `Request` and `Response` can now only be called via `new` (as constructors) as per the specification. -- https://github.com/github/fetch/pull/796 - Headers which are passed as a `Headers` object no longer have their names normalised as per the specification -- https://github.com/github/fetch/pull/798 Refactor: - Removed the top-level `this` to stop warnings being emitted from Rollup. -- https://github.com/github/fetch/pull/815 ### [`v3.2.0`](https://togithub.com/github/fetch/releases/v3.2.0) [Compare Source](https://togithub.com/github/fetch/compare/v3.1.1...v3.2.0) Features: - Add support for no-cache and no-store - https://github.com/github/fetch/pull/795 Bug fixes: - Fixed the "self is not defined" error that was reported for NodeJS applications - https://github.com/github/fetch/pull/794 - Throw a TypeError if Request or Response functions are called without `new` - https://github.com/github/fetch/pull/796 Refactor: - Refactor DOMException handling code to avoid redundant exceptions generation - https://github.com/github/fetch/pull/797 ### [`v3.1.1`](https://togithub.com/github/fetch/releases/v3.1.1) [Compare Source](https://togithub.com/github/fetch/compare/v3.1.0...v3.1.1) Bug fix \-- check if Content-Type header exists prior to examining the value [#792](https://togithub.com/github/fetch/issues/792) ### [`v3.1.0`](https://togithub.com/github/fetch/releases/v3.1.0) [Compare Source](https://togithub.com/github/fetch/compare/v3.0.1...v3.1.0) Documentation: - Added documentation on features of `fetch` which are not polyfilled. -- https://github.com/github/fetch/pull/734 Bug fixes: - Empty header names used to not throw an error which was not compliant with the specification. They now throw a TypeError, the same as Chrome, Firefox and Safari do. -- https://github.com/github/fetch/pull/684 - Changed the default status text of a response to align with the specification, the default is now an empty string. -- https://github.com/github/fetch/pull/698 - We now allow exclamation mark as valid header character to align with the specification -- https://github.com/github/fetch/pull/745 - We no longer convert `application/octet-stream` responses into `Blob`s if the browser supports `ArrayBuffers` -- https://github.com/github/fetch/pull/752 - Added compatibility for `fetch-mock` -- https://github.com/github/fetch/pull/736 - Making a fetch request with an empty string for the url no longer throws a DOMException error in Internet Explorer -- https://github.com/github/fetch/pull/619 - Fixed another Internet Explorer bug to make sure all resolved fetch promises will trigger their promise chains -- https://github.com/github/fetch/pull/575 ### [`v3.0.1`](https://togithub.com/github/fetch/compare/v3.0.0...v3.0.1) [Compare Source](https://togithub.com/github/fetch/compare/v3.0.0...v3.0.1)Configuration
π Schedule: At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β»οΈ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.