Sourced from symfony/http-client's releases.
v7.1.7
Changelog (https://github.com/symfony/http-client/compare/v7.1.6...v7.1.7)
- security symfony/symfony#cve-2024-50342 [HttpClient] Filter private IPs before connecting when Host == IP (
@nicolas-grekas
)- bug symfony/symfony#58704 [HttpClient] fix for HttpClientDataCollector fails if proc_open is disabled via php.ini (
@ZaneCEO
)v7.1.6
Changelog (https://github.com/symfony/http-client/compare/v7.1.5...v7.1.6)
- no significant changes
v7.1.5
Changelog (https://github.com/symfony/http-client/compare/v7.1.4...v7.1.5)
- bug symfony/symfony#58278 [HttpClient] Fix setting
CURLMOPT_MAXCONNECTS
(@HypeMC
)- bug symfony/symfony#58218 Work around
parse_url()
bug (@nicolas-grekas
)v7.1.4
Changelog (https://github.com/symfony/http-client/compare/v7.1.3...v7.1.4)
- bug symfony/symfony#58044 [HttpClient] Do not overwrite the host to request when using option "resolve" (
@xabbuh
)- bug symfony/symfony#57981 [HttpClient] reject malformed URLs with a meaningful exception (
@xabbuh
)- bug symfony/symfony#57870 [HttpClient] Disable HTTP/2 PUSH by default when using curl (
@nicolas-grekas
)v7.1.3
Changelog (https://github.com/symfony/http-client/compare/v7.1.2...v7.1.3)
- no significant changes
v7.1.2
Changelog (https://github.com/symfony/http-client/compare/v7.1.1...v7.1.2)
- bug symfony/symfony#57569 [HttpClient][Mailer] Revert "Let curl handle transfer encoding", use HTTP/1.1 for Mailgun (
@nicolas-grekas
)- bug symfony/symfony#57564 [HttpClient] Fix initializing InformationalChunk (
@nicolas-grekas
)- bug symfony/symfony#57453 [HttpClient] Fix parsing SSE (
@fancyweb
)v7.1.1
Changelog (https://github.com/symfony/http-client/compare/v7.1.0...v7.1.1)
- no significant changes
v7.1.0
Changelog (https://github.com/symfony/http-client/compare/v7.1.0-RC1...v7.1.0)
- no significant changes
v7.1.0-RC1
Changelog (https://github.com/symfony/http-client/compare/v7.1.0-BETA1...v7.1.0-RC1)
- bug symfony/symfony#54860 [HttpClient] Revert fixing curl default options (
@alexandre-daubois
)
... (truncated)
Sourced from symfony/http-client's changelog.
CHANGELOG
7.1
- Add
HttpOptions::setHeader()
to add or replace a single header- Allow mocking
start_time
info inMockResponse
- Add
MockResponse::fromFile()
andJsonMockResponse::fromFile()
methods to help using fixtures files- Add
ThrottlingHttpClient
to enable limiting the number of requests within a certain period- Deprecate the
setLogger()
methods of theNoPrivateNetworkHttpClient
,TraceableHttpClient
andScopingHttpClient
classes, configure the logger of the wrapped clients directly instead7.0
- Remove implementing
Http\Message\RequestFactory
fromHttplugClient
6.4
- Add
HarFileResponseFactory
testing utility, allow to replay responses from.har
files- Add
max_retries
option toRetryableHttpClient
to adjust the retry logic on a per request level- Add
PingWehookMessage
andPingWebhookMessageHandler
- Enable using EventSourceHttpClient::connect() for both GET and POST
6.3
- Add option
crypto_method
to set the minimum TLS version and make it default to v1.2- Add
UriTemplateHttpClient
to use URI templates as specified in the RFC 6570- Add
ServerSentEvent::getArrayData()
to get the Server-Sent Event's data decoded as an array when it's a JSON payload- Allow array of urls as
base_uri
option value inRetryableHttpClient
to retry on a new url each time- Add
JsonMockResponse
, aMockResponse
shortcut that automatically encodes the passed body to JSON and sets the content type toapplication/json
by default- Support file uploads by nesting resource streams in option "body"
6.2
- Make
HttplugClient
implementPsr\Http\Message\RequestFactoryInterface
,StreamFactoryInterface
andUriFactoryInterface
- Deprecate implementing
Http\Message\RequestFactory
,StreamFactory
andUriFactory
onHttplugClient
- Add
withOptions()
toHttplugClient
andPsr18Client
6.1
- Allow yielding
Exception
from MockResponse's$body
to mock transport errors- Remove credentials from requests redirected to same host but different port
5.4
... (truncated)
90ab2a4
Merge branch '6.4' into 7.105d88cb
Merge branch '5.4' into 6.45962356
Merge branch '6.4' into 7.1224124d
bug #58704
[HttpClient] fix for HttpClientDataCollector fails if proc_open
is...aa7bebe
[HttpClient] Fix Process-based escaping in HttpClientDataCollectore9b0846
fix for HttpClientDataCollector fails if proc_open is disabled via
php.ini . ...ebcaeea
[HttpClient] Filter private IPs before connecting when Host == IP274e2f6
Fix typo in deprecation message5620136
Merge branch '6.4' into 7.1509d0e8
[HttpClient] Fix class requirement message