Problem/Motivation
We are using the prlp module on several of our websites that we want to migrate to Drupal 11.
Proposed resolution
Implement a Drupal 11 compatible version of this module.
Remaining tasks
Publish and validate MR.
Create a new major 2.0.0 release (PrlpController constructor signature change).
Testing on Drupal 11
To test on Drupal 11, add the following lines to your composer.json repositories section:
"repositories": [
{
"type": "vcs",
"url": "https://git.drupalcode.org/issue/prlp-3477501.git"
},
and then run:
composer require drupal/prlp:dev-3477501-automated-drupal-11
Comments
Comment #3
mably commentedComment #4
mably commentedComment #5
mably commentedComment #6
mably commentedAll green 🎉
Comment #8
ccrawford91 commentedComment #9
elc commentedHaving looked at the code code changes for this issue and the 2.0.x branch, it is still quite compatible with Drupal 10.3. I can see it discussed in passing in this issue, but there does not seem to be a reason for dropping the older versions, not even D10 which is still actively supported core.
Could 10.3 be added to the supported cores on the 2.0.x branch? ie
core_version_requirement: ^10.3 || ^11This would allow for an easier upgrade between Drupal 10 and 11, as all of the modules can be updated to be compatible with D11 core, before the final push to switching over the core. At present, it has to be updated at the same time as core, tying the two together.
Also, the drupal/core requirement should be removed from the composer.json file. This is automatically generated from the contents of the info.yml core_version_requirement, making it a double up and possible future conflict if one of them is accidentally not updated.
Comment #10
ccrawford91 commented@elc I believe you are correct.
Are you able to create a patch / PR which includes those changes?
Comment #12
elc commentedUpdating target version. Tests pass for all target cores. Setting to NR as this MR amends the D11 fixes.
Comment #14
elc commentedFixed in 2.0.1 release.