symfony/http-client breaking changes
symfony/http-client v8.0.0 (November 27, 2025) is its newest release with breaking changes, 8 of them. The first: Removed Symfony\Component\HttpClient\NoPrivateNetworkHttpClient::setLogger. Every breaking API change we have recorded in symfony/http-client on Packagist: 37 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v8.2.0, released November 28, 2026. MIT license. Source repository
Its v8.0.0-BETA1 release requires PHP 8.4 or later. PHP end of life dates.
symfony/http-client v8.0.0 breaking changes
- Removed
Symfony\Component\HttpClient\NoPrivateNetworkHttpClient::setLogger
Symfony\Component\HttpClient\NoPrivateNetworkHttpClient::setLogger was removed in symfony/http-client v8.0.0 packagist.org - Removed
Symfony\Component\HttpClient\ScopingHttpClient::setLogger
Symfony\Component\HttpClient\ScopingHttpClient::setLogger was removed in symfony/http-client v8.0.0 packagist.org - Removed
Symfony\Component\HttpClient\TraceableHttpClient::setLogger
Symfony\Component\HttpClient\TraceableHttpClient::setLogger was removed in symfony/http-client v8.0.0 packagist.org - Signature changed
Symfony\Component\HttpClient\CachingHttpClient::__construct
Was public function __construct(private HttpClientInterface $client, TagAwareCacheInterface|StoreInterface $cache, array $defaultOptions = [], private readonly bool $sharedCache = true, private readonly ?int $maxTtl = null); now public... packagist.org - Signature changed
Symfony\Component\HttpClient\NoPrivateNetworkHttpClient
Was final class NoPrivateNetworkHttpClient implements HttpClientInterface, LoggerAwareInterface, ResetInterface; now final class NoPrivateNetworkHttpClient implements HttpClientInterface, ResetInterface. packagist.org - Signature changed
Symfony\Component\HttpClient\Response\AsyncContext::__construct
Was public function __construct(?callable &$passthru, private HttpClientInterface $client, ResponseInterface &$response, array &$info, private $content, private int $offset, float &$maxDurationExpiry = 0.0); now public function... packagist.org - Signature changed
Symfony\Component\HttpClient\ScopingHttpClient
Was class ScopingHttpClient implements HttpClientInterface, ResetInterface, LoggerAwareInterface; now class ScopingHttpClient implements HttpClientInterface, ResetInterface. packagist.org - Signature changed
Symfony\Component\HttpClient\TraceableHttpClient
Was final class TraceableHttpClient implements HttpClientInterface, ResetInterface, LoggerAwareInterface; now final class TraceableHttpClient implements HttpClientInterface, ResetInterface. packagist.org
symfony/http-client v8.0.0-BETA1 breaking changes
- Removed
The HTTP client no longer supports amphp/http-client versions below 5. github.com - Removed
Symfony 8 requires PHP 8.4 or later. github.com - Removed
StoreInterface
StoreInterface can no longer be used as the HTTP client cache. github.com - Behavior changed
QUERY is added to the HTTP methods that are retried, so existing code may see retried QUERY requests. github.com - Behavior changed
CachingHttpClient
Caching now follows RFC 9111 rules, which may change how cached responses are handled. github.com
symfony/http-client v7.0.0 breaking changes
- Removed
Symfony\Component\HttpClient\HttplugClient::__serialize
Symfony\Component\HttpClient\HttplugClient::__serialize was removed in symfony/http-client v7.0.0 packagist.org - Removed
Symfony\Component\HttpClient\HttplugClient::__unserialize
Symfony\Component\HttpClient\HttplugClient::__unserialize was removed in symfony/http-client v7.0.0 packagist.org - Signature changed
Symfony\Component\HttpClient\AsyncDecoratorTrait::reset
Was public function reset(); now public function reset(): void. packagist.org - Signature changed
Symfony\Component\HttpClient\CachingHttpClient::reset
Was public function reset(); now public function reset(): void. packagist.org - Signature changed
Symfony\Component\HttpClient\CurlHttpClient::__construct
Was public function __construct(array $defaultOptions = [], int $maxHostConnections = 6, int $maxPendingPushes = 0); now public function __construct(array $defaultOptions = [], int $maxHostConnections = 6, int $maxPendingPushes = 50). packagist.org - Signature changed
Symfony\Component\HttpClient\DecoratorTrait::reset
Was public function reset(); now public function reset(): void. packagist.org - Signature changed
Symfony\Component\HttpClient\EventSourceHttpClient::reset
Was public function reset(); now public function reset(): void. packagist.org - Signature changed
Symfony\Component\HttpClient\HttplugClient
Was final class HttplugClient implements ClientInterface, HttpAsyncClient, RequestFactoryInterface, StreamFactoryInterface, UriFactoryInterface, ResetInterface, LegacyHttplugInterface; now final class HttplugClient implements... packagist.org - Signature changed
Symfony\Component\HttpClient\HttplugClient::createRequest
Was public function createRequest($method, $uri, array $headers = [], $body = null, $protocolVersion = '1.1'): RequestInterface; now public function createRequest(string $method, $uri = ''): RequestInterface. packagist.org - Signature changed
Symfony\Component\HttpClient\HttplugClient::createStream
Was public function createStream($content = ''): StreamInterface; now public function createStream(string $content = ''): StreamInterface. packagist.org
And 9 more in this version. Sign up to see every change
symfony/http-client v7.0.0-BETA1 breaking changes
- Removed
The package now requires PHP 8.2 or later, so users on older PHP versions must upgrade PHP. github.com - Removed
HttplugClient
HttplugClient stops implementing Http\Message\RequestFactory, so code that relies on it as a RequestFactory must change. github.com - Behavior changed
The package drops support for PHP versions below 8.2. Upgrade PHP to 8.2 or later before using this version. github.com - Signature changed
Methods in the components now declare native return types, which can break subclasses or implementations with incompatible return types. github.com - Signature changed
Methods across components gained native return types. Subclasses that override these methods must add matching return types. github.com
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.