Aquesta és una versió anterior. La versió actual és la 0.5.4. Prek 0.5.4 · Data de publicació:
Fitxers d’instal·lació 0.3.4
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | ZIP → Portable | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portable | — | — | github.com | VirusTotal |
| 32 bits | ZIP → Portable | — | — | github.com | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
Notes de la versió
Release Notes
Released on 2026-02-28.
Enhancements
- Allow pass_filenames to accept a positive integer (#1698)
- Install and compile gems in parallel (#1674)
- Sync identify file-type mappings with pre-commit identify (#1660)
- Use --locked for Rust cargo install commands (#1661)
- Add PREK_MAX_CONCURRENCY environment variable for configuring maximum concurrency (#1697)
- Add PREK_LOG_TRUNCATE_LIMIT environment variable for configuring log truncation (#1679)
- Add support for python -m prek (#1686)
Bug fixes
- Skip invalid Rust toolchains instead of failing (#1699)
Performance
- Bitset-based TagSet refactor: precompute tag masks and speed up hook type filtering (#1665)
Documentation
- Document winget install j178.Prek (#1670)
Contributors
- @uplsh580
- @Svecco
- @dbast
- @drichardson
- @JP-Ellis
- @j178
- @is-alnilam
- @copilot-swe-agent
Install prek 0.3.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.4/prek-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.3.4/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.4
Download prek 0.3.4
───────────────────────────────────────────────┬────────────────────────────┬─────────────
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
───────────────────────────────────────────────┴────────────────────────────┴─────────────
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo j178/prek
You can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>