guzzlehttp/guzzle breaking changes
Updated December 4, 2026
On this page
Latest version 8.6.2, released December 1, 2026. MIT license. Source repository
Its 8.0.0 release drops PHP 7.2 and 7.3. PHP end of life dates.
- From 7.17.0 to 8.6.0: 210 breaking changes in 15 versions.
- From v2.0.0 to 8.6.0: 985 breaking changes in 48 versions.
guzzlehttp/guzzle 8.6.0 breaking changes
- Behavior changed
When a request header is removed, the cURL handlers now remove all case variants of it, not only the exact spelling. github.com - Behavior changed
Percent-encoded proxy credentials are now decoded by the stream handler, so passwords containing encoded characters are sent differently. github.com - Behavior changed
Internationalized hostnames in URI strings are now converted while parsing, so parsed host values may differ from before. github.com - Behavior changed
Proxy credentials that libcurl names as the proxy host in cURL error messages are now redacted, so code parsing those messages may see different text. github.com - Behavior changed
Request methods that are not valid HTTP tokens are now rejected by the built-in handlers. github.com - Behavior changed
Proxy credentials that libcurl truncates in cURL error messages are now redacted, so code parsing those messages may see different text. github.com - Behavior changed
Request header names that are not valid HTTP tokens are now rejected by the built-in handlers. github.com - Behavior changed
Third-party URIs whose string form is malformed or names another origin are now rejected. github.com - Configuration changed
The promises dependency constraint now requires ^3.2. Projects pinned to an older promises major may need their constraints updated. github.com - Configuration changed
The psr7 dependency constraint now requires ^3.6. Projects pinned to an older psr7 major may need their constraints updated. github.com
guzzlehttp/guzzle 8.5.5 breaking changes
- Behavior changed
Hosts that idn_conversion converts into an invalid host are now rejected, and invalid hosts are rejected before a URI string is parsed again. Code that relies on such hosts must be updated. github.com
guzzlehttp/guzzle 8.5.4 breaking changes
- Behavior changed
Proxy credentials with percent-encoded control characters are now rejected by the cURL handlers. Code that relied on such credentials must supply valid ones. github.com - Behavior changed
Malformed proxy URLs that older libcurl versions silently skipped or misread are now rejected. Code using such URLs must correct them. github.com
guzzlehttp/guzzle 8.5.3 breaking changes
- Behavior changed
With idn_conversion enabled, host names longer than 4096 bytes are now rejected, so requests that previously went through with such hosts will now fail. github.com
guzzlehttp/guzzle 8.5.2 breaking changes
- Behavior changed
For security, the stream handler now leaves URI fragments out of request targets. Code that relied on fragments being sent to the server must change. github.com
guzzlehttp/guzzle 8.5.1 breaking changes
- Behavior changed
Request header fields containing carriage return, line feed, or NUL characters are now rejected by the built-in handlers. Code that sends such header values must remove them. github.com - Behavior changed
Request methods containing carriage return, line feed, or NUL characters are now rejected by the built-in handlers. Code that uses such method names must change them. github.com
Older versions
43 older versions, each with its first changes. Sign up to see every change
Show 43 older versions
guzzlehttp/guzzle 8.5.0 breaking changes
- Configuration changed
The guzzlehttp/psr7 version constraint is changed to ^3.4. Projects pinned to an older psr7 major version must upgrade it to install this release. github.com
guzzlehttp/guzzle 8.4.0 breaking changes
- Behavior changed
Replacing a stored cookie now keeps its earlier position in the Cookie header instead of moving it to a new position. github.com - Behavior changed
Cookies with longer paths are sent earlier in the Cookie header, which changes the header's order for existing code. github.com
And 1 more in this version.
guzzlehttp/guzzle 8.3.0 breaking changes
- Behavior changed
Stream handler bodies now end at the declared Content-Length, including a length of 0. github.com - Behavior changed
Truncated or malformed chunked stream handler bodies now raise an error instead of being accepted. github.com
And 6 more in this version.
guzzlehttp/guzzle 8.2.1 breaking changes
- Behavior changed
Corrupt compressed response bodies now fail on the stream handler instead of being accepted. Code relying on them must handle the error. github.com - Configuration changed
The psr7 dependency constraint moved to ^3.1.1, so projects pinned to older psr7 versions must upgrade. github.com
guzzlehttp/guzzle 8.1.0 breaking changes
- Behavior changed
Automatic exception messages now hide URI credentials, query strings and fragments, so code that parses these messages may need changes. github.com - Behavior changed
Stream handler transport failures are now classified using PHP 8.6+ structured stream error codes, which may change the errors code that check for specific failures. github.com
And 3 more in this version.
guzzlehttp/guzzle 8.0.3 breaking changes
- Configuration changed
The package now requires guzzlehttp/psr7 version 3.0.1 or later within the 3.x line. Projects pinned to psr7 2.x must upgrade psr7 to install this release. github.com
guzzlehttp/guzzle 8.0.2 breaking changes
- Behavior changed
StreamHandler
StreamHandler treats numeric IPv4 hosts differently on macOS and Windows than before, matching cURL handlers. Code relying on the old resolution may behave differently. github.com
guzzlehttp/guzzle 8.0.1 breaking changes
- Behavior changed
Numeric-looking URI hosts with trailing dots, which were read as IPv4 addresses, are now rejected. Use a normal IP address or host name instead. github.com - Behavior changed
Cookie domains containing percent-escaped characters are now treated as exact-match-only. Code relying on wider cookie domain matching must be reviewed. github.com
And 2 more in this version.
guzzlehttp/guzzle 8.0.0 breaking changes
- Removed
The release no longer supports PHP 7.2 and 7.3. Code running on those PHP versions must upgrade PHP before upgrading Guzzle. github.com - Removed
auth
First-class NTLM authentication is no longer supported through the auth request option. github.com
And 166 more in this version.
guzzlehttp/guzzle 7.17.0 breaking changes
- Behavior changed
Raw CURLOPT_PRE_PROXY credentials are now redacted in cURL error messages. github.com - Behavior changed
Proxy credentials that libcurl cuts off now appear redacted in cURL error messages. github.com
And 8 more in this version.
guzzlehttp/guzzle 7.16.5 breaking changes
- Behavior changed
Malformed proxy URLs that older libcurl silently skipped or misread are now rejected. Code that relies on such proxy URLs must supply valid ones. github.com - Behavior changed
Proxy credentials with percent-encoded control characters are now rejected by the cURL handlers instead of being accepted. Code that passes such credentials must change them. github.com
guzzlehttp/guzzle 7.16.4 breaking changes
- Behavior changed
idn_conversion
With idn_conversion enabled, host names longer than 4096 bytes are now rejected, so code that sent such hosts will now get an error. github.com
guzzlehttp/guzzle 7.16.3 breaking changes
- Behavior changed
Request URIs with bracketed hosts that are not IP literals are now rejected instead of accepted. Code that sends such URIs must change them. github.com - Behavior changed
Request targets sent by the stream handler now exclude URI fragments. Code that relied on fragments being sent to the server must change. github.com
guzzlehttp/guzzle 7.16.2 breaking changes
- Behavior changed
Request methods containing CR, LF or NUL are now rejected by the built-in handlers instead of being sent. Code that passes such method values must stop doing so. github.com - Behavior changed
Request header fields containing CR, LF or NUL are now rejected by the built-in handlers instead of being sent. Code that relies on such values must remove or encode them. github.com
guzzlehttp/guzzle 7.16.0 breaking changes
- Renamed
Promise\Is
Promise\Is was already deprecated and is replaced by Promise\State for PHP 8.6; code calling Promise\Is should switch to Promise\State. github.com - Configuration changed
The guzzlehttp/promises version constraint was raised to ^2.6, so projects pinned to an older promises release must upgrade it. github.com
guzzlehttp/guzzle 7.15.5 breaking changes
- Configuration changed
The required version range for guzzlehttp/psr7 changed to ^2.13.1, so projects pinned to older psr7 versions must upgrade it to install this release. github.com - Configuration changed
The required version range for guzzlehttp/promises changed to ^2.5.3, so projects pinned to older promises versions must upgrade it to install this release. github.com
guzzlehttp/guzzle 7.15.4 breaking changes
- Behavior changed
The handler stack debug output now uses a different identifier instead of the deprecated spl_object_hash() function. Code that parses this debug output may need to be updated. github.com
guzzlehttp/guzzle 7.15.2 breaking changes
- Behavior changed
A derived Host header is now regenerated after the client rewrites the URI, so a manually set Host header may be replaced. Check any code that sets Host explicitly. github.com - Behavior changed
Cookie domains written in any numeric base or with percent-escapes are now treated as exact-match only, so cookies may no longer be sent to subdomains as before. Review cookie domain settings. github.com
And 3 more in this version.
guzzlehttp/guzzle 7.15.1 breaking changes
- Behavior changed
Response cookies are limited in how many are accepted and how large generated Cookie headers can be. Code that depends on storing or sending larger cookie sets may see fewer cookies. github.com - Behavior changed
Referer headers generated for redirects now omit the URI fragment. Code that expects the fragment to appear in the Referer header will see it removed. github.com
And 1 more in this version.
guzzlehttp/guzzle 7.15.0 breaking changes
- Behavior changed
Requests now fail closed when a named cURL multi connection cap cannot be applied, instead of proceeding without it. github.com - Behavior changed
The cURL error text exposed through exception handler context is now sanitized, so code reading it may see different content. github.com
And 5 more in this version.
guzzlehttp/guzzle 7.14.2 breaking changes
- Behavior changed
Credentials given in URLs, both first-class and proxy URLs, are no longer passed on to origin servers. Code that relied on those credentials reaching the origin must supply them another way. github.com
guzzlehttp/guzzle 7.14.1 breaking changes
- Behavior changed
Response trailer field names are normalized to lowercase, so code comparing trailer names case-sensitively may change behavior. github.com - Behavior changed
on_trailers
The on_trailers request option is now rejected by the stream handler, which cannot observe trailers. Remove it when using the stream handler. github.com
And 3 more in this version.
guzzlehttp/guzzle 7.14.0 breaking changes
- Behavior changed
On libcurl versions before 7.69.0, SOCKS proxy connections are now separated by credentials. github.com - Behavior changed
A cURL multi option that cannot be applied now triggers a warning. Code with strict error handling may see new warnings. github.com
And 1 more in this version.
guzzlehttp/guzzle 7.13.3 breaking changes
- Behavior changed
Cookie domain matching now skips hosts that end in a newline, so cookies may no longer be sent to such hosts. Code relying on that matching must change. github.com - Behavior changed
Values with a trailing newline are now rejected where they were previously accepted. Code passing such values must remove the newline. github.com
guzzlehttp/guzzle 7.13.2 breaking changes
- Behavior changed
HEAD requests made through the cURL handler no longer transmit a request body. Code that relied on a body being sent with HEAD must send it another way. github.com
guzzlehttp/guzzle 7.13.0 breaking changes
- Behavior changed
Final request URIs without a scheme or host are now rejected before the transfer starts. github.com - Behavior changed
crypto_method
Requests with a TLS 1.2 crypto_method are routed to the stream handler when cURL cannot select TLS 1.2. github.com
And 1 more in this version.
guzzlehttp/guzzle 7.12.3 breaking changes
- Behavior changed
Cookies set for IP address and numeric domains now match only the exact domain, not broader matches. Code that relies on the previous looser cookie matching must be adjusted. github.com
guzzlehttp/guzzle 7.12.1 breaking changes
- Behavior changed
Proxy URLs with a malformed scheme are now rejected in the cURL handlers instead of being passed to libcurl, so code relying on them will now fail. github.com - Behavior changed
HTTPS proxies now raise an error when the installed libcurl has no HTTPS-proxy support, where they previously were attempted. Install a libcurl with HTTPS-proxy support or stop using HTTPS proxies. github.com
And 2 more in this version.
guzzlehttp/guzzle 7.12.0 breaking changes
- Behavior changed
No-proxy domain and IP literal matching is now normalized across the cURL and stream handlers, which can change which requests are proxied. github.com - Behavior changed
Proxy environment variables are read by Guzzle's cURL handlers instead of libcurl, which changes how proxies are picked up. github.com
And 4 more in this version.
guzzlehttp/guzzle 7.11.0 breaking changes
- Behavior changed
proxy
Host-and-port entries in the proxy no-proxy list now match only requests on those ports. Check proxy no-proxy rules that rely on ports. github.com - Signature changed
GuzzleHttp\Handler\CurlFactory::__construct
Was public function __construct(int $maxHandles); now public function __construct(int $maxHandles, string $shareMode = TransportSharing::NONE, $shareHandle = null). packagist.org
And 1 more in this version.
guzzlehttp/guzzle 7.10.6 breaking changes
- Behavior changed
SetCookie
An unparseable Expires value on SetCookie is now normalized to null rather than false. Code that checks for false must check for null instead. github.com
guzzlehttp/guzzle 7.9.3 breaking changes
- Behavior changed
GET requests no longer include an explicit Content-Length header. Code that relies on that header being present on GET requests must be updated. github.com
guzzlehttp/guzzle 7.9.2 breaking changes
- Behavior changed
The default handler picks cURL sooner, for cURL 7.21.2 and newer rather than 7.34.0 and newer. Code relying on the previous selection may see a different handler being used. github.com
guzzlehttp/guzzle 7.9.0 breaking changes
- Removed
Guzzle no longer supports the end-of-life guzzlehttp/psr7 version 1. Projects still using psr7 v1 must upgrade it. github.com - Behavior changed
Credentials in URI user info are now redacted in error messages. Code that parses or matches error message text may see different output. github.com
And 1 more in this version.
guzzlehttp/guzzle 7.2.0 breaking changes
- Signature changed
GuzzleHttp\Exception\RequestException::create
Was public static function create(RequestInterface $request, ResponseInterface $response = null, \Throwable $previous = null, array $ctx = []): self; now public static function create(RequestInterface $request, ResponseInterface $response... packagist.org - Signature changed
GuzzleHttp\Middleware::httpErrors
Was public static function httpErrors(): callable; now public static function httpErrors(BodySummarizerInterface $bodySummarizer = null): callable. packagist.org
guzzlehttp/guzzle 7.1.0 breaking changes
- Signature changed
GuzzleHttp\MessageFormatter
Was class MessageFormatter; now class MessageFormatter implements MessageFormatterInterface. packagist.org - Signature changed
GuzzleHttp\Middleware::log
Was public static function log(LoggerInterface $logger, MessageFormatter $formatter, string $logLevel = 'info'): callable; now public static function log(LoggerInterface $logger, $formatter, string $logLevel = 'info'): callable. packagist.org
guzzlehttp/guzzle 7.0.0 breaking changes
- Removed
GuzzleHttp\ClientInterface::VERSION
GuzzleHttp\ClientInterface::VERSION was removed in guzzlehttp/guzzle 7.0.0 packagist.org - Removed
GuzzleHttp\Cookie\CookieJar::getCookieValue
GuzzleHttp\Cookie\CookieJar::getCookieValue was removed in guzzlehttp/guzzle 7.0.0 packagist.org
And 124 more in this version.
guzzlehttp/guzzle 7.0.0-beta.1 breaking changes
- Removed
The 7.0.0 beta release dropped PHP 5.x support, so code running on PHP 5.x must move to a supported PHP version before upgrading. github.com
guzzlehttp/guzzle 6.0.0 breaking changes
- Removed
Event
The event system is removed in favor of middleware. github.com - Removed
GuzzleHttp\BatchResults
The BatchResults class is gone in v6 and no longer available to user code. packagist.org
And 90 more in this version.
guzzlehttp/guzzle 5.0.0 breaking changes
- Removed
GuzzleHttp\Adapter
Adapter classes were removed and replaced by callables stored in GuzzleHttp\Ring\Client. github.com - Removed
GuzzleHttp\Adapter\AdapterInterface
GuzzleHttp\Adapter\AdapterInterface was removed in guzzlehttp/guzzle 5.0.0 packagist.org
And 61 more in this version.
guzzlehttp/guzzle 4.0.0 breaking changes
- Removed
client.create_request
Client no longer emits create_request event in guzzlehttp/guzzle 4.0.0 github.com - Removed
configureRedirects
Use the allow_redirects request option instead. github.com
And 289 more in this version.
guzzlehttp/guzzle v3.0.0 breaking changes
- Removed
Guzzle\Common\Cache\Zf2CacheAdapter::$defaultOptions
Guzzle\Common\Cache\Zf2CacheAdapter::$defaultOptions was removed in guzzlehttp/guzzle v3.0.0 packagist.org - Removed
Guzzle\Common\GuzzleException
Guzzle\Common\GuzzleException was removed in guzzlehttp/guzzle v3.0.0 packagist.org
And 124 more in this version.
guzzlehttp/guzzle v2.0.0 breaking changes
- Removed
Guzzle\Common\Event\AbstractSubject
Guzzle\Common\Event\AbstractSubject was removed in guzzlehttp/guzzle v2.0.0 packagist.org - Removed
Guzzle\Common\Event\EventManager
Guzzle\Common\Event\EventManager was removed in guzzlehttp/guzzle v2.0.0 packagist.org
And 147 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.