Skip to content

⬆️ Update dependency prek to v0.4.12 - #739

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/prek-0.x
Open

⬆️ Update dependency prek to v0.4.12#739
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/prek-0.x

Conversation

@renovate

@renovate renovate Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prek (source, changelog) ==0.4.10==0.4.12 age adoption passing confidence

Release Notes

j178/prek (prek)

v0.4.12

Compare Source

Released on 2026-08-03.

Enhancements
  • Add --require-group for hook group intersections (#​2472)
  • Align fast-path and builtin pre-commit hooks (#​2433)
  • Do not shuffle file list for verbose output (#​2431)
  • Improve top-level command descriptions (#​2429)
  • Install uv from Astral CDN and drop source racing (#​2455)
  • Make prek install --force bypass external hooks paths (#​2437)
  • Show builtin hook flags in verbose list output (#​2427)
  • Verify uv release archive checksums (#​2456)
Performance
  • Precompute file tags in parallel (#​2440)
  • Skip diffs after known hook modifications (#​2447)
  • Skip worktree diffs for read-only languages (#​2432)
  • Track builtin hook file changes directly (#​2404)
Bug fixes
  • Use full object IDs in diff snapshots (#​2448)
Documentation
  • Add a multi-repository configuration example (#​2434)
  • Rewrite benchmark documentation (#​2469)
Contributors

v0.4.11

Compare Source

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 builtin hook entry and args (#​2389)
  • Match identify tags across filename parts (#​2399)
  • Preserve hook output order with a shared pipe (#​2385)
  • Preserve system download policy when applying metadata (#​2395)
Contributors

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 2am"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. python labels Jul 25, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from 357e2ed to 000f173 Compare August 3, 2026 12:59
@renovate renovate Bot changed the title ⬆️ Update dependency prek to v0.4.11 ⬆️ Update dependency prek to v0.4.12 Aug 3, 2026
@sonarqubecloud

sonarqubecloud Bot commented Aug 3, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants