Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 9, 2025

This PR contains the following updates:

Package Change Age Confidence
@11ty/eleventy-img ^4.0.2^6.0.0 age confidence

Release Notes

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

v6.0.4: Eleventy Image v6.0.4

Compare Source

  • Internals revert of #​294, which caused #​296 (hangs when using Eleventy serve in transform method)

Milestone: https://github.com/11ty/eleventy-img/milestone/27?closed=1
Full Changelog: 11ty/eleventy-img@v6.0.3...v6.0.4

v6.0.3: Eleventy Image v6.0.3

Compare Source

  • Adds Node v24 to CI test suite
  • Swap to use the image-size asynchronous API internally (when using statsOnly option) #​294
  • Adds ImageSize export to reuse internal image-size package
  • Reuses multi-runtime hashing utility from @11ty/eleventy-utils@2.0.6
  • Upgrade devDependencies
  • Migrate to flat config with @stylistic/eslint-plugin-js by @​outslept in #​292

Milestone: https://github.com/11ty/eleventy-img/milestone/26?closed=1
Full Changelog: 11ty/eleventy-img@v6.0.2...v6.0.3

v6.0.2: Eleventy Image v6.0.2 (dependency bump for security audit)

Compare Source

Milestone: https://github.com/11ty/eleventy-img/milestone/24?closed=1
Full Changelog: 11ty/eleventy-img@v6.0.1...v6.0.2

v6.0.1: Eleventy Image v6.0.1 (Tiny Bugfix Release)

Compare Source

  • Bug fix when using animated images with transformOnRequest #​273

Milestone: https://github.com/11ty/eleventy-img/milestone/23?closed=1
Full Changelog: 11ty/eleventy-img@v6.0.0...v6.0.1

v6.0.0: Eleventy Image v6.0.0

Compare Source

Notably, for maximum compatibility this package is still CommonJS (not yet ESM). Node minimum is still 18+ (unchanged from Eleventy Image v4).

Breaking Changes

  • useCacheValidityInHash option has been removed #​146
  • Transform method will reuse existing <img width> attribute (if single integer) as eleventy:widths value #​234

The following changes likely require no action on your part (but are nonetheless breaking):

  • Better color support (P3, AdobeRGB, et al): images retain ICC profiles by default #​244
  • Dependency major upgrade: @11ty/eleventy-fetch from v4 to v5
  • Dependency major upgrade @11ty/eleventy-utils from v1 to v2
  • Default metadata object returned will no longer include empty format arrays { jpeg: [] } #​242

Features

  • Uses native fetch() (no more node-fetch, via eleventy-fetch upgrade) and works better with caching on remote urls, consistency on file names with sync methods #​252 #​262 #​146
  • returnType: "html" option will return the generated HTML directly instead of the metadata object #​267
    • htmlOptions: {} are options passed to the generateHTML function
  • Output format filtering (opt-out with formatFiltering option). Filters out output formats that do not support animation or transparency automatically.
    • Animation friendly formats #​260
    • Transparency friendly formats #​105
  • Adds failOnError: true option to avoid throwing an error when image processing fails (and failing your build) #​225 See also the eleventy:optional attribute below.
  • Adds new transform hook for running your own sharp customizations #​52 (comment) (can be used to add custom cropping!)
  • Improved error messaging when incorrectly using the default export with eleventyConfig.addPlugin #​263
  • Concurrency auto-scales per machine resources (between 8 min and 16 max) #​258
  • Support full URLs in urlPath option #​239
  • generateHTML: Missing sizes error relaxed when using loading="lazy" HTML, swap to use sizes="auto" instead #​207
  • New generateHTML option (also available via htmlOptions) forfallback: "smallest" to choose smallest image for <img> fallback and width/height dimensions #​265 #​129
Transform Method
  • Reuse existing <img width> attribute (if single integer) as eleventy:widths value #​234
  • Adds eleventy:optional HTML attribute so that errors in image processing will not fail the build (in different ways) #​259
    1. Remove src attribute
    2. Leave as-is eleventy:optional="keep"
    3. Replace with a transparent Data URI eleventy:optional="placeholder"
  • Decode file name paths #​253
  • Support transforming <picture> nodes #​214
  • Preserve attributes on img and picture elements #​214 (comment) #​241 #​243 #​251
  • Fix for relative references when using permalinks with non-index.html file names #​236

Full Milestone (×26 issues closed): https://github.com/11ty/eleventy-img/milestone/22?closed=1
Full Changelog (×75 commits, +2,347/-992): 11ty/eleventy-img@v5.0.0...v6.0.0

v5.0.0: Eleventy Image v5.0.0

Compare Source

Full Milestone: https://github.com/11ty/eleventy-img/milestone/21?closed=1
Full Changelog: 11ty/eleventy-img@v4.0.2...v5.0.0

Install / Upgrade

npm install @&#8203;11ty/eleventy-img@latest

What's Changed

New Contributors


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.


  • 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 force-pushed the renovate/11ty-eleventy-img-6.x branch from 78779b3 to 9955251 Compare August 11, 2025 07:49
@renovate renovate bot force-pushed the renovate/11ty-eleventy-img-6.x branch from 9955251 to d95b1d4 Compare September 1, 2025 02:02
@renovate renovate bot force-pushed the renovate/11ty-eleventy-img-6.x branch from d95b1d4 to bd3444e Compare September 26, 2025 00:09
@renovate renovate bot force-pushed the renovate/11ty-eleventy-img-6.x branch from bd3444e to c1a93d9 Compare October 25, 2025 07:35
@renovate renovate bot force-pushed the renovate/11ty-eleventy-img-6.x branch from c1a93d9 to 426da5e Compare November 16, 2025 11:44
@renovate renovate bot force-pushed the renovate/11ty-eleventy-img-6.x branch from 426da5e to fcb31ce Compare December 3, 2025 23:09
@renovate renovate bot force-pushed the renovate/11ty-eleventy-img-6.x branch from fcb31ce to 7bb8109 Compare January 9, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant