Skip to content

Commit fe85d62

Browse files
authored
Merge pull request #16 from 343dev/improvement/internal-stuff
Add license check on pre-push & Update docs
2 parents a7d0850 + 262231a commit fe85d62

21 files changed

+1934
-1104
lines changed

.github/workflows/publish-docker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ jobs:
4040
with:
4141
push: true
4242
platforms: ${{ env.IMAGE_PLATFORMS }}
43-
tags: ${{ env.IMAGE_NAME }}:latest,${{ env.IMAGE_NAME }}:${{ env.PKG_VERSION }}
43+
tags: ${{ env.IMAGE_NAME }}:${{ env.PKG_VERSION }},${{ env.IMAGE_NAME }}:latest

.github/workflows/publish-npm.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
publish_to_npm:
99
runs-on: ubuntu-latest
1010
permissions:
11-
actions: write # Fix for “Error: Resource not accessible by integration” by Cancelling step
12-
id-token: write # Provenance generation in GitHub Actions requires "write" access to the "id-token" permission
11+
actions: write # “andymckay/cancel-action” requires “write” access to the “actions” permission
12+
id-token: write # Provenance generation in GitHub Actions requires write access to the id-token permission
1313
steps:
1414
-
1515
name: Checkout repository

CHANGELOG.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@
1212

1313
## 9.0.0 (2024-10-03)
1414

15-
Changes:
16-
1715
- Improved image processing workflow. Check the [migration guide](./MIGRATION.md) for details.
1816
- Added an interactive log for image processing.
1917
- Changed the “File already exists” message from “error” to “info,” now only shown in verbose mode.
2018
- Added a notice that animated AVIF is not supported (unfortunately).
2119
- Fixed the progress indicator in conversion mode. It now correctly shows the total number of items.
22-
- Fixed output to the user directory. The original folder structure is now preserved (i hope so!).
20+
- Fixed output to the user directory. The original folder structure is now preserved (I hope so!).
2321

2422
## 8.0.0 (2024-08-05)
2523

MIGRATION.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
The main change in the new version is how Optimizt handles file processing. Before, the result was stored in memory until all files were processed. This could cause the app to crash if it ran out of memory, leading to a loss of optimization results. Now, each file is processed one by one, and the result is saved to disk immediately. Logging events also happen in real-time, instead of waiting until all files are done.
66

7-
Previously, if you tried to create an AVIF or WebP file that already existed, an error message would appear in the log. Now, it shows an informational message, but only if you use the --verbose option.
7+
Previously, if you tried to create an AVIF or WebP file that already existed, an error message would appear in the log. Now, it shows an informational message, but only if you use the `--verbose` option.
88

9-
To handle AVIF files, Optimizt uses the sharp module, which uses the libheif library. However, libheif doesn't support converting to animated AVIF (AVIS). In earlier versions, Optimizt would quietly convert animated GIFs into static AVIF. But from this version, an error will show up if you try to do this.
9+
To handle AVIF files, Optimizt uses the [sharp](https://sharp.pixelplumbing.com) module, which uses the libheif library. However, libheif [doesn't support](https://github.com/strukturag/libheif/issues/377) converting to animated AVIF (AVIS). In earlier versions, Optimizt would quietly convert animated GIFs into static AVIF. But from this version, an error will show up if you try to do this.
1010

11-
The logic for creating file structures when using the --output option has also changed. Now, the original file structure will be recreated inside the output folder, starting from the folder passed to the app. Who knows how this worked before, but hopefully, it works better now!
11+
The logic for creating file structures when using the `--output` option has also changed. Now, the original file structure will be recreated inside the output folder, starting from the folder passed to the app. Who knows how this worked before, but hopefully, it works better now!
1212

1313

1414
## 7.0.2 → 8.0.0

0 commit comments

Comments
 (0)