chore(deps): update dependency prek to v0.3.13#516
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.
This PR contains the following updates:
0.1.6→0.3.13Release Notes
j178/prek (prek)
v0.3.13Compare Source
Released on 2026-05-06.
Bug fixes
Documentation
Contributors
v0.3.12Compare Source
Released on 2026-05-05.
Highlights
auto_update.cooldown_daysis now available in both the user-level globalconfig (
~/.config/prek/prek.tomlon Linux and macOS, or$XDG_CONFIG_HOME/prek/prek.tomlwhen set;%APPDATA%\prek\prek.tomlonWindows) and project config. Set a user default for
prek auto-update, thenoverride it per project when a repository needs a different update cadence.
Enhancements
language: dart(#1146)Bug fixes
$PATHforgeminvocations (#2021)Documentation
Contributors
v0.3.11Compare Source
Released on 2026-04-27.
Highlights
Hook entries now have an explicit
shelloption for shell snippets. Setshell: sh,bash,pwsh,powershell, orcmdwhen an entry should beevaluated by that shell; leaving it unset keeps prek's direct argv execution.
prek auto-updatecan now filter tag candidates before choosing an update.Both options take glob patterns: use
--include-tagto only consider matchingtag names, and
--exclude-tagto skip matching tags such as moving tags orprereleases.
Enhancements
auto-update --exclude-repo <repo>to skip repos (#1983)auto-update --exit-codeto exit with non-zero on updates (#2002)auto-update --include-tag <pattern>/--exclude-tag <pattern>to filter tags (#1984)shellhook option for entries that should run as shell source (#2004)--hook-diroptional for hook-impl (#1989)--script-versionis missing (#1990)Bug fixes
Documentation
pass_filenamesconcurrency docs (#1999)Contributors
v0.3.10Compare Source
Released on 2026-04-21.
Enhancements
@j178/preknpm package (#1973)Bug fixes
Documentation
SKILL.mdfor prek (#1950)gh skill install j178/prek prekto install prek skill for agents (#1951)Other changes
Contributors
v0.3.9Compare Source
Released on 2026-04-13.
Highlight
prek auto-updateis now stricter about pinned revisions and more useful in CI.It now keeps
revand# frozen:comments in sync, can detectimpostor commits when validating pinned SHAs,
and lets you use
prek auto-update --checkto fail on both available updates and frozen-refmismatches without rewriting the config.
Examples:
Enhancements
language: dotnetsupport (#1871)core.hooksPath(#1892)prek run --no-fail-fastto override config file (#1859)forbid-new-submodulesas builtin hook (#1853)cache gc(#1877)auto-update --freezeoutput (#1916)Bug fixes
auto-update(#1936)Documentation
Contributors
v0.3.8Compare Source
Released on 2026-03-23.
Enhancements
language: denosupport (#1516)pretty-format-jsonas builtin hook (#915)check-vcs-permalinksas builtin hook (#1842)check-illegal-windows-namesas builtin hook (#1841)check-shebang-scripts-are-executablebuiltin hook (#1847)destroyed-symlinksbuiltin hook (#1851)file-contents-sorteras builtin hook (#1846)--allflag toprek uninstall(#1817)uvbinary after download (#1825)Bug fixes
Contributors
v0.3.6Compare Source
Released on 2026-03-16.
Enhancements
prek install-hookstoprek prepare-hooksandprek install --install-hookstoprek install --prepare-hooks(#1766)Performance
detect_private_keyby chunked reading and using aho-corasick (#1791)fix_byte_order_markerby shifting file contents in place (#1790)Bug fixes
GOTOOLCHAIN=localwhen probing system go (#1797)Documentation
Other changes
Contributors
v0.3.5Compare Source
Released on 2026-03-09.
Enhancements
--git-dirto force hook installation target (#1723)--quiet,--verbose, and--no-progressthroughprek installinto generated hook scripts (#1753)core.sharedRepositoryfor hook permissions (#1755)cli:git dependency 4th segment package disambiguation (#1747)Bug fixes
__main__.pyentry (#1741)UV_SYSTEM_PYTHONfromuv venvandpip installcommands (#1756)Other changes
Contributors
v0.3.4Compare Source
Released on 2026-02-28.
Enhancements
pass_filenamesto accept a positive integer (#1698)--lockedfor Rustcargo installcommands (#1661)PREK_MAX_CONCURRENCYenvironment variable for configuring maximum concurrency (#1697)PREK_LOG_TRUNCATE_LIMITenvironment variable for configuring log truncation (#1679)python -m prek(#1686)Bug fixes
Performance
Documentation
winget install j178.Prek(#1670)Contributors
v0.3.3Compare Source
Released on 2026-02-15.
Enhancements
pyproject.toml(#1596)#:schemadirectives to generated prek.toml (#1597)prek util list-builtinscommand (#1600)mise,uv tool,pipx, andasdf(#1605, #1607)cache cleanand show removal summary (#1616)yaml-to-tomlCONFIG argument optional (#1593)prek uninstallremoves legacy scripts too (#1622)Bug fixes
files/excludefilter against relative path of nested project (#1624)musllinuxwheel tag for uv on musl-based distros (#1628)Documentation
prek listdescription (#1604)Contributors
v0.3.2Compare Source
Released on 2026-02-06.
Highlights
prek.tomlis here!You can now use
prek.tomlas an alternative to.pre-commit-config.yamlfor configuring prek.prek.tomlmirrors the structure of.pre-commit-config.yaml, but TOML is less error-prone. Your existing.pre-commit-config.yamlwill continue to work, but for new users and new projects,prek.tomlmay make more sense. If you want to switch, runprek util yaml-to-tomlto convert YAML configs toprek.toml. See configuration docs for details.For example, this config:
Can be written as
prek.tomllike this:serde-yamlhas been replaced withserde-saphyrWe replaced the long-deprecated
serde-yamlcrate withserde-saphyrfor YAML parsing. It is written in safe Rust and has better error messages, performance, and security. This lets us provide precise location information for configuration parsing errors, which should make it easier to fix config issues.For example, this invalid config:
Before:
Now:
prek utilsubcommandsWe added a new
prek utiltop-level command for miscellaneous utilities that don't fit into other categories. The first two utilities are:prek util identify: shows the identification tags of files that prek uses for file filtering, which can be useful for debugging and writingtypes/types_or/exclude_typesfilters.prek util yaml-to-toml: converts.pre-commit-config.yamltoprek.toml.We also moved
prek init-template-dirunderprek utilfor better organization. The oldprek init-template-dircommand is still available (hidden) as an alias for backward compatibility.Enhancements
prek util identifysubcommand (#1554)prek util yaml-to-tomlto convert.pre-commit-config.yamltoprek.toml(#1584)serialize_yaml_scalarusingserde-saphyr(#1534)identifyandinit-template-dirunder theprek utiltop-level command (#1574)Julialanguage (#1519)prek.toml(#1271)PREK_QUIETenvironment variable support (#1513)Bug fixes
Documentation
OpenClawto the list of users (#1517)cachix/devenv,apache/lucene,copper-project/copper-rsas projects using prek (#1531, #1514, #1569)llms.txtgeneration for LLM-friendly documentation (#1553)--refreshto pick up.prekignorechanges (#1575)prek.toml(#1576)Other changes
prek.tomlin run hint for config filename (#1578)Contributors
v0.3.1Compare Source
Released on 2026-04-21.
Enhancements
@j178/preknpm package (#1973)Bug fixes
Documentation
SKILL.mdfor prek (#1950)gh skill install j178/prek prekto install prek skill for agents (#1951)Other changes
Contributors
v0.3.0Compare Source
Released on 2026-01-22.
Highlights
prek cache gc(also available viaprek gcfor pre-commit compatibility) is finally here! You can now runprek cache gcto clean up unused repos, hook envs and tool versions from prek cache.language: bunis now supported, making it possible to write and run hooks with Bun.Enhancements
Implement
prek cache gc(#1410)prek cache gcremoved (#1418)prek cache gc -v(#1420)prek cache gcremove specific unused tool versions (#1422)prek cache gc(#1436)Add
language: bunsupport (#1411)git ls-remote --tagsto list bun versions (#1439)Accept
--stageas an alias for--hook-stageinprek run(#1398)Expand
~tilde inPREK_HOME(#1431)Support refs to trees (#1449)
Bug fixes
split()instead ofresolve(None)for builtin hook argument parsing (#1415)Documentation
simple-iconsandast-grepto the users of prek (#1403)repofield (#1432)Other Changes
Contributors
v0.2.30Compare Source
Released on 2026-01-18.
Enhancements
check-json5builtin hook (#1387)auto-update(#1379)Bug fixes
Documentation
check-json5now rejects duplicate keys (#1391)Contributors
v0.2.29Compare Source
Released on 2026-01-16.
Highlights
files/excludenow support globs (including glob lists), making config filters much easier to read and maintain than heavily-escaped regex.Before (regex):
After (glob list):
Enhancements
check-json5as builtin hooks (#1367)filesandexclude) (#1197)Bug fixes
uv pip installsubprocess (#1355)TERM=dumbunder PTY to prevent capability-probe hangs (#1363)Documentation
home-assistant/coreto the users of prek (#1350)Contributors
v0.2.28Compare Source
Released on 2026-01-13.
Enhancements
git difffor skipped hooks (#1335)/bin/shin generated git hook scripts (#1333)Bug fixes
Documentation
tyto the users of prek (#1342)ruffto the users of prek (#1334)Contributors
v0.2.27Compare Source
Released on 2026-01-07.
Highlights
python/cpythonis now using prek. That’s the highlight of this release!Enhancements
envoption to set environment variables for hooks (#1279) (#1285)containerfor docker language (#1306){{cookiecutter.project_slug}}during project discovery (#1316)CONCURRENCYfor repo clone (#1292)Bug fixes
Other changes
python/cpythonto users (#1308)MoonshotAI/kimi-clito users (#1286)Contributors
v0.2.25Compare Source
Released on 2025-12-27.
Performance
git cat-file -ein check if a rev exists (#1277)Bug fixes
prioritynot applied for remote hooks (#1281)auto-update(#1274)GIT_DIRfor auto-update (#1269)Contributors
v0.2.24Compare Source
Released on 2025-12-23.
Enhancements
ghcr.io/j178/prek(#1253)Bug fixes
uv pip installinside the remote repo path (#1262)check-added-large-filesfor traced files (#1260)GIT_DIRset by git (#1258)Documentation
priorityscope across repos (#1251)Contributors
v0.2.23Compare Source
Released on 2025-12-20.
Highlights
🚀 This release introduces priority-based parallel hook execution: prek can run multiple hooks in parallel when they share the same
priority, which can be a huge speed-up for many configs. See configuration docs forpriority.Enhancements
check-case-conflictas builtin hook (#888)prioritybased parallel execution (#1232)Bug fixes
check-executable-have-shebangs"command line too long" error on Windows (#1236)Documentation
priority(#1245)taiki-e/install-action@prek(#1234)Contributors
v0.2.22Compare Source
Released on 2025-12-13.
Highlights
In this release, prek adds support for the
--cooldown-daysoption in theprek auto-updatecommand.This option allows users to skip releases that are newer than a specified number of days.
It is useful to mitigate open source supply chain risks by avoiding very recent releases that may not have been widely adopted or vetted yet.
Big thanks to @lmmx for driving this feature!
Enhancements
--cooldown-daysinprek auto-update(#1172)--cooldown-days(#1221)cargo installfor packages in workspace (#1207)Bug fixes
CARGO_HOMEforcargo metadata(#1209)Contributors
v0.2.21Compare Source
Released on 2025-12-09.
Bug fixes
cargofrom installed toolchain (#1202)Contributors
v0.2.20Compare Source
Released on 2025-12-08.
Highlights
In this release:
prek cache sizesubcommand so you can quickly see how much cache space prek is using. Thanks @MatthewMckee4!orphan: trueon 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:
Enhancements
prek cache sizecommand (#1183)manualstage for hooks specified directly in command line (#1185)Bug fixes
post-checkoutdeadlock when cloning repos (#1192)Documentation
prek install --install--hooks(#1162)Other changes
prek: enabledrepo badge (#1171)Contributors
v0.2.19Compare Source
Released on 2025-11-26.
Performance
fix_byte_order_markerhook (#1136)trailing-whitespacehook to improve performance (#1135)Bug fixes
Contributors
v0.2.18Compare Source
Released on 2025-11-21.
Highlights
In this release, prek adds a new special repo type
repo: builtinthat 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: builtinhooks work even in air‑gapped environments.For more details, see: https://prek.j178.dev/builtin/
Enhancements
repo: builtin(#1118)Bug fixes
minimum_prek_version(#1101)" (#1120)Other changes
Contributors
v0.2.17Compare Source
Released on 2025-11-18.
Bug fixes
serde_yamlagain (#1112)Contributors
v0.2.16Compare Source
Released on 2025-11-18.
Bug fixes
minimum_prek_version(#1101)prek init-template-dir(#1109)uv pip installuses the Python from virtualenv (#1108)serde_yamlincheck-yamlhook (#1106)Contributors
v0.2.15Compare Source
Released on 2025-11-17.
Highlights
prek is now available on crates.io! You can build prek from source via
cargo install prekorcargo binstall prek, for more details see Installation.Enhancements
serde-yamlwithserde_saphyr(#1087)Bug fixes
prek init-template-dirfails in non-git repo (#1093)Contributors
v0.2.14Compare Source
Released on 2025-11-14.
Enhancements
PREK_CONTAINER_RUNTIME=podmanto override container runtime (#1033)language: unsupportedandlanguage: unsupported_scriptintroduced in pre-commit v4.4 (#1073)Bug fixes
--filesargument - files referencing other projects aren’t being filtered (#1064)objectFormatingit init(#1048)Documentation
iceberg-python,msgspecandhumanizeto "who is using prek" (#1039, #1042, #1063)Other changes
--refreshwhen no configuration found (#1046)Contributors
v0.2.13Compare Source
Released on 2025-11-04.
Enhancements
check-executables-have-shebangsas builtin-hook (#924)Performance
identifyusing smallvec (#982)Bug fixes
Documentation
Contributors
v0.2.12Compare Source
Released on 2025-10-27.
Enhancements
PREK_NATIVE_TLS(#959)Bug fixes
scriptsubprocess status (#964)try-repo([#975](https://reConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.