Upgrade to Drupal 11 prevented by dependency version requirement

Created on 16 September 2025, 16 days ago

Problem/Motivation

I tried to Upgrade my Drupal 10 Commerce site to Drupal 11, but composer is preventing this because Commerce Agree Terms requires Commerce ^3.0 in its composer.json, but the correct version for Commerce that works with Drupal 11 is 3.2

Steps to reproduce

composer require drupal/commerce:^3.2 -W

Proposed resolution

change the composer.json to accept version 3.2 of Commerce as dependency. I don't know if there are possible side effects in simply ditching the requirement to ^3, or it would be cleaner to add a separate version requirement like this:

"require": {
        "drupal/commerce": "~2.8 || ^3.0 || ^3.2"
    },
🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany heliogabal Berlin

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.

No activities found.

Production build 0.71.5 2024