Skip to content

chore(deps-dev): Bump prek from 0.4.1 to 0.4.2#1398

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/prek-0.4.2
Closed

chore(deps-dev): Bump prek from 0.4.1 to 0.4.2#1398
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/prek-0.4.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 26, 2026

Bumps prek from 0.4.1 to 0.4.2.

Release notes

Sourced from prek's releases.

0.4.2

Release Notes

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

Install prek 0.4.2

... (truncated)

Changelog

Sourced from prek's changelog.

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

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [prek](https://github.com/j178/prek) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/j178/prek/releases)
- [Changelog](https://github.com/j178/prek/blob/master/CHANGELOG.md)
- [Commits](j178/prek@v0.4.1...v0.4.2)

---
updated-dependencies:
- dependency-name: prek
  dependency-version: 0.4.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 26, 2026
@dependabot dependabot Bot temporarily deployed to development May 26, 2026 23:24 Inactive
@github-actions github-actions Bot enabled auto-merge May 26, 2026 23:24
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 27, 2026

Superseded by #1399.

@dependabot dependabot Bot closed this May 27, 2026
auto-merge was automatically disabled May 27, 2026 19:52

Pull request was closed

@dependabot dependabot Bot deleted the dependabot/pip/prek-0.4.2 branch May 27, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants