Skip to content

Latest commit

 

History

History
262 lines (129 loc) · 14.1 KB

CHANGELOG.md

File metadata and controls

262 lines (129 loc) · 14.1 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

4.1.3 (2024-12-18)

Bug Fixes

4.1.2 (2024-12-18)

Bug Fixes

4.1.1 (2024-11-19)

Bug Fixes

4.1.0 (2024-07-26)

Features

  • add unit for percentage resize with sharp (a83f491)

4.0.2 (2024-06-04)

Bug Fixes

4.0.1 (2024-05-29)

Bug Fixes

  • pass the original image path to svgo (#441) (d5522a6)

4.0.0 (2024-01-16)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 18.12.0 (d3f2531)

3.8.3 (2023-06-17)

Bug Fixes

3.8.2 (2023-03-10)

Bug Fixes

  • support for generating images from svg (sharp) (5076734)

3.8.1 (2022-11-13)

Bug Fixes

  • fix some possible issues with file paths (#377) (e40308a)

3.8.0 (2022-11-01)

Features

3.7.0 (2022-10-26)

Features

  • added info.sourceFilename (f8b3378)

3.6.1 (2022-09-19)

Bug Fixes

  • fix resize option enabled flag (squoosh) (#356) (b2a5015)
  • support for animated images (sharp) (#358) (3c30355)
  • throw an error on unsupported image formats (sharp) (#359) (c0b193b)

3.6.0 (2022-09-16)

Features

  • supported more resize options (only sharp) (#355) (d365db3)

3.5.0 (2022-09-15)

Features

  • add width/w and height/h query parameters to resize image (52ee1c8)

Bug Fixes

3.4.0 (2022-09-09)

Features

  • add [width] and [height] placeholders for the filename option (#346) (682c22b)

Bug Fixes

3.3.1 (2022-09-05)

Bug Fixes

3.3.0 (2022-08-12)

Features

  • add sharp minifier/generator implementation (#329) (5c440f6)

3.2.3 (2022-01-13)

Bug Fixes

3.2.2 (2022-01-07)

Bug Fixes

3.2.1 (2022-01-03)

Bug Fixes

3.2.0 (2021-12-25)

Features

  • allow generating images from copied assets using the type option for the generator option (fab9103)

3.1.2 (2021-12-17)

Bug Fixes

3.1.1 (2021-12-17)

Bug Fixes

  • ignore unsupported data URI by mime type (#284) (d1b68c2)

3.1.0 (2021-12-16)

Features

  • removed cjs wrapper and generated types in commonjs format (export = and namespaces used in types), now you can directly use exported types (#282) (f0fa0a7)

3.0.1 (2021-12-07)

Bug Fixes

3.0.0 (2021-12-05)

There are a lot of breaking changes, the plugin has been completely rewritten, see the documentation for information and examples.

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 12.13.0, imagemin uses dynamic import() to load plugins, so your Node.js version should support it
  • by default, we don't install imagemin, so you need to run npm i -D imagemin to install imagemin
  • union minify and minizerOptions in one option - minimizer, you can use minimizer.implementation and minimizer.options to specify minimizer and options
  • image generation was rewritten, please use the generator option to configure image generation and use new URL("./image.png?as=webp")/div { backgaround: url("./image.png?as=webp"); }/etc in code to enable it (import and require are supported too)
  • filter and filename option was moved in the minimizer/generator option
  • imageminNormalizeConfig is now async function
  • default value of the severityError option is "error", removed values: true, false and auto
  • don't add . (dot) before [ext] in the filename option

Features

  • added squoosh support
  • added the minimizer option for image optimization
  • added the generator option for image generation
  • added ability to use multiple minimizer option feature
  • allow the filename option will be Function
  • improve error reporting
  • improve types
  • output helpful descriptions and links on errors
  • improve stats output

Bug Fixes

  • support esm imagemin plugin
  • supports absolute URLs, i.e. data:/http:/https:/file:
  • double minification and memory leak
  • respect original errors
  • compatibility with asset modules

2.2.0 (2021-01-09)

Features

  • run optimize image assets added later by plugins (#178) (4939f93)

2.1.0 (2020-12-23)

Features

  • add TypeScript definitions (e78497b)

2.0.0 (2020-12-17)

⚠ BREAKING CHANGES

  • minimum supported webpack version is 5.1.0
  • removed the cache option in favor the cache option from webpack

1.0.0 (2020-10-07)

Initial release.