Update dependency guzzlehttp/guzzle to v8#85
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:
^6.3→^8.0Release Notes
guzzle/guzzle (guzzlehttp/guzzle)
v8.0.0Compare Source
Added
SensitiveParametermetadata to credential-bearing parameters so PHP 8.2+ redacts their values in exception tracesMultiplexing::NONEsupport as a client, cURL multi handler, and conditional request optionConnectTimeoutExceptionfor connect-phase timeouts, extendingConnectExceptionNetworkExceptionfor no-response network failuresNetworkTimeoutExceptionfor no-response transport timeoutsResponseTransferException, withResponseTimeoutExceptionfor response-transfer timeoutsrequest_factory,response_factory,stream_factory, anduri_factoryrequest optionsclose()lifecycle methods to the built-in cURL handlers and concrete cURL factoryHandlerClosedExceptionfor pending transfers rejected byCurlMultiHandler::close()TransportSharing::PERSISTENT_PREFERandTransportSharing::PERSISTENT_REQUIRE)ProxyOptionsfor proxy option resolutionResponseExceptionfor request failures with responsesChanged
__Secure-and__Host-prefix requirements on response cookiesFileCookieJarandSessionCookieJarpersistence against unsafe unserializationFileCookieJarcookie files to owner-only permissionsRuntimeExceptionUtilstime, timeout, IDN, and environment helpers to dedicated internal classesguzzlehttp/promisesversion constraint to^3.0guzzlehttp/psr7version constraint to^3.0Content-Typeboundary parameters when requiredSetCookiemethodsstringreturn type toSetCookie::__toString()force_ip_resolve, protocols, anddelayranges at the client boundarynoentry as final even without a scheme-specific proxy entryRequestException, notInvalidArgumentException, for an unavailable proxy or TLS featureno_proxy/NO_PROXYfrom the environment in the stream handler, including*to disable proxyinghttps://or SOCKS proxy in the stream handler, matching itsproxyoption behaviorProxy-Authorizationon every routeProxy-Authorizationfield, including empty, on stream proxiesCURLOPT_PROXYHEADERwithout proxy header separation supporton_headerscallbacksPooliterable key as a trailing argument to per-request observer callbacksidn_conversion,retries, and built-in handleron_statsoption values before usequeryandform_paramsoptionsbodyoptionExpect: 100-Continueinjection to HTTP/1.1 requests onlySetCookieconstructor field types instead of coercing themnullas an omitted path or name when clearing cookiesauthrequest option arraysauthrequest optionauthrequest option when following cross-origin redirectsRefererheader to the origin on cross-origin redirectsHandlerStack::remove()argumentsPoolrequest collections to be iterableDomainattribute as host-only cookiesMax-AgeoverExpireswhen both attributes are presentCookieJar::getCookieByName()Max-Agecookie values instead of truncating themContent-Lengthand combinations withTransfer-EncodingTransfer-Encodingmetadata and coalesced framing inprogresson newer PHPLocationvalues inBadResponseExceptioncrypto_methodoption through the SSL context so it consistently controls the minimum TLS versionTransferExceptionand its subclassesNetworkExceptionConnectException, with connect timeouts asConnectTimeoutExceptionNetworkException, with timeouts asNetworkTimeoutExceptionResponseExceptionResponseTransferExceptionsinkoption or reads trailing bytes for responses that cannot carry a bodyContent-Length, including decoded gzip/deflateContent-Lengthcasings and preserve encoded values on decoded responsesResponseException101 Switching Protocolsbefore the final responseResponseExceptionand skip non-seekable sink rewindsResponseExceptionGuzzleHttp\Exception\InvalidArgumentExceptionfor invalid built-in handler optionssink, and HTTP/3 setup failures asRequestExceptionConnectTimeoutExceptionfor connect timeoutsNetworkTimeoutExceptionfor cURL no-response timeout errorsResponseTimeoutExceptionfor response-aware transfer timeoutstimeoutoption as a total transfer deadline in the stream handler when it buffers the responsetimeoutdeadlinedefault_socket_timeoutini setting in the stream handlerread_timeoutas an idle timeout for every request stage, defaulting to 60 secondsconnect_timeoutset to0disabling itUser-AgentandFromheader values from theuser_agentandfromini settingsRequestExceptionorResponseExceptionby phaseResponseExceptionorRequestExceptionby phasesinkas caller-owned in the built-in cURL and stream handlersLocationheadersprogresscallbacks to abort transfers with truthy return valuesprogresscallback arguments to integer byte countsprogressthrowables withResponseExceptionwhen a response exists, otherwiseRequestExceptionon_statsCURLOPT_XFERINFOFUNCTIONfor built-in cURL progress callbacks when availableMessageFormatterfinal and requiredMiddleware::log()formatters to implementMessageFormatterInterfaceCurlFactory,CurlHandler,CurlMultiHandler,MockHandler, andStreamHandlerfinalGuzzleHttp\Handler\Proxyfinalon_trailerscallbacks, reject non-callableon_trailersvalues, and wrapon_trailerscallback exceptions inResponseExceptionmultiplexdefaults toMultiplexing::WAIT)CURLOPT_PIPEWAITcURL option at themultiplexrequest optionCURLMOPT_PIPELININGin favour of themultiplexcURL multi handler optionCURLOPT_HTTPAUTHmask permits NTLMselect_timeoutcURL multi handler option valuesSet-Cookiestrings with RFC 6265 whitespace trimmingSet-Cookieattributes that require a value when parsingRemoved
Client::__call(); use the typed HTTP verb methods orrequest()/requestAsync()ClientInterface::getConfig(); the concreteClient::getConfig()remains availableGUZZLE_CURL_SELECT_TIMEOUTenvironment variable; useCurlMultiHandler'sselect_timeoutoptionhandlerrequest option; configure the handler on the clientCurlMultiHandler::$_mh; passCURLMOPT_*values through constructoroptionsinsteadRedirectMiddleware::$defaultSettings; useRedirectMiddleware::DEFAULT_SETTINGSRetryMiddleware::exponentialDelay()methodRequestException::wrapException()methodUtils::describeType()methodUtils::jsonDecode()andUtils::jsonEncode()in favor of native JSON functionsGuzzleHttpnamespace functions in favor of native or class equivalentsUtils::defaultCaBundle(); rely on the system trust store or pass a bundle path via theverifyoptionHandlerStack::__toString()RequestException::getHandlerContext()andConnectException::getHandlerContext()RequestException; useResponseExceptionUtils::isHostInNoProxy(); useProxyOptionshelpers for Guzzle 8 no-proxy matchingUtils::isUriInNoProxy(); useProxyOptions::isUriInNoProxy()Handler\Proxy::wrapTlsFallback(); the default handler stack selects the cURL or stream handler by TLS support automaticallyv7.15.1Compare Source
Security
Cookieheaders (GHSA-f283-ghqc-fg79)Refererheaders generated for redirects (GHSA-h95v-h523-3mw8)v7.15.0Compare Source
Added
Multiplexing::NONEsupport as a client, cURL multi handler, and conditional request optionChanged
guzzlehttp/psr7version constraint to^2.13Content-LengthCURLOPT_SHAREcURL option when named connection caps are configuredCURLOPT_PRE_PROXYand opaque share handlesDeprecated
Utils::jsonDecode()andUtils::jsonEncode()in favor of native JSON functionsCURLMOPT_PIPELININGin the cURL multi handleroptionsarrayCURLOPT_PROXYHEADERwithout cURL proxy header separation supportFixed
Content-LengthandTransfer-Encodingwhen redirects discard the request bodydelayrequest option to followed redirectsv7.14.2Compare Source
Security
v7.14.1Compare Source
Changed
guzzlehttp/psr7version constraint to^2.12.5Fixed
@separatorsstream => true) on cap-configured stream handlersoptionsvaluesCURLOPT_HTTPAUTHmask permits NTLMCURLMOPT_PIPELININGwhen combined with explicit multiplexingon_statscallback throwson_trailerscallback is configuredon_trailerscallback before starting a cURL transferon_trailersrequest option on the stream handler, which cannot observe trailersv7.14.0Compare Source
Added
on_trailersrequest option to expose parsed HTTP response trailersmultiplexrequest option withMultiplexing::*modes to control or require HTTP/2 multiplexingmultiplexrequests whenCURLMOPT_PIPELININGdisables multiplexingmax_host_connectionsandmax_total_connectionsclient and cURL multi handler optionsChanged
CURLOPT_SHAREwhen combined with authenticated SOCKS proxy configurationCURLOPT_CERTINFOoptionDeprecated
CURLOPT_PIPEWAITcURL option in favour of themultiplexrequest optionselect_timeoutcURL multi handler option valuesv7.13.3Compare Source
Changed
guzzlehttp/promisesversion constraint to^2.5.1guzzlehttp/psr7version constraint to^2.12.4Fixed
no_proxyvaluesv7.13.2Compare Source
Fixed
RuntimeExceptionv7.13.1Compare Source
Fixed
v7.13.0Compare Source
Added
crypto_method_maxrequest option to cap the maximum TLS protocol versionChanged
CURLOPT_SHAREwhen combined with authenticated HTTP/HTTPS proxy tunnel configurationCURLOPT_PREREQFUNCTIONcallbacks when defined by PHP cURLcrypto_methodrequests to the stream handler when cURL cannot select TLS 1.2Deprecated
v7.12.3Compare Source
Changed
guzzlehttp/psr7version constraint to^2.12.3Security
v7.12.2Compare Source
Fixed
Max-Ageso a very large value no longer overflows to an already-expired timestampCookieJarconflict resolution so distinct numeric-string names don't overwriteDomainhas a trailing dot on the origin host instead of silently discarding itStreamHandlerhard-failing on bracketed IPv6 literal hosts whenforce_ip_resolveis setPathcomparison soCookieJar::clear()with a numeric path keeps a distinct-path cookieDomain,Max-Age, path, and name valuesdecode_contenthandling for falsey string valuesv7.12.1Compare Source
Changed
guzzlehttp/psr7version constraint to^2.12.1Fixed
Security
Domainattributes as match-all (GHSA-cwxw-98qj-8qjx)v7.12.0Compare Source
Added
RequestOptionsconstants forcurl,retries, andstream_contextChanged
guzzlehttp/psr7version constraint to^2.12proxyrequest option makes a decisionPsr7\Utils::redactUserInfo()Deprecated
handleroption, which will be ignored in 8.0CURLOPT_PROXYTYPEcURL request option; set the proxy type via a scheme-prefixed proxy URLntlmas a built-inauthtypeUtils::describeType()queryandform_paramsoptions; 8.0 rejects thembodyoption; 8.0 rejects themFixed
nolist matches being re-proxied through environment-configured proxies by libcurlnolist andNO_PROXYmatching to support IP CIDR ranges, matching libcurlv7.11.2Compare Source
Fixed
v7.11.1Compare Source
Fixed
transport_sharing, matching other unknown request optionsv7.11.0Compare Source
Added
proxyrequest option'snovalue as a comma-delimited stringprotocolsrequest option to restrict allowed URI schemes for request transferscert_typeandssl_key_typerequest options for TLS certificate and private-key file typesssl_keyrequest optiontransport_sharingclient and cURL handler optionsChanged
guzzlehttp/promisesversion constraint to^2.5guzzlehttp/psr7version constraint to^2.11SetCookieinstances to be stored without wildcard request matchingCurlMultiHandlerdestructors from throwing during cleanupDeprecated
Poolrequest collections, which will be rejected in 8.0headersrequest option values, which will be rejected in 8.0headersrequest option value arrays, which will be rejected in 8.0CURLOPT_SHARE, which will be rejected in 8.0idn_conversionrequest option values, which will be rejected in 8.0RequestException::wrapException(), which will be removed in 8.0RetryMiddleware::exponentialDelay(), which will be removed in 8.0v7.10.6Compare Source
Fixed
CurlMultiHandlernow rejects the promise whenCurlFactory::finish()throws, preserving sibling transfersSetCookienow normalizes unparseableExpiresvalues tonullinstead offalsegzip/deflatetruncation by dropping invalidContent-Lengthv7.10.5Compare Source
Fixed
ConnectExceptionv7.10.4Compare Source
Fixed
options()to uppercase inferred HTTP methodsv7.10.3Compare Source
Fixed
v7.10.2Compare Source
Fixed
v7.10.1Compare Source
Fixed
v7.10.0Compare Source
Added
Changed
guzzlehttp/promisesversion constraint to^2.3guzzlehttp/psr7version constraint to^2.8v7.9.3Compare Source
Changed
v7.9.2Compare Source
Fixed
v7.9.1Compare Source
Fixed
v7.9.0Compare Source
Changed
CurlMultiHandlerto avoid busy wait if possibleguzzlehttp/psr7v1v7.8.2Compare Source
Added
v7.8.1Compare Source
Changed
call_user_func*with native callsv7.8.0Compare Source
Added
CurlFactoryobject destructionv7.7.1Compare Source
Changed
AllowDynamicPropertiesinCurlMultiHandlerv7.7.0Compare Source
Added
guzzlehttp/promisesv2v7.6.1Compare Source
Fixed
SetCookie::fromStringMaxAge deprecation warning and skip invalid MaxAge valuesv7.6.0Compare Source
Added
v7.5.3Compare Source
See change log for changes.
v7.5.2Compare Source
Fixed
'0'bodyChanged
v7.5.1Compare Source
Fixed
NO_PROXYsettings so that setting theproxyoption tonooverrides the env variableChanged
guzzlehttp/psr7version constraint to^1.9.1 || ^2.4.5v7.5.0Compare Source
Added
v7.4.5Compare Source
Fixed
CURLOPT_HTTPAUTHoption not cleared on change of originv7.4.4Compare Source
Fixed
v7.4.3Compare Source
Fixed
v7.4.2Compare Source
Fixed
force_ip_resolvev7.4.1Compare Source
Changed
symfony/deprecation-contractsversion 3 #2961Fixed
v7.4.0Compare Source
Added
psr/logversion 2 and 3 #2943Fixed
restore_error_handler()#2915InvalidArgumentExceptionwhen an incorrectheadersarray is provided #2916, #2942Changed
v7.3.0Compare Source
Added
guzzlehttp/psr7:^2.0#2878Fixed
v7.2.0Compare Source
Added
Fixed
Changed
TooManyRedirectsExceptionhas a response #2660Deprecated
v7.1.1Compare Source
Fixed
Changed
sinkon HEAD requests.v7.1.0Compare Source
Added
GuzzleHttp\MessageFormatterInterfaceFixed
Deprecated
GuzzleHttphas been deprecated. Use static methods onUtilsinstead.ClientInterface::getConfig()Client::getConfig()Client::__call()Utils::defaultCaBundle()CurlFactory::LOW_CURL_VERSION_NUMBERv7.0.1Compare Source
v7.0.0Compare Source
No changes since 7.0.0-rc1.
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.