Release Notes
Released on 2026-01-22.
Highlights
-
prek cache gc(also available viaprek gcfor pre-commit compatibility) is finally here! You can now runprek cache gcto clean up unused repos, hook envs and tool versions from prek cache. -
language: bunis now supported, making it possible to write and run hooks with Bun.
Enhancements
-
Implement
prek cache gc(#1410) -
Add
language: bunsupport (#1411)- Use
git ls-remote --tagsto list bun versions (#1439)
- Use
-
Accept
--stageas an alias for--hook-stageinprek run(#1398) -
Expand
~tilde inPREK_HOME(#1431) -
Support refs to trees (#1449)
Bug fixes
- Avoid file lock warning for in-process contention (#1406)
- Resolve relative repo paths from config file directory (#1443)
- fix: use
split()instead ofresolve(None)for builtin hook argument parsing (#1415)
Documentation
- Add
simple-iconsandast-grepto the users of prek (#1403) - Improve JSON schema for
repofield (#1432) - Improve JSON schema for builtin and meta hooks (#1427)
- Add pronunciation entry to FAQ (#1442)
- Add commitizen to the list of projects using prek (#1413)
- Move docs to zensical (#1421)
Other Changes
- Refactor config layout (#1407)
Contributors
Install prek 0.3.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.0/prek-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.3.0/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.3.0Download prek 0.3.0
| File | Platform | Checksum |
|---|---|---|
| prek-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| prek-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| prek-aarch64-pc-windows-msvc.zip | ARM64 Windows | checksum |
| prek-i686-pc-windows-msvc.zip | x86 Windows | checksum |
| prek-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| prek-aarch64-unknown-linux-gnu.tar.gz | ARM64 Linux | checksum |
| prek-i686-unknown-linux-gnu.tar.gz | x86 Linux | checksum |
| prek-riscv64gc-unknown-linux-gnu.tar.gz | RISCV Linux | checksum |
| prek-s390x-unknown-linux-gnu.tar.gz | S390x Linux | checksum |
| prek-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |
| prek-armv7-unknown-linux-gnueabihf.tar.gz | ARMv7 Linux | checksum |
| prek-aarch64-unknown-linux-musl.tar.gz | ARM64 MUSL Linux | checksum |
| prek-i686-unknown-linux-musl.tar.gz | x86 MUSL Linux | checksum |
| prek-x86_64-unknown-linux-musl.tar.gz | x64 MUSL Linux | checksum |
| prek-arm-unknown-linux-musleabihf.tar.gz | ARMv6 MUSL Linux (Hardfloat) | checksum |
| prek-armv7-unknown-linux-musleabihf.tar.gz | ARMv7 MUSL Linux | checksum |