pre-commit/pre-commit
### [`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).
### [`v2.21.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#2210---2022-12-25)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.20.0...v2.21.0)
\===================
##### Features
- Require new-enough virtualenv to prevent 3.10 breakage
- [#2467](https://togithub.com/pre-commit/pre-commit/issues/2467) PR by [@asottile](https://togithub.com/asottile).
- Respect aliases with `SKIP` for environment install.
- [#2480](https://togithub.com/pre-commit/pre-commit/issues/2480) PR by [@kmARC](https://togithub.com/kmARC).
- [#2478](https://togithub.com/pre-commit/pre-commit/issues/2478) issue by [@kmARC](https://togithub.com/kmARC).
- Allow `pre-commit run --files` against unmerged paths.
- [#2484](https://togithub.com/pre-commit/pre-commit/issues/2484) PR by [@asottile](https://togithub.com/asottile).
- Also apply regex warnings to `repo: local` hooks.
- [#2524](https://togithub.com/pre-commit/pre-commit/issues/2524) PR by [@chrisRedwine](https://togithub.com/chrisRedwine).
- [#2521](https://togithub.com/pre-commit/pre-commit/issues/2521) issue by [@asottile](https://togithub.com/asottile).
- `rust` is now a "first class" language -- supporting `language_version` and
installation when not present.
- [#2534](https://togithub.com/pre-commit/pre-commit/issues/2534) PR by [@Holzhaus](https://togithub.com/Holzhaus).
- `r` now uses more-reliable binary installation.
- [#2460](https://togithub.com/pre-commit/pre-commit/issues/2460) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert).
- `GIT_ALLOW_PROTOCOL` is now passed through for git operations.
- [#2555](https://togithub.com/pre-commit/pre-commit/issues/2555) PR by [@asottile](https://togithub.com/asottile).
- `GIT_ASKPASS` is now passed through for git operations.
- [#2564](https://togithub.com/pre-commit/pre-commit/issues/2564) PR by [@mattp-](https://togithub.com/mattp-).
- Remove `toml` dependency by using `cargo add` directly.
- [#2568](https://togithub.com/pre-commit/pre-commit/issues/2568) PR by [@m-rsha](https://togithub.com/m-rsha).
- Support `dotnet` hooks which have dotted prefixes.
- [#2641](https://togithub.com/pre-commit/pre-commit/issues/2641) PR by [@rkm](https://togithub.com/rkm).
- [#2629](https://togithub.com/pre-commit/pre-commit/issues/2629) issue by [@rkm](https://togithub.com/rkm).
##### Fixes
- Properly adjust `--commit-msg-filename` if run from a sub directory.
- [#2459](https://togithub.com/pre-commit/pre-commit/issues/2459) PR by [@asottile](https://togithub.com/asottile).
- Simplify `--intent-to-add` detection by using `git diff`.
- [#2580](https://togithub.com/pre-commit/pre-commit/issues/2580) PR by [@m-rsha](https://togithub.com/m-rsha).
- Fix `R.exe` selection on windows.
- [#2605](https://togithub.com/pre-commit/pre-commit/issues/2605) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert).
- [#2599](https://togithub.com/pre-commit/pre-commit/issues/2599) issue by [@SInginc](https://togithub.com/SInginc).
- Skip default `nuget` source when installing `dotnet` packages.
- [#2642](https://togithub.com/pre-commit/pre-commit/issues/2642) PR by [@rkm](https://togithub.com/rkm).
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 becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
==2.20.0
->==3.0.4
Release Notes
pre-commit/pre-commit
### [`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). ### [`v2.21.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#2210---2022-12-25) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.20.0...v2.21.0) \=================== ##### Features - Require new-enough virtualenv to prevent 3.10 breakage - [#2467](https://togithub.com/pre-commit/pre-commit/issues/2467) PR by [@asottile](https://togithub.com/asottile). - Respect aliases with `SKIP` for environment install. - [#2480](https://togithub.com/pre-commit/pre-commit/issues/2480) PR by [@kmARC](https://togithub.com/kmARC). - [#2478](https://togithub.com/pre-commit/pre-commit/issues/2478) issue by [@kmARC](https://togithub.com/kmARC). - Allow `pre-commit run --files` against unmerged paths. - [#2484](https://togithub.com/pre-commit/pre-commit/issues/2484) PR by [@asottile](https://togithub.com/asottile). - Also apply regex warnings to `repo: local` hooks. - [#2524](https://togithub.com/pre-commit/pre-commit/issues/2524) PR by [@chrisRedwine](https://togithub.com/chrisRedwine). - [#2521](https://togithub.com/pre-commit/pre-commit/issues/2521) issue by [@asottile](https://togithub.com/asottile). - `rust` is now a "first class" language -- supporting `language_version` and installation when not present. - [#2534](https://togithub.com/pre-commit/pre-commit/issues/2534) PR by [@Holzhaus](https://togithub.com/Holzhaus). - `r` now uses more-reliable binary installation. - [#2460](https://togithub.com/pre-commit/pre-commit/issues/2460) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - `GIT_ALLOW_PROTOCOL` is now passed through for git operations. - [#2555](https://togithub.com/pre-commit/pre-commit/issues/2555) PR by [@asottile](https://togithub.com/asottile). - `GIT_ASKPASS` is now passed through for git operations. - [#2564](https://togithub.com/pre-commit/pre-commit/issues/2564) PR by [@mattp-](https://togithub.com/mattp-). - Remove `toml` dependency by using `cargo add` directly. - [#2568](https://togithub.com/pre-commit/pre-commit/issues/2568) PR by [@m-rsha](https://togithub.com/m-rsha). - Support `dotnet` hooks which have dotted prefixes. - [#2641](https://togithub.com/pre-commit/pre-commit/issues/2641) PR by [@rkm](https://togithub.com/rkm). - [#2629](https://togithub.com/pre-commit/pre-commit/issues/2629) issue by [@rkm](https://togithub.com/rkm). ##### Fixes - Properly adjust `--commit-msg-filename` if run from a sub directory. - [#2459](https://togithub.com/pre-commit/pre-commit/issues/2459) PR by [@asottile](https://togithub.com/asottile). - Simplify `--intent-to-add` detection by using `git diff`. - [#2580](https://togithub.com/pre-commit/pre-commit/issues/2580) PR by [@m-rsha](https://togithub.com/m-rsha). - Fix `R.exe` selection on windows. - [#2605](https://togithub.com/pre-commit/pre-commit/issues/2605) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - [#2599](https://togithub.com/pre-commit/pre-commit/issues/2599) issue by [@SInginc](https://togithub.com/SInginc). - Skip default `nuget` source when installing `dotnet` packages. - [#2642](https://togithub.com/pre-commit/pre-commit/issues/2642) PR by [@rkm](https://togithub.com/rkm).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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.