Updates the requirements on symfony/http-foundation to permit the latest version.
Sourced from symfony/http-foundation's releases.
v5.4.26
Changelog (https://github.com/symfony/http-foundation/compare/v5.4.25...v5.4.26)
- bug symfony/symfony#51031 Fix deprecations on PHP 8.3 (
@nicolas-grekas)
Sourced from symfony/http-foundation's changelog.
CHANGELOG
6.3
- Calling
ParameterBag::getDigit(),getAlnum(),getAlpha()on anarraythrows aUnexpectedValueExceptioninstead of aTypeError- Add
ParameterBag::getString()to convert a parameter into string and throw an exception if the value is invalid- Add
ParameterBag::getEnum()- Create migration for session table when pdo handler is used
- Add support for Relay PHP extension for Redis
- The
Response::sendHeaders()method now takes an optional HTTP status code as parameter, allowing to send informational responses such as Early Hints responses (103 status code)- Add
IpUtils::isPrivateIp()- Add
Request::getPayload(): InputBag- Deprecate conversion of invalid values in
ParameterBag::getInt()andParameterBag::getBoolean(),- Deprecate ignoring invalid values when using
ParameterBag::filter(), unless flagFILTER_NULL_ON_FAILUREis set6.2
- Add
StreamedJsonResponseclass for efficient JSON streaming- The HTTP cache store uses the
xxh128algorithm- Deprecate calling
JsonResponse::setCallback(),Response::setExpires/setLastModified/setEtag(),MockArraySessionStorage/NativeSessionStorage::setMetadataBag(),NativeSessionStorage::setSaveHandler()without arguments- Add request matchers under the
Symfony\Component\HttpFoundation\RequestMatchernamespace- Deprecate
RequestMatcherin favor ofChainRequestMatcher- Deprecate
Symfony\Component\HttpFoundation\ExpressionRequestMatcherin favor ofSymfony\Component\HttpFoundation\RequestMatcher\ExpressionRequestMatcher6.1
- Add stale while revalidate and stale if error cache header
- Allow dynamic session "ttl" when using a remote storage
- Deprecate
Request::getContentType(), useRequest::getContentTypeFormat()instead6.0
- Remove the
NamespacedAttributeBagclass- Removed
Response::create(),JsonResponse::create(),RedirectResponse::create(),StreamedResponse::create()andBinaryFileResponse::create()methods (use__construct()instead)- Not passing a
Closuretogether withFILTER_CALLBACKtoParameterBag::filter()throws an\InvalidArgumentException; wrap your filter in a closure instead- Not passing a
Closuretogether withFILTER_CALLBACKtoInputBag::filter()throws an\InvalidArgumentException; wrap your filter in a closure instead- Removed the
Request::HEADER_X_FORWARDED_ALLconstant, use eitherRequest::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTOorRequest::HEADER_X_FORWARDED_AWS_ELBorRequest::HEADER_X_FORWARDED_TRAEFIKconstants instead- Rename
RequestStack::getMasterRequest()togetMainRequest()- Not passing
FILTER_REQUIRE_ARRAYorFILTER_FORCE_ARRAYflags toInputBag::filter()when filtering an array will throwBadRequestException- Removed the
Request::HEADER_X_FORWARDED_ALLconstant- Retrieving non-scalar values using
InputBag::get()will throwBadRequestException(useInputBad::all()instead to retrieve an array)- Passing non-scalar default value as the second argument
InputBag::get()will throw\InvalidArgumentException- Passing non-scalar, non-array value as the second argument
InputBag::set()will throw\InvalidArgumentException
... (truncated)
e779315 Fix htaccess sample to use index.php instead of app.php415a1f8 minor #51032 [HttpFoundation][HttpKernel] Fix deprecations when `Content-Type...947abb1 [HttpFoundation][HttpKernel] Fix deprecations when Content-Type is null0c29a60 Fix deprecations on PHP 8.3f66be27 [Messenger] Preserve existing Doctrine schemaf64671e Fix Doctrine deprecations3c59f97 UrlHelper is now aware of RequestContext changesc437f39 [HttpFoundation] Fix file streaming after connection abortedaf9fbb3 [HttpFoundation] Fix BinaryFileResponsed9afb27 bug #48972 [HttpFoundation] Fix memory limit problems in BinaryFileResponse (...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.
Superseded by #59.