By mile23 on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.5.x
Introduced in version:
9.5.0-alpha1
Issue links:
Description:
The drupal/drupal dev repo now reconciles components' dependencies with those of drupal/core and drupal/drupal during a Composer update command.
This means that dependency constraints declared in the components will always follow the needs of Drupal core. If a component requires a third-party library which is also required by Drupal core, the component's constraint will be modified to match it.
This is similar to the process we use to generate drupal/core-recommended and other metapackages. See Drupal\Composer\Generator\ComponentGenerator for the code which does this.
This step is taken to ease maintainership of these components.