Release Notes
Released on 2025-11-21.
Highlights
In this release, prek adds a new special repo type repo: builtin that lets you use built‑in hooks.
It basically gives you another way to use the existing built‑in fast path for pre‑commit‑hooks, but without needing to point to an external repo.
Since prek doesn’t have to clone anything or set up a virtual environment, repo: builtin hooks work even in air‑gapped environments.
For more details, see: https://prek.j178.dev/builtin/
Enhancements
Bug fixes
- Do not recurse into submodules during workspace discovery (#1121)
- Do not dim the hook output (#1126)
- Further reduce max cli length for cmd.exe on Windows (#1131)
- Revert "Disallow hook-level
minimum_prek_version(#1101)" (#1120)
Other changes
- docs: refer airflow as Apache Airflow (#1116)
Contributors
Install prek 0.2.18
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.18/prek-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.2.18/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.18