Problem/Motivation

Drupal 12 is coming soon.

Steps to reproduce

Proposed resolution

Add support for Drupal 12. Dropping support for older versions is tracked separately in #3413233: Core requirements for 3.1.x: require D11.3+, PHP 8.3+.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon 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:

Comments

jdleonard created an issue. See original summary.

jdleonard’s picture

Assigned: jdleonard » Unassigned
Status: Active » Needs work

MR is a start.

I had to remove the dev dependency on entity_reference_revisions (which doesn't support D12) to get composer to build against Drupal 12. Of course, entity_reference_revisions is a requirement for some tests.

migrate_drupal is obsolete in D12 so related tests are now skipped against D12.

I think the best next step is to get entity_reference_revisions to support D12, but further analysis and test workarounds could also be sensible so leaving this as "needs work" rather than strictly "postponed".

AI assisted: Claude identified solutions to test failures, which I have reviewed and accepted.

dww’s picture

Status: Needs work » Postponed
Related issues: +#3413233: Core requirements for 3.1.x: require D11.3+, PHP 8.3+

Cool, thanks for getting this started!

Going to postpone this on the 3.0.0 stable release and opening the 3.0.x branch, so that this can happen in 3.x for 3.1.x. See #3413233-21: Update module compatibility statements for more.

dww’s picture

p.s. and once we do, we're going to drop a bunch of old versions, so 3.1.x will probably only need to support 11.4.x and D12. That should simplify a lot of things. 😅

dww’s picture

dww’s picture

Status: Postponed » Needs work

3.0.x branch now exists for stable things. We can proceed here in the 3.x branch. Thanks!

dww’s picture

Issue tags: +Needs rebase

We need to rebase this against latest 3.x before we go any further, especially now that #3413233: Core requirements for 3.1.x: require D11.3+, PHP 8.3+ is done.

dww’s picture

Issue tags: -Needs rebase

Okay, rebased the MR against 3.x branch. Fixed up the .gitlab-ci.yml file so we're able to test against D12 now. Failures of all sorts. 😅

We might want to focus on some of the obvious deprecation removals / fixes, first, then circle-back to this. See #3593827: 3.1.x / 4.0.x roadmap and children.

dww’s picture

The upgrade bot also started helping. 😂