- Issue created by @project update bot
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request (MR) is also openend and updated.
It is important that any automated tests available are run and that you manually test the changes.
Drupal 11 Compatibility
According to the Upgrade Status module → these changes make this module compatible with Drupal 11! 🎉
Therefore these changes update theinfo.yml
file for Drupal 11 compatibility.Leaving this issue open, even after committing the current patch or merging the MR, will allow the Project Update Bot → to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug information
Bot run #11-185727These packages were used to generate the fixes:
- drupal/upgrade_status: 4.3.1
- mglaman/phpstan-drupal: 1.2.11
- palantirnet/drupal-rector: 0.20.1
- Status changed to Active
10 months ago 9:17am 17 June 2024 - 🇨🇦Canada mandclu
Expanded the changes to include all info.yml files, and to remove all use of default_argument_skip_url since support for this was officially removed in https://www.drupal.org/node/981870 →
Merged in, but moving this issue back to Active so it can receive additional patches, if needed.
- 🇨🇦Canada sjpeters79
Also noting that the following dependencies are not ready for Drupal 11:
- https://www.drupal.org/project/registration_role → (no drupal 11 version)
- https://www.drupal.org/project/honeypot → 2.1 (2.2 is Drupal 11 ready)
- 🇩🇪Germany vesnag
Hi,
Just for your information, I did a clean install of Core 11.0.5, when I ran
ddev composer require drupal/event_platform:1.0.x-dev@dev --with-all-dependencies
I encountered the following error:Your requirements could not be resolved to an installable set of packages. Problem 1: - Root composer.json requires drupal/event_platform 1.0.x-dev@dev -> satisfiable by drupal/event_platform[1.0.x-dev (alias of dev-1.0.x)]. - drupal/event_platform dev-1.0.x requires drupal/maxlength ^2.1 -> satisfiable by drupal/maxlength[2.1.0, 2.1.1, 2.1.2, 2.1.3]. - drupal/maxlength[2.1.0, ..., 2.1.2] require drupal/core ^9.2 || ^10, but these versions were not loaded, likely due to a conflict with another requirement. - drupal/maxlength 2.1.3 requires drupal/core ^9.5 || ^10, but these were also not loaded due to a similar conflict. - drupal/event_platform 1.0.x-dev is an alias of drupal/event_platform dev-1.0.x and needs it installed.
- First commit to issue fork.
- Merge request !10#3451068: Require maxlength 3.1.0 compatible with D11. → (Merged) created by jlbellido
- 🇪🇸Spain jlbellido
I confirm the issue mentioned by @vesnag at #7
I've created a new MR requering a maxlength ^3.1 which is compatible with D10 and solves the issue for me by using composer aliases.
However, I noticed we have another issue but with the registration_role module which doesn't have a public release compatible with D11. Still, it seems they it almost ready per 🐛 Drupal 11 - Update Code - Needs review and the oly thing pending is ti publish a new release. We need to wait I think.
Meanwhile we address both, these issues can be fixed on you projects by using composer aliases (https://getcomposer.org/doc/articles/aliases.md) like
"drupal/maxlength": "3.1.0 as 2.1.3", "drupal/registration_role": "2.x-dev as 2.0.1"
Thanks for this awesome project!
-
mandclu →
committed 1367d0ce on 1.0.x authored by
jlbellido →
Issue #3451068 by jlbellido, mandclu: Automated Drupal 11 compatibility...
-
mandclu →
committed 1367d0ce on 1.0.x authored by
jlbellido →
- 🇺🇸United States markie Albuquerque, NM
Note to self:
```
composer require "drupal/maxlength:3.1.0 as 2.1.3"
composer require "drupal/registration_role:2.x-dev as 2.0.1"
composer require 'drupal/event_platform:^1.0'
```