Skip to content

chore: update dependency prek to v0.4.2#104

Merged
daaa1k merged 1 commit into
mainfrom
renovate/prek-0.x
May 31, 2026
Merged

chore: update dependency prek to v0.4.2#104
daaa1k merged 1 commit into
mainfrom
renovate/prek-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 23, 2026

This PR contains the following updates:

Package Update Change Pending
prek minor 0.3.110.4.2 0.4.3

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

v0.4.1

Compare Source

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

Compare 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.

  • 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

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • Between 10:00 AM and 02:59 PM, only on Saturday (* 10-14 * * 6)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • 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 daaa1k as a code owner May 23, 2026 02:07
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 23, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: mise.lock

mise ERROR error parsing config file: /tmp/renovate/repos/github/daaa1k/mdp/mise.toml
mise ERROR Config files in /tmp/renovate/repos/github/daaa1k/mdp/mise.toml are not trusted.
Trust them with `mise trust`. See https://mise.en.dev/cli/trust.html for more information.
mise ERROR Version: 2026.5.16 linux-x64 (2026-05-28)
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information

Command failed: mise lock prek
mise ERROR error parsing config file: /tmp/renovate/repos/github/daaa1k/mdp/mise.toml
mise ERROR Config files in /tmp/renovate/repos/github/daaa1k/mdp/mise.toml are not trusted.
Trust them with `mise trust`. See https://mise.en.dev/cli/trust.html for more information.
mise ERROR Version: 2026.5.16 linux-x64 (2026-05-28)
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information

@github-actions
Copy link
Copy Markdown
Contributor

common-lint results

Overall: PASSED

🔗 Run: 26320648491 · Commit: aaebfae

Check Result
GitHub Actions lint (actionlint, ghalint, zizmor) Skipped
commitlint Passed
renovate-check Skipped
typos Passed
vuln-scan (Trivy) Passed

1. GitHub Actions lint — ⊘ Skipped

No matching files in this change set (e.g. .github/workflows/*.yml or composite action.yml).

2. commitlint — ✅ Passed
(no output)
3. renovate-check — ⊘ Skipped

No matching files in this change set (renovate.json, renovate.json5, or .github/renovate.json).

4. typos — ✅ Passed
(no output)
5. vuln-scan (Trivy) — ✅ Passed

Summary: No vulnerabilities detected.

@renovate renovate Bot force-pushed the renovate/prek-0.x branch from aaebfae to a1cccc8 Compare May 25, 2026 04:40
@renovate renovate Bot changed the title chore: update dependency prek to v0.4.0 chore: update dependency prek to v0.4.1 May 25, 2026
@github-actions
Copy link
Copy Markdown
Contributor

common-lint results

Overall: PASSED

🔗 Run: 26383536429 · Commit: a1cccc8

Check Result
GitHub Actions lint (actionlint, ghalint, zizmor) Skipped
commitlint Passed
renovate-check Skipped
typos Passed
vuln-scan (Trivy) Passed

1. GitHub Actions lint — ⊘ Skipped

No matching files in this change set (e.g. .github/workflows/*.yml or composite action.yml).

2. commitlint — ✅ Passed
(no output)
3. renovate-check — ⊘ Skipped

No matching files in this change set (renovate.json, renovate.json5, or .github/renovate.json).

4. typos — ✅ Passed
(no output)
5. vuln-scan (Trivy) — ✅ Passed

Summary: No vulnerabilities detected.

@renovate renovate Bot force-pushed the renovate/prek-0.x branch from a1cccc8 to a9f9031 Compare May 31, 2026 10:03
@renovate renovate Bot changed the title chore: update dependency prek to v0.4.1 chore: update dependency prek to v0.4.2 May 31, 2026
@github-actions
Copy link
Copy Markdown
Contributor

common-lint results

Overall: PASSED

🔗 Run: 26709615969 · Commit: a9f9031

Check Result
GitHub Actions lint (actionlint, ghalint, zizmor) Skipped
commitlint Passed
renovate-check Skipped
typos Passed
vuln-scan (Trivy) Passed

1. GitHub Actions lint — ⊘ Skipped

No matching files in this change set (e.g. .github/workflows/*.yml or composite action.yml).

2. commitlint — ✅ Passed
(no output)
3. renovate-check — ⊘ Skipped

No matching files in this change set (renovate.json, renovate.json5, or .github/renovate.json).

4. typos — ✅ Passed
(no output)
5. vuln-scan (Trivy) — ✅ Passed

Summary: No vulnerabilities detected.

@daaa1k daaa1k merged commit 09e8a99 into main May 31, 2026
14 of 15 checks passed
@renovate renovate Bot deleted the renovate/prek-0.x branch May 31, 2026 10:45
@github-actions github-actions Bot mentioned this pull request May 31, 2026
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.

1 participant