Skip to content

Commit 55452d3

Browse files
authored
Merge pull request #30 from 343dev/imporvement/release
v11.0.0
2 parents a53d5b8 + 9a25820 commit 55452d3

File tree

4 files changed

+36
-3
lines changed

4 files changed

+36
-3
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Changelog
22

3+
## 11.0.0 (2025-05-04)
4+
5+
### Breaking Changes
6+
7+
- Replaced [imagemin/gifsicle-bin](https://github.com/imagemin/gifsicle-bin) package with [343dev/gifsicle](https://github.com/343dev/gifsicle).
8+
- Added new configuration parameters in [.optimiztrc.cjs](.optimiztrc.cjs):
9+
- [optimize.gif.lossy.gamma](https://github.com/343dev/optimizt/blob/a53d5b82facf4d24a25d2e60d9dd15868e79acbf/.optimiztrc.cjs#L55)
10+
- [optimize.gif.lossless.gamma](https://github.com/343dev/optimizt/blob/a53d5b82facf4d24a25d2e60d9dd15868e79acbf/.optimiztrc.cjs#L62)
11+
- Updated gifsicle to version 1.96.
12+
13+
### Benefits
14+
15+
- **Reduced Dependencies**: Total project dependencies decreased from 218 to 41.
16+
- **Improved Platform Support**: Added arm64 binary versions for `guetzli` and `gifsicle`.
17+
18+
### Important Note About Gamma Parameters
19+
20+
The new gamma parameters were added because of changes in gifsicle 1.96. In this version:
21+
22+
- The `--lossy` option now measures color errors using the color space selected by `--gamma` (defaults to sRGB).
23+
- A new algorithm for computing color differences has been implemented.
24+
- This means `--lossy=N` will behave differently than in previous versions and may compress less than expected.
25+
- For behavior similar to previous versions, use `--lossy=N --gamma=1`.
26+
27+
328
## 10.0.0 (2024-10-28)
429

530
Breaking Changes:

MIGRATION.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Migration
22

3+
## 10.0.0 → 11.0.0
4+
5+
If you use an external configuration file (`.optimiztrc.cjs`), add the following parameters with a value of `1` to preserve the previous behavior:
6+
7+
- [optimize.gif.lossy.gamma](https://github.com/343dev/optimizt/blob/a53d5b82facf4d24a25d2e60d9dd15868e79acbf/.optimiztrc.cjs#L55)
8+
- [optimize.gif.lossless.gamma](https://github.com/343dev/optimizt/blob/a53d5b82facf4d24a25d2e60d9dd15868e79acbf/.optimiztrc.cjs#L62)
9+
10+
311
## 9.1.1 → 10.0.0
412

513
Node.js version must be 18.18 or higher.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@343dev/optimizt",
3-
"version": "10.0.0",
3+
"version": "11.0.0",
44
"description": "CLI image optimization tool",
55
"keywords": [
66
"svg",

0 commit comments

Comments
 (0)