Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update symfony/http-foundation requirement from ^4.4.6 to ^5.4.28 #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 28, 2023

Updates the requirements on symfony/http-foundation to permit the latest version.

Release notes

Sourced from symfony/http-foundation's releases.

v5.4.28

Changelog (symfony/http-foundation@v5.4.27...v5.4.28)

Changelog

Sourced from symfony/http-foundation's changelog.

CHANGELOG

6.3

  • Calling ParameterBag::getDigit(), getAlnum(), getAlpha() on an array throws a UnexpectedValueException instead of a TypeError
  • 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() and ParameterBag::getBoolean(),
  • Deprecate ignoring invalid values when using ParameterBag::filter(), unless flag FILTER_NULL_ON_FAILURE is set

6.2

  • Add StreamedJsonResponse class for efficient JSON streaming
  • The HTTP cache store uses the xxh128 algorithm
  • Deprecate calling JsonResponse::setCallback(), Response::setExpires/setLastModified/setEtag(), MockArraySessionStorage/NativeSessionStorage::setMetadataBag(), NativeSessionStorage::setSaveHandler() without arguments
  • Add request matchers under the Symfony\Component\HttpFoundation\RequestMatcher namespace
  • Deprecate RequestMatcher in favor of ChainRequestMatcher
  • Deprecate Symfony\Component\HttpFoundation\ExpressionRequestMatcher in favor of Symfony\Component\HttpFoundation\RequestMatcher\ExpressionRequestMatcher

6.1

  • Add stale while revalidate and stale if error cache header
  • Allow dynamic session "ttl" when using a remote storage
  • Deprecate Request::getContentType(), use Request::getContentTypeFormat() instead

6.0

  • Remove the NamespacedAttributeBag class
  • Removed Response::create(), JsonResponse::create(), RedirectResponse::create(), StreamedResponse::create() and BinaryFileResponse::create() methods (use __construct() instead)
  • Not passing a Closure together with FILTER_CALLBACK to ParameterBag::filter() throws an \InvalidArgumentException; wrap your filter in a closure instead
  • Not passing a Closure together with FILTER_CALLBACK to InputBag::filter() throws an \InvalidArgumentException; wrap your filter in a closure instead
  • Removed the Request::HEADER_X_FORWARDED_ALL constant, use either Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO or Request::HEADER_X_FORWARDED_AWS_ELB or Request::HEADER_X_FORWARDED_TRAEFIKconstants instead
  • Rename RequestStack::getMasterRequest() to getMainRequest()
  • Not passing FILTER_REQUIRE_ARRAY or FILTER_FORCE_ARRAY flags to InputBag::filter() when filtering an array will throw BadRequestException
  • Removed the Request::HEADER_X_FORWARDED_ALL constant
  • Retrieving non-scalar values using InputBag::get() will throw BadRequestException (use InputBad::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)

Commits
  • 365992c [HttpFoundation] Fix base URI detection on IIS with UrlRewriteModule
  • da86b7d [HttpFoundation] Add a slightly more verbose comment about a warning on Uploa...
  • e779315 Fix htaccess sample to use index.php instead of app.php
  • 415a1f8 minor #51032 [HttpFoundation][HttpKernel] Fix deprecations when `Content-Type...
  • 947abb1 [HttpFoundation][HttpKernel] Fix deprecations when Content-Type is null
  • 0c29a60 Fix deprecations on PHP 8.3
  • f66be27 [Messenger] Preserve existing Doctrine schema
  • f64671e Fix Doctrine deprecations
  • 3c59f97 UrlHelper is now aware of RequestContext changes
  • c437f39 [HttpFoundation] Fix file streaming after connection aborted
  • 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 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Updates the requirements on [symfony/http-foundation](https://github.com/symfony/http-foundation) to permit the latest version.
- [Release notes](https://github.com/symfony/http-foundation/releases)
- [Changelog](https://github.com/symfony/http-foundation/blob/6.3/CHANGELOG.md)
- [Commits](symfony/http-foundation@v4.4.6...v5.4.28)

---
updated-dependencies:
- dependency-name: symfony/http-foundation
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 28, 2023
@dependabot dependabot bot requested a review from discordier August 28, 2023 02:18
@zonky2 zonky2 added this to the 2.3.1 milestone Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant