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 in RetryableHttpClient to retry on a new url each time
Add JsonMockResponse, a MockResponse shortcut that automatically encodes the passed body to JSON and sets the content type to application/json by default
Support file uploads by nesting resource streams in option "body"
6.2
Make HttplugClient implement Psr\Http\Message\RequestFactoryInterface, StreamFactoryInterface and UriFactoryInterface
Deprecate implementing Http\Message\RequestFactory, StreamFactory and UriFactory on HttplugClient
Add withOptions() to HttplugClient and Psr18Client
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
Add MockHttpClient::setResponseFactory() method to be able to set response factory after client creating
5.3
Implement HttpClientInterface::withOptions() from symfony/contracts v2.4
Add DecoratorTrait to ease writing simple decorators
5.2.0
added AsyncDecoratorTrait to ease processing responses without breaking async
added support for pausing responses with a new pause_handler callable exposed as an info item
added StreamableInterface to ease turning responses into PHP streams
added MockResponse::getRequestMethod() and getRequestUrl() to allow inspecting which request has been sent
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps symfony/http-client from 6.2.8 to 6.3.1.
Release notes
Sourced from symfony/http-client's releases.
... (truncated)
Changelog
Sourced from symfony/http-client's changelog.
... (truncated)
Commits
1c828a0
Merge branch '6.2' into 6.37ef37b9
Merge branch '5.4' into 6.2ccbb572
[HttpClient] Explicitly exclude CURLOPT_POSTREDIRd4c0b28
Merge branch '6.2' into 6.3dc9945e
Merge branch '5.4' into 6.20dd5c06
bug #50671 [HttpClient] Fix encoding some characters in query strings (Daniel...a5cade7
[HttpClient] Fix encoding some characters in query strings0de2c27
Merge branch '5.4' into 6.23d60434
[HttpClient] Force int conversion for floated multiplier for GenericRetryStra...5b9fa4a
[HttpClient] Remove final keyword on AsyncResponseDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)