The Wayback Machine - https://web.archive.org/web/20220412152430/https://github.com/pre-commit/pre-commit/releases
Fixes
- Fix regression for
repo: local hooks running python<3.7
Features
- Keep
GIT_HTTP_PROXY_AUTHMETHOD in git environ.
- Support both
cs and coursier executables for coursier hooks.
- Include more information in errors for
language_version / additional_dependencies for languages which do not support them.
- Have autoupdate preferentially pick tags which look like versions when there are multiple equivalent tags.
- Upgrade
ruby-build.
- Add top level
default_install_hook_types which will be installed when --hook-types is not specified in pre-commit install.
Fixes
- Fix typo in help message for
--from-ref and --to-ref.
- Prioritize binary builds for R dependencies.
- Fix handling of git worktrees.
- Fix handling of
$R_HOME for R hooks.
- Fix a rare race condition in change stashing.
Updating
- Remove python3.6 support. Note that pre-commit still supports running hooks written in older versions, but pre-commit itself requires python 3.7+.
- pre-commit has migrated from the
master branch to main.
Features
- add warnings for regexes containing
[\\/].
- upgrade supported ruby versions.
- allow
language: conda to use mamba or micromamba via PRE_COMMIT_USE_MAMBA=1 or PRE_COMMIT_USE_MICROMAMBA=1 respectively.
- display
git --version in error report.
- add
language: lua as a supported language.
Fixes
- temporarily add
setuptools to the zipapp.
- use
go install instead of go get for go 1.18+ support.
- fix
language: r with a local renv and RENV_PROJECT set.
- forbid overriding
entry in language: meta hooks which breaks them.
- always use
#!/bin/sh on windows for hook script.
Features
- add warning for regexes containing
[\/] or [/\\].
- move hook template back to
bash resolving shebang-portability issues.
- add support for
fail_fast at the individual hook level.
- allow passthrough of
GIT_CONFIG_KEY_*, GIT_CONFIG_VALUE_*, and GIT_CONFIG_COUNT.
Fixes
- fix pre-commit autoupdate for
core.useBuiltinFSMonitor=true on windows.
- fix temporary file stashing with for
submodule.recurse=1.
- ban broken importlib-resources versions.
- replace
exit(...) with raise SystemExit(...) for portability.
Features
- add support for hooks written in
dart.
- add support for
post-rewrite hooks.
Fixes
- fix
check-useless-excludes with exclude matching broken symlink.
- eliminate duplicate mutable sha warning messages for
pre-commit autoupdate.
Fixes
- fix force-push of disparate histories using git>=2.28.
- fix
check-useless-excludes and check-hooks-apply matching non-root
.pre-commit-config.yaml.
Features
- During
pre-push hooks, expose local branch as PRE_COMMIT_LOCAL_BRANCH.
- Improve container id detection for docker-beside-docker with custom hostname.
Fixes
- Read legacy hooks in an encoding-agnostic way.
- Fix execution of docker hooks for docker-in-docker.
Features
- Setting
SKIP=... skips installation as well.
- Attempt to mount from host with docker-in-docker.
- Enable
repo: local for r hooks.
- Upgrade
ruby-build and rbenv.
Fixes
- Better detect
r packages.
- Avoid warnings with mismatched
renv versions.
- Reproducibly produce ruby tar resources.
Fixes
- Fix race condition when stashing files in multiple parallel invocations
Features
Fixes
- Give command length a little more room when running batch files on windows so underlying commands can expand further.
- Fix permissions of root folder in ruby archives.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.