Drupal 10 readiness

Created on 5 November 2022, about 2 years ago
Updated 14 May 2023, over 1 year ago

Problem/Motivation

The automated Drupal 10 compatibility patch from the bot seemed too loose.
We need to rework some things here to get a 2.1.0 release for Drupal 10 (and still supporting Drupal 9) and think of the future (3.0.0 release #3102317: [META] Roadmap β†’ ).

As core will switch to CKEditor5, and we heavily depend on entity_embed, you cannot update to Drupal 10 version before they're ready too.
We will further support CKEditor 4, as we do not have a direct dependency to it, beside the SVG icon (which is already supported in CKEditor 4)
There is not much missing, see: ✨ Drupal 10 & CKEditor 5 readiness Fixed

Remaining tasks

And hey - it's running

You can setup your Drupal 10 composer.json to use the two modules repos like this:

"repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8",
            "exclude": [
                "drupal/media_directories",
                "drupal/entity_embed"
            ]
        },
        {
            "type": "git",
            "url": "git@git.drupal.org:issue/media_directories-3319214.git"
        },
        {
            "type": "git",
            "url": "git@git.drupal.org:issue/entity_embed-3272732.git"
        }
    ],

and with Drupal 10 beta2 you'll need these patches:

        "patches": {
            "drupal/core": {
                "#3313473 CKE5 derivable": "https://www.drupal.org/files/issues/2022-10-31/3313473-43.patch"
            },
            "drupal/entity_embed": {
              "#3287235-28: D10": "https://www.drupal.org/files/issues/2022-10-25/3287235-28.patch"
            },
            "drupal/embed": {
                "#3309747 CKE5": "https://git.drupalcode.org/project/embed/-/merge_requests/2.diff"
            }
        },

and then the composer require commands look like this:

composer require drupal/entity_embed:dev-3272732-drupal-10-
composer require drupal/media_directories:dev-3319214-drupal-10

πŸ“Œ Task
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland ytsurk Switzerland

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024