Skip to content

chore(deps): update dependency prek to v0.5.2 - #3765

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/prek-0.x
Open

chore(deps): update dependency prek to v0.5.2#3765
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/prek-0.x

Conversation

@renovate

@renovate renovate Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
prek (source, changelog) ==0.4.14==0.5.2 age confidence

Release Notes

j178/prek (prek)

v0.5.2

Compare Source

Released on 2026-09-03.

Enhancements
  • Allow unknown tags by default in check-yaml (#​2678)
Contributors

v0.5.1

Compare Source

Released on 2026-09-01.

Enhancements
  • Add --hide-status <passed|failed|skipped> for hook reports (#​2644)
  • Add prek init for repository setup (#​2636)
  • Apply hook env during environment creation (#​2650)
  • Disable error snippets in check-yaml diagnostics (#​2664)
  • Show hooks excluded by skip selectors (#​2645)
  • Support Pixi for Conda environments (#​2667)
  • Support cargo-binstall for Rust CLI dependencies (#​2658)
  • Warn about unused keys in user settings (#​2665)
Bug fixes
  • Reject unsupported YAML tags in check-yaml (#​2656)
Documentation
  • Clarify local hook documentation (#​2640)
  • Clarify pre-commit command compatibility (#​2635)
  • Document automatic PR fixes with autofix.ci (#​2643)
  • Document check-yaml unsafe support (#​2632)
  • Improve setup and workflow documentation (#​2637)
Other changes
  • Drop low-usage release targets (#​2651)
  • Generate a prek manifest JSON schema (#​2648)
Contributors

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 was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested review from a team and edgarrmondragon as code owners September 3, 2026 07:35
@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.37%. Comparing base (32a43ad) to head (daa7c19).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3765   +/-   ##
=======================================
  Coverage   94.37%   94.37%           
=======================================
  Files          74       74           
  Lines        6298     6298           
  Branches      771      771           
=======================================
  Hits         5944     5944           
  Misses        265      265           
  Partials       89       89           
Flag Coverage Δ
core 83.08% <ø> (ø)
end-to-end 75.70% <ø> (ø)
optional-components 44.98% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from 5f81b55 to 2b70c97 Compare September 7, 2026 16:47
@read-the-docs-community

read-the-docs-community Bot commented Sep 7, 2026

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from 2b70c97 to c266596 Compare September 8, 2026 04:54
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.5.0 chore(deps): update dependency prek to v0.5.1 Sep 8, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from c266596 to daa7c19 Compare September 9, 2026 22:24
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.5.1 chore(deps): update dependency prek to v0.5.2 Sep 9, 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.

0 participants