Closed (fixed)
Project:
Drupal core
Version:
10.0.x-dev
Component:
composer
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Dec 2021 at 14:25 UTC
Updated:
21 Mar 2022 at 10:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
longwaveComment #3
spokjeLooks like #2 got hit by the committing of #3252088: Increase Drupal::MINIMUM_PHP to 8.0.0. Rerolled.
Comment #5
spokjeComment #6
spokjeComment #7
spokjeComment #8
xjmClosed #3265124: Update composer/installers to ^2.0 as a duplicate of this issue.
Comment #9
xjmThis will need a reroll.
I'm not sure we should support both 1.9 and 2.0 given that we don't have min-max testing. Not sure though; maybe we could do that for 9.4. For Drupal 10, we might want to make 2.0 the minimum.
Comment #10
longwaveI don't think we need to support 1.9 any more. 2.0's breaking changes don't affect us - they are a bump to minimum PHP 7.3, which we are already on or exceeding, and the removal of some PHP frameworks that don't concern us.
We reference
composer/installers:^1.9in four relevant places:drupal/core-recommended, but there is explicit code to excludecomposer/installersfrom core-recommendedcomposer create-projecttime only; existing users will stay on their current versionTherefore I think this is safe to bump in composer.json and the two project templates directly to
^2.0.We also mention it indirectly in composer/Plugin/Scaffold/README.md and we should probably bump the version number there at the same time.
Comment #11
longwaveRerolled for
^2.0only, also updated scaffold readme.Comment #12
xjmAdding a release note.
Comment #13
xjmI read over the
composer/installerspackage information and 2.0.0 release notes and I agree with #10; this seems like a safe increase based on that info. (Also if there are any issues, we'll find out sooner rather than later by increasing the requirement before the next alpha.) Thanks!Comment #14
xjmComment #15
xjmAlso crossposted with myself apparently.
Comment #16
xjmComment #17
daffie commentedThe patch updates the package "composer/installers" to version 2.0.
Looks good to me.
Comment #19
xjmCommitted to 10.0.x. Thanks!
Comment #20
wim leersShouldn't we have a change record for this?
Comment #21
xjm@Wim Leers, no, we don't provide change records for dependency updates that don't result in public API changes. Just release notes.