Add the SessionFactory, NativeSessionStorageFactory, PhpBridgeSessionStorageFactory and MockFileSessionStorageFactory classes
Calling Request::getSession() when there is no available session throws a SessionNotFoundException
Add the RequestStack::getSession method
Deprecate the NamespacedAttributeBag class
Add ResponseFormatSame PHPUnit constraint
Deprecate the RequestStack::getMasterRequest() method and add getMainRequest() as replacement
5.2.0
added support for X-Forwarded-Prefix header
added HeaderUtils::parseQuery(): it does the same as parse_str() but preserves dots in variable names
added File::getContent()
added ability to use comma separated ip addresses for RequestMatcher::matchIps()
added Request::toArray() to parse a JSON request body to an array
added RateLimiter\RequestRateLimiterInterface and RateLimiter\AbstractRequestRateLimiter
deprecated not passing a Closure together with FILTER_CALLBACK to ParameterBag::filter(); wrap your filter in a closure instead.
Deprecated the Request::HEADER_X_FORWARDED_ALL constant, use either HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO or HEADER_X_FORWARDED_AWS_ELB or HEADER_X_FORWARDED_TRAEFIK constants instead.
Deprecated BinaryFileResponse::create(), use __construct() instead
You can trigger a rebase of this PR 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Vonage/vonage-php-code-snippets/network/alerts).
> **Note**
> Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps symfony/http-foundation from 3.3.10 to 3.4.47.
Release notes
Sourced from symfony/http-foundation's releases.
... (truncated)
Changelog
Sourced from symfony/http-foundation's changelog.
... (truncated)
Commits
b9885fc
Remove branch-version (keep them for contracts only)aacebf2
bug #38516 [HttpFoundation] Fix Range Requests (BattleRattle)f445ee1
[HttpFoundation] Fix Range Requestsd18c26c
[CI] Silence errors when remove file/dir on test tearDown()dbe9a3f
Fix branch-versionec0b1db
Remove "version" from composer.json files, use "branch-version" instead350ce8a
Update versions in composer.jsond6f03f8
Remove "branch-alias", populate "version"dd10d32
Change test946db27
[HttpFoundation] skip tests when the IANA server is throttling the list of st...You can trigger a rebase of this PR 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Vonage/vonage-php-code-snippets/network/alerts).