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