pre-commit/pre-commit (pre-commit)
### [`v3.8.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#380---2024-07-28)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.7.1...v3.8.0)
\==================
##### Features
- Implement health checks for `language: r` so environments are recreated if
the system version of R changes.
- [#3206](https://togithub.com/pre-commit/pre-commit/issues/3206) issue by [@lorenzwalthert](https://togithub.com/lorenzwalthert).
- [#3265](https://togithub.com/pre-commit/pre-commit/issues/3265) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert).
### [`v3.7.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#371---2024-05-10)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.7.0...v3.7.1)
\==================
##### Fixes
- Fix `language: rust` default language version check when `rust-toolchain.toml`
is present.
- issue by [@gaborbernat](https://togithub.com/gaborbernat).
- [#3201](https://togithub.com/pre-commit/pre-commit/issues/3201) PR by [@asottile](https://togithub.com/asottile).
### [`v3.7.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#370---2024-03-24)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.6.2...v3.7.0)
\==================
##### Features
- Use a tty for `docker` and `docker_image` hooks when `--color` is specified.
- [#3122](https://togithub.com/pre-commit/pre-commit/issues/3122) PR by [@glehmann](https://togithub.com/glehmann).
##### Fixes
- Fix `fail_fast` for individual hooks stopping when previous hooks had failed.
- [#3167](https://togithub.com/pre-commit/pre-commit/issues/3167) issue by [@tp832944](https://togithub.com/tp832944).
- [#3168](https://togithub.com/pre-commit/pre-commit/issues/3168) PR by [@asottile](https://togithub.com/asottile).
##### Updating
- The per-hook behaviour of `fail_fast` was fixed. If you want the pre-3.7.0
behaviour, add `fail_fast: true` to all hooks before the last `fail_fast`
hook.
### [`v3.6.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#362---2024-02-18)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.6.1...v3.6.2)
\==================
##### Fixes
- Fix building golang hooks during `git commit --all`.
- [#3130](https://togithub.com/pre-commit/pre-commit/issues/3130) PR by [@asottile](https://togithub.com/asottile).
- [#2722](https://togithub.com/pre-commit/pre-commit/issues/2722) issue by [@pestanko](https://togithub.com/pestanko) and [@matthewhughes934](https://togithub.com/matthewhughes934).
### [`v3.6.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#361---2024-02-10)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.6.0...v3.6.1)
\==================
##### Fixes
- Remove `PYTHONEXECUTABLE` from environment when running.
- [#3110](https://togithub.com/pre-commit/pre-commit/issues/3110) PR by [@untitaker](https://togithub.com/untitaker).
- Handle staged-files-only with only a crlf diff.
- [#3126](https://togithub.com/pre-commit/pre-commit/issues/3126) PR by [@asottile](https://togithub.com/asottile).
- issue by [@tyyrok](https://togithub.com/tyyrok).
### [`v3.6.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#360---2023-12-09)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.5.0...v3.6.0)
\==================
##### Features
- Check `minimum_pre_commit_version` first when parsing configs.
- [#3092](https://togithub.com/pre-commit/pre-commit/issues/3092) PR by [@asottile](https://togithub.com/asottile).
##### Fixes
- Fix deprecation warnings for `importlib.resources`.
- [#3043](https://togithub.com/pre-commit/pre-commit/issues/3043) PR by [@asottile](https://togithub.com/asottile).
- Fix deprecation warnings for rmtree.
- [#3079](https://togithub.com/pre-commit/pre-commit/issues/3079) PR by [@edgarrmondragon](https://togithub.com/edgarrmondragon).
##### Updating
- Drop support for python<3.9.
- [#3042](https://togithub.com/pre-commit/pre-commit/issues/3042) PR by [@asottile](https://togithub.com/asottile).
- [#3093](https://togithub.com/pre-commit/pre-commit/issues/3093) PR by [@asottile](https://togithub.com/asottile).
### [`v3.5.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#350---2023-10-13)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.4.0...v3.5.0)
\==================
##### Features
- Improve performance of `check-hooks-apply` and `check-useless-excludes`.
- [#2998](https://togithub.com/pre-commit/pre-commit/issues/2998) PR by [@mxr](https://togithub.com/mxr).
- [#2935](https://togithub.com/pre-commit/pre-commit/issues/2935) issue by [@mxr](https://togithub.com/mxr).
##### Fixes
- Use `time.monotonic()` for more accurate hook timing.
- [#3024](https://togithub.com/pre-commit/pre-commit/issues/3024) PR by [@adamchainz](https://togithub.com/adamchainz).
##### Migrating
- Require npm 6.x+ for `language: node` hooks.
- [#2996](https://togithub.com/pre-commit/pre-commit/issues/2996) PR by [@RoelAdriaans](https://togithub.com/RoelAdriaans).
- [#1983](https://togithub.com/pre-commit/pre-commit/issues/1983) issue by [@henryiii](https://togithub.com/henryiii).
### [`v3.4.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#340---2023-09-02)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.3...v3.4.0)
\==================
##### Features
- Add `language: haskell`.
- [#2932](https://togithub.com/pre-commit/pre-commit/issues/2932) by [@alunduil](https://togithub.com/alunduil).
- Improve cpu count detection when run under cgroups.
- [#2979](https://togithub.com/pre-commit/pre-commit/issues/2979) PR by [@jdb8](https://togithub.com/jdb8).
- [#2978](https://togithub.com/pre-commit/pre-commit/issues/2978) issue by [@jdb8](https://togithub.com/jdb8).
##### Fixes
- Handle negative exit codes from hooks receiving posix signals.
- [#2971](https://togithub.com/pre-commit/pre-commit/issues/2971) PR by [@chriskuehl](https://togithub.com/chriskuehl).
- [#2970](https://togithub.com/pre-commit/pre-commit/issues/2970) issue by [@chriskuehl](https://togithub.com/chriskuehl).
### [`v3.3.3`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#333---2023-06-13)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.2...v3.3.3)
\==================
##### Fixes
- Work around OS packagers setting `--install-dir` / `--bin-dir` in gem settings.
- [#2905](https://togithub.com/pre-commit/pre-commit/issues/2905) PR by [@jaysoffian](https://togithub.com/jaysoffian).
- [#2799](https://togithub.com/pre-commit/pre-commit/issues/2799) issue by [@lmilbaum](https://togithub.com/lmilbaum).
### [`v3.3.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#332---2023-05-17)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.1...v3.3.2)
\==================
##### Fixes
- Work around `r` on windows sometimes double-un-quoting arguments.
- [#2885](https://togithub.com/pre-commit/pre-commit/issues/2885) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert).
- [#2870](https://togithub.com/pre-commit/pre-commit/issues/2870) issue by [@lorenzwalthert](https://togithub.com/lorenzwalthert).
### [`v3.3.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#331---2023-05-02)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.0...v3.3.1)
\==================
##### Fixes
- Work around `git` partial clone bug for `autoupdate` on windows.
- [#2866](https://togithub.com/pre-commit/pre-commit/issues/2866) PR by [@asottile](https://togithub.com/asottile).
- [#2865](https://togithub.com/pre-commit/pre-commit/issues/2865) issue by [@adehad](https://togithub.com/adehad).
### [`v3.3.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#330---2023-05-01)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.2...v3.3.0)
\==================
##### Features
- Upgrade ruby-build.
- [#2846](https://togithub.com/pre-commit/pre-commit/issues/2846) PR by [@jalessio](https://togithub.com/jalessio).
- Use blobless clone for faster autoupdate.
- [#2859](https://togithub.com/pre-commit/pre-commit/issues/2859) PR by [@asottile](https://togithub.com/asottile).
- Add `-j` / `--jobs` argument to `autoupdate` for parallel execution.
- [#2863](https://togithub.com/pre-commit/pre-commit/issues/2863) PR by [@asottile](https://togithub.com/asottile).
- issue by [@gaborbernat](https://togithub.com/gaborbernat).
### [`v3.2.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#322---2023-04-03)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.1...v3.2.2)
\==================
##### Fixes
- Fix support for swift >= 5.8.
- [#2836](https://togithub.com/pre-commit/pre-commit/issues/2836) PR by [@edelabar](https://togithub.com/edelabar).
- [#2835](https://togithub.com/pre-commit/pre-commit/issues/2835) issue by [@kgrobelny-intive](https://togithub.com/kgrobelny-intive).
### [`v3.2.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#321---2023-03-25)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.0...v3.2.1)
\==================
##### Fixes
- Fix `language_version` for `language: rust` without global `rustup`.
- [#2823](https://togithub.com/pre-commit/pre-commit/issues/2823) issue by [@daschuer](https://togithub.com/daschuer).
- [#2827](https://togithub.com/pre-commit/pre-commit/issues/2827) PR by [@asottile](https://togithub.com/asottile).
### [`v3.2.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#320---2023-03-17)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.1.1...v3.2.0)
\==================
##### Features
- Allow `pre-commit`, `pre-push`, and `pre-merge-commit` as `stages`.
- [#2732](https://togithub.com/pre-commit/pre-commit/issues/2732) issue by [@asottile](https://togithub.com/asottile).
- [#2808](https://togithub.com/pre-commit/pre-commit/issues/2808) PR by [@asottile](https://togithub.com/asottile).
- Add `pre-rebase` hook support.
- [#2582](https://togithub.com/pre-commit/pre-commit/issues/2582) issue by [@BrutalSimplicity](https://togithub.com/BrutalSimplicity).
- [#2725](https://togithub.com/pre-commit/pre-commit/issues/2725) PR by [@mgaligniana](https://togithub.com/mgaligniana).
##### Fixes
- Remove bulky cargo cache from `language: rust` installs.
- [#2820](https://togithub.com/pre-commit/pre-commit/issues/2820) PR by [@asottile](https://togithub.com/asottile).
### [`v3.1.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#311---2023-02-27)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.1.0...v3.1.1)
\==================
##### Fixes
- Fix `rust` with `language_version` and a non-writable host `RUSTUP_HOME`.
- [pre-commit-ci/issues#173](https://togithub.com/pre-commit-ci/issues/issues/173) by [@Swiftb0y](https://togithub.com/Swiftb0y).
- [#2788](https://togithub.com/pre-commit/pre-commit/issues/2788) by [@asottile](https://togithub.com/asottile).
### [`v3.1.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#310---2023-02-22)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.4...v3.1.0)
\==================
##### Fixes
- Fix `dotnet` for `.sln`-based hooks for dotnet>=7.0.200.
- [#2763](https://togithub.com/pre-commit/pre-commit/issues/2763) PR by [@m-rsha](https://togithub.com/m-rsha).
- Prevent stashing when `diff` fails to execute.
- [#2774](https://togithub.com/pre-commit/pre-commit/issues/2774) PR by [@asottile](https://togithub.com/asottile).
- [#2773](https://togithub.com/pre-commit/pre-commit/issues/2773) issue by [@strubbly](https://togithub.com/strubbly).
- Dependencies are no longer sorted in repository key.
- [#2776](https://togithub.com/pre-commit/pre-commit/issues/2776) PR by [@asottile](https://togithub.com/asottile).
##### Updating
- Deprecate `language: python_venv`. Use `language: python` instead.
- [#2746](https://togithub.com/pre-commit/pre-commit/issues/2746) PR by [@asottile](https://togithub.com/asottile).
- [#2734](https://togithub.com/pre-commit/pre-commit/issues/2734) issue by [@asottile](https://togithub.com/asottile).
### [`v3.0.4`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#304---2023-02-03)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.3...v3.0.4)
\==================
##### Fixes
- Fix hook diff detection for files affected by `--textconv`.
- [#2743](https://togithub.com/pre-commit/pre-commit/issues/2743) PR by [@adamchainz](https://togithub.com/adamchainz).
- [#2743](https://togithub.com/pre-commit/pre-commit/issues/2743) issue by [@adamchainz](https://togithub.com/adamchainz).
### [`v3.0.3`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#303---2023-02-01)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.2...v3.0.3)
\==================
##### Fixes
- Revert "Prevent local `Gemfile` from interfering with hook execution.".
- [#2739](https://togithub.com/pre-commit/pre-commit/issues/2739) issue by [@Roguelazer](https://togithub.com/Roguelazer).
- [#2740](https://togithub.com/pre-commit/pre-commit/issues/2740) PR by [@asottile](https://togithub.com/asottile).
### [`v3.0.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#302---2023-01-29)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.1...v3.0.2)
\==================
##### Fixes
- Prevent local `Gemfile` from interfering with hook execution.
- [#2727](https://togithub.com/pre-commit/pre-commit/issues/2727) PR by [@asottile](https://togithub.com/asottile).
- Fix `language: r`, `repo: local` hooks
- [pre-commit-ci/issues#107](https://togithub.com/pre-commit-ci/issues/issues/107) by [@lorenzwalthert](https://togithub.com/lorenzwalthert).
- [#2728](https://togithub.com/pre-commit/pre-commit/issues/2728) PR by [@asottile](https://togithub.com/asottile).
### [`v3.0.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#301---2023-01-26)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.0...v3.0.1)
\==================
##### Fixes
- Ensure coursier hooks are available offline after install.
- [#2723](https://togithub.com/pre-commit/pre-commit/issues/2723) PR by [@asottile](https://togithub.com/asottile).
### [`v3.0.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#300---2023-01-23)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.21.0...v3.0.0)
\==================
##### Features
- Make `language: golang` bootstrap `go` if not present.
- [#2651](https://togithub.com/pre-commit/pre-commit/issues/2651) PR by [@taoufik07](https://togithub.com/taoufik07).
- [#2649](https://togithub.com/pre-commit/pre-commit/issues/2649) issue by [@taoufik07](https://togithub.com/taoufik07).
- `language: coursier` now supports `additional_dependencies` and `repo: local`
- [#2702](https://togithub.com/pre-commit/pre-commit/issues/2702) PR by [@asottile](https://togithub.com/asottile).
- Upgrade `ruby-build` to `20221225`.
- [#2718](https://togithub.com/pre-commit/pre-commit/issues/2718) PR by [@jalessio](https://togithub.com/jalessio).
##### Fixes
- Improve error message for invalid yaml for `pre-commit autoupdate`.
- [#2686](https://togithub.com/pre-commit/pre-commit/issues/2686) PR by [@asottile](https://togithub.com/asottile).
- [#2685](https://togithub.com/pre-commit/pre-commit/issues/2685) issue by [@CarstenGrohmann](https://togithub.com/CarstenGrohmann).
- `repo: local` no longer provisions an empty `git` repo.
- [#2699](https://togithub.com/pre-commit/pre-commit/issues/2699) PR by [@asottile](https://togithub.com/asottile).
##### Updating
- Drop support for python<3.8
- [#2655](https://togithub.com/pre-commit/pre-commit/issues/2655) PR by [@asottile](https://togithub.com/asottile).
- Drop support for top-level list, use `pre-commit migrate-config` to update.
- [#2656](https://togithub.com/pre-commit/pre-commit/issues/2656) PR by [@asottile](https://togithub.com/asottile).
- Drop support for `sha` to specify revision, use `pre-commit migrate-config`
to update.
- [#2657](https://togithub.com/pre-commit/pre-commit/issues/2657) PR by [@asottile](https://togithub.com/asottile).
- Remove `pre-commit-validate-config` and `pre-commit-validate-manifest`, use
`pre-commit validate-config` and `pre-commit validate-manifest` instead.
- [#2658](https://togithub.com/pre-commit/pre-commit/issues/2658) PR by [@asottile](https://togithub.com/asottile).
- `language: golang` hooks must use `go.mod` to specify dependencies
- [#2672](https://togithub.com/pre-commit/pre-commit/issues/2672) PR by [@taoufik07](https://togithub.com/taoufik07).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^2.19.0
->^3.0.0
Release Notes
pre-commit/pre-commit (pre-commit)
### [`v3.8.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#380---2024-07-28) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.7.1...v3.8.0) \================== ##### Features - Implement health checks for `language: r` so environments are recreated if the system version of R changes. - [#3206](https://togithub.com/pre-commit/pre-commit/issues/3206) issue by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - [#3265](https://togithub.com/pre-commit/pre-commit/issues/3265) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). ### [`v3.7.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#371---2024-05-10) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.7.0...v3.7.1) \================== ##### Fixes - Fix `language: rust` default language version check when `rust-toolchain.toml` is present. - issue by [@gaborbernat](https://togithub.com/gaborbernat). - [#3201](https://togithub.com/pre-commit/pre-commit/issues/3201) PR by [@asottile](https://togithub.com/asottile). ### [`v3.7.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#370---2024-03-24) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.6.2...v3.7.0) \================== ##### Features - Use a tty for `docker` and `docker_image` hooks when `--color` is specified. - [#3122](https://togithub.com/pre-commit/pre-commit/issues/3122) PR by [@glehmann](https://togithub.com/glehmann). ##### Fixes - Fix `fail_fast` for individual hooks stopping when previous hooks had failed. - [#3167](https://togithub.com/pre-commit/pre-commit/issues/3167) issue by [@tp832944](https://togithub.com/tp832944). - [#3168](https://togithub.com/pre-commit/pre-commit/issues/3168) PR by [@asottile](https://togithub.com/asottile). ##### Updating - The per-hook behaviour of `fail_fast` was fixed. If you want the pre-3.7.0 behaviour, add `fail_fast: true` to all hooks before the last `fail_fast` hook. ### [`v3.6.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#362---2024-02-18) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.6.1...v3.6.2) \================== ##### Fixes - Fix building golang hooks during `git commit --all`. - [#3130](https://togithub.com/pre-commit/pre-commit/issues/3130) PR by [@asottile](https://togithub.com/asottile). - [#2722](https://togithub.com/pre-commit/pre-commit/issues/2722) issue by [@pestanko](https://togithub.com/pestanko) and [@matthewhughes934](https://togithub.com/matthewhughes934). ### [`v3.6.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#361---2024-02-10) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.6.0...v3.6.1) \================== ##### Fixes - Remove `PYTHONEXECUTABLE` from environment when running. - [#3110](https://togithub.com/pre-commit/pre-commit/issues/3110) PR by [@untitaker](https://togithub.com/untitaker). - Handle staged-files-only with only a crlf diff. - [#3126](https://togithub.com/pre-commit/pre-commit/issues/3126) PR by [@asottile](https://togithub.com/asottile). - issue by [@tyyrok](https://togithub.com/tyyrok). ### [`v3.6.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#360---2023-12-09) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.5.0...v3.6.0) \================== ##### Features - Check `minimum_pre_commit_version` first when parsing configs. - [#3092](https://togithub.com/pre-commit/pre-commit/issues/3092) PR by [@asottile](https://togithub.com/asottile). ##### Fixes - Fix deprecation warnings for `importlib.resources`. - [#3043](https://togithub.com/pre-commit/pre-commit/issues/3043) PR by [@asottile](https://togithub.com/asottile). - Fix deprecation warnings for rmtree. - [#3079](https://togithub.com/pre-commit/pre-commit/issues/3079) PR by [@edgarrmondragon](https://togithub.com/edgarrmondragon). ##### Updating - Drop support for python<3.9. - [#3042](https://togithub.com/pre-commit/pre-commit/issues/3042) PR by [@asottile](https://togithub.com/asottile). - [#3093](https://togithub.com/pre-commit/pre-commit/issues/3093) PR by [@asottile](https://togithub.com/asottile). ### [`v3.5.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#350---2023-10-13) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.4.0...v3.5.0) \================== ##### Features - Improve performance of `check-hooks-apply` and `check-useless-excludes`. - [#2998](https://togithub.com/pre-commit/pre-commit/issues/2998) PR by [@mxr](https://togithub.com/mxr). - [#2935](https://togithub.com/pre-commit/pre-commit/issues/2935) issue by [@mxr](https://togithub.com/mxr). ##### Fixes - Use `time.monotonic()` for more accurate hook timing. - [#3024](https://togithub.com/pre-commit/pre-commit/issues/3024) PR by [@adamchainz](https://togithub.com/adamchainz). ##### Migrating - Require npm 6.x+ for `language: node` hooks. - [#2996](https://togithub.com/pre-commit/pre-commit/issues/2996) PR by [@RoelAdriaans](https://togithub.com/RoelAdriaans). - [#1983](https://togithub.com/pre-commit/pre-commit/issues/1983) issue by [@henryiii](https://togithub.com/henryiii). ### [`v3.4.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#340---2023-09-02) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.3...v3.4.0) \================== ##### Features - Add `language: haskell`. - [#2932](https://togithub.com/pre-commit/pre-commit/issues/2932) by [@alunduil](https://togithub.com/alunduil). - Improve cpu count detection when run under cgroups. - [#2979](https://togithub.com/pre-commit/pre-commit/issues/2979) PR by [@jdb8](https://togithub.com/jdb8). - [#2978](https://togithub.com/pre-commit/pre-commit/issues/2978) issue by [@jdb8](https://togithub.com/jdb8). ##### Fixes - Handle negative exit codes from hooks receiving posix signals. - [#2971](https://togithub.com/pre-commit/pre-commit/issues/2971) PR by [@chriskuehl](https://togithub.com/chriskuehl). - [#2970](https://togithub.com/pre-commit/pre-commit/issues/2970) issue by [@chriskuehl](https://togithub.com/chriskuehl). ### [`v3.3.3`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#333---2023-06-13) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.2...v3.3.3) \================== ##### Fixes - Work around OS packagers setting `--install-dir` / `--bin-dir` in gem settings. - [#2905](https://togithub.com/pre-commit/pre-commit/issues/2905) PR by [@jaysoffian](https://togithub.com/jaysoffian). - [#2799](https://togithub.com/pre-commit/pre-commit/issues/2799) issue by [@lmilbaum](https://togithub.com/lmilbaum). ### [`v3.3.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#332---2023-05-17) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.1...v3.3.2) \================== ##### Fixes - Work around `r` on windows sometimes double-un-quoting arguments. - [#2885](https://togithub.com/pre-commit/pre-commit/issues/2885) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - [#2870](https://togithub.com/pre-commit/pre-commit/issues/2870) issue by [@lorenzwalthert](https://togithub.com/lorenzwalthert). ### [`v3.3.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#331---2023-05-02) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.0...v3.3.1) \================== ##### Fixes - Work around `git` partial clone bug for `autoupdate` on windows. - [#2866](https://togithub.com/pre-commit/pre-commit/issues/2866) PR by [@asottile](https://togithub.com/asottile). - [#2865](https://togithub.com/pre-commit/pre-commit/issues/2865) issue by [@adehad](https://togithub.com/adehad). ### [`v3.3.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#330---2023-05-01) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.2...v3.3.0) \================== ##### Features - Upgrade ruby-build. - [#2846](https://togithub.com/pre-commit/pre-commit/issues/2846) PR by [@jalessio](https://togithub.com/jalessio). - Use blobless clone for faster autoupdate. - [#2859](https://togithub.com/pre-commit/pre-commit/issues/2859) PR by [@asottile](https://togithub.com/asottile). - Add `-j` / `--jobs` argument to `autoupdate` for parallel execution. - [#2863](https://togithub.com/pre-commit/pre-commit/issues/2863) PR by [@asottile](https://togithub.com/asottile). - issue by [@gaborbernat](https://togithub.com/gaborbernat). ### [`v3.2.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#322---2023-04-03) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.1...v3.2.2) \================== ##### Fixes - Fix support for swift >= 5.8. - [#2836](https://togithub.com/pre-commit/pre-commit/issues/2836) PR by [@edelabar](https://togithub.com/edelabar). - [#2835](https://togithub.com/pre-commit/pre-commit/issues/2835) issue by [@kgrobelny-intive](https://togithub.com/kgrobelny-intive). ### [`v3.2.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#321---2023-03-25) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.0...v3.2.1) \================== ##### Fixes - Fix `language_version` for `language: rust` without global `rustup`. - [#2823](https://togithub.com/pre-commit/pre-commit/issues/2823) issue by [@daschuer](https://togithub.com/daschuer). - [#2827](https://togithub.com/pre-commit/pre-commit/issues/2827) PR by [@asottile](https://togithub.com/asottile). ### [`v3.2.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#320---2023-03-17) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.1.1...v3.2.0) \================== ##### Features - Allow `pre-commit`, `pre-push`, and `pre-merge-commit` as `stages`. - [#2732](https://togithub.com/pre-commit/pre-commit/issues/2732) issue by [@asottile](https://togithub.com/asottile). - [#2808](https://togithub.com/pre-commit/pre-commit/issues/2808) PR by [@asottile](https://togithub.com/asottile). - Add `pre-rebase` hook support. - [#2582](https://togithub.com/pre-commit/pre-commit/issues/2582) issue by [@BrutalSimplicity](https://togithub.com/BrutalSimplicity). - [#2725](https://togithub.com/pre-commit/pre-commit/issues/2725) PR by [@mgaligniana](https://togithub.com/mgaligniana). ##### Fixes - Remove bulky cargo cache from `language: rust` installs. - [#2820](https://togithub.com/pre-commit/pre-commit/issues/2820) PR by [@asottile](https://togithub.com/asottile). ### [`v3.1.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#311---2023-02-27) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.1.0...v3.1.1) \================== ##### Fixes - Fix `rust` with `language_version` and a non-writable host `RUSTUP_HOME`. - [pre-commit-ci/issues#173](https://togithub.com/pre-commit-ci/issues/issues/173) by [@Swiftb0y](https://togithub.com/Swiftb0y). - [#2788](https://togithub.com/pre-commit/pre-commit/issues/2788) by [@asottile](https://togithub.com/asottile). ### [`v3.1.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#310---2023-02-22) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.4...v3.1.0) \================== ##### Fixes - Fix `dotnet` for `.sln`-based hooks for dotnet>=7.0.200. - [#2763](https://togithub.com/pre-commit/pre-commit/issues/2763) PR by [@m-rsha](https://togithub.com/m-rsha). - Prevent stashing when `diff` fails to execute. - [#2774](https://togithub.com/pre-commit/pre-commit/issues/2774) PR by [@asottile](https://togithub.com/asottile). - [#2773](https://togithub.com/pre-commit/pre-commit/issues/2773) issue by [@strubbly](https://togithub.com/strubbly). - Dependencies are no longer sorted in repository key. - [#2776](https://togithub.com/pre-commit/pre-commit/issues/2776) PR by [@asottile](https://togithub.com/asottile). ##### Updating - Deprecate `language: python_venv`. Use `language: python` instead. - [#2746](https://togithub.com/pre-commit/pre-commit/issues/2746) PR by [@asottile](https://togithub.com/asottile). - [#2734](https://togithub.com/pre-commit/pre-commit/issues/2734) issue by [@asottile](https://togithub.com/asottile). ### [`v3.0.4`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#304---2023-02-03) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.3...v3.0.4) \================== ##### Fixes - Fix hook diff detection for files affected by `--textconv`. - [#2743](https://togithub.com/pre-commit/pre-commit/issues/2743) PR by [@adamchainz](https://togithub.com/adamchainz). - [#2743](https://togithub.com/pre-commit/pre-commit/issues/2743) issue by [@adamchainz](https://togithub.com/adamchainz). ### [`v3.0.3`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#303---2023-02-01) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.2...v3.0.3) \================== ##### Fixes - Revert "Prevent local `Gemfile` from interfering with hook execution.". - [#2739](https://togithub.com/pre-commit/pre-commit/issues/2739) issue by [@Roguelazer](https://togithub.com/Roguelazer). - [#2740](https://togithub.com/pre-commit/pre-commit/issues/2740) PR by [@asottile](https://togithub.com/asottile). ### [`v3.0.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#302---2023-01-29) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.1...v3.0.2) \================== ##### Fixes - Prevent local `Gemfile` from interfering with hook execution. - [#2727](https://togithub.com/pre-commit/pre-commit/issues/2727) PR by [@asottile](https://togithub.com/asottile). - Fix `language: r`, `repo: local` hooks - [pre-commit-ci/issues#107](https://togithub.com/pre-commit-ci/issues/issues/107) by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - [#2728](https://togithub.com/pre-commit/pre-commit/issues/2728) PR by [@asottile](https://togithub.com/asottile). ### [`v3.0.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#301---2023-01-26) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.0...v3.0.1) \================== ##### Fixes - Ensure coursier hooks are available offline after install. - [#2723](https://togithub.com/pre-commit/pre-commit/issues/2723) PR by [@asottile](https://togithub.com/asottile). ### [`v3.0.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#300---2023-01-23) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.21.0...v3.0.0) \================== ##### Features - Make `language: golang` bootstrap `go` if not present. - [#2651](https://togithub.com/pre-commit/pre-commit/issues/2651) PR by [@taoufik07](https://togithub.com/taoufik07). - [#2649](https://togithub.com/pre-commit/pre-commit/issues/2649) issue by [@taoufik07](https://togithub.com/taoufik07). - `language: coursier` now supports `additional_dependencies` and `repo: local` - [#2702](https://togithub.com/pre-commit/pre-commit/issues/2702) PR by [@asottile](https://togithub.com/asottile). - Upgrade `ruby-build` to `20221225`. - [#2718](https://togithub.com/pre-commit/pre-commit/issues/2718) PR by [@jalessio](https://togithub.com/jalessio). ##### Fixes - Improve error message for invalid yaml for `pre-commit autoupdate`. - [#2686](https://togithub.com/pre-commit/pre-commit/issues/2686) PR by [@asottile](https://togithub.com/asottile). - [#2685](https://togithub.com/pre-commit/pre-commit/issues/2685) issue by [@CarstenGrohmann](https://togithub.com/CarstenGrohmann). - `repo: local` no longer provisions an empty `git` repo. - [#2699](https://togithub.com/pre-commit/pre-commit/issues/2699) PR by [@asottile](https://togithub.com/asottile). ##### Updating - Drop support for python<3.8 - [#2655](https://togithub.com/pre-commit/pre-commit/issues/2655) PR by [@asottile](https://togithub.com/asottile). - Drop support for top-level list, use `pre-commit migrate-config` to update. - [#2656](https://togithub.com/pre-commit/pre-commit/issues/2656) PR by [@asottile](https://togithub.com/asottile). - Drop support for `sha` to specify revision, use `pre-commit migrate-config` to update. - [#2657](https://togithub.com/pre-commit/pre-commit/issues/2657) PR by [@asottile](https://togithub.com/asottile). - Remove `pre-commit-validate-config` and `pre-commit-validate-manifest`, use `pre-commit validate-config` and `pre-commit validate-manifest` instead. - [#2658](https://togithub.com/pre-commit/pre-commit/issues/2658) PR by [@asottile](https://togithub.com/asottile). - `language: golang` hooks must use `go.mod` to specify dependencies - [#2672](https://togithub.com/pre-commit/pre-commit/issues/2672) PR by [@taoufik07](https://togithub.com/taoufik07).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.