Closed (fixed)
Project:
Documentation
Component:
Correction/Clarification
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2025 at 12:35 UTC
Updated:
28 Nov 2025 at 09:34 UTC
Jump to comment: Most recent
https://www.drupal.org/docs/develop/using-composer/manage-dependencies#p...
The text states that 2.x (master) of cweagans/composer-patches is a dev branch. However, this is now the latest release.
Update the documentation and commands to reflect the 2.0 release
Comments
Comment #2
avpadernoComment #3
avpadernoThe full note about the master branch is no longer necessary because https://github.com/cweagans/composer-patches/issues/357 has been fixed, which means that the master branch can be used to patch Drupal core.
I also updated the shown command to
composer require cweagans/composer-patches:~2.0 --update-with-dependencies, as there is a 2.0.0 release.