Releases: saneef/eleventy-plugin-img2picture
Releases · saneef/eleventy-plugin-img2picture
v5.0.0
Added
- Support for SVG image files.
Breaking: Optimises SVG images by default. If, you want to skip SVG files, use options,extensions: ["jpg", "png", "jpeg"]
withoutsvg
.
Changed
- Breaking: Generates fallback image of smallest in width instead of medium width.
- Uses
generateObject
from Eleventy Image to generate<picture>
HTML
Full Changelog: v4.1.3...v5.0.0
v4.1.3
v4.1.2
Full Changelog: v4.1.1...v4.1.2
- Bumps Eleventy Image to v3.1.1. It comes with an important
sharp
dependency upgrade for a libwebp vulnerability. See lovell/sharp#3798 for more info.
v4.1.1
v4.1.0
v4.0.0
- Upgrades Eleventy Image to v3.0.0. See release notes for changes.
- Breaking: Requires Node 14.15+ because of Eleventy Image v3.0.0
Full Changelog: v3.0.0...v4.0.0
v3.0.0
- Class attribute from
<img>
tags are not moved to<picture>
by default. That behaviour can be enabled through option,hoistImgClass
- New option
pictureClass
to provide class names for the newly created<picture>
elements. - Also, you can provide class name to
<picture>
throughdata-img2picture-picture-class
attribute on<img>
tag.
Full Changelog: v2.0.3...v3.0.0