- 🇮🇳India harshit_ghediya
Re-rolling patch 📌 Automated Drupal 10 compatibility fixes Fixed
Added "core_version_requirement: ^9 || ^10" in info.yml files to make it Drupal 10 compatible.
Kindly review. - 🇮🇳India kkalaskar Pune
@harshit_ghediya
Specifying the core_version_requirement
The core_version_requirement key in *.info.yml files for modules, themes, and profiles now supports semantic versioning as implemented by the Composer project. This allows modules, themes, and profiles to also specify that they are compatible with multiple major versions of Drupal core.For example, a module that is compatible with Drupal 9 and Drupal 10 can have a info.yml file like this
name: My Module
type: module
core_version_requirement: ^9 || ^10
For example a module that is compatible with Drupal 8 and Drupal 9 can have a info.yml file like thisname: My Module
type: module
core: 8.x
core_version_requirement: ^8 || ^9
This specifies that the module is compatible with all versions of Drupal 8 and 9. The core: is required here because Drupal Core versions before 8.7.7 do not recognize the core_version_requirement: key.https://www.drupal.org/docs/develop/creating-modules/let-drupal-know-abo... →
- 🇮🇳India harshit_ghediya
Re-rolling patch #5 📌 Automated Drupal 10 compatibility fixes Fixed
Removing "Core: 8.x" and Updating "core_version_requirement".
Kindly review. - First commit to issue fork.
- @rjjakes opened merge request.
- Status changed to Fixed
over 1 year ago 2:51pm 21 February 2023 When will we have a new release for this module that is compatible with Drupal 10?
There is a small issue for the release version 2.x-dev
Drupal\Core\Extension\InfoParserException: The 'core_version_requirement' constraint (^9.3 || ^10) requires the 'core' key not be set in modules/contrib/bricks/modules/bricks_paragraphs/bricks_paragraphs.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 88 of core\lib\Drupal\Core\Extension\InfoParserDynamic.php).
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
over 1 year ago 9:33pm 10 March 2023