Repository navigation
chore(deps): Update dependency prek to v0.5.9 - #181
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
0.2.27→v0.5.9Release Notes
j178/prek (prek)
v0.5.9: 0.5.9Compare Source
Release Notes
Released on 2026-10-30.
Enhancements
normalize-indentationbuiltin hook (#2967)Performance
Bug fixes
Contributors
Install prek 0.5.9
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.5.9/prek-installer.ps1 | iex"Install prebuilt binaries via Homebrew
Download prek 0.5.9
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:
You can also download the attestation from GitHub and verify against that directly:
v0.5.7: 0.5.7Compare Source
Release Notes
Released on 2026-10-21.
Enhancements
Performance
Other changes
Contributors
Install prek 0.5.7
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.5.7/prek-installer.ps1 | iex"Install prebuilt binaries via Homebrew
Download prek 0.5.7
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:
You can also download the attestation from GitHub and verify against that directly:
v0.5.6: 0.5.6Compare Source
Release Notes
Released on 2026-10-19.
Enhancements
check-commit-trailers(#2885)check-signed-commit(#2725)Performance
Bug fixes
check-json(#2879)prek update(#2853)Documentation
Other changes
Contributors
Install prek 0.5.6
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.5.6/prek-installer.ps1 | iex"Install prebuilt binaries via Homebrew
Download prek 0.5.6
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:
You can also download the attestation from GitHub and verify against that directly:
v0.5.5: 0.5.5Compare Source
Release Notes
Released on 2026-10-05.
Enhancements
ppc64lewheel and binary builds (#2809)Performance
Bug fixes
core.fileModein shebang checks (#2832)trailing-whitespacecharacter sets (#2830)check-json(#2826)check-json(#2828)check-added-large-files(#2827)Documentation
Contributors
Install prek 0.5.5
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.5.5/prek-installer.ps1 | iex"Install prebuilt binaries via Homebrew
Download prek 0.5.5
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:
You can also download the attestation from GitHub and verify against that directly:
v0.5.4: 0.5.4Compare Source
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
include_deletedto allow hooks to include deleted files (#2733)--checkand simplifyend-of-file-fixer(#2764)--checktofile-contents-sorter(#2765)--checktorequirements-txt-fixer(#2766)--checktotrailing-whitespace(#2763)prek util generate-shell-completion(#2727)hide_statusin project and user configuration (#2760)Performance
mixed-line-endingandtrailing-whitespace(#2769)check-merge-conflictfiles in fixed-size blocks (#2781)check-json,check-toml, andcheck-yaml(#2770)Bug fixes
Documentation
Other changes
Contributors
Install prek 0.5.4
Install prebuilt binaries via shell script
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
Download prek 0.5.4
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:
You can also download the attestation from GitHub and verify against that directly:
v0.5.3: 0.5.3Compare Source
Release Notes
Released on 2026-09-13.
Enhancements
check-jsoncbuiltin hook (#2682)Bug fixes
granit-parserto fix YAML flow indentation (#2707)Contributors
Install prek 0.5.3
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.5.3/prek-installer.ps1 | iex"Install prebuilt binaries via Homebrew
Download prek 0.5.3
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:
You can also download the attestation from GitHub and verify against that directly:
v0.5.2: 0.5.2Compare Source
Release Notes
Released on 2026-09-03.
Enhancements
check-yaml(#2678)Contributors
Install prek 0.5.2
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.5.2/prek-installer.ps1 | iex"Install prebuilt binaries via Homebrew
Download prek 0.5.2
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:
You can also download the attestation from GitHub and verify against that directly:
v0.5.1: 0.5.1Compare Source
Release Notes
Released on 2026-09-01.
Enhancements
--hide-status <passed|failed|skipped>for hook reports (#2644)prek initfor repository setup (#2636)envduring environment creation (#2650)check-yamldiagnostics (#2664)cargo-binstallfor Rust CLI dependencies (#2658)Bug fixes
Documentation
Other changes
Contributors
Install prek 0.5.1
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.5.1/prek-installer.ps1 | iex"Install prebuilt binaries via Homebrew
Download prek 0.5.1
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:
You can also download the attestation from GitHub and verify against that directly:
v0.5.0: 0.5.0Compare Source
Release Notes
Released on 2026-08-27.
Highlights
Choose where hook toolchains come from
language_versionnow accepts a sourcepreferencealongside the versionrequest, letting you control where prek looks for a compatible toolchain whenit creates a hook environment. Use
managed(the default) orsystemto choosewhich source prek tries first while still allowing fallback and downloads. Use
only-managedoronly-systemto require one source.For example, this local Ruff hook requires a Python 3.12 toolchain managed by
prek:
With
only-managed, prek reuses a compatible toolchain from its managed storeor downloads one when needed. It never falls back to Python from
PATH, an OSpackage manager, or a version manager, so toolchain selection does not depend on
the developer or CI machine's external environment.
Existing scalar values such as
language_version: "3.12"continue to work. Seetoolchain management and
language_versionfor the full source-selection behavior. (#2613)
Breaking changes
The breaking changes in this release are mostly small cleanups, and most users should not be affected.
@. This prefix is now reserved for special group selectors such as the new@ungroupedselector. (#2617)PREK_MAX_CONCURRENCYhas been removed. UsePREK_CONCURRENT_HOOKSandPREK_CONCURRENT_BATCHESto control hook and per-hook batch concurrency separately. (#2620)prek init-template-dircommand has been removed. Useprek util init-template-dir, orprek init-templatedirfor drop-in compatibility withpre-commit. (#2623)prek auto-updatehas been removed. Useprek update, orprek autoupdatefor drop-in compatibility withpre-commit. (#2619)Enhancements
language: pythonto opt out of fast-path hooks (#2608)runandupdateoptions in CLI help (#2629)@ungroupedgroup selector (#2617){hook_repo}placeholder in hookentry(#2602)Bug fixes
Documentation
Contributors
Install prek 0.5.0
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.5.0/prek-installer.ps1 | iex"Install prebuilt binaries via Homebrew
Download prek 0.5.0
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be