Skip to content

fix(deps): update dependency @11ty/eleventy-img to v7 - #265

Open
renovate[bot] wants to merge 1 commit into
devfrom
renovate/11ty-eleventy-img-7.x
Open

fix(deps): update dependency @11ty/eleventy-img to v7#265
renovate[bot] wants to merge 1 commit into
devfrom
renovate/11ty-eleventy-img-7.x

Conversation

@renovate

@renovate renovate Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@11ty/eleventy-img ^6.0.4^7.0.0 age confidence

Release Notes

11ty/image (@​11ty/eleventy-img)

v7.0.0: Image v7.0.0: The Memory Efficiency Release

Compare 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

  • Node 22 or newer is required. This matches Core v4. #​351
  • The package is now ESM. This is unlikely to require any changes as the Node minimum now supports require(esm). #​300
    • ESM: import Image from "@11ty/eleventy-img"
    • CommonJS friendly: const Image = await import("@11ty/eleventy-img")
  • Upgrades sharp from v0.33 to v0.35 #​352, #​289
    • You can review the upstream v0.34 and v0.35 changelogs.

And a few breaking changes that are unlikely to affect most projects:

  • If you use the Transform method and set both width and eleventy:widths on the same element, note that eleventy:widths now takes priority. #​314
  • Image.statsSync and Image.statsByDimensionsSync have been removed after being deprecated in 2024. Use the statsOnly feature 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
  • Removes the <eleventy-image> WebC component (use the transform method instead) #​305

New Features

  • New passthrough format (usage: 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, #​309
  • New eleventy:sizes attribute allows overriding any sizes attribute in markup #​306
  • New manualCacheKey option to improve the cropping API #​271 #​274 by @​jens-struct

Bug Fixes

Line chart showing memory issues in v6, better performance in v5, but far improved performance in v7
  • Huge memory usage improvements from @​sentience in #​313 and @​jornmineur in #​302 #​319 (v6 had issues, but we’ve eclipsed v5 performance with this release 🏆)
  • Removes the w descriptor when only one size is used in srcset, fixing valid HTML output when only one width is used and no sizes is present (#​298).
  • Fixes eleventy:ignore appearing in output on <img> tags inside <picture> elements — by @​valadaptive in #​303.
  • Decodes HTML entities on <img src> when read back from HTML, by @​kirthi-b #​349 #​307

Internals


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Only on Monday (* * * * 1)
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Aug 3, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying guidebook-financial-inclusion with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0a3c88c
Status: ✅  Deploy successful!
Preview URL: https://3f04008a.guidebook-financial-inclusion.pages.dev
Branch Preview URL: https://renovate-11ty-eleventy-img-7.guidebook-financial-inclusion.pages.dev

View logs

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants