Update dependency guzzlehttp/guzzle to v8 - autoclosed#41
Closed
renovate[bot] wants to merge 1 commit into
Closed
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:
^7.12.3→^8.0.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
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.