Make 8x.-10.x Drupal11 compatible

Created on 28 April 2025, 19 days ago

Problem/Motivation

I would like to have stable 8x.-10.2 version compatible to Drupal11.

Feature request
Status

Active

Version

10.2

Component

Code

Created by

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

Comments & Activities

  • Issue created by @DimaS11
  • @dimas11 opened merge request.
  • 🇮🇹Italy afagioli Rome

    Thank you for your valuable contribution!

    The 11.1.0 RC is due very soon, with the stable 11.1.0 release following approximately one month later. Our current focus is primarily on this milestone.

    If this timeline doesn’t align with your needs, you’re welcome to contribute as a co-maintainer for this branch in the interim—until the stable 11.x release is out.

    If you’re interested, please open an issue requesting to be added as a temporary co-maintainer.

    Let me know what works best for you!

  • I successfully ran forked versions of bat: 8.x-10.2 and bee: 8.x-3.1 on Drupal 11 for a client project. I’m not sure if it will be useful to others, but I’m sharing it here in case it helps.

    Here is my composer.json setup:
    Repositories section:

    "repositories": [
    {
                "type": "package",
                "package": {
                    "name": "drupal/bat",
                    "type": "drupal-module",
                    "version": "dev-3521522-make-8x.-10.x-drupal11",
                    "source": {
                        "type": "git",
                        "url": "https://git.drupalcode.org/issue/bat-3521522.git",
                        "reference": "0fba61f14f6db3e1cf010ea9d2c1c404acb68614"
                    }
                }
            },
           {
                "type": "package",
                "package": {
                    "name": "drupal/bee",
                    "type": "drupal-module",
                    "version": "dev-3520960-drupal-11-support",
                    "source": {
                        "type": "git",
                        "url": "https://git.drupalcode.org/issue/bee-3520960.git",
                        "reference": "293a069adc689927194fc5242c173e971ff10ba4"
                    }
                }
            },
    ]
    

    Require section:

    "require": {
            "drupal/bat": "dev-3521522-make-8x.-10.x-drupal11 as 11.1.0-beta2",
            "drupal/bat_api": "^3.1",
            "drupal/bee": "dev-3520960-drupal-11-support as 3.1.0"
    }
    

    I used a trick with aliases to resolve submodule compatibility issues. In the composer.lock file, they were generated automatically and look like this:

        "aliases": [
            {
                "package": "drupal/bat",
                "version": "dev-3521522-make-8x.-10.x-drupal11",
                "alias": "11.1.0-beta2",
                "alias_normalized": "11.1.0.0-beta2"
            },
            {
                "package": "drupal/bee",
                "version": "dev-3520960-drupal-11-support",
                "alias": "3.1.0",
                "alias_normalized": "3.1.0.0"
            }
        ],
Production build 0.71.5 2024