---
title: "lefthook 2.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each lefthook release removed, renamed or changed: 11 breaking changes in 3 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/lefthook
last_updated: 2026-12-04
---

# lefthook breaking changes

lefthook 2.0.0 (October 20, 2025) is its newest release with breaking changes, 7 of them. The first: Some deprecated CLI options removed in lefthook 2.0.0. Every breaking API change we have recorded in lefthook on RubyGems: 11 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.3.1`, released December 4, 2026. [Source repository](https://github.com/evilmartians/lefthook)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 7 breaking changes in 1 version.
- From [0.8.0](#v-0-8-0) to [2.0.0](#v-2-0-0): 9 breaking changes in 2 versions.

## lefthook 2.0.0 breaking changes

lefthook 2.0.0, released October 20, 2025: 7 breaking changes.

- **Removed**  

Several previously deprecated command-line options were dropped. Stop passing them. [github.com](https://github.com/evilmartians/lefthook/commit/32a6a397682d0177c048c47488fa95ea725326da)
- **Removed**  

Exclude regexp support has been dropped. Update configurations that rely on it. [github.com](https://github.com/evilmartians/lefthook/commit/56264b2026033d70ec96903c5ce2dbdccaebce9d)
- **Removed** `skip_output`  

The deprecated skip_output option has been dropped. Remove it from your configuration. [github.com](https://github.com/evilmartians/lefthook/commit/21d607caebaff8b136f43810e4832d214df3e16a)
- **Renamed** `--jobs`  

The --jobs flag is now --job. Update scripts that pass --jobs. [github.com](https://github.com/evilmartians/lefthook/commit/32a6a397682d0177c048c47488fa95ea725326da)
- **Renamed** `--tags`  

The --tags flag is now --tag. Update scripts that pass --tags. [github.com](https://github.com/evilmartians/lefthook/commit/32a6a397682d0177c048c47488fa95ea725326da)
- **Behavior changed**  

On Windows, lefthook now uses sh as the command executor. Check commands that depend on the previous Windows shell behavior. [github.com](https://github.com/evilmartians/lefthook/releases/tag/v2.0.0)
- **Behavior changed**  

The command-line interface was rebuilt on another CLI framework, which changes its behavior. Review scripts that call the lefthook CLI. [github.com](https://github.com/evilmartians/lefthook/commit/32a6a397682d0177c048c47488fa95ea725326da)

## lefthook 1.0.0 breaking changes

lefthook 1.0.0, released June 20, 2022: 2 breaking changes.

- **Removed** `aggressive`  

The deprecated 'aggressive' option was moved to the uninstall command, so it no longer applies to the install path. [github.com](https://github.com/evilmartians/lefthook/releases/tag/v1.0.0)
- **Behavior changed**  

The rewrite may have changed behavior compared with v0.8.0. Users should check their setup and report any problems. [github.com](https://github.com/evilmartians/lefthook/releases/tag/v1.0.0)

## lefthook 0.8.0 breaking changes

lefthook 0.8.0, released June 7, 2022: 2 breaking changes.

- **Removed**  

Release binaries are no longer built for 32-bit systems, so users on 32-bit platforms must find another way to get lefthook. [github.com](https://github.com/evilmartians/lefthook/releases/tag/v0.8.0)
- **Behavior changed**  

File filename globs match regardless of letter case, so hooks may now run on files they previously skipped. [github.com](https://github.com/evilmartians/lefthook/releases/tag/v0.8.0)

## Related packages

- [lefthook-openbsd-x64](https://since.dev/packages/npm/lefthook-openbsd-x64.md):  on npm
- [lefthook-freebsd-arm64](https://since.dev/packages/npm/lefthook-freebsd-arm64.md):  on npm
- [lefthook-linux-arm64](https://since.dev/packages/npm/lefthook-linux-arm64.md):  on npm
- [lefthook](https://since.dev/packages/npm/lefthook.md):  on npm

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
