Releases · pre-commit/pre-commit
Repository navigation
Releases
pre-commit v4.7.0
pre-commit v4.7.0Latest
Latest
asottile released this 13 Oct 15:35 v4.7.0
65bb884
Fixes
- Fix
language: nodehooks during commit with-aor inside a submodule.- Regressed in 4.6.1.
- #3773 issue by @cbirkhold .
- #3774 PR by @cbirkhold .
Contributors
pre-commit v4.6.2
pre-commit v4.6.2 asottile released this 10 Aug 22:08 v4.6.29767b6c
Fixes
- Fix
language: nodehooks that contain"scripts": {"build": ...}with
npm 11.x.
Contributors
pre-commit v4.6.1
pre-commit v4.6.1 asottile released this 21 Jul 20:58 v4.6.1242ce8a
Fixes
- Install
language: nodehooks viagit. - Set
JULIA_DEPOT_PATHforlanguage: julia.- #3711 PR by @damonbayer .
- pre-commit-ci/runner-image#335 issue by @damonbayer .
- Produce error on mistyped
--repoforpre-commit autoupdate. - Improve performance of commit existence check in
pre-push. - Avoid duplicating conflicted filenames during
pre-commit run --all-files.- #3727 PR by @asottile .
- #3706 issue by @RomanValov .
Contributors
pre-commit v4.6.0
pre-commit v4.6.0 asottile released this 21 Apr 20:32 v4.6.0f35134b
Features
pre-commit hook-impl: allow--hook-dirto be missing to enable easier usage withgit2.54+ git hooks.
Fixes
Contributors
pre-commit v4.5.1
pre-commit v4.5.1 asottile released this 16 Dec 21:18 v4.5.18a0630c
Fixes
Contributors
pre-commit v4.5.0
pre-commit v4.5.0 asottile released this 22 Nov 21:08 v4.5.01af6c8f
Features
Contributors
pre-commit v4.4.0
pre-commit v4.4.0 asottile released this 08 Nov 21:48 v4.4.017cf886
Features
- Add
--fail-fastoption topre-commit run.- #3528 PR by @JulianMaurin .
- Upgrade
ruby-build/rbenv. - Add
language: unsupported/language: unsupported_scriptas aliases forlanguage: system/language: script(which will eventually be deprecated). - Add support docker-in-docker detection for cgroups v2.
- #3535 PR by @br-rhrbacek .
- #3360 issue by @JasonAlt .
Fixes
- Handle when docker gives
SecurityOptions: null.- #3537 PR by @asottile .
- #3514 issue by @jenstroeger .
- Fix error context for invalid
stagesin.pre-commit-config.yaml.
Contributors
pre-commit v4.3.0
pre-commit v4.3.0 asottile released this 09 Aug 18:59 v4.3.0b74a22d
Features
language: docker/language: docker_image: detect rootless docker.- #3446 PR by @matthewhughes934 .
- #1243 issue by @dkolepp .
language: julia: avoidstartup.jlwhen executing hooks.- #3496 PR by @ericphanson .
language: dart: support latest dart versions which require a higher sdk
lower bound.
Contributors
pre-commit v4.2.0
pre-commit v4.2.0 asottile released this 18 Mar 21:42 v4.2.0aa48766
Features
- For
language: pythonfirst attempt a versioned python executable for the default language version before consulting a potentially unversionedsys.executable.
Fixes
- Handle error during conflict detection when a file is named "HEAD"
- #3425 PR by @tusharsadhwani .
Contributors
pre-commit v4.1.0
pre-commit v4.1.0 asottile released this 20 Jan 18:49 v4.1.0b152e92
Features
- Add
language: julia.- #3348 PR by @fredrikekre .
- #2689 issue @jmuchovej .
Fixes
- Disable automatic toolchain switching for
language: golang. - Fix
language: rinstallation when initiated by RStudio.- #3389 PR by @lorenzwalthert .
- #3385 issue by @lorenzwalthert .