Skip to content

Releases: 11ty/eleventy-img

Eleventy Image v5.0.0

01 Oct 20:21
Compare
Choose a tag to compare

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

New Contributors

Eleventy Image v5.0.0-beta.10

01 Aug 15:57
Compare
Choose a tag to compare
Pre-release
  • Fixes issue with on-request image optimization plugin double decoding URLs.

Eleventy Image v4.0.0

10 Feb 03:20
Compare
Choose a tag to compare

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"`

15 Nov 17:12
Compare
Choose a tag to compare

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

22 Sep 21:10
Compare
Choose a tag to compare

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

Read way more detail on the WebP 0-day.

Eleventy Image v3.1.0: WebC component, `sharp` upgrade

29 Mar 22:20
Compare
Choose a tag to compare

Full Changelog: v3.0.0...v3.1.0
Milestone: https://github.com/11ty/eleventy-img/milestone/18?closed=1

Release Notes

Eleventy Image v3.0.0

30 Jan 22:51
Compare
Choose a tag to compare

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

16 May 19:00
Compare
Choose a tag to compare
  • 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

14 Mar 18:35
Compare
Choose a tag to compare

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

24 Feb 22:08
Compare
Choose a tag to compare

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