Skip to content

Releases: 343dev/optimizt

v11.0.0

04 May 13:03
55452d3
Compare
Choose a tag to compare

Breaking Changes

Benefits

  • Reduced Dependencies: Total project dependencies decreased from 218 to 41.
  • Improved Platform Support: Added arm64 binary versions for guetzli and gifsicle.

Important Note About Gamma Parameters

The new gamma parameters were added because of changes in gifsicle 1.96. In this version:

  • The --lossy option now measures color errors using the color space selected by --gamma (defaults to sRGB).
  • A new algorithm for computing color differences has been implemented.
  • This means --lossy=N will behave differently than in previous versions and may compress less than expected.
  • For behavior similar to previous versions, use --lossy=N --gamma=1.

Migration Guide

If you use an external configuration file (.optimiztrc.cjs), add the following parameters with a value of 1 to preserve the previous behavior: