Skip to content

chore(deps): update dependency prek to v0.4.13 - #399

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

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

Conversation

@renovate

@renovate renovate Bot commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
prek (source, changelog) ==0.3.8==0.4.13 age confidence

Release Notes

j178/prek (prek)

v0.4.13

Compare Source

Released on 2026-08-10.

Highlights
Manage hook tools with mise

The new language: mise support lets hooks install tools using
mise in an isolated environment:

repos:
  - repo: local
    hooks:
      - id: golangci-lint
        name: golangci-lint
        language: mise
        additional_dependencies: ["aqua:golangci/golangci-lint@2"]
        entry: golangci-lint run --fast-only ./...
        pass_filenames: false
Run commands in hook environments

The new prek exec subcommand can run an explicit command in a configured
hook's prepared environment. For example, the hook above makes its managed
binary available to this command:

$ prek exec golangci-lint -- golangci-lint --version
Enhancements
  • Add mise language support (#​2540)
  • Add deny-filename-pattern and require-filename-pattern hooks (#​2488)
  • Add prek exec for running commands in a hook environment (#​2478)
  • Add yaml-language-server: comment to YAML sample config (#​2486)
  • Make prek cache size output terminal-aware (#​2508)
  • Match file regexes against path bytes (#​2541)
  • Show hook aliases in run output (#​2497)
  • Show hook descriptions in run output (#​2490)
Performance
  • Avoid env cache scans for skipped hooks (#​2502)
  • Cache Node version queries (#​2500)
Bug fixes
  • Fix Node hook installation with npm 11 (#​2487)
  • Isolate dependency installs from inherited Git repository state (#​2506)
Documentation
  • Document combined group filtering (#​2495)
  • Explain what prek does in README (#​2507)
  • Refresh "Why prek" highlights (#​2474)
Contributors

v0.4.12

Compare Source

Released on 2026-08-03.

Enhancements
  • Add --require-group for hook group intersections (#​2472)
  • Align fast-path and builtin pre-commit hooks (#​2433)
  • Do not shuffle file list for verbose output (#​2431)
  • Improve top-level command descriptions (#​2429)
  • Install uv from Astral CDN and drop source racing (#​2455)
  • Make prek install --force bypass external hooks paths (#​2437)
  • Show builtin hook flags in verbose list output (#​2427)
  • Verify uv release archive checksums (#​2456)
Performance
  • Precompute file tags in parallel (#​2440)
  • Skip diffs after known hook modifications (#​2447)
  • Skip worktree diffs for read-only languages (#​2432)
  • Track builtin hook file changes directly (#​2404)
Bug fixes
  • Use full object IDs in diff snapshots (#​2448)
Documentation
  • Add a multi-repository configuration example (#​2434)
  • Rewrite benchmark documentation (#​2469)
Contributors

v0.4.11

Compare Source

Released on 2026-07-25.

Highlights
  • This release adds two new builtin hooks, deny-pattern and require-pattern,
    as native alternatives for pygrep use cases. deny-pattern fails when a
    configured pattern is found, while require-pattern ensures every selected
    file contains a match. By matching natively without spawning a Python
    subprocess, they run over 4x faster than pygrep in benchmarks. Note that
    they use
    Rust regex syntax, which does
    not support look-around features such as negative lookbehind.

  • prek run now supports --glob <PATTERN> to run hooks on tracked files
    matching a glob. It can be repeated or combined with --files and
    --directory.

  • Hook priorities now support reusable aliases:

    [priorities]
    checks = 10
    
    [[repos]]
    repo = "builtin"
    hooks = [
      { id = "check-json", priority = "checks" },
      { id = "check-yaml", priority = "checks" },
    ]

    This makes parallel scheduling easier to read and maintain.

Enhancements
  • Add deny-pattern and require-pattern builtin hooks (#​2359)
  • Support --glob patterns in prek run (#​2381)
  • Support reusable aliases for hook priorities (#​2331)
  • Implement requirements-txt-fixer as a builtin hook (#​2390)
  • Improve user-facing warnings and errors (#​2380)
  • Install Node hooks through git url (#​2394)
Performance
  • Reduce blocking-pool overhead in file hooks (#​2384)
  • Speed up mixed-line-ending scans with memchr2 (#​2391)
Bug fixes
  • Honor filenames in builtin hook entry and args (#​2389)
  • Match identify tags across filename parts (#​2399)
  • Preserve hook output order with a shared pipe (#​2385)
  • Preserve system download policy when applying metadata (#​2395)
Contributors

v0.4.10

Compare Source

Released on 2026-07-16.

Enhancements
  • Add PHP language support (#​2314)
  • Add freeze option to update settings (#​2323)
  • Add tag filters to update configuration (#​2354)
  • Identify 'mts' and 'cts' as TypeScript files (#​2209)
  • Publish Alpine Docker images (#​2352)
  • Support builtin and meta in try-repo (#​2350)
Bug fixes
  • Fix Python discovery order (#​2348)
  • Fix Windows progress rendering (#​2328)
  • Preserve configured repo values for updates (#​2324)
  • Scope synthetic GIT_WORK_TREE to git commands (#​2356)
Documentation
  • Expand common workflows guide (#​2351)
Contributors

v0.4.9

Compare Source

Released on 2026-07-11.

Note: This release changes the repository identity schema stored in cached hook environments. Existing
hook environments will be invalidated, and prek will reinstall them automatically when needed.

Enhancements
  • Preserve additional dependency order (#​2311)
  • Remove parallel Ruby gem installation (#​2307)
  • Warn for missing update repositories (#​2316)
Bug fixes
  • Fix mixed workspace selectors (#​2306)
  • Fix try-repo local path resolution (#​2310)
  • Use resolved gem executable (#​2308)
  • Validate complete XML documents in check-xml (#​2312)
Contributors

v0.4.8

Released on 2026-07-04.

Enhancements
  • Add default_env configuration (#​2288)
  • Rename auto-update to update (#​2286)
Bug fixes
  • Fix progress collapse ordering (#​2291)
  • Fix progress insertion after collapsed rows (#​2292)
Contributors

v0.4.6

Compare Source

Released on 2026-07-01.

Enhancements
  • Verify managed toolchain downloads before installation (#​2229)
  • Add PREK_DOCKER_NO_INIT to opt-out Docker --init (#​2242)
  • Improve subprocess error messages (#​2257)
  • Split run concurrency knobs: PREK_CONCURRENT_HOOKS and PREK_CONCURRENT_BATCHES (#​2276)
Performance
  • Avoid allocating markdown extensions per file (#​2245)
  • Avoid unchanged config tracking writes (#​2247)
  • Delay trailing whitespace output buffer (#​2244)
  • Prefilter VCS permalink lines (#​2253)
  • Skip unnecessary submodule updates during hook repo clone (#​2255)
Documentation
  • Document language_version inferring for Python and Go (#​2241)
Other changes
  • Refactor env var handling (#​2277)
  • Use serde-saphyr for YAML string quoting (#​2228)
Contributors

v0.4.5

Compare Source

Released on 2026-06-15.

✨Highlights

0.4.5 completes prek's pre-commit language coverage. With R, Conda, Perl,
and coursier now supported, prek supports every language available in
pre-commit, plus prek-only modern languages such as Bun and Deno.

This is full feature parity with pre-commit. The last major compatibility gap
is closed, and prek is now on the path to 1.0.

💚 Sponsorship

If prek saves time for you or your team, please consider sponsoring the
project on GitHub Sponsors. It helps keep
new features, performance work, and maintenance moving.

Enhancements
  • Add Perl language support (#​2201)
  • Add R language support (#​2206)
  • Add Conda language support (#​2203)
  • Add coursier language support (#​2194)
  • Add group filters to list (#​2152)
  • Remove legacy repo path support (#​2150)
  • Skip cloning fully filtered remote repos (#​2151)
Performance
  • Avoid building JSON trees in syntax hooks (#​2156)
  • Scan mixed line endings without line vector (#​2160)
  • Skip file scan for always-run no-filename hooks (#​2155)
  • Use fixed buffer for EOF scan (#​2163)
  • Use fixed buffer for private key scan (#​2164)
Bug fixes
  • Fix pretty-format-json CRLF handling (#​2210)
  • Handle missing blobs in diff snapshots (#​2211)
  • Ignore coursier channel from working repo (#​2202)
Contributors

v0.4.4

Compare Source

Released on 2026-06-04.

Highlights

0.4.4 makes prek run easier to watch and easier to slice.

Hook stream output now shows a small live preview under the running hook in the
progress UI. Long-running hooks no longer look stuck while they are producing
logs, and failed hooks are easier to diagnose because recent output is already
visible before the final result.

The new group selector lets a single config support different workflows. Tag
hooks with groups, then select or exclude those groups at run time:

repos:
  - repo: local
    hooks:
      - id: format
        name: Format Python
        language: system
        entry: ruff format
        groups: [format, ci]

      - id: lint
        name: Lint Python
        language: system
        entry: ruff check
        groups: [lint, ci]
prek run --all-files --group ci
prek run --all-files --no-group format

This is useful when local development, CI, slow validation, or project-specific
checks need different hook sets without splitting the config.

Enhancements
  • Add hook group filters to prek run (#​2141)
  • Delay hook output preview rendering (#​2140)
  • Stream hook output in progress UI (#​2136)
Bug fixes
  • Fix intent-to-add stash restore (#​2143)
Documentation
  • Document hook stage file input (#​2147)
Contributors

v0.4.3

Compare Source

Released on 2026-05-27.

Bug fixes
  • Ignore stat-only hook rewrites (#​2131)
Sponsorship

If prek saves time for you or your team, please consider sponsoring the
project on GitHub Sponsors. It helps keep
new features, performance work, and maintenance moving.

Contributors

v0.4.2

Compare Source

Released on 2026-05-26.

Highlights

0.4.2 is mainly about making prek run faster in large repos.

prek now does less git diff work. After hooks run, prek uses diff checks
to detect files changed by hooks. If a hook modifies files, prek marks that hook
as failed. That is important, but full diff snapshots can be slow in big repos,
especially when they happen after every hook group.

We skip the expensive diff path in two common cases: built-in hooks that prek
knows are read-only, and clean worktrees where a cheap dirty check is enough
unless a hook actually changes files. In the right large-repo workload,
skipping that work can make runs up to 10x faster.

Workspace mode is faster too. Hooks have historically been too serial.
Priority-based concurrency helped, but it required users to choose good
priority values. Now sibling projects at the same workspace depth run in
parallel automatically. Their files do not overlap, so this is safe and needs
no extra config. For multi-project workspaces, this can dramatically reduce
total hook time.

Sponsorship

If prek saves time for you or your team, please consider sponsoring the
project on GitHub Sponsors. It helps keep
new features, performance work, and maintenance moving.

Enhancements
  • Run same-depth projects concurrently (#​2110)
  • Make rustup install profile configurable (#​2111)
  • Simplify hook progress folding (#​2125)
Performance
  • Optimize diff checks for clean worktrees (#​2109)
  • Skip diff checks for read-only hooks (#​2108)
Contributors

v0.4.1

Compare Source

Released on 2026-07-16.

Enhancements
  • Add PHP language support (#​2314)
  • Add freeze option to update settings (#​2323)
  • Add tag filters to update configuration (#​2354)
  • Identify 'mts' and 'cts' as TypeScript files (#​2209)
  • Publish Alpine Docker images (#​2352)
  • Support builtin and meta in try-repo (#​2350)
Bug fixes
  • Fix Python discovery order (#​2348)
  • Fix Windows progress rendering (#​2328)
  • Preserve configured repo values for updates (#​2324)
  • Scope synthetic GIT_WORK_TREE to git commands (#​2356)
Documentation
  • Expand common workflows guide (#​2351)
Contributors

v0.4.0

Compare Source

Released on 2026-05-14.

Breaking changes

These are narrow cleanup breaks in behavior that was either temporary or never worked correctly. Most users should not need to change anything.

  • Generated hook scripts no longer preserve -q, -v, or --no-progress passed to prek install. This only affects users who expected those global flags to be baked into installed hooks. (#​1966)
  • language_version no longer accepts direct executable paths. Use language_version: system for a system toolchain, or use a supported version request instead. This path form did not work reliably before, so existing working configs should be unaffected. (#​1831)
Enhancements
  • Expand tilde in --config, --cd, --log-file and --git-dir (#​2063)
  • Prevent auto-update cooldown downgrades (#​2055)
  • Use managed npm cache for node hooks (#​2075)
Bug fixes
  • Fix npm config env overrides for node hooks (#​2074)
Documentation
  • Add cookbook page for enabling Git 2.54 config-based global hooks (#​2061)
Contributors

v0.3.13

Compare Source

Released on 2026-05-06.

Bug fixes
  • Respect hook filters for message files (#​2049)
Documentation
  • Add Godot Engine to users in README (#​2047)
Contributors

v0.3.12

Compare Source

Released on 2026-05-05.

Highlights

auto_update.cooldown_days is now available in both the user-level global
config (~/.config/prek/prek.toml on Linux and macOS, or
$XDG_CONFIG_HOME/prek/prek.toml when set; %APPDATA%\prek\prek.toml on
Windows) and project config. Set a user default for prek auto-update, then
override it per project when a repository needs a different update cadence.

[auto_update]
cooldown_days = 7
Enhancements
  • Add global auto-update cooldown config (#​2041)
  • Add project auto-update cooldown config (#​2044)
  • Support language: dart (#​1146)
Bug fixes
  • Pass commit message file to workspace hooks (#​2043)
  • Preserve non-UTF8 filenames from git (#​2023)
  • ruby: put resolved Ruby's bin dir on $PATH for gem invocations (#​2021)
Documentation
  • Update docs with the new logo and icon (#​2025)
  • Point schema docs to SchemaStore (#​2039)
Contributors

v0.3.11

Compare Source

Released on 2026-04-27.

Highlights

Hook entries now have an explicit shell option for shell snippets. Set
shell: sh, bash, pwsh, powershell, or cmd when an entry should be
evaluated by that shell; leaving it unset keeps prek's direct argv execution.

prek auto-update can now filter tag candidates before choosing an update.
Both options take glob patterns: use --include-tag to only consider matching
tag names, and --exclude-tag to skip matching tags such as moving tags or
prereleases.

Enhancements
  • Add auto-update --exclude-repo <repo> to skip repos (#​1983)
  • Add auto-update --exit-code to exit with non-zero on updates (#​2002)
  • Add auto-update --include-tag <pattern>/--exclude-tag <pattern> to filter tags (#​1984)
  • Adds an explicit shell hook option for entries that should run as shell source (#​2004)
  • Make --hook-dir optional for hook-impl (#​1989)
  • Skip shim warning when --script-version is missing (#​1990)
Bug fixes
  • Install Ruby executable in gem bin (#​2017)
  • Use dedicated Android npm package (#​1982)
  • Use stable repo keys without breaking cached clones (#​1995)
Documentation
  • Explain prek name (#​1980)
  • Clarify pass_filenames concurrency docs (#​1999)
  • Reorganize documentation references (#​2005)
  • Clarify hook author manifest env docs (#​1991)
  • docs: add Sentry to users list (#​1981)
Contributors

v0.3.10

Compare Source

Released on 2026-04-21.

Enhancements
  • Disallow rev for non-remote repos in schema (#​1964)
  • Hide up-to-date output in non-verbose mode (#​1942)
  • Improve merge conflict marker detection (#​1937)
  • Keep finished hooks visible (#​1967)
  • Preserve frozen comment spacing in auto-update (#​1945)
  • Reimplement @j178/prek npm package (#​1973)
Bug fixes
  • Prefer stable Rust toolchains (#​1974)
Documentation
  • Add SKILL.md for prek (#​1950)
  • Document gh skill install j178/prek prek to install prek skill for agents (#​1951)
  • Improve compatibility and migration docs (#​1940)
Other changes
Contributors

v0.3.9

Compare Source

Released on 2026-04-13.

Highlight

prek auto-update is now stricter about pinned revisions and more useful in CI.
It now keeps rev and # frozen: comments in sync, can detect
impostor commits when validating pinned SHAs,
and lets you use prek auto-update --check to fail on both available updates and frozen-ref
mismatches without rewriting the config.

Examples:

$ prek auto-update

# updates revs and repairs stale `# frozen:` comments

$ prek auto-update --freeze

# writes frozen SHAs with matching `# frozen: <tag>` comments

$ prek auto-update --check

# exits non-zero when updates are available, a `# frozen:` comment is stale,
# or a pinned SHA does not belong to the fetched upstream refs
Enhancements
  • Check and sync frozen comments during auto-update (#​1896)
  • Handle impostor commits in auto-update (#​1919)
  • Add experimental language: dotnet support (#​1871)
  • Honor repo and worktree core.hooksPath (#​1892)
  • Add prek run --no-fail-fast to override config file (#​1859)
  • Add forbid-new-submodules as builtin hook (#​1853)
  • Clean stale patch files in cache gc (#​1877)
  • Display auto-update results by config entry (#​1922)
  • Restrict patch directory permissions (#​1876)
  • Show tag names in auto-update --freeze output (#​1916)
  • Use a bitset for hook stages (#​1860)
Bug fixes
  • Canonicalize CWD and GIT_ROOT paths (#​1878)
  • Ensure quotes are added for non-string revisions in auto-update (#​1936)
Documentation
  • Update docs for case of hooks modifying files with a non-zero exit code (#​1879)
Contributors

Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

waku-py[bot]
waku-py Bot previously approved these changes Apr 14, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Apr 14, 2026

Copy link
Copy Markdown

Deploying wakupy with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2150d4f
Status: ✅  Deploy successful!
Preview URL: https://d2626d89.wakupy.pages.dev
Branch Preview URL: https://renovate-prek-0-x.wakupy.pages.dev

View logs

@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from b109b75 to 47eb492 Compare April 21, 2026 13:24
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.3.9 chore(deps): update dependency prek to v0.3.10 Apr 21, 2026
waku-py[bot]
waku-py Bot previously approved these changes Apr 21, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from 47eb492 to 3811e0a Compare April 27, 2026 05:31
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.3.10 chore(deps): update dependency prek to v0.3.11 Apr 27, 2026
waku-py[bot]
waku-py Bot previously approved these changes Apr 27, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from 3811e0a to 9179511 Compare May 5, 2026 11:07
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.3.11 chore(deps): update dependency prek to v0.3.12 May 5, 2026
waku-py[bot]
waku-py Bot previously approved these changes May 5, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from 9179511 to c42c7f2 Compare May 5, 2026 20:53
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.3.12 chore(deps): update dependency prek to v0.3.13 May 5, 2026
waku-py[bot]
waku-py Bot previously approved these changes May 5, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from c42c7f2 to f02d625 Compare May 14, 2026 13:46
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.3.13 chore(deps): update dependency prek to v0.4.0 May 14, 2026
waku-py[bot]
waku-py Bot previously approved these changes May 14, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from f02d625 to d16ddf6 Compare May 20, 2026 05:47
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.4.0 chore(deps): update dependency prek to v0.4.1 May 20, 2026
waku-py[bot]
waku-py Bot previously approved these changes May 20, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from fbaccfb to 6d32aa4 Compare June 15, 2026 13:00
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.4.4 chore(deps): update dependency prek to v0.4.5 Jun 15, 2026
waku-py[bot]
waku-py Bot previously approved these changes Jun 15, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from 6d32aa4 to 8b119d1 Compare July 1, 2026 21:35
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.4.5 chore(deps): update dependency prek to v0.4.6 Jul 1, 2026
waku-py[bot]
waku-py Bot previously approved these changes Jul 1, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from 8b119d1 to 58b7b3b Compare July 4, 2026 14:03
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.4.6 chore(deps): update dependency prek to v0.4.8 Jul 4, 2026
waku-py[bot]
waku-py Bot previously approved these changes Jul 4, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from 58b7b3b to 489ecb1 Compare July 11, 2026 12:31
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.4.8 chore(deps): update dependency prek to v0.4.9 Jul 11, 2026
waku-py[bot]
waku-py Bot previously approved these changes Jul 11, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from 489ecb1 to b75422c Compare July 16, 2026 14:09
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.4.9 chore(deps): update dependency prek to v0.4.10 Jul 16, 2026
waku-py[bot]
waku-py Bot previously approved these changes Jul 16, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from b75422c to 61a53e3 Compare July 24, 2026 21:13
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.4.10 chore(deps): update dependency prek to v0.4.11 Jul 24, 2026
waku-py[bot]
waku-py Bot previously approved these changes Jul 24, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from 61a53e3 to b387877 Compare August 3, 2026 13:12
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.4.11 chore(deps): update dependency prek to v0.4.12 Aug 3, 2026
@renovate
renovate Bot force-pushed the renovate/prek-0.x branch from b387877 to 2150d4f Compare August 10, 2026 10:40
@renovate renovate Bot changed the title chore(deps): update dependency prek to v0.4.12 chore(deps): update dependency prek to v0.4.13 Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants