cweagans/composer-patches breaking changes
cweagans/composer-patches 2.0.0 (October 31, 2025) is its newest release with breaking changes, 8 of them. The first: Patch report generation was removed in cweagans/composer-patches 2.0.0. Every breaking API change we have recorded in cweagans/composer-patches on Packagist: 14 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
On this page
Latest version 2.0.0, released October 31, 2025. BSD-3-Clause license. Source repository
Its 2.0.0 release requires PHP 8 or later. PHP end of life dates.
- From 2.0.0-beta1 to 2.0.0: 9 breaking changes in 2 versions.
cweagans/composer-patches 2.0.0 breaking changes
- Removed
The patch report feature is no longer available. Stop relying on generated patch reports. github.com - Removed
cweagans\Composer\Patches
cweagans\Composer\Patches was removed in cweagans/composer-patches 2.0.0 packagist.org - Removed
cweagans\Composer\PatchEvent
cweagans\Composer\PatchEvent was removed in cweagans/composer-patches 2.0.0 packagist.org - Removed
cweagans\Composer\PatchEvents
cweagans\Composer\PatchEvents was removed in cweagans/composer-patches 2.0.0 packagist.org - Renamed
The patches lock file now uses the .json extension. Rename existing patches.lock files to patches.lock.json. github.com - Behavior changed
Events are emitted with composer and io, and the event is emitted before the exception is thrown when a patch does not apply. Code relying on the old event timing may need adjusting. github.com - Behavior changed
The package requires PHP 8 for this release. Projects on PHP 7 must stay on the 1.x line. github.com - Configuration changed
The exit-on-failure option now comes from the composer extra section. Move any setting that was under localPackage into extra. github.com
cweagans/composer-patches 2.0.0-beta2 breaking changes
- Behavior changed
Dependency patch resolution was added back in this beta, changing how patches from dependencies are applied. github.com
cweagans/composer-patches 2.0.0-beta1 breaking changes
- Removed
Patch report generation was removed and dependency patch resolution was removed, so code relying on them will no longer work and must be adapted to the new documentation. github.com - Behavior changed
Patch resolution was split out into Composer Capabilities and debugging info is only shown with the verbose option, so existing setups may behave differently. github.com - Behavior changed
The package now requires PHP 8, so users on older PHP versions cannot use this release. github.com - Behavior changed
The release notes warn that the 2.0.0 release will work a little differently than 1.x, so users should read the new documentation before upgrading. github.com - Behavior changed
The lock file was renamed, so tooling and version control references to patches.lock must be updated. 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.