Repository navigation
Fetch v6.0.0
- 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
timeoutoption (pass integer milliseconds or a string similar todurationlike1m). Usefalseto revert to previous behavior (no timeout) #69 - Breaking (low risk): Renamed ambiguously named
Fetchnamed export (the default export is the documented path) tocreateFetchinstead. 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-xmlfrom v4 to v5. - Bump @11ty/eleventy-utils from 2.0.7 to 3.0.1 by @dependabot[bot] in #107
- Upgrades
p-queueto v10
Milestone: https://github.com/11ty/fetch/milestone/9?closed=1
Full Changelog: v5.1.3...v6.0.0