Enables your PHP application to expose its entities as REST resources using the feature rich JSON:API specification as API. How and to whom your entities are exposed is highly customizable while minimizing boilerplate code.
MIT License
2
stars
1
forks
source link
chore(deps): update symfony/http-foundation requirement from ^5.3.7,<6 to ^6.2.8 #84
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
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
Passing null as $requestIp to IpUtils::__checkIp(), IpUtils::__checkIp4() or IpUtils::__checkIp6() is not supported anymore.
5.4
Deprecate passing null as $requestIp to IpUtils::__checkIp(), IpUtils::__checkIp4() or IpUtils::__checkIp6(), pass an empty string instead.
Add the litespeed_finish_request method to work with Litespeed
Deprecate upload_progress.* and url_rewriter.tags session options
Allow setting session options via DSN
5.3
Add the SessionFactory, NativeSessionStorageFactory, PhpBridgeSessionStorageFactory and MockFileSessionStorageFactory classes
Calling Request::getSession() when there is no available session throws a SessionNotFoundException
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)
Updates the requirements on symfony/http-foundation to permit the latest version.
Release notes
Sourced from symfony/http-foundation's releases.
Changelog
Sourced from symfony/http-foundation's changelog.
... (truncated)
Commits
511a524
Merge branch '5.4' into 6.205cd1ac
bug #49745 [FrameworkBundle] Fix wiring session.handler when handler_id is nu...023087f
[HttpFoundation] Use separate caches for IpUtils checkIp4 and checkIp644acb50
[FrameworkBundle] Fix wiring session.handler when handler_id is null8562a1d
Merge branch '5.4' into 6.2c63f733
minor #49621 [Tests] Remove occurrences ofwithConsecutive()
(alexandre-dau...9d7018b
[Tests] Remove occurrences ofwithConsecutive()
507b3a2
Merge branch '5.4' into 6.27e9e8d0
[Tests] ReplacesetMethods()
byonlyMethods()
andaddMethods()
5fc3038
Merge branch '5.4' into 6.2Dependabot 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)