Make it compatible with media_library_media_modify 2.0.0

Created on 8 October 2024, about 1 month ago

Problem/Motivation

The media_contextual_crop_field_formatter now has a Drupal 11 compatible (beta) version: 2.0.0-beta1
Please update the requirements of this module so that it is compatible with that version, in order to prevent composer problems like:

Problem 1
    - drupal/media_contextual_crop_field_formatter 2.0.0 requires drupal/media_library_media_modify ^1.0@beta -> found drupal/media_library_media_modify[1.0.0-beta1, ..., 1.0.0] but it conflicts with your root composer.json require (^2.0@beta).

Steps to reproduce

- Try to install both media_contextual_crop_field_formatter 2.0.0-beta1 and this module via composer
- Notice that you can't

Proposed resolution

Edit the requirements in composer.json.
Change:
"drupal/media_library_media_modify": "^1.0.0@beta",
into:
"drupal/media_library_media_modify": "^1.0.0@beta|^2.0.0@beta",
or:
"drupal/media_library_media_modify": "^1.0.0@beta|^2",

Remaining tasks

patch/mr, test, release ?

User interface changes

none

API changes

none

Data model changes

none

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium flyke

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

Comments & Activities

Production build 0.71.5 2024