github j178/prek v0.2.20
0.2.20

latest releases: v0.3.0, v0.2.30, v0.2.29...
one month ago

Release Notes

Released on 2025-12-08.

Highlights

In this release:

  • Rust hooks are now fully supported with automatic toolchain management, including package discovery in virtual workspaces. Big thanks to @lmmx for driving this.
  • Added a prek cache size subcommand so you can quickly see how much cache space prek is using. Thanks @MatthewMckee4!
  • Nested workspaces are easier to reason about: set orphan: true on a project to isolate it from parents so its files are processed only once.

Want to show your project runs on prek? Add our README badge to your docs or repo homepage: prek

Enhancements

  • Support Rust language (#989)
    • Refactor Rust toolchain management (#1198)
    • Add support for finding packages in virtual workspaces (#1180)
  • Add prek cache size command (#1183)
  • Support orphan projects (#1129)
  • Fallback to manual stage for hooks specified directly in command line (#1185)
  • Make go module cache read-writeable (thus deletable) (#1164)
  • Provide more information when validating configs and manifests (#1182)
  • Improve error message for invalid number of arguments to hook-impl (#1196)

Bug fixes

  • Disable git terminal prompts (#1193)
  • Prevent post-checkout deadlock when cloning repos (#1192)
  • Prevent color output when redirecting stdout to a file (#1159)

Documentation

  • Add MacPorts to installation methods (#1157)
  • Add a FAQ page explaining prek install --install--hooks (#1162)

Other changes

  • Add prek: enabled repo badge (#1171)
  • Add favicon for docs website (#1187)

Contributors

Install prek 0.2.20

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.20/prek-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.2.20/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.2.20

Download prek 0.2.20

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-powerpc64-unknown-linux-gnu.tar.gz PPC64 Linux checksum
prek-powerpc64le-unknown-linux-gnu.tar.gz PPC64LE 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

Don't miss a new prek release

NewReleases is sending notifications on new releases.