lefthook breaking changes
lefthook 2.1.12 (August 28, 2026) is its newest release with breaking changes. The first: Hook now fails when staging files fixed by the hook errors in lefthook 2.1.12. Every breaking API change we have recorded in lefthook on npm: 19 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.3.1, released December 4, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 1.0.0 to 2.1.12: 8 breaking changes in 2 versions.
- From 0.2.0 to 2.1.12: 18 breaking changes in 10 versions.
lefthook 2.1.12 breaking changes
- Behavior changed
If staging the files a hook fixed errors, the hook now fails instead of passing. Check hooks that previously succeeded silently on staging errors. github.com
lefthook 2.0.0 breaking changes
- Removed
Several previously deprecated command-line options have been removed; scripts using them must stop passing them. github.com - Removed
exclude
The exclude option no longer accepts regular expressions, so configurations relying on regexp patterns must be rewritten. github.com - Removed
skip_output
The deprecated skip_output option has been removed, so configurations that set it no longer have any effect or are rejected. github.com - Renamed
--jobs
Use --job instead of --jobs in command-line invocations. github.com - Renamed
--tags
Use --tag instead of --tags in command-line invocations. github.com - Behavior changed
On Windows, commands are now executed with sh instead of the previous executor, so commands that depended on the old behavior may act differently. github.com - Behavior changed
The command-line interface was rebuilt on another framework, which changes CLI behavior and help output that existing scripts may depend on. github.com
lefthook 1.0.0 breaking changes
- Removed
aggressive
The deprecated aggressive option is no longer on install and now belongs to the uninstall command. github.com - Behavior changed
The code was rewritten and behavior might have changed from v0.8.0; report any problems. github.com
lefthook 0.8.0 breaking changes
- Removed
Release builds for 32-bit architectures were stopped. github.com - Behavior changed
Filename globs now match case-insensitively, which can change which files are selected. github.com
lefthook 0.6.6 breaking changes
- Behavior changed
Commands are now executed with eval instead of exec and the shell has TTY enabled. github.com
lefthook 0.6.3 breaking changes
- Removed
prepare-commit-msg
The prepare-commit-msg hook is removed from execution. github.com
Older versions
5 older versions.
Show 5 older versions
lefthook 0.4.0 breaking changes
- Behavior changed
Scripts now need an explicit config entry to run. github.com
lefthook 0.3.3 breaking changes
- Behavior changed
Colorized output depends on whether a TTY is attached. github.com
lefthook 0.3.1 breaking changes
- Behavior changed
The command line no longer checks for git before running. github.com
lefthook 0.3.0 breaking changes
- Renamed
hookah
The package and its commands were renamed from hookah to lefthook. Update names used in code and scripts. github.com
lefthook 0.2.0 breaking changes
- Default changed
Source directories are now used by default. Check your config if you relied on the previous default. github.com
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.