symfony/cache breaking changes
symfony/cache v8.0.0 (November 27, 2025) is its newest release with breaking changes, 11 of them. The first: Removed Symfony\Component\Cache\Adapter\CouchbaseBucketAdapter. Every breaking API change we have recorded in symfony/cache on Packagist: 53 breaking changes in 6 versions. Below, its 6 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/cache v8.0.0 breaking changes
- Removed
Symfony\Component\Cache\Adapter\CouchbaseBucketAdapter
Symfony\Component\Cache\Adapter\CouchbaseBucketAdapter was removed in symfony/cache v8.0.0 packagist.org - Removed
Symfony\Component\Cache\CacheItem::$clock
Symfony\Component\Cache\CacheItem::$clock was removed in symfony/cache v8.0.0 packagist.org - Signature changed
Symfony\Component\Cache\Adapter\AbstractAdapter::createConnection
Was public static function createConnection(#[\SensitiveParameter] string $dsn, #[\SensitiveParameter] array $options = []): mixed; now public static function createConnection(#[\SensitiveParameter] string $dsn, array $options = []): mixed. packagist.org - Signature changed
Symfony\Component\Cache\Adapter\CouchbaseCollectionAdapter::createConnection
Was public static function createConnection(#[\SensitiveParameter] array|string $dsn, #[\SensitiveParameter] array $options = []): Bucket|Collection; now public static function createConnection(#[\SensitiveParameter] array|string $dsn... packagist.org - Signature changed
Symfony\Component\Cache\Adapter\DoctrineDbalAdapter::__construct
Was public function __construct(#[\SensitiveParameter] Connection|string $connOrDsn, private string $namespace = '', int $defaultLifetime = 0, array $options = [], ?MarshallerInterface $marshaller = null); now public function... packagist.org - Signature changed
Symfony\Component\Cache\Adapter\DoctrineDbalAdapter::configureSchema
Was public function configureSchema(Schema $schema, Connection $forConnection, \Closure $isSameDatabase); now public function configureSchema(Schema $schema, Connection $forConnection, \Closure $isSameDatabase): void. packagist.org - Signature changed
Symfony\Component\Cache\Adapter\MemcachedAdapter::createConnection
Was public static function createConnection(#[\SensitiveParameter] array|string $servers, #[\SensitiveParameter] array $options = []): \Memcached; now public static function createConnection(#[\SensitiveParameter] array|string $servers... packagist.org - Signature changed
Symfony\Component\Cache\Adapter\PdoAdapter::__construct
Was public function __construct(#[\SensitiveParameter] \PDO|string $connOrDsn, string $namespace = '', int $defaultLifetime = 0, #[\SensitiveParameter] array $options = [], ?MarshallerInterface $marshaller = null); now public function... packagist.org - Signature changed
Symfony\Component\Cache\LockRegistry::compute
Was public static function compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, ?\Closure $setMetadata = null, ?LoggerInterface $logger = null, ?float $beta = null): mixed; now public static function... packagist.org - Signature changed
Symfony\Component\Cache\Messenger\EarlyExpirationDispatcher::__invoke
Was public function __invoke(callable $callback, CacheItem $item, bool &$save, AdapterInterface $pool, \Closure $setMetadata, ?LoggerInterface $logger = null, ?float $beta = null): mixed; now public function __invoke(callable $callback... packagist.org - Signature changed
Symfony\Component\Cache\Messenger\EarlyExpirationHandler::__invoke
Was public function __invoke(EarlyExpirationMessage $message); now public function __invoke(EarlyExpirationMessage $message): void. packagist.org
symfony/cache v8.0.0-BETA1 breaking changes
- Removed
Symfony 8 requires PHP 8.4 or later. Users on older PHP versions must upgrade PHP before upgrading. github.com - Removed
CouchbaseBucketAdapter
The deprecated CouchbaseBucketAdapter was removed in 8.0.0. Code that uses it must switch to another cache adapter. github.com - Configuration changed
Symfony 8 requires PHP 8.4 or newer. Projects on older PHP versions must upgrade PHP before moving to this release. github.com - Configuration changed
The cache component now requires ext-relay 0.12 or later. Users of the Relay adapter must upgrade the extension. github.com - Configuration changed
The cache component now requires ext-relay 0.12 or later. Upgrade the extension before updating. github.com
symfony/cache v7.0.0 breaking changes
- Removed
Symfony\Component\Cache\Adapter\TagAwareAdapter::__serialize
Symfony\Component\Cache\Adapter\TagAwareAdapter::__serialize was removed in symfony/cache v7.0.0 packagist.org - Removed
Symfony\Component\Cache\Adapter\TagAwareAdapter::__unserialize
Symfony\Component\Cache\Adapter\TagAwareAdapter::__unserialize was removed in symfony/cache v7.0.0 packagist.org - Signature changed
Symfony\Component\Cache\Adapter\AbstractAdapter::createConnection
Was public static function createConnection(#[\SensitiveParameter] string $dsn, #[\SensitiveParameter] array $options = []): mixed; now public static function createConnection(#[\SensitiveParameter] string $dsn, array $options = []): mixed. packagist.org - Signature changed
Symfony\Component\Cache\Adapter\ApcuAdapter::isSupported
Was public static function isSupported(); now public static function isSupported(): bool. packagist.org - Signature changed
Symfony\Component\Cache\Adapter\ArrayAdapter::reset
Was public function reset(); now public function reset(): void. packagist.org - Signature changed
Symfony\Component\Cache\Adapter\ChainAdapter::reset
Was public function reset(); now public function reset(): void. packagist.org - Signature changed
Symfony\Component\Cache\Adapter\CouchbaseBucketAdapter::createConnection
Was public static function createConnection(#[\SensitiveParameter] array|string $servers, #[\SensitiveParameter] array $options = []): \CouchbaseBucket; now public static function createConnection(#[\SensitiveParameter] array|string... packagist.org - Signature changed
Symfony\Component\Cache\Adapter\CouchbaseCollectionAdapter::createConnection
Was public static function createConnection(#[\SensitiveParameter] array|string $dsn, #[\SensitiveParameter] array $options = []): Bucket|Collection; now public static function createConnection(#[\SensitiveParameter] array|string $dsn... packagist.org - Signature changed
Symfony\Component\Cache\Adapter\DoctrineDbalAdapter::__construct
Was public function __construct(#[\SensitiveParameter] Connection|string $connOrDsn, string $namespace = '', int $defaultLifetime = 0, array $options = [], ?MarshallerInterface $marshaller = null); now public function... packagist.org - Signature changed
Symfony\Component\Cache\Adapter\MemcachedAdapter::createConnection
Was public static function createConnection(#[\SensitiveParameter] array|string $servers, #[\SensitiveParameter] array $options = []): \Memcached; now public static function createConnection(#[\SensitiveParameter] array|string $servers... packagist.org
And 19 more in this version. Sign up to see every change
symfony/cache v7.0.0-RC2 breaking changes
- Behavior changed
The cache no longer detects the database server version. Code that relied on this detection must now handle the database setup itself. github.com - Behavior changed
Passwords in RedisTrait DSNs are now URL-decoded. DSN passwords that contain percent-encoded characters will be read differently than before. github.com - Behavior changed
RedisTrait
Passwords in the Redis DSN are now URL-decoded. Passwords containing percent-encoded characters may now resolve differently and should be checked. github.com
symfony/cache v7.0.0-BETA3 breaking changes
- Behavior changed
Exception messages no longer contain the full DSN. Code that parses or logs these messages may see different text. github.com
symfony/cache v7.0.0-BETA1 breaking changes
- Removed
The package now requires PHP 8.2 or later. Projects on older PHP versions must upgrade before using this release. github.com - Behavior changed
The package now requires PHP 8.2 as a minimum. Projects on older PHP versions must upgrade PHP before using this version. github.com - Signature changed
Methods now declare native return types, which can break subclasses that override them with different return types. github.com - Signature changed
Symfony\Component\Cache\Adapter\DoctrineDbalAdapter::configureSchema
configureSchema() methods gained an $isSameDatabase parameter. Code that overrides or calls them should be updated to match the new signature. packagist.org
Related packages
- symfony/asset
- symfony/browser-kit
- symfony/config
- symfony/console
- symfony/css-selector
- symfony/debug-bundle
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.