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.
Problem/Motivation
The code needs to be updated to be compatible with Drupal 10.
Currently module.info files need to be updated to support the latest versions of drupal. Compatibility with Drupal 10 will require dropping support for Drupal 8.
Proposed resolution
* Update the info files to support `core_version_requirement: ^9 || ^10`
Comment | File | Size | Author |
---|---|---|---|
#5 | govuk_notify-d10-compatability-3350663-3.patch | 1.08 KB | arcaic |
#2 | 3350663-drupal_10_compatibility.patch | 967 bytes | kalpaitch |
Issue fork govuk_notify-3350663
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3350663-drupal-10-compatibility changes, plain diff MR !1
Comments
Comment #2
kalpaitch CreditAttribution: kalpaitch as a volunteer and commentedComment #3
kalpaitch CreditAttribution: kalpaitch as a volunteer and commentedComment #5
arcaicI couldn't get the patch in #2 to apply. It would patch the view module info yml ok but fail on the main modules info.yml.
I tried to recreate it and my patch was exactly the same as kalpaitchs. V weird.
I've created my own version that closes the bracket on the modules description and adds a package entry in the YML. This applies ok for me.
I suggest that if anyone has trouble with one or the other then try the other.
Comment #7
Eli-TI've committed the updated version constraints to the 8.x-2.x branch but composer still won't load the dev release alongside a clean install of Drupal 10.
I'll take a look tomorrow.
Comment #9
Eli-TI've reverted the commit that allows Drupal 10 in the version constraints.
govuk_notify currently has a composer requirement for php-http/guzzle6-adapter, but drupal/core-recommended for Drupal 10 requires Guzzle 7.
So we will need separate releases for govuk_notify to support 9 using guzzle6-adapter and 10 using guzzle7-adapter.
Comment #10
Eli-TComment #12
Eli-TWe now have 3.0.0 to support Drupal 10.