Release Notes
Released on 2026-01-07.
Highlights
python/cpython is now using prek. That’s the highlight of this release!
Enhancements
- Add hook-level
envoption to set environment variables for hooks (#1279) (#1285) - Support apple's
containerfor docker language (#1306) - Skip cookiecutter template directories like
{{cookiecutter.project_slug}}during project discovery (#1316) - Use global
CONCURRENCYfor repo clone (#1292) - untar: disallow external symlinks (#1314)
Bug fixes
- Exit with success if no hooks match the hook stage (#1317)
- Fix Go template string to detect rootless podman (#1302)
- Panic on overly long filenames instead of silently dropping files (#1287)
Other changes
- Add
python/cpythonto users (#1308) - Add
MoonshotAI/kimi-clito users (#1286) - Drop powerpc64 wheels (#1319)
Contributors
- @ulgens
- @loganaden
- @danielparks
- @branchv
- @j178
- @yihong0618
- @mocknen
- @copilot-swe-agent
- @ZhuoZhuoCrayon
Install prek 0.2.27
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.27/prek-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.2.27/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.27Download prek 0.2.27
| 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 |