pre-commit-hooks breaking changes
pre-commit-hooks 6.0.0 (August 9, 2025) is its newest release with breaking changes, 4 of them. The first: pre-commit-hooks 6.0.0 requires Python 3.9 or later. Every breaking API change we have recorded in pre-commit-hooks on PyPI: 8 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.0.0, released August 9, 2025. Source repository
Its 6.0.0 release requires Python 3.9 or later. Python end of life dates.
pre-commit-hooks 6.0.0 breaking changes
- Removed
The package now requires Python 3.9 or later, so older Python versions can no longer run it. github.com - Removed
check-byte-order-marker
The hook is gone; migrate to fix-byte-order-marker. github.com - Removed
fix-encoding-pragma
The hook is gone; migrate to pyupgrade. github.com - Behavior changed
file-contents-sorter
The hook now fails if both --unique and --ignore-case are given, so remove one of the two options. github.com
pre-commit-hooks 5.0.0 breaking changes
- Behavior changed
destroyed-symlinks
destroyed-symlinks now sets its stages to pre-commit, pre-push and manual, so it runs in those stages. github.com - Behavior changed
requirements-txt-fixer
requirements-txt-fixer also removes pkg_resources==... lines, which changes its output for existing requirements files. github.com - Signature changed
pre_commit_hooks.check_executables_have_shebangs.git_ls_files
Was def git_ls_files(paths: Sequence[str]) -> Generator[GitLsFile, None, None]; now def git_ls_files(paths: Sequence[str]) -> Generator[GitLsFile]. pypi.org - Signature changed
pre_commit_hooks.check_shebang_scripts_are_executable.git_ls_files
Was def git_ls_files(paths: Sequence[str]) -> Generator[GitLsFile, None, None]; now def git_ls_files(paths: Sequence[str]) -> Generator[GitLsFile]. pypi.org
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.