Features - Allow `pre-commit`, `pre-push`, and `pre-merge-commit` as `stages`. - 2732 issue by asottile. - 2808 PR by asottile. - Add `pre-rebase` hook support. - 2582 issue by BrutalSimplicity. - 2725 PR by mgaligniana.
Fixes - Remove bulky cargo cache from `language: rust` installs. - 2820 PR by asottile.
3.1.1
==================
Fixes - Fix `rust` with `language_version` and a non-writable host `RUSTUP_HOME`. - pre-commit-ci/issues173 by Swiftb0y. - 2788 by asottile.
3.1.0
==================
Fixes - Fix `dotnet` for `.sln`-based hooks for dotnet>=7.0.200. - 2763 PR by m-rsha. - Prevent stashing when `diff` fails to execute. - 2774 PR by asottile. - 2773 issue by strubbly. - Dependencies are no longer sorted in repository key. - 2776 PR by asottile.
Updating - Deprecate `language: python_venv`. Use `language: python` instead. - 2746 PR by asottile. - 2734 issue by asottile.
3.0.4
==================
Fixes - Fix hook diff detection for files affected by `--textconv`. - 2743 PR by adamchainz. - 2743 issue by adamchainz.
3.0.3
==================
Fixes - Revert "Prevent local `Gemfile` from interfering with hook execution.". - 2739 issue by Roguelazer. - 2740 PR by asottile.
3.0.2
==================
Fixes - Prevent local `Gemfile` from interfering with hook execution. - 2727 PR by asottile. - Fix `language: r`, `repo: local` hooks - pre-commit-ci/issues107 by lorenzwalthert. - 2728 PR by asottile.