You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMO, @experimental should mean "can break in the next minor release", not "can break in the next patch release".
What is Symfony's actual policy on that?
BC breaks are allowed in a minor, but not in a patch. I've opened an issue :) symfony/symfony#33450
Hi friends!
We're using the new testing Client/Response, etc in our SymfonyCasts tutorial and we've had really nice success. However, one part stopped working with symfony/http-client 4.3.4. The problematic change is this one: https://github.com/symfony/symfony/pull/32823/files#diff-1ab846e0995199d7db8d975a9225e818
Basically, this changes the format of the
$options['headers']
key inHttpClient::prepareRequest()
, which the Client class callsFor example, suppose this request:
Before 4.3.4,
$options
(if you dump right aftercore/src/Bridge/Symfony/Bundle/Test/Client.php
Line 90 in 6e9ccf7
With symfony/http-client 4.3.4, it now looks like:
This causes the
Client
class from the new testing tools to incorrectly read those headers in this block:core/src/Bridge/Symfony/Bundle/Test/Client.php
Lines 95 to 104 in 6e9ccf7
It's probably an easy fix - sorry I don't have time at this moment to make a PR. But I hope it will be an easy pick :).
Cheers!
The text was updated successfully, but these errors were encountered: