Skip to content

Fetch v6.0.0

Choose a tag to compare

@zachleat zachleat released this 21 Oct 19:32
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.
6705b7e
  • Breaking requires Node 22 or newer.
  • Breaking-ish package is now ESM. Works with require(esm) per Node minimums.
  • Breaking (low risk): a default timeout of 60 seconds was added. Configure with the timeout option (pass integer milliseconds or a string similar to duration like 1m). Use false to revert to previous behavior (no timeout) #69
  • Breaking (low risk): Renamed ambiguously named Fetch named export (the default export is the documented path) to createFetch instead. If you used this, you’ll get a helpful error message telling you about the rename. #75
  • Fix for Function and Promise sources without a type #67
  • An empty JSON cache file no longer throws an error #102
  • Developer notes: moved from ava to use the Node test runner (dependency simplification)

Dependencies

  • Upgrades @rgrove-parse-xml from v4 to v5.
  • Bump @11ty/eleventy-utils from 2.0.7 to 3.0.1 by @dependabot[bot] in #107
  • Upgrades p-queue to v10

Milestone: https://github.com/11ty/fetch/milestone/9?closed=1
Full Changelog: v5.1.3...v6.0.0