Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump @11ty/eleventy-fetch from 5.0.1 to 5.0.2 #392

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 10, 2025

Bumps @11ty/eleventy-fetch from 5.0.1 to 5.0.2.

Release notes

Sourced from @​11ty/eleventy-fetch's releases.

Eleventy Fetch v5.0.2

  • Improved advanced API (you might not need this). Existing default export creates an instance and couples data fetching together. This release adds a Fetch named export to create a Fetch instance without fetching data automatically. Works with the concurrency queue. Use the queue() method to fetch data.
import CachedFetch, { Fetch } from "@11ty/eleventy-fetch";
let data = await CachedFetch(source, options);
// is the same as:
let inst = Fetch(source, options);
let data = await inst.queue();

  • Adds wasLastFetchCacheHit() on Fetch instances, used to solve bug with Eleventy Image disk cache 11ty/eleventy-img#146
  • Improved efficiency: Adds top level instance cache and a few internal caches to avoid duplicate fetch or file system read calls.
  • Adds internal directory manager to avoid duplicate fs.mkdir calls
  • Improved debug logs

Full Changelog: 11ty/eleventy-fetch@v5.0.1...v5.0.2

Eleventy Fetch v5.0.2-beta.2

  • Adds internal directory manager to avoid duplicate fs.mkdir calls
  • Improved debug logs

Full Changelog: 11ty/eleventy-fetch@v5.0.2-beta.1...v5.0.2-beta.2

Eleventy Fetch v5.0.2-beta.1

  • Improved advanced API (you might not need this). Existing default export creates an instance and couples data fetching together. This release adds a Fetch named export to create a Fetch instance that does not automatically fetch data and works with the concurrency queue. Use async queue() to fetch data.
import { Fetch } from "@11ty/eleventy-fetch";
let inst = Fetch(source, options);
let data = await inst.queue();

same as:

import CachedFetch from "@11ty/eleventy-fetch";
let data = await CachedFetch(source, options);

  • Adds wasLastFetchCacheHit() on Fetch instances, used to solve bug with Eleventy Image disk cache 11ty/eleventy-img#146
  • Improved efficiency: Adds top level instance cache and a few internal caches to avoid duplicate fetch or file system read calls.

Full Changelog: 11ty/eleventy-fetch@v5.0.1...v5.0.2-beta.1

Commits
  • 093f72f v5.0.2
  • a934fe5 v5.0.2-beta.2
  • 9ae093f Adds directory manager to avoid duplicate mkdir calls
  • 22cda92 A bit more tweaking on assets debug output
  • b641ab2 Add Eleventy:Assets debug output for file system reads
  • ab8cdcf Clean up verbose log output versus debug output. Verbose output only logs fet...
  • 459f9ba Explicit async
  • 4623ebb Keep cached contents in memory for AssetCache instance. Renames `wasLastFetch...
  • f7c6695 v5.0.2-beta.1
  • c608520 Adds wasLastFetchHit method used by Eleventy Image plugin to invalidate dis...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@11ty/eleventy-fetch](https://github.com/11ty/eleventy-fetch) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/11ty/eleventy-fetch/releases)
- [Commits](11ty/eleventy-fetch@v5.0.1...v5.0.2)

---
updated-dependencies:
- dependency-name: "@11ty/eleventy-fetch"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 10, 2025
@FuhuXia FuhuXia merged commit dce970c into main Jan 10, 2025
7 checks passed
@FuhuXia FuhuXia deleted the dependabot/npm_and_yarn/11ty/eleventy-fetch-5.0.2 branch January 10, 2025 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant