Skip to content

chore(deps): Update Prek to v0.4.2#171

Merged
renovate[bot] merged 1 commit into
masterfrom
renovate/prek-0.x
May 26, 2026
Merged

chore(deps): Update Prek to v0.4.2#171
renovate[bot] merged 1 commit into
masterfrom
renovate/prek-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 26, 2026

This PR contains the following updates:

Package Update Change
prek patch 0.4.10.4.2

Release Notes

j178/prek (prek)

v0.4.2

Compare Source

Released on 2026-05-26.

Highlights

0.4.2 is mainly about making prek run faster in large repos.

prek now does less git diff work. After hooks run, prek uses diff checks
to detect files changed by hooks. If a hook modifies files, prek marks that hook
as failed. That is important, but full diff snapshots can be slow in big repos,
especially when they happen after every hook group.

We skip the expensive diff path in two common cases: built-in hooks that prek
knows are read-only, and clean worktrees where a cheap dirty check is enough
unless a hook actually changes files. In the right large-repo workload,
skipping that work can make runs up to 10x faster.

Workspace mode is faster too. Hooks have historically been too serial.
Priority-based concurrency helped, but it required users to choose good
priority values. Now sibling projects at the same workspace depth run in
parallel automatically. Their files do not overlap, so this is safe and needs
no extra config. For multi-project workspaces, this can dramatically reduce
total hook time.

Sponsorship

If prek saves time for you or your team, please consider sponsoring the
project on GitHub Sponsors. It helps keep
new features, performance work, and maintenance moving.

Enhancements
  • Run same-depth projects concurrently (#​2110)
  • Make rustup install profile configurable (#​2111)
  • Simplify hook progress folding (#​2125)
Performance
  • Optimize diff checks for clean worktrees (#​2109)
  • Skip diff checks for read-only hooks (#​2108)
Contributors

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Every minute (* * * * *)
  • 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 enabled auto-merge (squash) May 26, 2026 10:13
@renovate renovate Bot merged commit ad41375 into master May 26, 2026
20 checks passed
@renovate renovate Bot deleted the renovate/prek-0.x branch May 26, 2026 10:15
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.

0 participants