This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Repository navigation
Releases: Halo-Lab/eleventy-shortcode-image
Releases · Halo-Lab/eleventy-shortcode-image
Release list
1.5.2 (July 29, 2021)
Fixed
- Renaming images caused rewriting different variants with the last and most heavy one.
- Remove waiting SVG optimization step.
- Don't render <source> element if image metadata doesn't emit it.
- Change source of public URL for <img> element in <picture>.
1.5.1 (July 28, 2021)
Fixed
- Add
widthandheightattributes to <img>, by default. - By default, shortcode will generate
srcsetfor 320, 640, 960, 1280 and 1600 pixels.
1.5.0 (July 27, 2021)
Added
lazyproperty toImagePropertiesfor allowing third-party libraries lazy load images.srcNameandsrcsetNameproperties toImagePropertiesto be able to customize name of the src and srcset attributes respectively.ImagePropertiescan have any valid attribute for <img> element now.
Changed
- Set default compression level to 85%.
1.4.1 (July 23, 2021)
Fixed
- Caching all parameters of
imageshortcode to be able react on every parameter change. - source path is passed to
@11ty/eleventy-imgnow.
1.4.0 (July 23, 2021)
Added
toHTMLintoImagePropertiesfor granular controlling SVG output.
Changed
- Rename
ImageAttributestoImageProperties.
1.3.0 (July 23, 2021)
Added
- Memoizing repeated images (in-memory).
- Automatic image downloading.
- Ability to generate HTML for GIF.
- Ability to insert SVG into HTML or add it as link in <img> element.
Changed
- Handle up to 40 images in parallel.
- By default, for most raster formats plugin generates
jpeg,webpandavifimages.
1.2.0 (June 3, 2021)
Added
- Debug logger in
EleventyShortcodeImagenamespace. - Images that are downloaded from the Web will have names from
URL.pathnameproperty.
Removed
- output directory is not source of truth for SVGs anymore.
Fixed
- Ability to process remote images.
1.1.1 (May 5, 2021)
Changed
- Shortcode writes images with the same relative paths as in source directory (save subdirectories).
- Shortcode does not rename files.
1.1.0 (April 29, 2021)
Added
svgoOptionsoption for configuration of behavior of svgo package.rasterOptionsoption for @11ty/eleventy-img package behavior optimization.
1.0.1 (April 1, 2021)
Fixed
- We now provide default values for
altandtitleattributes if a user did not pass them.