0.3.0
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
- @shaanmajid
- @KevinGimbel
- @jtamagnan
- @jmeickle-theaiinstitute
- @YazdanRa
- @j178
- @mschoettle
- @tisonkun
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 | sh
Install 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/prek
Install prebuilt binaries into your npm project
npm install @j178/prek@0.3.0
Download 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 | | | x64 Windows | | | | ARM64 Linux | | | | x86 Linux | | | | RISCV Linux | | | | S390x Linux | | | | x64 Linux | | | | ARMv7 Linux | | | | ARM64 MUSL Linux | | | | x86 MUSL Linux | | | | x64 MUSL Linux | | | | ARMv6 MUSL Linux (Hardfloat) | | | | ARMv7 MUSL Linux | |