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

chore(deps): update dependency @11ty/eleventy-img to v6 #1097

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 8, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@11ty/eleventy-img ^5.0.0 -> ^6.0.0 age adoption passing confidence

Release Notes

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

v6.0.0: Eleventy Image v6.0.0

Compare Source

  • 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
  • Better color support (P3, AdobeRGB, et al): images retain ICC profiles by default #​244
  • 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 https://github.com/11ty/eleventy-img/issues/52#issuecomment-2557762009 (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 https://github.com/11ty/eleventy-img/issues/214#issuecomment-2568271346 #​241 #​243 #​251
  • Fix inconsistent <picture> usage when formats were filtered #​242
  • 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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 enabled auto-merge (squash) January 8, 2025 17:33
Copy link

netlify bot commented Jan 8, 2025

Deploy Preview for djlint ready!

Name Link
🔨 Latest commit 1e58508
🔍 Latest deploy log https://app.netlify.com/sites/djlint/deploys/677eb6de6d57a400088206bc
😎 Deploy Preview https://deploy-preview-1097--djlint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@renovate renovate bot merged commit 8ab888f into master Jan 8, 2025
11 checks passed
@renovate renovate bot deleted the renovate/11ty-eleventy-img-6.x branch January 8, 2025 17:34
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.

0 participants