Skip to content

Eleventy Fetch v5.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@zachleat zachleat released this 22 Oct 19:44
· 38 commits to main since this 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