fix(deps): update dependency @11ty/eleventy-img to v6 #157
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.0
->^6.0.0
Release Notes
11ty/eleventy-img (@11ty/eleventy-img)
v6.0.0
: Eleventy Image v6.0.0Compare 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<img width>
attribute (if single integer) aseleventy:widths
value #234The following changes likely require no action on your part (but are nonetheless breaking):
@11ty/eleventy-fetch
from v4 to v5@11ty/eleventy-utils
from v1 to v2{ jpeg: [] }
#242Features
fetch()
(no morenode-fetch
, viaeleventy-fetch
upgrade) and works better with caching on remote urls, consistency on file names with sync methods #252 #262 #146returnType: "html"
option will return the generated HTML directly instead of the metadata object #267htmlOptions: {}
are options passed to thegenerateHTML
functionformatFiltering
option). Filters out output formats that do not support animation or transparency automatically.failOnError: true
option to avoid throwing an error when image processing fails (and failing your build) #225 See also theeleventy:optional
attribute below.transform
hook for running your ownsharp
customizations https://github.com/11ty/eleventy-img/issues/52#issuecomment-2557762009 (can be used to add custom cropping!)eleventyConfig.addPlugin
#2638
min and16
max) #258urlPath
option #239generateHTML
: Missingsizes
error relaxed when usingloading="lazy"
HTML, swap to usesizes="auto"
instead #207generateHTML
option (also available viahtmlOptions
) forfallback: "smallest"
to choose smallest image for<img>
fallback andwidth
/height
dimensions #265 #129Transform Method
<img width>
attribute (if single integer) aseleventy:widths
value #234eleventy:optional
HTML attribute so that errors in image processing will not fail the build (in different ways) #259src
attributeeleventy:optional="keep"
eleventy:optional="placeholder"
<picture>
nodes #214img
andpicture
elements https://github.com/11ty/eleventy-img/issues/214#issuecomment-2568271346 #241 #243 #251Full 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.0Compare 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
What's Changed
data:
URIs by default #238New Contributors
v4.0.2
Compare Source
v4.0.1
Compare Source
v4.0.0
: Eleventy Image v4.0.0Compare Source
Full Milestone: https://github.com/11ty/eleventy-img/milestone/20?closed=1
Full Changelog: 11ty/eleventy-img@v3.1.8...v4.0.0
Install / Upgrade
What's Changed
fixOrientation
option (default:false
) to rotate images to ensure correct orientation by @nosecreek in https://github.com/11ty/eleventy-img/pull/158minimumThreshold
(default:1.25
) option to ensure original size is included if smaller than largest specified width by threshold amount, help from @JaredReisinger in https://github.com/11ty/eleventy-img/pull/190v3.0.0-alpha.5
or newer) for zero-configuration image optimization #208New 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.
This PR was generated by Mend Renovate. View the repository job log.