# pre-commit v4.6.1 — pre-commit v4.6.1 - Product: pre-commit (https://whatsnew.fyi/product/pre-commit) - Vendor: pre-commit - Date: 2026-07-21 - Version: v4.6.1 - Original notes: https://github.com/pre-commit/pre-commit/releases/tag/v4.6.1 - Permalink: https://whatsnew.fyi/product/pre-commit/releases/v4.6.1 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — Install language: node hooks via git to fix npm 12.x compatibility - **fixed** — Set JULIA_DEPOT_PATH for language: julia - **fixed** — Produce error on mistyped --repo for pre-commit autoupdate - **fixed** — Improve performance of commit existence check in pre-push - **fixed** — Avoid duplicating conflicted filenames during pre-commit run --all-files ###### Fixes - Install `language: node` hooks via `git`. - Fixes npm 12.x compatibility - #3719 PR by @asottile. - #3517 issue by @ojob. - Set `JULIA_DEPOT_PATH` for `language: julia`. - #3711 PR by @damonbayer. - pre-commit-ci/runner-image#335 issue by @damonbayer. - Produce error on mistyped `--repo` for `pre-commit autoupdate`. - #3701 PR by @mxr. - #3695 issue by @mxr. - Improve performance of commit existence check in `pre-push`. - #3726 PR by @asottile. - #3604 issue by @ptarjan. - Avoid duplicating conflicted filenames during `pre-commit run --all-files`. - #3727 PR by @asottile. - #3706 issue by @RomanValov.