truncateHTML
truncateHTML copied to clipboard
Bump symfony/http-foundation from 2.4.5 to 2.6.13
Bumps symfony/http-foundation from 2.4.5 to 2.6.13.
Changelog
Sourced from symfony/http-foundation's changelog.
CHANGELOG
7.0
- Calling
ParameterBag::filter()throws anUnexpectedValueExceptionon invalid value, unless flagFILTER_NULL_ON_FAILUREis set- Calling
ParameterBag::getInt()andParameterBag::getBool()throws anUnexpectedValueExceptionon invalid value- Remove classes
RequestMatcherandExpressionRequestMatcher- Remove
Request::getContentType(), useRequest::getContentTypeFormat()instead- Throw an
InvalidArgumentExceptionwhen callingRequest::create()with a malformed URI- Require explicit argument when calling
JsonResponse::setCallback(),Response::setExpires/setLastModified/setEtag(),MockArraySessionStorage/NativeSessionStorage::setMetadataBag(),NativeSessionStorage::setSaveHandler()- Add argument
$statusCodetoResponse::sendHeaders()andStreamedResponse::sendHeaders()6.4
- Make
HeaderBag::getDate(),Response::getDate(),getExpires()andgetLastModified()return aDateTimeImmutable- Support root-level
GeneratorinStreamedJsonResponse- Add
UriSignerfrom the HttpKernel component- Add
partitionedflag toCookie(CHIPS Cookie)- Add argument
bool $flush = truetoResponse::send()- Make
MongoDbSessionHandlerinstantiable with the mongodb extension directly6.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
... (truncated)
Commits
e8fd1b7Merge branch '2.3' into 2.6fd2a759bug #15249 [HttpFoundation] [PSR-7] Allow to use resources as content body an...6eed3f5[HttpFoundation] [PSR-7] Allow to use resources as content body and to return...d5adda8[HttpFoundation] Fix Response::closeOutputBuffers() for HHVM 3.36f2de25[HttpFoundation] Behaviour change in PHP7 for substrb2a6fadMerge branch '2.3' into 2.6d9a9d95[HttpFoundation] Reload the session after regenerating its id1b15d69[HttpFoundation] Add a test case to confirm a bug in session migration023606d[2.6] Static Code Analysis for Components and Bundles40569a0minor #15204 CS fixes for 2.3 (keradus)- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.