Skip to content

chore(deps): update dependency prek to v0.4.13 - #82

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

chore(deps): update dependency prek to v0.4.13#82
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/prek-0.x

Conversation

@renovate

@renovate renovate Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
prek (source, changelog) 0.4.80.4.13 age confidence
prek (source, changelog) ==0.4.8==0.4.13 age confidence

Release Notes

j178/prek (prek)

v0.4.13

Compare Source

Released on 2026-08-10.

Highlights
Manage hook tools with mise

The new language: mise support lets hooks install tools using
mise in an isolated environment:

repos:
  - repo: local
    hooks:
      - id: golangci-lint
        name: golangci-lint
        language: mise
        additional_dependencies: ["aqua:golangci/golangci-lint@2"]
        entry: golangci-lint run --fast-only ./...
        pass_filenames: false
Run commands in hook environments

The new prek exec subcommand can run an explicit command in a configured
hook's prepared environment. For example, the hook above makes its managed
binary available to this command:

$ prek exec golangci-lint -- golangci-lint --version
Enhancements
  • Add mise language support (#​2540)
  • Add deny-filename-pattern and require-filename-pattern hooks (#​2488)
  • Add prek exec for running commands in a hook environment (#​2478)
  • Add yaml-language-server: comment to YAML sample config (#​2486)
  • Make prek cache size output terminal-aware (#​2508)
  • Match file regexes against path bytes (#​2541)
  • Show hook aliases in run output (#​2497)
  • Show hook descriptions in run output (#​2490)
Performance
  • Avoid env cache scans for skipped hooks (#​2502)
  • Cache Node version queries (#​2500)
Bug fixes
  • Fix Node hook installation with npm 11 (#​2487)
  • Isolate dependency installs from inherited Git repository state (#​2506)
Documentation
  • Document combined group filtering (#​2495)
  • Explain what prek does in README (#​2507)
  • Refresh "Why prek" highlights (#​2474)
Contributors

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

v0.4.10

Compare Source

Released on 2026-07-16.

Enhancements
  • Add PHP language support (#​2314)
  • Add freeze option to update settings (#​2323)
  • Add tag filters to update configuration (#​2354)
  • Identify 'mts' and 'cts' as TypeScript files (#​2209)
  • Publish Alpine Docker images (#​2352)
  • Support builtin and meta in try-repo (#​2350)
Bug fixes
  • Fix Python discovery order (#​2348)
  • Fix Windows progress rendering (#​2328)
  • Preserve configured repo values for updates (#​2324)
  • Scope synthetic GIT_WORK_TREE to git commands (#​2356)
Documentation
  • Expand common workflows guide (#​2351)
Contributors

v0.4.9

Compare Source

Released on 2026-07-11.

Note: This release changes the repository identity schema stored in cached hook environments. Existing
hook environments will be invalidated, and prek will reinstall them automatically when needed.

Enhancements
  • Preserve additional dependency order (#​2311)
  • Remove parallel Ruby gem installation (#​2307)
  • Warn for missing update repositories (#​2316)
Bug fixes
  • Fix mixed workspace selectors (#​2306)
  • Fix try-repo local path resolution (#​2310)
  • Use resolved gem executable (#​2308)
  • Validate complete XML documents in check-xml (#​2312)
Contributors

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates 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 force-pushed the renovate/prek-0.x branch from 717359a to 90309a9 Compare July 31, 2026 17:46
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.4.10 chore(deps): update dependency prek to v0.4.11 Jul 31, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from 90309a9 to 1609f79 Compare August 10, 2026 13:38
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.4.11 chore(deps): update dependency prek to v0.4.12 Aug 10, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from 1609f79 to a1ead14 Compare August 17, 2026 10:32
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.4.12 chore(deps): update dependency prek to v0.4.13 Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant