Commit a78b4b3
authored
chore(deps): Update Prek to v0.4.2 (#322)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [prek](https://redirect.github.com/j178/prek) | patch | `0.4.1` →
`0.4.2` |
---
### Release Notes
<details>
<summary>j178/prek (prek)</summary>
###
[`v0.4.2`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#042)
[Compare
Source](https://redirect.github.com/j178/prek/compare/v0.4.1...v0.4.2)
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](https://redirect.github.com/sponsors/j178).
It helps keep
new features, performance work, and maintenance moving.
##### Enhancements
- Run same-depth projects concurrently
([#​2110](https://redirect.github.com/j178/prek/pull/2110))
- Make rustup install profile configurable
([#​2111](https://redirect.github.com/j178/prek/pull/2111))
- Simplify hook progress folding
([#​2125](https://redirect.github.com/j178/prek/pull/2125))
##### Performance
- Optimize diff checks for clean worktrees
([#​2109](https://redirect.github.com/j178/prek/pull/2109))
- Skip diff checks for read-only hooks
([#​2108](https://redirect.github.com/j178/prek/pull/2108))
##### Contributors
- [@​j178](https://redirect.github.com/j178)
- [@​Carlomus](https://redirect.github.com/Carlomus)
</details>
---
### 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rust-cli/anstyle).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xOTQuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE5NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 72227f1 commit a78b4b3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
0 commit comments