Releases: pre-commit/pre-commit
Releases · pre-commit/pre-commit
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.
pre-commit v3.4.0
Features
- Add
language: haskell
. - Improve cpu count detection when run under cgroups.
Fixes
- Handle negative exit codes from hooks receiving posix signals.
- #2971 PR by @chriskuehl.
- #2970 issue by @chriskuehl.
pre-commit v3.3.3
Fixes
- Work around OS packagers setting
--install-dir
/--bin-dir
in gem settings.- #2905 PR by @jaysoffian.
- #2799 issue by @lmilbaum.
pre-commit v3.3.2
Fixes
- Work around
r
on windows sometimes double-un-quoting arguments.- #2885 PR by @lorenzwalthert.
- #2870 issue by @lorenzwalthert.