2026-03-04
This release adds better default compression for zstd and brotli, and better handling of compression options. Thanks to @Daniel15 for this contribution.
- [
9d97f8a] Use a separate release pipeline - [
09f173b] Run 'pnpm fix' in pre-commit hook - [
34e8ca2] Drop @tsconfig packages - [
d48d4a9] Force NO_COLOR in tests to avoid ANSI shenanigans - [
f0816b8] Refactor the build setup slightly - [
ff616ca] Move to oxlint and oxfmt - [
98cc08f] Bump all packages, fix type errors - [
de315e0] Improve handling of default options @Daniel15 - [
9878779] Set default compression levels for Brotli and zstd @Daniel15 - [
f3cf8dc] Bump actions/checkout from 5 to 6 - [
3330a3c] We now use trusted publishing, remove tokens
2025-10-15
This release adds support for configuring the compression algorithms directly instead of just a boolean flag for more advanced usage. It also includes a optimized file searching by only traversing the output directory once.
- [
eb123a8] Bump actions/setup-node from 5 to 6 - [
aeaa6b0] Bump pnpm/action-setup from 4.1.0 to 4.2.0 - [
40c660e] Bump actions/setup-node from 4 to 5 - [
0e77401] Test with bools and objects - [
36050b2] Next prerelease - [
405945b] Fix 'enabled' for brotli and zstd - [
4696d84] Update README - [
ea30882] Use my new, actual last name - [
d578795] Mark as prerelease - [
e95738e] Only find files once instead of per compressor - [
8941c4e] Add @tsconfig/node22 - [
9731ae9] Add compression options to compressions - [
33c0f46] Bump actions/checkout from 4 to 5
2025-08-06
Documentation update to mention zstd compression alongside other compression algorithms.
- [
c9d3fd7] Mention zstd alongside other compression algorithms
2025-07-30
Bug fix for gracefully handling Node versions without zstd compression.
- [
9855701] Gracefully fall back when zstd is not supported - [
9fdc219] Set the engines to proper versions
2025-07-28
Thanks to @Alex-1701, astro-compressor now also supports zstd compression.
- [
c3082cc] Update README, set 'engines' field in package.json - [
f851c2b] Add lefthook to approved builds - [
b644541] Infer pnpm version from package.json - [
31f61a0] Upgrade dependencies - [
9110521] Add zstd (#19) - [
4b1e3c3] Bump pnpm/action-setup from 4.0.0 to 4.1.0 - [
a69e499] Only publish from one CI
2024-11-28
The main change is that the compression is now batch parallelized to speed up compression for larger sites and the custom logger was replaced with the Astro logger. Bumped packages and moved from ESLint/Prettier to Biome.
- [
8892cf1] Use AstroIntegrationLogger over custom logger - [
4853f21] Update README - [
2b9a0ab] Run CI against latest and LTS NodeJS - [
2150125] Extract out compression login to shared function - [
e7bc27d] Parallelize and batch process files - [
8c56e05] And run correct lint tasks in CI - [
18cdd9c] Use pnpm@9 in CI - [
3d55b57] Bump remaining packages - [
b2ed13e] Bump typescript, use @tsconfig/bases packages for config - [
e28eb3a] Add test step to CI - [
ce437bd] Add a test site to run integration tests against - [
0db2b37] Remove prettier and eslint, move to biome - [
f125d43] Bump pnpm/action-setup from 3.0.0 to 4.0.0 - [
633c1a9] Bump pnpm/action-setup from 2.4.0 to 3.0.0 - [
ec3bff9] Bump actions/setup-node from 3 to 4
2023-09-29
Documentation updates, no functional changes.
- [
7750c7e] Add note about SSR not working - [
ac15c66] Bump actions/checkout from 3 to 4 - [
7099290] Bump pnpm/action-setup from 2.3.0 to 2.4.0 - [
e554525] Bump pnpm/action-setup from 2.2.4 to 2.3.0 - [
ad26a44] Add defaults for fileExtensions to README
2023-03-20
Add configurable file extensions to options, allowing the user to change the default files that are compressed.
- [
02181b8] Add file extension configuration to README - [
4015722] Make compressed file extensions configurable - [
f3355d1] Bump dependencies - [
53f98e7] Bump packages - [
102fe95] Cache prettier
2023-01-31
Add configuration options to integration, bump Astro dependency to 2.0.
- [
bf612b4] Add configuration to README - [
230e092] Bump packages - [
3472d07] Allow enabling/disabling gzip and brotli compression - [
711a36f] Prefix url withnode:
2022-12-29
Fix paths for Windows.
- [
d9d04eb] Use fileUrlToPath to fix path on Windows - [
cef27ed] Don't force height on badge - [
2fbaa34] Use shields.io over badge.fury.io - [
a0f7ba1] Update version badge
2022-12-29
Spelling fix and file name filtering change.
2022-12-29
Removal of dependency over using the node standard library.
- [
f0840e5] Remove globby dependency, use stdlib
2022-12-27
Update dependencies, fix some CI steps.
- [
28b0d90] Fix release CI step - [
acc0b18] Update dependencies, fix formatting - [
8a64bff] Add publish step on CI pipeline
2022-08-28
Fix wording in README.
- [
983215e] Update README
2022-08-27
Quick bugfix release for a stray console.log that was left accidentally.
- [
375745f] Release v0.1.1
2022-08-27
Initial relase of a gzip and brotli compressor for Astro.