Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for symfony/psr-http-message-bridge: ^6.4 #750

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

cleptric
Copy link
Member

@cleptric cleptric commented Jul 31, 2023

Hopefully fixes #749 once Symfony 6.4 was tagged.

@javiereguiluz
Copy link

I can confirm that this change works. I updated a Symfony app to 6.4 and used my own fork of sentry/sentry-symfony that contained this exact change. Thanks.

@fabpot
Copy link
Contributor

fabpot commented Oct 26, 2023

Just tested as well and it works for me.

composer.json Show resolved Hide resolved
@cleptric cleptric mentioned this pull request Oct 30, 2023
nicolas-grekas added a commit to symfony/flex that referenced this pull request Oct 30, 2023
… for versions before 6.4 (nicolas-grekas)

This PR was merged into the 1.x branch.

Discussion
----------

Decouple psr-http-message-bridge from extra.symfony.require for versions before 6.4

Should fix issues like getsentry/sentry-symfony#750 and symfony/recipes#1236

Before 6.4, the bridge was not in `symfony/symfony` so that `extra.symfony.require` shouldn't apply to earlier versions.

We *could* improve the API and flex to handle this concern at a more generic level, but this is so rare that I suggest hard-coding the rule in flex.

Commits
-------

42276be Decouple psr-http-message-bridge from extra.symfony.require for versions before 6.4
@nicolas-grekas
Copy link

The root issue should be fixed by symfony/flex#1003, but this change is still welcome (I'd suggest merging + releasing without waiting for 6.4-stable, that might make things a big smoother for end users.)

@cleptric cleptric marked this pull request as ready for review October 30, 2023 19:22
@cleptric cleptric self-assigned this Oct 30, 2023
@cleptric cleptric merged commit f2b8342 into master Oct 30, 2023
30 checks passed
@cleptric cleptric deleted the psr-http-message-bridge branch October 30, 2023 19:26
@cleptric
Copy link
Member Author

Released in 4.12.0

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

Successfully merging this pull request may close these issues.

Your requirements could not be resolved to an installable set of packages.
6 participants