diff-lcs breaking changes
diff-lcs 2.0.0 (February 2, 2026) is its newest release with breaking changes, 6 of them. The first: diff-lcs 2.0.0 requires Ruby 3.2 or later. Every breaking API change we have recorded in diff-lcs on RubyGems: 6 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.1.0, released November 30, 2026. Source repository
Its 2.0.0 release requires Ruby 3.2 or later. Ruby end of life dates.
diff-lcs 2.0.0 breaking changes
- Removed
diff-lcs 2 supports Ruby 3.2 or higher, so users on older Ruby must stay on diff-lcs 1.x or upgrade Ruby. github.com - Removed
Diff.LCS.LCS
Use Diff::LCS.lcs instead of the removed Diff::LCS.LCS alias. github.com - Removed
htmldiff
The htmldiff binary and supporting code are gone with no replacement. github.com - Removed
ldiff
The ed and reverse_ed output formats were removed from ldiff. github.com - Behavior changed
Diff.LCS.Change
Comparisons now compare position first, then action, then element, so code relying on the old ordering must be checked. github.com - Behavior changed
VALID_ACTIONS
The index order of VALID_ACTIONS changed, so code that depends on action indexes may behave differently. github.com
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.