Skip to content

Releases: 11ty/eleventy-fetch

Eleventy Fetch v5.0.0-beta.3

23 Oct 13:12
Compare
Choose a tag to compare
Pre-release

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

22 Oct 19:44
Compare
Choose a tag to compare
Pre-release

Changes

  • Breaking: requires Node 18+
  • Breaking: Use native fetch and drop node-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

Eleventy Fetch v4.0.0

17 Mar 16:21
Compare
Choose a tag to compare

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

25 Feb 20:54
Compare
Choose a tag to compare
  • Renamed to eleventy-fetch from eleventy-cache-assets #18
  • Note that the algorithm to generate file names used for cache file names changed: previously saved .cache folders generated by eleventy-cache-assets v2 will not be carried forward: new remote requests will be made!
    • Bug fix for asset keys with non-filename friendly characters #14
    • Fix issue with hash collisions for some URLs #7
  • Adds verbose option and switches default to false (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

Full Changelog: v2.3.0...v3.0.0