Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Add core_version_requirement: ^8 || ^9 to imageapi_optimize.info.yml to designate that the module is compatible with Drupal 9. See https://www.drupal.org/node/3070687.
Comment | File | Size | Author |
---|---|---|---|
#13 | interdiff-3117904-drupal-9-10-13.txt | 630 bytes | dpi |
#13 | 3117904-drupal-9-13.patch | 5.24 KB | dpi |
Comments
Comment #2
mo_farhaz CreditAttribution: mo_farhaz at Specbee commentedComment #3
mo_farhaz CreditAttribution: mo_farhaz at Specbee commentedUpdated core requirement version compatibility. please review it.
Comment #4
mo_farhaz CreditAttribution: mo_farhaz at Specbee commentedComment #5
Steven Jones CreditAttribution: Steven Jones at ComputerMinds commentedThanks for the issue and the patch, but from my understanding because we're using the deprecated interface we're explicity not Drupal 9 compatible and Drupal 8 compatible? We'd need a Drupal 9 branch that removes the deprecated interface use.
Comment #6
mo_farhaz CreditAttribution: mo_farhaz at Specbee commentedremoved deprecated interface ConfigurablePluginInterface and implemented ConfigurableInterface and DependentPluginInterface.
please review it.
Comment #7
Steven Brown CreditAttribution: Steven Brown as a volunteer commentedRan drupal-check against
bb665be
. Here is an error not listed in the patch above.Comment #8
mo_farhaz CreditAttribution: mo_farhaz at Specbee commenteddeprecated function file_default_scheme() replaced with \Drupal::config('system.file')->get('default_scheme').
review the patch
Comment #9
volegerLooks good for me. All Drupal deprecations covered and key added in info file.
Comment #10
Daniel KorteThe service "entity.manager" is deprecated too. See #2894261: Deprecated service entity.manager needs to be replaced with entity_type.manager in ContentEntityForm
Comment #11
Steven Jones CreditAttribution: Steven Jones at ComputerMinds commentedThese lines represent an API break, so we'll hold off on that and do a quick version 3 that's Drupal 8/9 compatible I reckon.
Comment #12
NickDickinsonWildeWorks for me
One slight change is needed - depending on whether the new release version is set to support Drupal 8.8.2 or above only, the test module needs the core version removed, or if supporting below Drupal 8.8.2, a specific core_version_requirements line added.
Comment #13
dpiPatched in 12 into 10. The decision was already made as a part of that patch.
Comment #14
Steven Jones CreditAttribution: Steven Jones at ComputerMinds commentedComment #16
Steven Jones CreditAttribution: Steven Jones at ComputerMinds commentedCommitted to 8.x-3.x.
Comment #17
dpi@Steven Jones reckon we can switch to semver if its going to be a new major version?
(it will need to be a 4.x now, since 8.x-3.x was created..)
Comment #18
Steven Jones CreditAttribution: Steven Jones at ComputerMinds commentedYeah, sorry about that!
Making the switch now.