fix(deps): update dependency guzzlehttp/psr7 to v3#83
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.0→^3.0Release Notes
guzzle/psr7 (guzzlehttp/psr7)
v3.0.0Compare Source
Added
DiagnosticValue::escape()to escape controls and malformed UTF-8 in diagnosticsGuzzleHttp\Psr7\Exception\TimeoutExceptionfor timed-out stream operationsGuzzleHttp\Psr7\Utils::redactUserInfoInString()to redact the userinfo of a raw URI string within textGuzzleHttp\Psr7\Rfc3986to public API withisValid*()predicates andcanonicalizeIpv6()GuzzleHttp\Psr7\UriNormalizer::CANONICALIZE_IPV6_HOSTtoPRESERVING_NORMALIZATIONSChanged
psr/http-message:^2.0and add native parameter and return typespsr/http-factory:^1.1ServerRequest::fromGlobals()still uppercasestmp_name,size, orerrorerrorvaluesUploadedFile::moveTo()read()lengths across all stream implementations+flag anywhere in a mode forStream::isReadable()/isWritable()PumpStreamsource callablesPumpStreamclose and detachMessage::bodySummary()nullfor theMessage::bodySummary()truncation length to use the defaultLimitStreamoffset/limit and track non-seekable offset by bytes skippedFnStreamclose and detach terminal, calling close callbacks at most onceFnStreamclose callbacks during destructor cleanupCachingStream::close()idempotent, preserving remote cleanup after detachCachingStreamcursor when aSEEK_ENDtarget on an unknown-size stream is rejectedUri::getPath()and origin-form request targetsfileURIs with rootless paths without the//separatorfileURIs with empty paths asfile:instead of the unparseablefile:////paths with/.UriResolver::relativize()when an empty-path target requires oneUriResolver::relativize()when it would inherit the base fragmentUriResolver::relativize()when an equal-path target's last path segment contains a colonUri::fromParts()ports instead of casting themwsandwssschemeswsandwssdefault ports inUriComparator::isCrossOrigin()port comparisonsUtils::redactUserInfo()$_SERVERbyREQUEST_METHOD, using target authority beforeSERVER_PORTREQUEST_URItargets inServerRequest::fromGlobals()HTTP_HOSTand malformedSERVER_PORTinServerRequest::getUriFromGlobals()REQUEST_METHODandSERVER_PROTOCOLserver values inServerRequest::fromGlobals()Hostand normalize leading-zero ports inMessage::parseRequest()Hostheaders and validate present values for all request-target formsMessage::parseRequest()Hostheader inRequest::withUri()when the URI changes or Host is emptyHostheaders synthesized byMessage::toString()Message::toString()from the request URIHostheaders set byUtils::modifyRequest()URI changesOPTIONS *andCONNECTauthority-form request targets inMessage::parseRequest()Request::withRequestTarget()Utils::streamFor()Query::build()Query::build()andMultipartStreamcontentsUtils::streamFor()Utils::streamFor()now rejects non-string scalar bodiesUri::withQueryValues()now rejects non-string valuesUtils::modifyRequest()change valuesUtils::copyToStream()to throw when destination streams cannot make progressTimeoutExceptionfromStreamread/write andUtilscopy/hash/readLine on stream timeoutsTimeoutExceptionfromAppendStream::read(),CachingStream::read(), andUtils::tryGetContents()on stream timeoutsTimeoutExceptionfromInflateStreamwhen the decoded source stream times outInflateStream::close()Utils::copyToStream()OverflowExceptionwhen stream byte counts or offsets exceedPHP_INT_MAXStreamWrapperruntime failures to PHP stream failure valuesContent-Lengthtomultipart/form-dataparts (RFC 7578 §4.8)Content-Dispositionparameters and reject unsafe boundaries and part headersMultipartStreampart header valuesMultipartStreamboundary'0'instead of replacing it with a generated boundarywithHost(), including userinfo formsUriconstruction,fromParts(), andwithHost()UriComparator::isCrossOrigin()CAPITALIZE_PERCENT_ENCODINGandDECODE_UNRESERVED_CHARACTERSto userinfo and hostHeader::splitList()Header::parse()Removed
ralouphie/getallheadersdependencyHeader::normalize()methodv2.13.0Compare Source
Added
Utils::asciiToLower,asciiToUpper,asciiUcFirst,caselessEquals,caselessContainsChanged
v2.12.5Compare Source
Fixed
v2.12.4Compare Source
Changed
Fixed
//as paths inMessage::parseRequest()v2.12.3Compare Source
Security
getHost()matches the URI authority (GHSA-c2w2-prh8-qm98)v2.12.2Compare Source
Fixed
v2.12.1Compare Source
Security
v2.12.0Compare Source
Deprecated
Query::build()that guzzlehttp/psr7 3.0 rejectsUtils::streamFor(); cast them to a string for 3.0Uri::withQueryValues()values; cast them to a string for 3.0v2.11.1Compare Source
Fixed
v2.11.0Compare Source
Changed
Utils::modifyRequest()to reject conflicting URI andHostheader changes in the same callHeader::parse()to split semicolon-separated parameters without repeated regular expression lookaheadsUriComparator::isCrossOrigin()so only HTTP and HTTPS missing ports receive implicit default portsDeprecated
Utils::modifyRequest()change values that guzzlehttp/psr7 3.0 will rejectFixed
Utils::copyToStream()to retry short destination writes instead of dropping the unwritten remainderHeader::parse()splitting of semicolon-separated parameters with escaped quotesv2.10.4Compare Source
Fixed
UriNormalizerpercent-encoding normalizations to URI fragmentsLimitStream::getSize()return0for slices past the underlying stream endAppendStream::read()return an empty string when no streams are attachedCachingStream::read()throw on an incomplete cache-target write instead of silently corrupting replaysCachingStream::seek()from looping indefinitely when the remote stream makes no progressv2.10.3Compare Source
Fixed
v2.10.2Compare Source
Security
Fixed
ServerRequest::fromGlobals()robust against unexpected HTTP header value types in$_SERVERv2.10.1Compare Source
Fixed
Utils::modifyRequest()with numeric header namesv2.10.0Compare Source
Changed
ServerRequest::fromGlobals()against malformed$_SERVERvaluesStreamWrapper::getResource()cannot create a resourceUtils::modifyRequest()UriResolver::resolve()Uri::__toString()side-effect-freev2.9.1Compare Source
Fixed
CachingStream::detach()returning an incomplete resource before the decorated stream has been fully readMessage::bodySummary()returningnullwhen truncating printable UTF-8 bodies inside a multibyte characterv2.9.0Compare Source
Added
MultipartStream@return statictoMessageTraitmethodsChanged
v2.8.1Compare Source
Fixed
+signs inUri::withQueryValue()andUri::withQueryValues()to prevent them being interpreted as spacesv2.8.0Compare Source
Added
Changed
v2.7.1Compare Source
Fixed
Changed
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.