Skip to content

chore(mise): upgrade prek - #24

Closed
ghappforreleaseplease[bot] wants to merge 1 commit into
mainfrom
chore/mise-tool-updates-prek-20260727102630
Closed

chore(mise): upgrade prek#24
ghappforreleaseplease[bot] wants to merge 1 commit into
mainfrom
chore/mise-tool-updates-prek-20260727102630

Conversation

@ghappforreleaseplease

Copy link
Copy Markdown
Contributor

Automated mise tool upgrades from local config.

Updated tools:

  • prek

Command: mise upgrade --bump --local prek

Version changelog (prek)
Tool Requested Installed
prek 0.4.100.4.11 0.4.100.4.11
Release 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-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, 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:

    [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)
  • Support --glob patterns in prek run (#2381)
  • Support reusable aliases for hook priorities (#2331)
  • Implement requirements-txt-fixer as a builtin hook (#2390)
  • Improve user-facing warnings and errors (#2380)
  • Install Node hooks through git url (#2394)

Performance

  • Reduce blocking-pool overhead in file hooks (#2384)
  • Speed up mixed-line-ending scans with memchr2 (#2391)

Bug fixes

  • Honor filenames in builti… (truncated)

Modified files:

  • .mise.toml

@github-actions

Copy link
Copy Markdown
Contributor

Commit-Check ✔️

@jylenhof
jylenhof force-pushed the chore/mise-tool-updates-prek-20260727102630 branch 2 times, most recently from d5b47de to ef587d6 Compare July 27, 2026 13:26
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
jylenhof force-pushed the chore/mise-tool-updates-prek-20260727102630 branch from ef587d6 to cf0696c Compare July 27, 2026 13:28
@jylenhof jylenhof closed this Jul 27, 2026
@jylenhof
jylenhof deleted the chore/mise-tool-updates-prek-20260727102630 branch July 27, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant