Repository navigation
chore(mise): upgrade prek - #71
Closed
ghappforreleaseplease[bot] wants to merge 1 commit into
Closed
ghappforreleaseplease[bot] wants to merge 1 commit into
ghappforreleaseplease[bot] wants to merge 1 commit into
Conversation
Automated mise tool upgrades from local config.
mise-managed tools:
- `prek`
Command: `mise upgrade --bump --local prek`
<details>
<summary>Version changelog (prek)</summary>
| Tool | Requested | Installed |
|------|-----------|-----------|
| `prek` | `0.4.14` → `0.5.0` | `0.4.14` → `0.5.0` |
</details>
<details>
<summary>Release notes (1 tools)</summary>
<details>
<summary>prek: `0.4.14` → `0.5.0` (j178/prek)</summary>
### v0.5.0
## Release Notes
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. ([#2613](j178/prek#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](j178/prek#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](j178/prek#2620))
- The top-level `prek init-template-dir` command… (truncated)
</details>
</details>
Modified files:
- `.mise.toml`
Contributor
Commit Check✅ All 4 checks passed Show all 4 checkscommit-check 2.15.0 · Rules reference |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated mise tool upgrades from local config.
mise-managed tools:
prekCommand:
mise upgrade --bump --local prekVersion changelog (prek)
prek0.4.14→0.5.00.4.14→0.5.0Release notes (1 tools)
prek: `0.4.14` → `0.5.0` (j178/prek)
v0.5.0
Release Notes
Released on 2026-08-27.
Highlights
Choose where hook toolchains come from
language_versionnow accepts a sourcepreferencealongside the versionrequest, letting you control where prek looks for a compatible toolchain whenit creates a hook environment. Use
managed(the default) orsystemto choosewhich source prek tries first while still allowing fallback and downloads. Use
only-managedoronly-systemto require one source.For example, this local Ruff hook requires a Python 3.12 toolchain managed by
prek:
With
only-managed, prek reuses a compatible toolchain from its managed storeor downloads one when needed. It never falls back to Python from
PATH, an OSpackage 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. Seetoolchain management and
language_versionfor 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.
@. This prefix is now reserved for special group selectors such as the new@ungroupedselector. (#2617)PREK_MAX_CONCURRENCYhas been removed. UsePREK_CONCURRENT_HOOKSandPREK_CONCURRENT_BATCHESto control hook and per-hook batch concurrency separately. (#2620)prek init-template-dircommand… (truncated)Modified files:
.mise.toml