Skip to content

chore(deps): update dependency prek to >=0.4.3,<0.5.0#607

Merged
gruebel merged 2 commits into
mainfrom
renovate/prek-0.x
May 29, 2026
Merged

chore(deps): update dependency prek to >=0.4.3,<0.5.0#607
gruebel merged 2 commits into
mainfrom
renovate/prek-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 29, 2026

This PR contains the following updates:

Package Change Age Confidence
prek (source, changelog) >=0.3.0,<0.4.0>=0.4.3,<0.5.0 age confidence

Release Notes

j178/prek (prek)

v0.4.3

Compare Source

Released on 2026-05-27.

Bug fixes
  • Ignore stat-only hook rewrites (#​2131)
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.

Contributors

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

v0.4.1

Released on 2026-05-20.

Enhancements
  • Fix pre-push range after rebase (#​2089)
  • Prefer extensions over loose filename tags (#​2092)
  • Skip installs for hooks that will not run (#​2103)
Performance
  • Optimize meta hook file scans (#​2106)
  • Reduce run filtering allocations (#​2090)
Contributors

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)
  • 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)
Enhancements
  • Expand tilde in --config, --cd, --log-file and --git-dir (#​2063)
  • Prevent auto-update cooldown downgrades (#​2055)
  • Use managed npm cache for node hooks (#​2075)
Bug fixes
  • Fix npm config env overrides for node hooks (#​2074)
Documentation
  • Add cookbook page for enabling Git 2.54 config-based global hooks (#​2061)
Contributors

v0.3.13

Compare Source

Released on 2026-05-06.

Bug fixes
  • Respect hook filters for message files (#​2049)
Documentation
  • Add Godot Engine to users in README (#​2047)
Contributors

v0.3.12

Compare Source

Released on 2026-05-05.

Highlights

auto_update.cooldown_days is now available in both the user-level global
config (~/.config/prek/prek.toml on Linux and macOS, or
$XDG_CONFIG_HOME/prek/prek.toml when set; %APPDATA%\prek\prek.toml on
Windows) and project config. Set a user default for prek auto-update, then
override it per project when a repository needs a different update cadence.

[auto_update]
cooldown_days = 7
Enhancements
  • Add global auto-update cooldown config (#​2041)
  • Add project auto-update cooldown config (#​2044)
  • Support language: dart (#​1146)
Bug fixes
  • Pass commit message file to workspace hooks (#​2043)
  • Preserve non-UTF8 filenames from git (#​2023)
  • ruby: put resolved Ruby's bin dir on $PATH for gem invocations (#​2021)
Documentation
  • Update docs with the new logo and icon (#​2025)
  • Point schema docs to SchemaStore (#​2039)
Contributors

v0.3.11

Released on 2026-04-27.

Highlights

Hook entries now have an explicit shell option for shell snippets. Set
shell: sh, bash, pwsh, powershell, or cmd when an entry should be
evaluated by that shell; leaving it unset keeps prek's direct argv execution.

prek auto-update can now filter tag candidates before choosing an update.
Both options take glob patterns: use --include-tag to only consider matching
tag names, and --exclude-tag to skip matching tags such as moving tags or
prereleases.

Enhancements
  • Add auto-update --exclude-repo <repo> to skip repos (#​1983)
  • Add auto-update --exit-code to exit with non-zero on updates (#​2002)
  • Add auto-update --include-tag <pattern>/--exclude-tag <pattern> to filter tags (#​1984)
  • Adds an explicit shell hook option for entries that should run as shell source (#​2004)
  • Make --hook-dir optional for hook-impl (#​1989)
  • Skip shim warning when --script-version is missing (#​1990)
Bug fixes
  • Install Ruby executable in gem bin (#​2017)
  • Use dedicated Android npm package (#​1982)
  • Use stable repo keys without breaking cached clones (#​1995)
Documentation
  • Explain prek name (#​1980)
  • Clarify pass_filenames concurrency docs (#​1999)
  • Reorganize documentation references (#​2005)
  • Clarify hook author manifest env docs (#​1991)
  • docs: add Sentry to users list (#​1981)
Contributors

v0.3.10

Released on 2026-04-21.

Enhancements
  • Disallow rev for non-remote repos in schema (#​1964)
  • Hide up-to-date output in non-verbose mode (#​1942)
  • Improve merge conflict marker detection (#​1937)
  • Keep finished hooks visible (#​1967)
  • Preserve frozen comment spacing in auto-update (#​1945)
  • Reimplement @j178/prek npm package (#​1973)
Bug fixes
  • Prefer stable Rust toolchains (#​1974)
Documentation
  • Add SKILL.md for prek (#​1950)
  • Document gh skill install j178/prek prek to install prek skill for agents (#​1951)
  • Improve compatibility and migration docs (#​1940)
Other changes
Contributors

v0.3.9

Released on 2026-04-13.

Highlight

prek auto-update is now stricter about pinned revisions and more useful in CI.
It now keeps rev and # frozen: comments in sync, can detect
impostor commits when validating pinned SHAs,
and lets you use prek auto-update --check to fail on both available updates and frozen-ref
mismatches without rewriting the config.

Examples:

$ prek auto-update

# updates revs and repairs stale `# frozen:` comments

$ prek auto-update --freeze

# writes frozen SHAs with matching `# frozen: <tag>` comments

$ prek auto-update --check

# exits non-zero when updates are available, a `# frozen:` comment is stale,
# or a pinned SHA does not belong to the fetched upstream refs
Enhancements
  • Check and sync frozen comments during auto-update (#​1896)
  • Handle impostor commits in auto-update (#​1919)
  • Add experimental language: dotnet support (#​1871)
  • Honor repo and worktree core.hooksPath (#​1892)
  • Add prek run --no-fail-fast to override config file (#​1859)
  • Add forbid-new-submodules as builtin hook (#​1853)
  • Clean stale patch files in cache gc (#​1877)
  • Display auto-update results by config entry (#​1922)
  • Restrict patch directory permissions (#​1876)
  • Show tag names in auto-update --freeze output (#​1916)
  • Use a bitset for hook stages (#​1860)
Bug fixes
  • Canonicalize CWD and GIT_ROOT paths (#​1878)
  • Ensure quotes are added for non-string revisions in auto-update (#​1936)
Documentation
  • Update docs for case of hooks modifying files with a non-zero exit code (#​1879)
Contributors

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

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

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 requested a review from a team as a code owner May 29, 2026 09:22
@renovate renovate Bot added the renovate label May 29, 2026
@renovate renovate Bot requested a review from a team as a code owner May 29, 2026 09:22
@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@d18beef). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #607   +/-   ##
=======================================
  Coverage        ?   98.35%           
=======================================
  Files           ?       45           
  Lines           ?     2183           
  Branches        ?        0           
=======================================
  Hits            ?     2147           
  Misses          ?       36           
  Partials        ?        0           
Flag Coverage Δ
unittests 98.35% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: gruebel <anton.gruebel@gmail.com>
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 29, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@gruebel gruebel merged commit 760d808 into main May 29, 2026
15 checks passed
@gruebel gruebel deleted the renovate/prek-0.x branch May 29, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant