Skip to content

Releases: 343dev/optimizt

v12.1.1

02 Jan 08:54

Choose a tag to compare

Changed

  • Updated @343dev/gifsicle and @343dev/guetzli packages, which now allow Optimizt to work on Alpine Linux without installing additional packages. Previously, the gcompat package was required as the guetzli and gifsicle binaries were built for glibc-based systems, which is absent on Alpine Linux.

Full Changelog: v12.1.0...v12.1.1

12.1.0

24 Dec 11:04
063d274

Choose a tag to compare

Added

  • Added --prefix and --suffix flags to add custom prefixes and suffixes to optimized file names.

Changed

  • Updated log output to display output filenames instead of input filenames.

Full Changelog: v12.0.0...v12.1.0

v12.0.0

23 Dec 11:45

Choose a tag to compare

Added

  • Configure trusted publishing for npm package to enhance security by eliminating token-based publishing risks (see npm trusted publishers).

Changed

  • BREAKING: Increase minimum Node.js version to 20.19.0 due to dependency requirements.
  • BREAKING: Update SVGO config in default .optimiztrc.cjs to migrate from v3 to v4 (see migration guide).
  • Update all dependencies to latest versions with a 7-day cooling period and fix versions to prevent security vulnerabilities during installations.

Full Changelog: v11.0.0...v12.0.0

v11.0.0

04 May 13:03
55452d3

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: