chore(config): migrate renovate config - autoclosed#45
Closed
renovate[bot] wants to merge 1 commit intomainfrom
Closed
chore(config): migrate renovate config - autoclosed#45renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
epage
pushed a commit
that referenced
this pull request
May 1, 2026
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [prek](https://redirect.github.com/j178/prek) | minor | `0.2.27` → `0.3.3` | --- ### Release Notes <details> <summary>j178/prek (prek)</summary> ### [`v0.3.3`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#033) [Compare Source](https://redirect.github.com/j178/prek/compare/v0.3.2...v0.3.3) Released on 2026-02-15. ##### Enhancements - Read Python version specifier from hook repo `pyproject.toml` ([#​1596](https://redirect.github.com/j178/prek/pull/1596)) - Add `#:schema` directives to generated prek.toml ([#​1597](https://redirect.github.com/j178/prek/pull/1597)) - Add `prek util list-builtins` command ([#​1600](https://redirect.github.com/j178/prek/pull/1600)) - Expand install source detection to `mise`, `uv tool`, `pipx`, and `asdf` ([#​1605](https://redirect.github.com/j178/prek/pull/1605), [#​1607](https://redirect.github.com/j178/prek/pull/1607)) - Add progress bar to `cache clean` and show removal summary ([#​1616](https://redirect.github.com/j178/prek/pull/1616)) - Make `yaml-to-toml` CONFIG argument optional ([#​1593](https://redirect.github.com/j178/prek/pull/1593)) - `prek uninstall` removes legacy scripts too ([#​1622](https://redirect.github.com/j178/prek/pull/1622)) ##### Bug fixes - Fix underflow when formatting summary output ([#​1626](https://redirect.github.com/j178/prek/pull/1626)) - Match `files/exclude` filter against relative path of nested project ([#​1624](https://redirect.github.com/j178/prek/pull/1624)) - Select `musllinux` wheel tag for uv on musl-based distros ([#​1628](https://redirect.github.com/j178/prek/pull/1628)) ##### Documentation - Clarify `prek list` description ([#​1604](https://redirect.github.com/j178/prek/pull/1604)) ##### Contributors - [@​ichoosetoaccept](https://redirect.github.com/ichoosetoaccept) - [@​shaanmajid](https://redirect.github.com/shaanmajid) - [@​soraxas](https://redirect.github.com/soraxas) - [@​9999years](https://redirect.github.com/9999years) - [@​j178](https://redirect.github.com/j178) ### [`v0.3.2`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#032) [Compare Source](https://redirect.github.com/j178/prek/compare/v0.3.1...v0.3.2) Released on 2026-02-06. ##### Highlights - **`prek.toml` is here!** You can now use `prek.toml` as an alternative to `.pre-commit-config.yaml` for configuring prek. `prek.toml` mirrors the structure of `.pre-commit-config.yaml`, but TOML is less error-prone. Your existing `.pre-commit-config.yaml` will continue to work, but for new users and new projects, `prek.toml` may make more sense. If you want to switch, run `prek util yaml-to-toml` to convert YAML configs to `prek.toml`. See [configuration docs](configuration.md) for details. For example, this config: ```yaml repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: check-yaml ``` Can be written as `prek.toml` like this: ```toml [[repos]] repo = "https://github.com/pre-commit/pre-commit-hooks" rev = "v6.0.0" hooks = [ { id = "check-yaml" } ] ``` - **`serde-yaml` has been replaced with `serde-saphyr`** We replaced the long-deprecated `serde-yaml` crate with [`serde-saphyr`](https://crates.io/crates/serde-saphyr) for YAML parsing. It is written in safe Rust and has better error messages, performance, and security. This lets us provide precise location information for configuration parsing errors, which should make it easier to fix config issues. For example, this invalid config: ```yaml repos: - repo: https://github.com/crate-ci/typos hooks: - id: typos ``` Before: ```console $ prek run error: Failed to parse `.pre-commit-config.yaml` caused by: Invalid remote repo: missing field `rev` ``` Now: ```console $ prek run error: Failed to parse `.pre-commit-config.yaml` caused by: error: line 2 column 5: missing field `rev` at line 2, column 5 --> <input>:2:5 | 1 | repos: 2 | - repo: https://github.com/crate-ci/typos | ^ missing field `rev` at line 2, column 5 3 | hooks: 4 | - id: typos | ``` - **`prek util` subcommands** We added a new `prek util` top-level command for miscellaneous utilities that don't fit into other categories. The first two utilities are: - `prek util identify`: shows the identification tags of files that prek uses for file filtering, which can be useful for debugging and writing `types/types_or/exclude_types` filters. - `prek util yaml-to-toml`: converts `.pre-commit-config.yaml` to `prek.toml`. We also moved `prek init-template-dir` under `prek util` for better organization. The old `prek init-template-dir` command is still available (hidden) as an alias for backward compatibility. ##### Enhancements - Add `prek util identify` subcommand ([#​1554](https://redirect.github.com/j178/prek/pull/1554)) - Add `prek util yaml-to-toml` to convert `.pre-commit-config.yaml` to `prek.toml` ([#​1584](https://redirect.github.com/j178/prek/pull/1584)) - Detect install source for actionable upgrade hints ([#​1540](https://redirect.github.com/j178/prek/pull/1540)) - Detect prek installed by the standalone installer ([#​1545](https://redirect.github.com/j178/prek/pull/1545)) - Implement `serialize_yaml_scalar` using `serde-saphyr` ([#​1534](https://redirect.github.com/j178/prek/pull/1534)) - Improve max cli arguments length calculation ([#​1518](https://redirect.github.com/j178/prek/pull/1518)) - Move `identify` and `init-template-dir` under the `prek util` top-level command ([#​1574](https://redirect.github.com/j178/prek/pull/1574)) - Replace serde-yaml with serde-saphyr (again) ([#​1520](https://redirect.github.com/j178/prek/pull/1520)) - Show precise location for config parsing error ([#​1530](https://redirect.github.com/j178/prek/pull/1530)) - Support `Julia` language ([#​1519](https://redirect.github.com/j178/prek/pull/1519)) - Support `prek.toml` ([#​1271](https://redirect.github.com/j178/prek/pull/1271)) - Added `PREK_QUIET` environment variable support ([#​1513](https://redirect.github.com/j178/prek/pull/1513)) - Remove upper bound constraint of uv version ([#​1588](https://redirect.github.com/j178/prek/pull/1588)) ##### Bug fixes - Do not make the child a session leader ([#​1586](https://redirect.github.com/j178/prek/pull/1586)) - Fix FilePattern schema to accept plain strings ([#​1564](https://redirect.github.com/j178/prek/pull/1564)) - Use semver fallback sort when tag timestamps are equal ([#​1579](https://redirect.github.com/j178/prek/pull/1579)) ##### Documentation - Add `OpenClaw` to the list of users ([#​1517](https://redirect.github.com/j178/prek/pull/1517)) - Add `cachix/devenv`, `apache/lucene`, `copper-project/copper-rs` as projects using prek ([#​1531](https://redirect.github.com/j178/prek/pull/1531), [#​1514](https://redirect.github.com/j178/prek/pull/1514), [#​1569](https://redirect.github.com/j178/prek/pull/1569)) - Add document about authoring remote hooks ([#​1571](https://redirect.github.com/j178/prek/pull/1571)) - Add `llms.txt` generation for LLM-friendly documentation ([#​1553](https://redirect.github.com/j178/prek/pull/1553)) - Document using `--refresh` to pick up `.prekignore` changes ([#​1575](https://redirect.github.com/j178/prek/pull/1575)) - Fix PowerShell completion instruction syntax ([#​1568](https://redirect.github.com/j178/prek/pull/1568)) - Update quick start to use `prek.toml` ([#​1576](https://redirect.github.com/j178/prek/pull/1576)) ##### Other changes - Include `prek.toml` in run hint for config filename ([#​1578](https://redirect.github.com/j178/prek/pull/1578)) ##### Contributors - [@​fatelei](https://redirect.github.com/fatelei) - [@​domenkozar](https://redirect.github.com/domenkozar) - [@​makeecat](https://redirect.github.com/makeecat) - [@​fllesser](https://redirect.github.com/fllesser) - [@​j178](https://redirect.github.com/j178) - [@​copilot-swe-agent](https://redirect.github.com/copilot-swe-agent) - [@​oopscompiled](https://redirect.github.com/oopscompiled) - [@​rmuir](https://redirect.github.com/rmuir) - [@​shaanmajid](https://redirect.github.com/shaanmajid) ### [`v0.3.1`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#031) [Compare Source](https://redirect.github.com/j178/prek/compare/v0.3.0...v0.3.1) Released on 2026-01-31. ##### Enhancements - Add `language: swift` support ([#​1463](https://redirect.github.com/j178/prek/pull/1463)) - Add `language: haskell` support ([#​1484](https://redirect.github.com/j178/prek/pull/1484)) - Extract go version constraint from `go.mod` ([#​1457](https://redirect.github.com/j178/prek/pull/1457)) - Warn when config file exists but fails to parse ([#​1487](https://redirect.github.com/j178/prek/pull/1487)) - Add GitHub artifact attestations to release and build-docker workflow ([#​1494](https://redirect.github.com/j178/prek/pull/1494), [#​1497](https://redirect.github.com/j178/prek/pull/1497)) - Allow `GIT_CONFIG_PARAMETERS` for private repository authentication ([#​1472](https://redirect.github.com/j178/prek/pull/1472)) - Show progress bar when running builtin hooks ([#​1504](https://redirect.github.com/j178/prek/pull/1504)) ##### Bug fixes - Cap ARG\_MAX at `1<<19` for safety ([#​1506](https://redirect.github.com/j178/prek/pull/1506)) - Don't check Python executable path in health check ([#​1496](https://redirect.github.com/j178/prek/pull/1496)) ##### Documentation - Include `CocoIndex` as a project using prek ([#​1477](https://redirect.github.com/j178/prek/pull/1477)) - Add commands for artifact verification using GitHub Attestations ([#​1500](https://redirect.github.com/j178/prek/pull/1500)) ##### Contributors - [@​halms](https://redirect.github.com/halms) - [@​Haleshot](https://redirect.github.com/Haleshot) - [@​simono](https://redirect.github.com/simono) - [@​tisonkun](https://redirect.github.com/tisonkun) - [@​fllesser](https://redirect.github.com/fllesser) - [@​j178](https://redirect.github.com/j178) - [@​shaanmajid](https://redirect.github.com/shaanmajid) ### [`v0.3.0`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#030) [Compare Source](https://redirect.github.com/j178/prek/compare/v0.2.30...v0.3.0) Released on 2026-01-22. ##### Highlights - `prek cache gc` (also available via `prek gc` for pre-commit compatibility) is finally here! You can now run `prek cache gc` to clean up unused repos, hook envs and tool versions from prek cache. - `language: bun` is now supported, making it possible to write and run hooks with [Bun](https://bun.sh/). ##### Enhancements - Implement `prek cache gc` ([#​1410](https://redirect.github.com/j178/prek/pull/1410)) - Bootstrap tracking configs from workspace cache ([#​1417](https://redirect.github.com/j178/prek/pull/1417)) - Show total size `prek cache gc` removed ([#​1418](https://redirect.github.com/j178/prek/pull/1418)) - Show accurate repo and hook details in `prek cache gc -v` ([#​1420](https://redirect.github.com/j178/prek/pull/1420)) - `prek cache gc` remove specific unused tool versions ([#​1422](https://redirect.github.com/j178/prek/pull/1422)) - Fix unused tool versions not removed in `prek cache gc` ([#​1436](https://redirect.github.com/j178/prek/pull/1436)) - Add `language: bun` support ([#​1411](https://redirect.github.com/j178/prek/pull/1411)) - Use `git ls-remote --tags` to list bun versions ([#​1439](https://redirect.github.com/j178/prek/pull/1439)) - Accept `--stage` as an alias for `--hook-stage` in `prek run` ([#​1398](https://redirect.github.com/j178/prek/pull/1398)) - Expand `~` tilde in `PREK_HOME` ([#​1431](https://redirect.github.com/j178/prek/pull/1431)) - Support refs to trees ([#​1449](https://redirect.github.com/j178/prek/pull/1449)) ##### Bug fixes - Avoid file lock warning for in-process contention ([#​1406](https://redirect.github.com/j178/prek/pull/1406)) - Resolve relative repo paths from config file directory ([#​1443](https://redirect.github.com/j178/prek/pull/1443)) - fix: use `split()` instead of `resolve(None)` for builtin hook argument parsing ([#​1415](https://redirect.github.com/j178/prek/pull/1415)) ##### Documentation - Add `simple-icons` and `ast-grep` to the users of prek ([#​1403](https://redirect.github.com/j178/prek/pull/1403)) - Improve JSON schema for `repo` field ([#​1432](https://redirect.github.com/j178/prek/pull/1432)) - Improve JSON schema for builtin and meta hooks ([#​1427](https://redirect.github.com/j178/prek/pull/1427)) - Add pronunciation entry to FAQ ([#​1442](https://redirect.github.com/j178/prek/pull/1442)) - Add commitizen to the list of projects using prek ([#​1413](https://redirect.github.com/j178/prek/pull/1413)) - Move docs to zensical ([#​1421](https://redirect.github.com/j178/prek/pull/1421)) ##### Other Changes - Refactor config layout ([#​1407](https://redirect.github.com/j178/prek/pull/1407)) ##### Contributors - [@​shaanmajid](https://redirect.github.com/shaanmajid) - [@​KevinGimbel](https://redirect.github.com/KevinGimbel) - [@​jtamagnan](https://redirect.github.com/jtamagnan) - [@​jmeickle-theaiinstitute](https://redirect.github.com/jmeickle-theaiinstitute) - [@​YazdanRa](https://redirect.github.com/YazdanRa) - [@​j178](https://redirect.github.com/j178) - [@​mschoettle](https://redirect.github.com/mschoettle) - [@​tisonkun](https://redirect.github.com/tisonkun) ### [`v0.2.30`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#0230) [Compare Source](https://redirect.github.com/j178/prek/compare/v0.2.29...v0.2.30) Released on 2026-01-18. ##### Enhancements - Build binaries using minimal-size profile ([#​1376](https://redirect.github.com/j178/prek/pull/1376)) - Check for duplicate keys in `check-json5` builtin hook ([#​1387](https://redirect.github.com/j178/prek/pull/1387)) - Preserve quoting style in `auto-update` ([#​1379](https://redirect.github.com/j178/prek/pull/1379)) - Show warning if file lock acquiring blocks for long time ([#​1353](https://redirect.github.com/j178/prek/pull/1353)) - Singleflight Python health checks with cached interpreter info ([#​1381](https://redirect.github.com/j178/prek/pull/1381)) ##### Bug fixes - Do not resolve entry for docker\_image ([#​1386](https://redirect.github.com/j178/prek/pull/1386)) - Fix command lookup on Windows ([#​1383](https://redirect.github.com/j178/prek/pull/1383)) ##### Documentation - Document language support details ([#​1380](https://redirect.github.com/j178/prek/pull/1380)) - Document that `check-json5` now rejects duplicate keys ([#​1391](https://redirect.github.com/j178/prek/pull/1391)) ##### Contributors - [@​j178](https://redirect.github.com/j178) ### [`v0.2.29`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#0229) [Compare Source](https://redirect.github.com/j178/prek/compare/v0.2.28...v0.2.29) Released on 2026-01-16. ##### Highlights `files` / `exclude` now support globs (including glob lists), making config filters much easier to read and maintain than heavily-escaped regex. Before (regex): ```yaml files: "^(src/.*\\.rs$|crates/[^/]+/src/.*\\.rs$)" ``` After (glob list): ```yaml files: glob: - src/**/*.rs - crates/**/src/**/*.rs ``` ##### Enhancements - Add `check-json5` as builtin hooks ([#​1367](https://redirect.github.com/j178/prek/pull/1367)) - Add glob list support for file patterns (`files` and `exclude`) ([#​1197](https://redirect.github.com/j178/prek/pull/1197)) ##### Bug fixes - Fix missing commit hash from version info ([#​1352](https://redirect.github.com/j178/prek/pull/1352)) - Remove git env vars from `uv pip install` subprocess ([#​1355](https://redirect.github.com/j178/prek/pull/1355)) - Set `TERM=dumb` under PTY to prevent capability-probe hangs ([#​1363](https://redirect.github.com/j178/prek/pull/1363)) ##### Documentation - Add `home-assistant/core` to the users of prek ([#​1350](https://redirect.github.com/j178/prek/pull/1350)) - Document builtin hooks ([#​1370](https://redirect.github.com/j178/prek/pull/1370)) - Explain project configuration scope ([#​1373](https://redirect.github.com/j178/prek/pull/1373)) ##### Contributors - [@​Goldziher](https://redirect.github.com/Goldziher) - [@​yihong0618](https://redirect.github.com/yihong0618) - [@​j178](https://redirect.github.com/j178) - [@​shaanmajid](https://redirect.github.com/shaanmajid) - [@​ulgens](https://redirect.github.com/ulgens) ### [`v0.2.28`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#0228) [Compare Source](https://redirect.github.com/j178/prek/compare/v0.2.27...v0.2.28) Released on 2026-01-13. ##### Enhancements - Avoid running `git diff` for skipped hooks ([#​1335](https://redirect.github.com/j178/prek/pull/1335)) - More accurate command line length limit calculation ([#​1348](https://redirect.github.com/j178/prek/pull/1348)) - Raise platform command line length upper limit ([#​1347](https://redirect.github.com/j178/prek/pull/1347)) - Use `/bin/sh` in generated git hook scripts ([#​1333](https://redirect.github.com/j178/prek/pull/1333)) ##### Bug fixes - Avoid rewriting if config is up-to-date ([#​1346](https://redirect.github.com/j178/prek/pull/1346)) ##### Documentation - Add `ty` to the users of prek ([#​1342](https://redirect.github.com/j178/prek/pull/1342)) - Add `ruff` to the users of prek ([#​1334](https://redirect.github.com/j178/prek/pull/1334)) - Complete configuration document ([#​1338](https://redirect.github.com/j178/prek/pull/1338)) - Document UV environment variable inheritance in prek ([#​1339](https://redirect.github.com/j178/prek/pull/1339)) ##### Contributors - [@​copilot-swe-agent](https://redirect.github.com/copilot-swe-agent) - [@​MatthewMckee4](https://redirect.github.com/MatthewMckee4) - [@​yihong0618](https://redirect.github.com/yihong0618) - [@​j178](https://redirect.github.com/j178) </details> --- ### Configuration 📅 **Schedule**: Branch creation - Every minute ( * * * * * ) (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/epage/_rust). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMi4wIiwidXBkYXRlZEluVmVyIjoiNDMuMjIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.
The Renovate config in this repository needs migrating. Typically this is because one or more configuration options you are using have been renamed.
You don't need to merge this PR right away, because Renovate will continue to migrate these fields internally each time it runs. But later some of these fields may be fully deprecated and the migrations removed. So it's a good idea to merge this migration PR soon.
PLEASE NOTE: JSON5 config file migrated! All comments & trailing commas were removed.
🔕 Ignore: Close this PR and you won't be reminded about config migration again, but one day your current config may no longer be valid.
❓ Got questions? Does something look wrong to you? Please don't hesitate to request help here.
This PR has been generated by Mend Renovate. View repository job log here.