Release Notes
Released on 2025-12-13.
Highlights
In this release, prek adds support for the --cooldown-days option in the prek auto-update command.
This option allows users to skip releases that are newer than a specified number of days.
It is useful to mitigate open source supply chain risks by avoiding very recent releases that may not have been widely adopted or vetted yet.
Big thanks to @lmmx for driving this feature!
Enhancements
- Support
--cooldown-daysinprek auto-update(#1172)- Prefer tag creation timestamp in
--cooldown-days(#1221)
- Prefer tag creation timestamp in
- Use
cargo installfor packages in workspace (#1207)
Bug fixes
- Set
CARGO_HOMEforcargo metadata(#1209)
Contributors
Install prek 0.2.22
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.22/prek-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.2.22/prek-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install j178/tap/prekInstall prebuilt binaries into your npm project
npm install @j178/prek@0.2.22