Releases: pre-commit/pre-commit
Releases · pre-commit/pre-commit
Release list
pre-commit v2.15.0
Features
- add support for hooks written in
dart. - add support for
post-rewritehooks.
Fixes
pre-commit v2.14.1
Fixes
- fix force-push of disparate histories using git>=2.28.
- #2005 PR by @asottile.
- #2002 issue by @bogusfocused.
- fix
check-useless-excludesandcheck-hooks-applymatching non-root
.pre-commit-config.yaml.- #2026 PR by @asottile.
- pre-commit-ci/issues#84 issue by @billsioros.
pre-commit v2.14.0
Features
- During
pre-pushhooks, expose local branch asPRE_COMMIT_LOCAL_BRANCH.- #1947 PR by @FlorentClarret.
- #1410 issue by @MaicoTimmerman.
- Improve container id detection for docker-beside-docker with custom hostname.
- #1919 PR by @adarnimrod.
- #1918 issue by @adarnimrod.
Fixes
- Read legacy hooks in an encoding-agnostic way.
- #1943 PR by @asottile.
- #1942 issue by @sbienkow-ninja.
- Fix execution of docker hooks for docker-in-docker.
- #1997 PR by @asottile.
- #1978 issue by @robin-moss.
pre-commit v2.13.0
Features
- Setting
SKIP=...skips installation as well.- #1875 PR by @asottile.
- pre-commit-ci/issues#53 issue by @TylerYep.
- Attempt to mount from host with docker-in-docker.
- Enable
repo: localforrhooks.- #1878 PR by @lorenzwalthert.
- Upgrade
ruby-buildandrbenv.
Fixes
- Better detect
rpackages.- #1898 PR by @lorenzwalthert.
- Avoid warnings with mismatched
renvversions.- #1841 PR by @lorenzwalthert.
- Reproducibly produce ruby tar resources.
pre-commit v2.12.1
Fixes
- Fix race condition when stashing files in multiple parallel invocations
- #1881 PR by @adamchainz.
- #1880 issue by @adamchainz.
pre-commit v2.12.0
Features
Fixes
pre-commit v2.11.1
Fixes
- Fix r hooks when hook repo is a package
- #1831 PR by @lorenzwalthert.
pre-commit v2.11.0
Features
- Improve warning for mutable ref.
- #1809 PR by @JamMarHer.
- Add support for
post-mergehook. - Add
ras a supported hook language.- #1799 PR by @lorenzwalthert.
Fixes
- Fix
pre-commit installonsubst/ network drives on windows.- #1814 PR by @asottile.
- #1802 issue by @goroderickgo.
- Fix installation of
localgolang repositories for go 1.16.- #1818 PR by @rafikdraoui.
- #1815 issue by @rafikdraoui.
pre-commit v2.10.1
Fixes
- Fix
language: golangrepositories containing recursive submodules- #1788 issue by @gaurav517.
- #1789 PR by @paulhfischer.
pre-commit v2.10.0
Features
- Allow
cias a top-level map for configuration for https://pre-commit.ci - Add warning for mutable
revin configuration- #1715 PR by @paulhfischer.
- #974 issue by @asottile.
- Add warning for
/*in top-levelfiles/excluderegexes- #1750 PR by @paulhfischer.
- #1702 issue by @asottile.
- Expose
PRE_COMMIT_REMOTE_BRANCHenvironment variable duringpre-pushhooks- #1770 PR by @surafelabebe.
- Produce error message for
language/language_versionfor non-installable languages
Fixes
- Fix execution in worktrees in subdirectories of bare repositories
- #1778 PR by @asottile.
- #1777 issue by @s0undt3ch.