chore: update dependency prek to v0.4.2#104
Conversation
|
common-lint results✅ Overall: PASSED 🔗 Run: 26320648491 · Commit:
1. GitHub Actions lint — ⊘ SkippedNo matching files in this change set (e.g. 2. commitlint — ✅ Passed3. renovate-check — ⊘ SkippedNo matching files in this change set ( 4. typos — ✅ Passed5. vuln-scan (Trivy) — ✅ PassedSummary: No vulnerabilities detected. |
aaebfae to
a1cccc8
Compare
common-lint results✅ Overall: PASSED 🔗 Run: 26383536429 · Commit:
1. GitHub Actions lint — ⊘ SkippedNo matching files in this change set (e.g. 2. commitlint — ✅ Passed3. renovate-check — ⊘ SkippedNo matching files in this change set ( 4. typos — ✅ Passed5. vuln-scan (Trivy) — ✅ PassedSummary: No vulnerabilities detected. |
a1cccc8 to
a9f9031
Compare
common-lint results✅ Overall: PASSED 🔗 Run: 26709615969 · Commit:
1. GitHub Actions lint — ⊘ SkippedNo matching files in this change set (e.g. 2. commitlint — ✅ Passed3. renovate-check — ⊘ SkippedNo matching files in this change set ( 4. typos — ✅ Passed5. vuln-scan (Trivy) — ✅ PassedSummary: No vulnerabilities detected. |
This PR contains the following updates:
0.3.11→0.4.20.4.3Release Notes
j178/prek (prek)
v0.4.2Compare Source
Released on 2026-05-26.
Highlights
0.4.2 is mainly about making
prek runfaster in large repos.preknow does lessgit diffwork. After hooks run,prekuses diff checksto 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
priorityvalues. Now sibling projects at the same workspace depth run inparallel 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
preksaves time for you or your team, please consider sponsoring theproject on GitHub Sponsors. It helps keep
new features, performance work, and maintenance moving.
Enhancements
Performance
Contributors
v0.4.1Compare Source
Released on 2026-05-20.
Enhancements
Performance
Contributors
v0.4.0Compare Source
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.
-q,-v, or--no-progresspassed toprek install. This only affects users who expected those global flags to be baked into installed hooks. (#1966)language_versionno longer accepts direct executable paths. Uselanguage_version: systemfor 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)Enhancements
--config,--cd,--log-fileand--git-dir(#2063)Bug fixes
Documentation
Contributors
v0.3.13Compare Source
Released on 2026-05-06.
Bug fixes
Documentation
Contributors
v0.3.12Compare Source
Released on 2026-05-05.
Highlights
auto_update.cooldown_daysis now available in both the user-level globalconfig (
~/.config/prek/prek.tomlon Linux and macOS, or$XDG_CONFIG_HOME/prek/prek.tomlwhen set;%APPDATA%\prek\prek.tomlonWindows) and project config. Set a user default for
prek auto-update, thenoverride it per project when a repository needs a different update cadence.
Enhancements
language: dart(#1146)Bug fixes
$PATHforgeminvocations (#2021)Documentation
Contributors
Configuration
📅 Schedule: (in timezone Asia/Tokyo)
* 10-14 * * 6)🚦 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.