Suositut: Tiedot päivitetty 27. lokakuuta 2026

Kategoriat

Internet1 356
Viestintä321
Ääni ja video898
Grafiikka ja suunnittelu539
Toimisto ja tuottavuus1 124
Kehitystyökalut3 134
Tekoälytyökalut529
Tietoturva ja yksityisyys385
Järjestelmätyökalut3 114
Pelit523
Opiskelu ja tiede239
Verkko ja IT284

Lataa Prek 0.5.4

⚡ Better `pre-commit`, re-engineered in Rust

j178 Versionhallinta #53 Versionhallinta
Tämä on uusin versio. · Julkaistu:

Asennustiedostot 0.5.4

ArkkitehtuuriTyyppiLaajuusTiedostokokoLatausSHA256
64-bittinen ZIP → Portable — — github.com VirusTotal
ARM64 ZIP → Portable — — github.com VirusTotal

Linkki ja SHA256-tiiviste ovat peräisin Windows Package Managerin yhteisön manifestista. Vertaa ladatun tiedoston tiivistettä ennen kuin suoritat sen.

Muutosloki

Release Notes
Released on 2026-09-28.
Highlights
Faster builtin hooks
In our end-to-end benchmark, prek is about 38% faster than 0.5.3, with some builtin
hooks up to 273% faster (check-yaml: 273%, check-json: 80%,
check-merge-conflict: 71%).
Enhancements
- Add include_deleted to allow hooks to include deleted files (#2733)
- Add --check and simplify end-of-file-fixer (#2764)
- Add --check to file-contents-sorter (#2765)
- Add --check to requirements-txt-fixer (#2766)
- Add --check to trailing-whitespace (#2763)
- Expose and document prek util generate-shell-completion (#2727)
- Support hide_status in project and user configuration (#2760)
- Support look-around regex in builtin pattern hooks (#2732)
Performance
- Cache the resolved Git executable on macOS (#2726)
- Combine and cache Git repository path queries (#2724)
- Optimize common builtin hook execution (#2768)
- Optimize scanning in mixed-line-ending and trailing-whitespace (#2769)
- Scan check-merge-conflict files in fixed-size blocks (#2781)
- Use SIMD UTF-8 validation in check-json, check-toml, and check-yaml (#2770)
Bug fixes
- Retry transient rename failures on Windows (#2756)
- Use PATH to resolve prek in completion scripts (#2719)
Documentation
- Clarify the flow and scope of usage guides (#2710)
- Reorganize usage guides and reference documentation (#2709)
Other changes
- Sync latest identify tags (#2762)
Contributors
- @github-actions
- @j178
Install prek 0.5.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.5.4/prek-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.5.4/prek-installer.ps1 | iex"
Install prebuilt binaries via Homebrew
brew install prek
Download prek 0.5.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-x86_64-pc-windows-msvc.zip │x64 Windows │checksum
───────────────────────────────────────────┼───────────────────┼─────────────
prek-aarch64-unknown-linux-gnu.tar.gz │ARM64 Linux │checksum
───────────────────────────────────────────┼───────────────────┼─────────────
prek-x86_64-unknown-linux-gnu.tar.gz │x64 Linux │checksum
───────────────────────────────────────────┼───────────────────┼─────────────
prek-aarch64-unknown-linux-musl.tar.gz │ARM64 MUSL Linux │checksum
───────────────────────────────────────────┼───────────────────┼─────────────
prek-x86_64-unknown-linux-musl.tar.gz │x64 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>

https://github.com/j178/prek/releases/tag/v0.5.4

Suosituin kategoriassa Versionhallinta

Näytä kaikki
  1. GitHub CLIVersionhallinta · GitHub Inc.
  2. GitVersionhallinta · The Git Development Community
  3. GitTools GitVersionVersionhallinta · GitTools
  4. Git ExtensionsVersionhallinta · Git Extensions Team
  5. Git Credential Manager (User)Versionhallinta · github
  6. hubVersionhallinta · GitHub Inc.
  7. MercurialVersionhallinta · Olivia Mackall and others
  8. GitButlerVersionhallinta · GitButler
  9. TortoiseSVNVersionhallinta · TortoiseSVN
  10. DevHubVersionhallinta · Bruno Lemos

Tunnisteet

Jaa