Releases: 11ty/eleventy-img
Eleventy Image v5.0.0
Full Milestone: https://github.com/11ty/eleventy-img/milestone/21?closed=1
Full Changelog: v4.0.2...v5.0.0
Install / Upgrade
npm install @11ty/eleventy-img@latest
What's Changed
- Works great with the brand new Eleventy v3.0.0 release: https://github.com/11ty/eleventy/releases/tag/v3.0.0
- Ships new Transform method for automatic Image transformation: https://www.11ty.dev/docs/plugins/image/#optimize-images-on-request (including on-request transformation for local development) #223
- Fix: Transform method ignores
data:
URIs by default #238 - Fix for #220 where SVG as broken because the Buffer is Uint8Array. by @maliMirkec in #221
- Performance improvement: Avoid utf8 encoding binary image files in getHash. by @fqueze in #226
New Contributors
- @maliMirkec made their first contribution in #221
- @fqueze made their first contribution in #226
Eleventy Image v5.0.0-beta.10
- Fixes issue with on-request image optimization plugin double decoding URLs.
Eleventy Image v4.0.0
Full Milestone: https://github.com/11ty/eleventy-img/milestone/20?closed=1
Full Changelog: v3.1.8...v4.0.0
Install / Upgrade
npm install @11ty/eleventy-img@latest
What's Changed
- BREAKING Node.js minimum is now 18+.
- Adds
fixOrientation
option (default:false
) to rotate images to ensure correct orientation by @nosecreek in #158 - Adds
minimumThreshold
(default:1.25
) option to ensure original size is included if smaller than largest specified width by threshold amount, help from @JaredReisinger in #190 - Adds new Eleventy Transform plugin (compatible with Eleventy
v3.0.0-alpha.5
or newer) for zero-configuration image optimization #208 - Fix incorrectly large reported height for animated gifs by @Gyanreyer in #182
- Make gif eligible for lowest priority source by @GHF in #195
- Bake input orientation into output image by @GHF in #194
- Use srcset and sizes on img element in picture by @adamwolf in #191
- Create directories on demand when writing images to disk by @danburzo in #176
New Contributors
Eleventy Image v3.1.8: `svgShortCircuit: "size"`
Full Changelog: v3.1.0...v3.1.8
Adds support for the new svgShortCircuit: "size"
option (with svgCompressionSize: "br"
to use Brotli compressed sizes for comparison).
Read more: Eleventy Image: Options for SVG
Eleventy Image v3.1.1: `sharp` upgrade
Full Changelog: v3.1.0...v3.1.1
Milestone: https://github.com/11ty/eleventy-img/milestone/19?closed=1
- 🚨 Important if you’re using this package with untrusted images. Upgrades
sharp
version for libwebp vulnerability fix, see lovell/sharp#3798
Eleventy Image v3.1.0: WebC component, `sharp` upgrade
Full Changelog: v3.0.0...v3.1.0
Milestone: https://github.com/11ty/eleventy-img/milestone/18?closed=1
Release Notes
- Adds
<eleventy-image>
WebC component, now on the docs: https://www.11ty.dev/docs/plugins/image/#webc- Joins the growing list of official Eleventy WebC components: https://www.11ty.dev/docs/languages/webc/#official-webc-components
- This component requires WebC v0.10.1 or newer.
- Upgrades
sharp
to v0.32 #178 https://sharp.pixelplumbing.com/changelog#v032---flow - Update minimal Node requirement in readme. by @solution-loisir in #174
Eleventy Image v3.0.0
Full Changelog: v2.0.1...v3.0.0
Milestone: https://github.com/11ty/eleventy-img/milestone/17?closed=1
Release Notes
Eleventy Image v2.0.1
- Fixes a bug with
dryRun: true
that would still write files in some cases. This caused problems when using Eleventy Image in a serverless environment where attempting to write a files will throw an error!
Eleventy Image v2.0.0
The only breaking change here is that we now use Eleventy Fetch v3.0.0 internally instead of @11ty/eleventy-cache-assets
. https://github.com/11ty/eleventy-fetch/releases/tag/v3.0.0
The algorithm to generate file names used for cache has changed: previously saved .cache folders generated by eleventy-cache-assets v2 will not be carried forward and new remote requests will be made!
While this might not technically be classified as a breaking change (new cache files and new remote resource requests), we wanted to play it extra safe here. No other breaking changes included.
Eleventy Image v1.1.0
- Upgrades sharp from 0.29 to 0.30
- GIF support, animated GIF support, animated WebP support
- sharp Release notes 0.30.0 https://sharp.pixelplumbing.com/changelog#v0300---1st-february-2022
- sharp Release notes 0.30.1 https://sharp.pixelplumbing.com/changelog#v0301---9th-february-2022
- Adds ability to use absolute file paths on Windows.
- Fixes #137 by @mustafaoral in #138
- Maintain orientation specified in EXIF data
- Fixes #93, #49 by @stlk and @alanpreed in #132
If you want to vote on new features, Eleventy Image now has an enhancement queue: https://github.com/11ty/eleventy-img/issues?q=label%3Aneeds-votes+sort%3Areactions-%2B1-desc+label%3Aenhancement
Relevant milestone: https://github.com/11ty/eleventy-img/milestone/14?closed=1
Full Changelog: v1.0.0...v1.1.0
New Contributors
- @mustafaoral made their first contribution in #138
- @stlk made their first contribution in #132