Skip to content

Conversation

bendavies
Copy link
Contributor

@bendavies bendavies commented Sep 11, 2023

Q A
Branch? 3.1
Tickets
License MIT
Doc PR

I'm targeting 3.1 branch here as I'm classing (hope you will too!) as a bug fix.

This PR allows api-platform to be installed alongside psr/container:v1
At the moment, only psr/container:v2 is supported due to the conflict on symfony/service-contracts added here.
This change was unnessearily restrictive, was probably the wrong fix at the time, and currently and CI passes with this change reverted anyway.

My motivation for this change is that api platform 3.1 is not installable alongside the current version of laminas/laminas-servicemanager (and thus any other laminas packages which depend on service-manager), and due to the popularity of laminas packages, this isn't good.

I also needed to bump the minimum supported version of behat to at least 3.11 for this fix.

The Behat minimum version was set to 3.1 which was released in 2016.
We could futher bump from ^3.11 to the latest here?

@bendavies bendavies changed the base branch from main to 3.1 September 11, 2023 15:29
@bendavies bendavies force-pushed the relax-symfony-service-contracts-constraint branch from 0198509 to 66d3af7 Compare September 11, 2023 15:34
@bendavies bendavies marked this pull request as ready for review September 11, 2023 16:10
@bendavies bendavies changed the title chore: remove conflict with of symfony/service-contracts:<3 chore: allow psr/container v1 Sep 11, 2023
@bendavies bendavies force-pushed the relax-symfony-service-contracts-constraint branch from 50c4a36 to ec4f380 Compare September 11, 2023 16:14
@soyuka soyuka merged commit 074c1f2 into api-platform:3.1 Sep 12, 2023
@soyuka
Copy link
Member

soyuka commented Sep 12, 2023

Thanks @bendavies !

@bendavies
Copy link
Contributor Author

thankyou @soyuka !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants