chore(deps): update dependency @11ty/eleventy-img to v6 #93
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:
^5.0.0→^6.0.0Release Notes
11ty/eleventy-img (@11ty/eleventy-img)
v6.0.4: Eleventy Image v6.0.4Compare Source
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.3Compare Source
image-sizeasynchronous API internally (when usingstatsOnlyoption) #294ImageSizeexport to reuse internal image-size package@11ty/[email protected]@stylistic/eslint-plugin-jsby @outslept in #292Milestone: 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
transformOnRequest#273Milestone: 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.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
useCacheValidityInHashoption has been removed #146<img width>attribute (if single integer) aseleventy:widthsvalue #234The following changes likely require no action on your part (but are nonetheless breaking):
@11ty/eleventy-fetchfrom v4 to v5@11ty/eleventy-utilsfrom v1 to v2{ jpeg: [] }#242Features
fetch()(no morenode-fetch, viaeleventy-fetchupgrade) 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 thegenerateHTMLfunctionformatFilteringoption). Filters out output formats that do not support animation or transparency automatically.failOnError: trueoption to avoid throwing an error when image processing fails (and failing your build) #225 See also theeleventy:optionalattribute below.transformhook for running your ownsharpcustomizations #52 (comment) (can be used to add custom cropping!)eleventyConfig.addPlugin#2638min and16max) #258urlPathoption #239generateHTML: Missingsizeserror relaxed when usingloading="lazy"HTML, swap to usesizes="auto"instead #207generateHTMLoption (also available viahtmlOptions) forfallback: "smallest"to choose smallest image for<img>fallback andwidth/heightdimensions #265 #129Transform Method
<img width>attribute (if single integer) aseleventy:widthsvalue #234eleventy:optionalHTML attribute so that errors in image processing will not fail the build (in different ways) #259srcattributeeleventy:optional="keep"eleventy:optional="placeholder"<picture>nodes #214imgandpictureelements #214 (comment) #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
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.