Releases: 11ty/eleventy-fetch
Releases · 11ty/eleventy-fetch
Eleventy Fetch v5.0.0-beta.3
- Fix outdated asset key reference for custom asset filename by @chriskirknielsen in #51
Full Changelog: v5.0.0-beta.2...v5.0.0-beta.3
Full Milestone: https://github.com/11ty/eleventy-fetch/milestone/5?closed=1
Eleventy Fetch v5.0.0-beta.2
Changes
- Breaking: requires Node 18+
- Breaking: Use native
fetch
and dropnode-fetch
dependency by @uncenter in #37 - Pass in a URL instance #41
- Use
AbortSignal
for fetch timeouts #39 - Pass in a custom fetching function rather than a URL by @doug-wade in #32
- Allow custom filename for AssetCache by @chriskirknielsen in #49
- Add prettier @uncenter in #38
- Cache request verbs separately (and request body) by @Zegnat in #34
- Upgrade dependencies to get rid of deprecation warnings by @Zegnat in #46
- Upgrades
flat-cache
dependency from v3 to v6 (internal API changes) - Update debug module name Eleventy:Fetch by @uncenter in #40
Try it out
npm install @11ty/[email protected] --save-exact
Miscellanous
- New contributors: @uncenter, @Zegnat, @doug-wade, and @chriskirknielsen
- Full Changelog: v4.0.1...v5.0.0-beta.2
- Milestone: https://github.com/11ty/eleventy-fetch/milestone/5?closed=1
Eleventy Fetch v4.0.0
What's Changed
- Node 14+ required
dryRun
will allow reading of cached files for re-use in serverless contexts, thank you @ryangittings! #28- Include the response in the error object when a request fails by @arcxyz and @BigBlueHat #21 #29
Full Milestone: https://github.com/11ty/eleventy-fetch/issues?q=is%3Aclosed+milestone%3A%22Eleventy+Fetch+v4.0.0%22
Full Changelog: v3.0.0...v4.0.0
Eleventy Fetch v3.0.0
- Renamed to
eleventy-fetch
fromeleventy-cache-assets
#18 - Note that the algorithm to generate file names used for cache file names changed: previously saved
.cache
folders generated byeleventy-cache-assets v2
will not be carried forward: new remote requests will be made! - Adds
verbose
option and switches default tofalse
(no console logs) #12 - Adds new
formatUrlForDisplay(url)
callback to modify URLs for display on the console (truncate, remove some query params, etc) #12 - New
eleventy-fetch
enhancement queue: Vote on your favorite enhancement requests!
New Contributors
- @v-zhzhou made their first contribution in #15
- @eatyourgreens made their first contribution in #8
Full Changelog: v2.3.0...v3.0.0