Update dependency @11ty/eleventy-img to v7 #515
No reviewers
Labels
No labels
bug
chore
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
netlify-cms/draft
netlify-cms/pending_publish
netlify-cms/pending_review
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
robbevp/website-robbevanpetegem!515
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/11ty-eleventy-img-7.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^6.0.4->^7.0.0Release Notes
11ty/image (@11ty/eleventy-img)
v7.0.0: Image v7.0.0: The Memory Efficiency ReleaseCompare Source
TL;DR: ESM-only, Node 22+ minimum, and huge memory and performance wins over v6.
Thank you to @sentience, @valadaptive, @kirthi-b, @jens-struct, and @jornmineur for their contributions to this release!
Issue Milestone: https://github.com/11ty/eleventy-img/milestone/25?closed=1
Full Changelog: v6.0.4...v7.0.0
Breaking changes
require(esm). #300import Image from "@​11ty/eleventy-img"const Image = await import("@​11ty/eleventy-img")And a few breaking changes that are unlikely to affect most projects:
widthandeleventy:widthson the same element, note thateleventy:widthsnow takes priority. #314Image.statsSyncandImage.statsByDimensionsSynchave been removed after being deprecated in 2024. Use thestatsOnlyfeature instead, like so:await Image(src, { statsOnly: true, /* …options */ }). Helpful error messaging is provided if your project uses these (so don’t worry about it until you run into it, they weren’t commonly used). #211 #295<eleventy-image>WebC component (use the transform method instead) #305New Features
formats: ["passthrough"]) copies and uses the source file directly, while still adding width and height attributes to the generated output. Useful when you've already optimized your source images and want to skip the optimization pipeline — about 20× faster in local benchmarks. Example on #212. Also #133, #183, #309eleventy:sizesattribute allows overriding anysizesattribute in markup #306manualCacheKeyoption to improve the cropping API #271 #274 by @jens-structBug Fixes
wdescriptor when only one size is used in srcset, fixing valid HTML output when only one width is used and no sizes is present (#298).eleventy:ignoreappearing in output on<img>tags inside<picture>elements — by @valadaptive in #303.<img src>when read back from HTML, by @kirthi-b #349 #307Internals
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
e6bf7abc23dcf18f02aadcf18f02aae07b7e3da3e07b7e3da3c6a56e9441