Skip to content

Releases: lquixada/cross-fetch

v4.0.0

03 Jul 16:05
Compare
Choose a tag to compare

What's Changed

BREAKING CHANGES

  • Dropped support for Node 10 and 12. (Note: cross-fetch will likely continue working on those versions, but specs tests are not running on those Node versions and no support will be provided if issues come up.)
  • Please check implementation conflicts in the Fetch API tests.

FEATURES

  • Added support for Node 18 and 20.
  • Added support for Service and Cloudflare Workers (Fixes #69, #78, #148) by prioritizing native code over third-party implementation. Fetch API test suite now running against node-fetch, whatwg-fetch, native browser and native node fetch.
  • Upgraded whatwg-fetch to 3.6.2. Please refer to whatwg-fetch release notes between 3.0.0 and 3.6.2 for features and bug fixes.
  • fetch.ponyfill is set to true when custom implementation is used. This improves debuggability.

v3.1.8

02 Jul 20:12
Compare
Choose a tag to compare

What's Changed

  • Restored caret range to node-fetch version for automatic feature and fix updates.

Full Changelog: v3.1.7...v3.1.8

v3.1.7

02 Jul 19:58
Compare
Choose a tag to compare

What's Changed

  • Updated node-fetch version to 2.6.12

Full Changelog: v3.1.6...v3.1.7

v3.1.6

14 May 11:06
Compare
Choose a tag to compare

What's Changed

  • Updated node-fetch version to 2.6.11
  • Added caret range to node-fetch version for automatic feature and fix updates.

Full Changelog: v3.1.5...v3.1.6

v3.1.5

20 Jan 23:17
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.4...v3.1.5

v3.1.4

02 Apr 23:30
Compare
Choose a tag to compare

🐞 fixed typescript errors.

v3.1.3

30 Mar 18:36
Compare
Choose a tag to compare

🐞 fixed typescript compilation error causing #95, #101, #102.

v3.1.2

19 Mar 23:09
Compare
Choose a tag to compare

🐞 added missing Headers interface augmentation from lib.dom.iterable.d.ts (#97)

v3.1.1

18 Mar 19:25
Compare
Choose a tag to compare

🐞 fixed missing fetch api types from constructor signatures #96 (thanks @jstewmon)

v3.1.0

13 Mar 06:30
Compare
Choose a tag to compare

⚡️ improved TypeScript support with own fetch API type definitions (thanks @jstewmon)
⚡️ set fetch.ponyfill to true when custom ponyfill implementation is used.
💡 set the same fetch API test suite to run against node-fetch, whatwg-fetch and native fetch.