Add HttpOptions::setHeader() to add or replace a single header
Allow mocking start_time info in MockResponse
Add MockResponse::fromFile() and JsonMockResponse::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 the NoPrivateNetworkHttpClient, TraceableHttpClient and ScopingHttpClient classes, configure the logger of the wrapped clients directly instead
7.0
Remove implementing Http\Message\RequestFactory from HttplugClient
6.4
Add HarFileResponseFactory testing utility, allow to replay responses from .har files
Add max_retries option to RetryableHttpClient to adjust the retry logic on a per request level
Add PingWehookMessage and PingWebhookMessageHandler
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 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
Add support for getting all the enum cases with !php/enum Foo
7.0
Remove the !php/const: tag, use !php/const instead (without the colon)
6.3
Add support to dump int keys as strings by using the Yaml::DUMP_NUMERIC_KEY_AS_STRING flag
6.2
Add support for !php/enum and !php/enum *->value
Deprecate the !php/const: tag in key which will be replaced by the !php/const tag (without the colon) since 3.4
6.1
In cases where it will likely improve readability, strings containing single quotes will be double-quoted
5.4
Add new lint:yaml dirname --exclude=/dirname/foo.yaml --exclude=/dirname/bar.yaml
option to exclude one or more specific files from multiple file list
Allow negatable for the parse tags option with --no-parse-tags
5.3
Added github format support & autodetection to render errors as annotations
when running the YAML linter command in a Github Action environment.
5.1.0
Added support for parsing numbers prefixed with 0o as octal numbers.
Deprecated support for parsing numbers starting with 0 as octal numbers. They will be parsed as strings as of Symfony 6.0. Prefix numbers with 0o
so that they are parsed as octal numbers.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the symfony group with 3 updates: symfony/http-client, symfony/sendgrid-mailer and symfony/yaml.
Updates
symfony/http-client
from 7.0.7 to 7.1.0Release notes
Sourced from symfony/http-client's releases.
Changelog
Sourced from symfony/http-client's changelog.
... (truncated)
Commits
2266f98
Merge branch '7.0' into 7.1e85bc80
Merge branch '6.4' into 7.0365334d
Merge branch '5.4' into 6.43f4cc73
[HttpClient] Revert fixing curl default optionse750b7c
Merge branch '7.0' into 7.1eda6dff
Merge branch '6.4' into 7.055d0436
Merge branch '5.4' into 6.4ff1235a
[HttpClient] Fix cURL default options6997306
add missing deprecation contracts dependencyad116ef
deprecate setLogger() methods of decorating clientsUpdates
symfony/sendgrid-mailer
from 7.0.7 to 7.1.0Release notes
Sourced from symfony/sendgrid-mailer's releases.
Commits
deb1cea
Merge branch '7.0' into 7.130994d7
Merge branch '6.4' into 7.067b91ca
[Mailer] [Sendgrid] Use DataPart::getContentId() when DataPart::setContentId(...21a68ad
Merge branch '7.0' into 7.1af9422d
Merge branch '7.0' into 7.1baf1eb5
add more SensitiveParameter attributesbc0c645
[Mailer] [Bridges] Use CPP and add more#[\SensitiveParameter]
attributesUpdates
symfony/yaml
from 7.0.7 to 7.1.0Release notes
Sourced from symfony/yaml's releases.
Changelog
Sourced from symfony/yaml's changelog.
... (truncated)
Commits
c5f718c
Merge branch '7.0' into 7.1c1e0024
Merge branch '7.0' into 7.108a7843
Remove unnecessary empty usagese5e14c8
use constructor property promotion7fc548d
feature #52230 [Yaml] Allow to get all the enum cases (phansys)d56caa8
dump enums with the !php/enum tag16eb674
Merge branch '7.0' into 7.15d2b2a5
[Tests] Streamline2c98dad
Code updatesdd03330
[Yaml] Allow Yaml component to get all the enum casesDependabot 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 show