Drupal 11 compatibility for Features module

Created on 15 May 2024, about 1 month ago

Problem/Motivation

Drupal 11.0.0 will be released later this year. Let's make the Features module Drupal 11 compatible. I've performed a static code analysis of work involved for Drupal 11 compatibility. In addition, the GitLab CI should probably add NEXT MAJOR to start running tests against Drupal 11. Additionally, it was proposed to drop support for older versions of Drupal in πŸ“Œ Drop Drupal 9 support Active , so I've included that consideration, below.

Auditor checklist

  • [ ] Deprecated Drupal code is remediated
  • [ ] Deprecated PHP code is remediated
  • [ ] Custom code is compatible with jQuery 4
  • [ ] Custom code coreversionrequirement indicates Drupal 11 compatibility

References

Composer

  • [ ] This module has a composer.json file. Manually review it for Drupal 11 compatibility, such as external requirements, core version constraints, and PHP version constraints

PHPStan Audit of Drupal deprecations

 [OK] No errors                                                                                                         

Drupal-Rector Audit of Drupal deprecations

 [OK] Rector is done!                                                                                                   

Audit of deprecated PHP <8.3 calls

If no errors are listed below, php-compatibility did not find any.

............................................................ 60 / 69 (87%)
.........                                                    69 / 69 (100%)


Time: 817ms; Memory: 18MB

jQuery 4 compatibility: List of all custom JavaScript files

Any files listed below should be reviewed for jQuery 4 compatibility

web/modules/contrib/features/modules/features_ui/js/features_ui.admin.js

Diff for updating coreversionrequirement

diff --git a/features.info.yml b/features.info.yml
index f2ded86..ddef07f 100644
--- a/features.info.yml
+++ b/features.info.yml
@@ -2,7 +2,7 @@ name: 'Features'
 type: module
 description: 'Enables administrators to package configuration into modules.'
 package: Development
-core_version_requirement: ^9.4 || ^10
+core_version_requirement: ^10 || ^11
 dependencies:
   - drupal:config
   - config_update:config_update
diff --git a/modules/features_ui/features_ui.info.yml b/modules/features_ui/features_ui.info.yml
index c5b9406..95d5872 100644
--- a/modules/features_ui/features_ui.info.yml
+++ b/modules/features_ui/features_ui.info.yml
@@ -2,7 +2,7 @@ name: Features UI
 type: module
 description: 'Provides the user interface for Features.'
 package: Development
-core_version_requirement: ^9.4 || ^10
+core_version_requirement: ^10 || ^11
 configure: features.assignment
 dependencies:
   - features:features
πŸ“Œ Task
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mark_fullmer Tucson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024