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
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)
- `@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/poowf/otter/network/alerts).
Bumps symfony/http-foundation from 4.3.4 to 4.4.30.
Release notes
Sourced from symfony/http-foundation's releases.
... (truncated)
Changelog
Sourced from symfony/http-foundation's changelog.
... (truncated)
Commits
09b3202
Cast ini_get to an integer to match expected type69f0b8c
bug #40545 [HttpFoundation] Fix isNotModified determination logic (ol0lll)f9ce68e
[HttpFoundation] Fix isNotModified determination logic2773deb
Update NativeSessionStorage docblock to match defaultsb173540
Fix broken mock5556a4a
Fix return types for PHP 8.17016057
[HttpFoundation] Fixed type mismatch31d4a64
[4.4] Add missing@return
annotations74abdd6
#42229 update phpdoc to recommend createIndex over ensureIndexe18c77c
fix intersection types in testsDependabot 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) - `@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/poowf/otter/network/alerts).