Skip to content

chore(deps): update dependency @j178/prek to ^0.6.0 - #71

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

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

Conversation

@renovate

@renovate renovate Bot commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@j178/prek (source) ^0.4.0 → ^0.6.0 age confidence

Release Notes

j178/prek (@​j178/prek)

v0.6.0

Compare Source

Released on 2026-12-01.

Breaking changes

Most users can upgrade to 0.6 without changing their configuration or scripts.
The two CLI changes below align prek's exit codes with pre-commit.

  • If you pass hook names and --hook-stage to prek run, it now exits with status 1 when none of those hooks matches the requested stage. To run every hook configured for a stage, omit the hook names. (#​3105)
  • prek update and prek autoupdate now validate every --repo argument before updating any revisions. A single unknown repository makes the command exit with status 1. Use the repo value as written in your config. (#​3106)
  • When SSL_CERT_FILE or SSL_CERT_DIR is non-empty, prek's HTTP client (reqwest) trusts only the CA certificates loaded from those paths, even if it finds none. If you used these variables to add a private CA, include the public roots you need in the same trust bundle. To use the system trust store, unset both variables and set PREK_SYSTEM_CERTS=true. PREK_NATIVE_TLS remains a deprecated alias. (#​2964)
Highlights
Faster repeat checks with prek update

prek update now reuses Git objects from earlier checks while still looking for
new upstream tags. In our GitHub benchmark, repeat runs of prek update --check
took 62–74% less time with a warm cache. Median time fell from 2.20 s to 0.84 s
for pre-commit/pre-commit-hooks and from 3.04 s to 0.80 s for crate-ci/typos. (#​3080)

Configure hooks in pyproject.toml or Cargo.toml

Keep your hooks in the manifest you already use. Put the same settings you would
use in prek.toml under [tool.prek] in pyproject.toml, or under
[package.metadata.prek] or [workspace.metadata.prek] in Cargo.toml.
A standalone hook configuration in the same directory still takes precedence. (#​3093)

Include formatter fixes in the same commit

Set stage_fixed = true on a formatter to let the installed Git pre-commit
hook include verified fixes to matching staged files in the same commit. This
saves a second round of git add and git commit. Manual prek run invocations
still leave fixes in the working tree for review. (#​3085)

# pyproject.toml
[[tool.prek.repos]]
repo = "builtin"
hooks = [{ id = "end-of-file-fixer", stage_fixed = true }]
Enhancements
  • Allow pre-commit hooks to stage verified fixes (#​3085)
  • Load hook configuration from pyproject.toml and Cargo.toml (#​3093)
  • Restore prebuilt packages for RISC-V Linux (#​3087)
  • Skip the full history walk for new pre-push refs (#​3035)
  • Support {config_dir} in hook entries and arguments (#​3089)
Performance
  • Extract toolchain archives with synchronous tar and ZIP readers (#​3094)
  • Keep small packs when fetching hook repositories (#​3076)
  • Read pre-push diff bases from git rev-list (#​3090)
  • Reuse Git objects across hook update checks (#​3080)
  • Reuse cached Git objects when fetching another hook revision (#​3078)
  • Reuse installed hook environments across try-repo runs (#​3082)
  • Reuse the installed hook manifest during update checks (#​3083)
  • Skip tag discovery when fetching hook repositories (#​3075)
Contributors

v0.5.12

Compare Source

Released on 2026-11-26.

Enhancements
  • Explain empty final diffs after hook changes (#​3057)
  • Replace pre-commit shims during installation (#​3054)
Performance
  • Skip unnecessary content reads during file identification (#​3049)
Bug fixes
  • Fix post-merge squash status environment variable (#​3053)
  • Protect running hooks from cache cleanup (#​3068)
  • Skip binary and BOM-marked UTF-16/32 files in text fixers (#​3058)
  • Select Haskell package executables explicitly (#​3067)
  • Skip unreleased mise versions (#​3071)
Documentation
  • Add sponsor recognition to README and website (#​3051)
Contributors

v0.5.11

Compare Source

Released on 2026-11-16.

Enhancements
  • Add prek install --hook-command to customize how Git hooks launch prek (#​3002)
  • Bundle the py.typed marker in wheels (#​3011)
  • Match installer glibc requirements to release builds (#​3024)
  • Stream completed hook groups without progress output (#​3004)
  • Support NUL-separated file lists with --files0-from (#​3013)
Performance
  • Infer hook effects to skip unnecessary Git diffs (#​3014)
  • Automatically group read-only hooks (#​3020)
  • Cache file contents across read-only builtin hooks (#​3021)
Bug fixes
  • Preserve number precision in pretty-format-json (#​3033)
  • Quote installed hook arguments for the shell (#​3034)
Contributors

v0.5.10

Compare Source

Released on 2026-11-04.

Enhancements
  • Add a builtin replace-pattern hook (#​2981)
Bug fixes
  • Avoid downloading Node prereleases by default (#​2995)
  • Keep file checks out of rayon's recursive frames (#​2999)
  • Skip Node releases without a compatible archive (#​2996)
Documentation
  • Add equivalent prek.toml examples throughout the documentation (#​2979)
Contributors

v0.5.9

Compare Source

Released on 2026-10-30.

Enhancements
  • Add normalize-indentation builtin hook (#​2967)
  • Allow overriding the uv install version (#​2923)
  • Embed dependency metadata in release binaries (#​2976)
  • Select musl Bun builds when glibc is unavailable (#​2972)
Performance
  • Improve workspace discovery performance (#​2936)
Bug fixes
  • Preserve clean-filtered files during stashing (#​2915)
Contributors

v0.5.8

Compare Source

v0.5.7

Compare Source

Released on 2026-10-21.

Enhancements
  • Support system Rust toolchains without rustup (#​2887)
Performance
  • Use blocking file checks for CPU-heavy builtin hooks (#​2910)
Other changes
  • Update CA root crates and uv for the eMudhra intermediate CA compromise (#​2919)
Contributors

v0.5.6

Compare Source

Released on 2026-10-19.

Enhancements
  • Add builtin hook check-commit-trailers (#​2885)
  • Add builtin hook check-signed-commit (#​2725)
Performance
  • Enable PGO for native release builds (#​2890)
  • Reduce hook process launches with balanced batches (#​2907)
  • Resolve hook commands before batching (#​2840)
Bug fixes
  • Accept UTF-8 BOM in check-json (#​2879)
  • Preserve unquoted dotted revisions in prek update (#​2853)
Documentation
  • Document standalone installer options (#​2859)
  • Update benchmarks for prek 0.5.5 (#​2786)
Other changes
Contributors

v0.5.5

Compare Source

Released on 2026-10-05.

Enhancements
  • Add Nushell completion generation (#​2785)
  • Add ppc64le wheel and binary builds (#​2809)
Performance
  • Avoid JSON imports when querying Python interpreters (#​2790)
  • Avoid duplicate diffs after hooks rewrite files (#​2815)
  • Batch file reads in shebang checks (#​2793)
  • Check cached hook environments concurrently (#​2797)
  • Overlap Git discovery with worktree status checks (#​2821)
  • Query staged additions only for case conflicts (#​2802)
  • Reduce worker overhead in XML and pygrep checks (#​2789)
  • Reuse Git worktree state during hook startup (#​2787)
  • Reuse intent-to-add paths when saving unstaged changes (#​2788)
  • Run Git queries concurrently for case-conflict checks (#​2792)
  • Share Bun and Deno version queries across environments (#​2795)
  • Share Lua runtime probes across hook environments (#​2796)
  • Share Ruby version queries across hook environments (#​2794)
  • Share mise version queries across hook environments (#​2798)
  • Skip site initialization in Python interpreter probes (#​2822)
  • Skip untracked files in destroyed symlink checks (#​2799)
  • Skip unused file input for always-run hooks (#​2813)
Bug fixes
  • Preserve staged and unstaged changes on conflicted stash restore (#​2803)
  • Default missing core.fileMode in shebang checks (#​2832)
  • Match protected branch patterns from the start (#​2829)
  • Normalize explicit paths in shebang index checks (#​2831)
  • Preserve empty trailing-whitespace character sets (#​2830)
  • Reject empty files in check-json (#​2826)
  • Reject trailing data in check-json (#​2828)
  • Round up file sizes in check-added-large-files (#​2827)
Documentation
  • Redesign the prek badge and refresh logo details (#​2818)
Contributors

v0.5.4

Compare Source

Released on 2026-09-28.

Highlights
Faster builtin hooks

In our end-to-end benchmark, prek is about 38% faster than 0.5.3, with some builtin
hooks up to 273% faster (check-yaml: 273%, check-json: 80%,
check-merge-conflict: 71%).

Enhancements
  • Add include_deleted to allow hooks to include deleted files (#​2733)
  • Add --check and simplify end-of-file-fixer (#​2764)
  • Add --check to file-contents-sorter (#​2765)
  • Add --check to requirements-txt-fixer (#​2766)
  • Add --check to trailing-whitespace (#​2763)
  • Expose and document prek util generate-shell-completion (#​2727)
  • Support hide_status in project and user configuration (#​2760)
  • Support look-around regex in builtin pattern hooks (#​2732)
Performance
  • Cache the resolved Git executable on macOS (#​2726)
  • Combine and cache Git repository path queries (#​2724)
  • Optimize common builtin hook execution (#​2768)
  • Optimize scanning in mixed-line-ending and trailing-whitespace (#​2769)
  • Scan check-merge-conflict files in fixed-size blocks (#​2781)
  • Use SIMD UTF-8 validation in check-json, check-toml, and check-yaml (#​2770)
Bug fixes
  • Retry transient rename failures on Windows (#​2756)
  • Use PATH to resolve prek in completion scripts (#​2719)
Documentation
  • Clarify the flow and scope of usage guides (#​2710)
  • Reorganize usage guides and reference documentation (#​2709)
Other changes
Contributors

v0.5.3

Compare Source

Released on 2026-09-13.

Enhancements
  • Add PEP 740 attestations for PyPI releases (#​2705)
  • Add a check-jsonc builtin hook (#​2682)
  • Allow disabling automatic uv installation (#​2702)
Bug fixes
  • Fix Julia additional dependency specifiers (#​2703)
  • Update granit-parser to fix YAML flow indentation (#​2707)
Contributors

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-11-26.

Enhancements
  • Explain empty final diffs after hook changes (#​3057)
  • Replace pre-commit shims during installation (#​3054)
Performance
  • Skip unnecessary content reads during file identification (#​3049)
Bug fixes
  • Fix post-merge squash status environment variable (#​3053)
  • Protect running hooks from cache cleanup (#​3068)
  • Skip binary and BOM-marked UTF-16/32 files in text fixers (#​3058)
  • Select Haskell package executables explicitly (#​3067)
  • Skip unreleased mise versions (#​3071)
Documentation
  • Add sponsor recognition to README and website (#​3051)
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 force-pushed the renovate/j178-prek-0.x branch 3 times, most recently from 2957879 to 0ce9a77 Compare September 7, 2026 23:04
@renovate
renovate Bot force-pushed the renovate/j178-prek-0.x branch 2 times, most recently from 0781449 to 60cee71 Compare September 15, 2026 12:03
@renovate
renovate Bot force-pushed the renovate/j178-prek-0.x branch 3 times, most recently from b7fc7a5 to 59c363b Compare September 28, 2026 19:32
@renovate
renovate Bot force-pushed the renovate/j178-prek-0.x branch from 59c363b to 7af0486 Compare October 5, 2026 10:44
@renovate
renovate Bot force-pushed the renovate/j178-prek-0.x branch 2 times, most recently from 55cd9d5 to 5e87159 Compare October 21, 2026 01:54
@renovate
renovate Bot force-pushed the renovate/j178-prek-0.x branch 2 times, most recently from 2cf409a to 695881d Compare October 30, 2026 11:25
@renovate
renovate Bot force-pushed the renovate/j178-prek-0.x branch from 695881d to 2cafc3a Compare November 16, 2026 18:39
@renovate
renovate Bot force-pushed the renovate/j178-prek-0.x branch from 2cafc3a to 85b30c0 Compare November 26, 2026 18:15
@renovate
renovate Bot force-pushed the renovate/j178-prek-0.x branch from 85b30c0 to 7116135 Compare December 1, 2026 14:04
@renovate renovate Bot changed the title chore(deps): update dependency @j178/prek to ^0.5.0 chore(deps): update dependency @j178/prek to ^0.6.0 Dec 1, 2026

This branch has not been deployed

No deployments
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