Problem/Motivation
The composer.json of domain_access_search_api requires "drupal/domain": "^2.0.0". With the release of domain 3.0.x, this constraint prevents installation alongside the latest Domain module version.
The module itself contains no code that is incompatible with domain 3.x. Only the Composer constraint needs updating.
Steps to reproduce
- Have a Drupal project requiring
drupal/domain: ^3.0.
- Run
composer require drupal/domain_access_search_api:^1.0.
- Composer fails with a version conflict because
domain_access_search_api 1.0.6 requires drupal/domain: ^2.0.0.
Proposed resolution
Update the require section in composer.json to allow both Domain 2.x and 3.x:
{
"name": "drupal/domain_access_search_api",
"description": "Creates a Views filter to filter by domain.",
"type": "drupal-module",
"license": "GPL-2.0-or-later",
"require": {
"drupal/domain": "^2.0.0 || ^3.0.0",
"drupal/search_api": "^1.38"
}
}No source code changes are required.
Remaining tasks
- Create a MR containing the changes.
User interface changes
None.
API changes
None.
Data model changes
None.
Comments
Comment #3
steffenrComment #5
andileco commentedThanks for your contribution!
Comment #7
pfructuoso commentedplease, realease it!
Comment #8
andileco commentedWill do now. Sorry for the delay. I was hoping to have time to incorporate: https://www.drupal.org/project/domain_access_search_api/issues/3446056, but that didn't happen.