Releases: pre-commit/pre-commit
Releases · pre-commit/pre-commit
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: r
installation when initiated by RStudio.- #3389 PR by @lorenzwalthert.
- #3385 issue by @lorenzwalthert.
pre-commit v4.0.1
Fixes
- Fix
pre-commit migrate-config
for 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-config
to handle more yaml formats. - Handle
stages
deprecation 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: r
so 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: rust
default language version check whenrust-toolchain.toml
is present.- issue by @gaborbernat.
- #3201 PR by @asottile.
pre-commit v3.7.0
Features
Fixes
- Fix
fail_fast
for individual hooks stopping when previous hooks had failed.
Updating
- The per-hook behaviour of
fail_fast
was fixed. If you want the pre-3.7.0
behaviour, addfail_fast: true
to 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
PYTHONEXECUTABLE
from environment when running.- #3110 PR by @untitaker.
- Handle staged-files-only with only a crlf diff.
pre-commit v3.6.0
Features
Fixes
- Fix deprecation warnings for
importlib.resources
. - Fix deprecation warnings for rmtree.
- #3079 PR by @edgarrmondragon.
Updating
pre-commit v3.5.0
Features
- Improve performance of
check-hooks-apply
andcheck-useless-excludes
.
Fixes
- Use
time.monotonic()
for more accurate hook timing.- #3024 PR by @adamchainz.
Migrating
- Require npm 6.x+ for
language: node
hooks.- #2996 PR by @RoelAdriaans.
- #1983 issue by @henryiii.