chore(deps): update dependency prek to v0.5.0 #57

Merged
BjoernPetersen merged 1 commit from renovate/prek-0.x into main 2026-08-29 09:01:15 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
prek tools minor 0.4.140.5.0

Release Notes

j178/prek (prek)

v0.5.0

Compare Source

Released on 2026-08-27.

Highlights
Choose where hook toolchains come from

language_version now accepts a source preference alongside the version
request, letting you control where prek looks for a compatible toolchain when
it creates a hook environment. Use managed (the default) or system to choose
which source prek tries first while still allowing fallback and downloads. Use
only-managed or only-system to require one source.

For example, this local Ruff hook requires a Python 3.12 toolchain managed by
prek:

repos:
  - repo: local
    hooks:
      - id: ruff
        name: ruff
        language: python
        entry: ruff check
        additional_dependencies: [ruff]
        language_version:
          request: "3.12"
          preference: only-managed

With only-managed, prek reuses a compatible toolchain from its managed store
or downloads one when needed. It never falls back to Python from PATH, an OS
package manager, or a version manager, so toolchain selection does not depend on
the developer or CI machine's external environment.

Existing scalar values such as language_version: "3.12" continue to work. See
toolchain management and language_version
for the full source-selection behavior. (#​2613)

Breaking changes

The breaking changes in this release are mostly small cleanups, and most users should not be affected.

  • Group names can no longer start with @. This prefix is now reserved for special group selectors such as the new @ungrouped selector. (#​2617)
  • PREK_MAX_CONCURRENCY has been removed. Use PREK_CONCURRENT_HOOKS and PREK_CONCURRENT_BATCHES to control hook and per-hook batch concurrency separately. (#​2620)
  • The top-level prek init-template-dir command has been removed. Use prek util init-template-dir, or prek init-templatedir for drop-in compatibility with pre-commit. (#​2623)
  • prek auto-update has been removed. Use prek update, or prek autoupdate for drop-in compatibility with pre-commit. (#​2619)
Enhancements
  • Add configurable toolchain source preferences (#​2613)
  • Allow explicit language: python to opt out of fast-path hooks (#​2608)
  • Group run and update options in CLI help (#​2629)
  • Preserve terminal theme contrast for status labels (#​2592)
  • Add @ungrouped group selector (#​2617)
  • Retry uv installation with static musl binary (#​2600)
  • Support {hook_repo} placeholder in hook entry (#​2602)
Bug fixes
  • Expose the git work tree to hooks running outside the git root (#​2579)
  • Isolate local hook environment installation (#​2615)
  • Preserve hook config deserialization error locations (#​2573)
  • Resolve hook log files from their config directory (#​2580)
  • Track explicit config paths as absolute paths (#​2574)
Documentation
  • Document prek run architecture (#​2630)
  • Publish versioned documentation (#​2626)
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 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 has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [prek](https://github.com/j178/prek) | tools | minor | `0.4.14` → `0.5.0` | --- ### Release Notes <details> <summary>j178/prek (prek)</summary> ### [`v0.5.0`](https://github.com/j178/prek/blob/HEAD/CHANGELOG.md#050) [Compare Source](https://github.com/j178/prek/compare/v0.4.14...v0.5.0) Released on 2026-08-27. ##### Highlights ##### Choose where hook toolchains come from `language_version` now accepts a source `preference` alongside the version `request`, letting you control where prek looks for a compatible toolchain when it creates a hook environment. Use `managed` (the default) or `system` to choose which source prek tries first while still allowing fallback and downloads. Use `only-managed` or `only-system` to require one source. For example, this local Ruff hook requires a Python 3.12 toolchain managed by prek: ```yaml repos: - repo: local hooks: - id: ruff name: ruff language: python entry: ruff check additional_dependencies: [ruff] language_version: request: "3.12" preference: only-managed ``` With `only-managed`, prek reuses a compatible toolchain from its managed store or downloads one when needed. It never falls back to Python from `PATH`, an OS package manager, or a version manager, so toolchain selection does not depend on the developer or CI machine's external environment. Existing scalar values such as `language_version: "3.12"` continue to work. See [toolchain management and `language_version`](https://prek.j178.dev/0.5.0/languages/#toolchain-management-and-language_version) for the full source-selection behavior. ([#&#8203;2613](https://github.com/j178/prek/pull/2613)) ##### Breaking changes The breaking changes in this release are mostly small cleanups, and most users should not be affected. - Group names can no longer start with `@`. This prefix is now reserved for special group selectors such as the new `@ungrouped` selector. ([#&#8203;2617](https://github.com/j178/prek/pull/2617)) - `PREK_MAX_CONCURRENCY` has been removed. Use `PREK_CONCURRENT_HOOKS` and `PREK_CONCURRENT_BATCHES` to control hook and per-hook batch concurrency separately. ([#&#8203;2620](https://github.com/j178/prek/pull/2620)) - The top-level `prek init-template-dir` command has been removed. Use `prek util init-template-dir`, or `prek init-templatedir` for drop-in compatibility with `pre-commit`. ([#&#8203;2623](https://github.com/j178/prek/pull/2623)) - `prek auto-update` has been removed. Use `prek update`, or `prek autoupdate` for drop-in compatibility with `pre-commit`. ([#&#8203;2619](https://github.com/j178/prek/pull/2619)) ##### Enhancements - Add configurable toolchain source preferences ([#&#8203;2613](https://github.com/j178/prek/pull/2613)) - Allow explicit `language: python` to opt out of fast-path hooks ([#&#8203;2608](https://github.com/j178/prek/pull/2608)) - Group `run` and `update` options in CLI help ([#&#8203;2629](https://github.com/j178/prek/pull/2629)) - Preserve terminal theme contrast for status labels ([#&#8203;2592](https://github.com/j178/prek/pull/2592)) - Add `@ungrouped` group selector ([#&#8203;2617](https://github.com/j178/prek/pull/2617)) - Retry uv installation with static musl binary ([#&#8203;2600](https://github.com/j178/prek/pull/2600)) - Support `{hook_repo}` placeholder in hook `entry` ([#&#8203;2602](https://github.com/j178/prek/pull/2602)) ##### Bug fixes - Expose the git work tree to hooks running outside the git root ([#&#8203;2579](https://github.com/j178/prek/pull/2579)) - Isolate local hook environment installation ([#&#8203;2615](https://github.com/j178/prek/pull/2615)) - Preserve hook config deserialization error locations ([#&#8203;2573](https://github.com/j178/prek/pull/2573)) - Resolve hook log files from their config directory ([#&#8203;2580](https://github.com/j178/prek/pull/2580)) - Track explicit config paths as absolute paths ([#&#8203;2574](https://github.com/j178/prek/pull/2574)) ##### Documentation - Document prek run architecture ([#&#8203;2630](https://github.com/j178/prek/pull/2630)) - Publish versioned documentation ([#&#8203;2626](https://github.com/j178/prek/pull/2626)) ##### Contributors - [@&#8203;jeromeheissler](https://github.com/jeromeheissler) - [@&#8203;gurgeous](https://github.com/gurgeous) - [@&#8203;j178](https://github.com/j178) </details> --- ### 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 becomes conflicted, 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 has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNC40IiwidXBkYXRlZEluVmVyIjoiNDQuMTQuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
chore(deps): update dependency prek to v0.5.0
All checks were successful
ci/woodpecker/pr/check-commits Pipeline was successful
ci/woodpecker/pr/checks Pipeline was successful
a0cb6d205c
BjoernPetersen deleted branch renovate/prek-0.x 2026-08-29 09:01:16 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
BjoernPetersen/bs-lock!57
No description provided.