Commit d716da3
authored
chore(deps): Update Prek to v0.4.4 (#100)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [prek](https://redirect.github.com/j178/prek) | minor | `0.3.13` →
`0.4.4` |
---
### Release Notes
<details>
<summary>j178/prek (prek)</summary>
###
[`v0.4.4`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#044)
[Compare
Source](https://redirect.github.com/j178/prek/compare/v0.4.3...v0.4.4)
Released on 2026-06-04.
##### Highlights
0.4.4 makes `prek run` easier to watch and easier to slice.
Hook stream output now shows a small live preview under the running hook
in the
progress UI. Long-running hooks no longer look stuck while they are
producing
logs, and failed hooks are easier to diagnose because recent output is
already
visible before the final result.
The new group selector lets a single config support different workflows.
Tag
hooks with `groups`, then select or exclude those groups at run time:
```yaml
repos:
- repo: local
hooks:
- id: format
name: Format Python
language: system
entry: ruff format
groups: [format, ci]
- id: lint
name: Lint Python
language: system
entry: ruff check
groups: [lint, ci]
```
```bash
prek run --all-files --group ci
prek run --all-files --no-group format
```
This is useful when local development, CI, slow validation, or
project-specific
checks need different hook sets without splitting the config.
##### Enhancements
- Add hook group filters to `prek run`
([#​2141](https://redirect.github.com/j178/prek/pull/2141))
- Delay hook output preview rendering
([#​2140](https://redirect.github.com/j178/prek/pull/2140))
- Stream hook output in progress UI
([#​2136](https://redirect.github.com/j178/prek/pull/2136))
##### Bug fixes
- Fix intent-to-add stash restore
([#​2143](https://redirect.github.com/j178/prek/pull/2143))
##### Documentation
- Document hook stage file input
([#​2147](https://redirect.github.com/j178/prek/pull/2147))
##### Contributors
- [@​j178](https://redirect.github.com/j178)
###
[`v0.4.3`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#043)
[Compare
Source](https://redirect.github.com/j178/prek/compare/v0.4.2...v0.4.3)
Released on 2026-05-27.
##### Bug fixes
- Ignore stat-only hook rewrites
([#​2131](https://redirect.github.com/j178/prek/pull/2131))
##### 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.
##### Contributors
- [@​stevbev](https://redirect.github.com/stevbev)
###
[`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)
###
[`v0.4.1`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#041)
[Compare
Source](https://redirect.github.com/j178/prek/compare/v0.4.0...v0.4.1)
Released on 2026-05-20.
##### Enhancements
- Fix pre-push range after rebase
([#​2089](https://redirect.github.com/j178/prek/pull/2089))
- Prefer extensions over loose filename tags
([#​2092](https://redirect.github.com/j178/prek/pull/2092))
- Skip installs for hooks that will not run
([#​2103](https://redirect.github.com/j178/prek/pull/2103))
##### Performance
- Optimize meta hook file scans
([#​2106](https://redirect.github.com/j178/prek/pull/2106))
- Reduce run filtering allocations
([#​2090](https://redirect.github.com/j178/prek/pull/2090))
##### Contributors
- [@​j178](https://redirect.github.com/j178)
###
[`v0.4.0`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#040)
[Compare
Source](https://redirect.github.com/j178/prek/compare/v0.3.13...v0.4.0)
Released on 2026-05-14.
##### Breaking changes
These are narrow cleanup breaks in behavior that was either temporary or
never worked correctly. Most users should not need to change anything.
- Generated hook scripts no longer preserve `-q`, `-v`, or
`--no-progress` passed to `prek install`. This only affects users who
expected those global flags to be baked into installed hooks.
([#​1966](https://redirect.github.com/j178/prek/pull/1966))
- `language_version` no longer accepts direct executable paths. Use
`language_version: system` for a system toolchain, or use a supported
version request instead. This path form did not work reliably before, so
existing working configs should be unaffected.
([#​1831](https://redirect.github.com/j178/prek/pull/1831))
##### Enhancements
- Expand tilde in `--config`, `--cd`, `--log-file` and `--git-dir`
([#​2063](https://redirect.github.com/j178/prek/pull/2063))
- Prevent auto-update cooldown downgrades
([#​2055](https://redirect.github.com/j178/prek/pull/2055))
- Use managed npm cache for node hooks
([#​2075](https://redirect.github.com/j178/prek/pull/2075))
##### Bug fixes
- Fix npm config env overrides for node hooks
([#​2074](https://redirect.github.com/j178/prek/pull/2074))
##### Documentation
- Add cookbook page for enabling Git 2.54 config-based global hooks
([#​2061](https://redirect.github.com/j178/prek/pull/2061))
##### Contributors
- [@​j178](https://redirect.github.com/j178)
</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/roff-rs).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMTkuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIxOS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent eb476bb commit d716da3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
0 commit comments