chore(mise): upgrade prek - #24
Closed
ghappforreleaseplease[bot] wants to merge 1 commit into
Closed
Conversation
Contributor
Commit-Check ✔️ |
jylenhof
force-pushed
the
chore/mise-tool-updates-prek-20260727102630
branch
2 times, most recently
from
July 27, 2026 13:26
d5b47de to
ef587d6
Compare
Automated mise tool upgrades from local config. Updated tools: - `prek` Command: `mise upgrade --bump --local prek` <details> <summary>Version changelog (prek)</summary> | Tool | Requested | Installed | |------|-----------|-----------| | `prek` | `0.4.10` → `0.4.11` | `0.4.10` → `0.4.11` | </details> <details> <summary>Release notes (1 tools)</summary> <details> <summary>prek: `0.4.10` → `0.4.11` (j178/prek)</summary> ### v0.4.11 ## Release Notes Released on 2026-07-25. ### Highlights - This release adds two new builtin hooks, `deny-pattern` and `require-pattern`, as native alternatives for `pygrep` use cases. `deny-pattern` fails when a configured pattern is found, while `require-pattern` ensures every selected file contains a match. By matching natively without spawning a Python subprocess, they run over 4x faster than `pygrep` in benchmarks. Note that they use [Rust `regex` syntax](https://docs.rs/regex/latest/regex/#syntax), which does not support look-around features such as negative lookbehind. - `prek run` now supports `--glob <PATTERN>` to run hooks on tracked files matching a glob. It can be repeated or combined with `--files` and `--directory`. - Hook priorities now support reusable aliases: ```toml [priorities] checks = 10 [[repos]] repo = "builtin" hooks = [ { id = "check-json", priority = "checks" }, { id = "check-yaml", priority = "checks" }, ] ``` This makes parallel scheduling easier to read and maintain. ### Enhancements - Add `deny-pattern` and `require-pattern` builtin hooks ([#2359](j178/prek#2359)) - Support `--glob` patterns in `prek run` ([#2381](j178/prek#2381)) - Support reusable aliases for hook priorities ([#2331](j178/prek#2331)) - Implement `requirements-txt-fixer` as a builtin hook ([#2390](j178/prek#2390)) - Improve user-facing warnings and errors ([#2380](j178/prek#2380)) - Install Node hooks through git url ([#2394](j178/prek#2394)) ### Performance - Reduce blocking-pool overhead in file hooks ([#2384](j178/prek#2384)) - Speed up mixed-line-ending scans with memchr2 ([#2391](j178/prek#2391)) ### Bug fixes - Honor filenames in builti… (truncated) </details> </details> Modified files: - `.mise.toml`
jylenhof
force-pushed
the
chore/mise-tool-updates-prek-20260727102630
branch
from
July 27, 2026 13:28
ef587d6 to
cf0696c
Compare
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.
Automated mise tool upgrades from local config.
Updated tools:
prekCommand:
mise upgrade --bump --local prekVersion changelog (prek)
prek0.4.10→0.4.110.4.10→0.4.11Release notes (1 tools)
prek: `0.4.10` → `0.4.11` (j178/prek)
v0.4.11
Release Notes
Released on 2026-07-25.
Highlights
This release adds two new builtin hooks,
deny-patternandrequire-pattern,as native alternatives for
pygrepuse cases.deny-patternfails when aconfigured pattern is found, while
require-patternensures every selectedfile contains a match. By matching natively without spawning a Python
subprocess, they run over 4x faster than
pygrepin benchmarks. Note thatthey use Rust
regexsyntax, which doesnot support look-around features such as negative lookbehind.
prek runnow supports--glob <PATTERN>to run hooks on tracked filesmatching a glob. It can be repeated or combined with
--filesand--directory.Hook priorities now support reusable aliases:
This makes parallel scheduling easier to read and maintain.
Enhancements
deny-patternandrequire-patternbuiltin hooks (#2359)--globpatterns inprek run(#2381)requirements-txt-fixeras a builtin hook (#2390)Performance
Bug fixes
Modified files:
.mise.toml