Releases: pre-commit/pre-commit
Releases · pre-commit/pre-commit
pre-commit v4.3.0
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.
pre-commit v4.2.0
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.
pre-commit v4.1.0
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.
pre-commit v4.0.1
Fixes
- Fix
pre-commit migrate-configfor unquoted deprecated stages names with
purelibpyyaml.- #3324 PR by @asottile.
- pre-commit-ci/issues#234 issue by @lorenzwalthert.
pre-commit v4.0.0
Features
- Improve
pre-commit migrate-configto handle more yaml formats. - Handle
stagesdeprecation inpre-commit migrate-config. - Upgrade
ruby-build.- #3199 PR by @ThisGuyCodes.
- Add "sensible regex" warnings to
repo: meta. - Add warnings for deprecated
stages(commit->pre-commit,push->
pre-push,merge-commit->pre-merge-commit).
Migrating
pre-commit v3.8.0
Features
- Implement health checks for
language: rso environments are recreated if the system version of R changes.- #3206 issue by @lorenzwalthert.
- #3265 PR by @lorenzwalthert.
pre-commit v3.7.1
Fixes
- Fix
language: rustdefault language version check whenrust-toolchain.toml
is present.- issue by @gaborbernat.
- #3201 PR by @asottile.
pre-commit v3.7.0
Features
Fixes
- Fix
fail_fastfor individual hooks stopping when previous hooks had failed.
Updating
- The per-hook behaviour of
fail_fastwas fixed. If you want the pre-3.7.0
behaviour, addfail_fast: trueto all hooks before the lastfail_fast
hook.
pre-commit v3.6.2
Fixes
- Fix building golang hooks during
git commit --all.- #3130 PR by @asottile.
- #2722 issue by @pestanko and @matthewhughes934.
pre-commit v3.6.1
Fixes
- Remove
PYTHONEXECUTABLEfrom environment when running.- #3110 PR by @untitaker.
- Handle staged-files-only with only a crlf diff.