symfony/serializer breaking changes
symfony/serializer v8.0.0 (November 27, 2025) is its newest release with breaking changes, 37 of them. The first: Annotation namespace class aliases removed in symfony/serializer v8.0.0. Every breaking API change we have recorded in symfony/serializer on Packagist: 177 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/serializer v8.0.0 breaking changes
- Removed
Class aliases in the Annotation namespace are removed, so use attributes instead. github.com - Removed
Getters in attribute classes are removed in favor of public properties. github.com - Removed
AdvancedNameConverterInterface
Use NameConverterInterface instead of the removed AdvancedNameConverterInterface. github.com - Removed
ClassMetadataFactoryCompiler
The compiled class metadata classes are removed. github.com - Removed
CompiledClassMetadataCacheWarmer
The compiled class metadata classes are removed. github.com - Removed
CompiledClassMetadataFactory
The compiled class metadata classes are removed. github.com - Removed
Symfony\Component\Serializer\Annotation\Context
Symfony\Component\Serializer\Annotation\Context was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Annotation\DiscriminatorMap
Symfony\Component\Serializer\Annotation\DiscriminatorMap was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Annotation\Groups
Symfony\Component\Serializer\Annotation\Groups was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Annotation\Ignore
Symfony\Component\Serializer\Annotation\Ignore was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Annotation\MaxDepth
Symfony\Component\Serializer\Annotation\MaxDepth was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Annotation\SerializedName
Symfony\Component\Serializer\Annotation\SerializedName was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Annotation\SerializedPath
Symfony\Component\Serializer\Annotation\SerializedPath was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Attribute\Context::getContext
Symfony\Component\Serializer\Attribute\Context::getContext was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Attribute\Context::getDenormalizationContext
Symfony\Component\Serializer\Attribute\Context::getDenormalizationContext was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Attribute\Context::getGroups
Symfony\Component\Serializer\Attribute\Context::getGroups was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Attribute\Context::getNormalizationContext
Symfony\Component\Serializer\Attribute\Context::getNormalizationContext was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Attribute\DiscriminatorMap::getDefaultType
Symfony\Component\Serializer\Attribute\DiscriminatorMap::getDefaultType was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Attribute\DiscriminatorMap::getMapping
Symfony\Component\Serializer\Attribute\DiscriminatorMap::getMapping was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Attribute\DiscriminatorMap::getTypeProperty
Symfony\Component\Serializer\Attribute\DiscriminatorMap::getTypeProperty was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Attribute\Groups::getGroups
Symfony\Component\Serializer\Attribute\Groups::getGroups was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Attribute\MaxDepth::getMaxDepth
Symfony\Component\Serializer\Attribute\MaxDepth::getMaxDepth was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Attribute\SerializedName::getSerializedName
Symfony\Component\Serializer\Attribute\SerializedName::getSerializedName was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Attribute\SerializedPath::getSerializedPath
Symfony\Component\Serializer\Attribute\SerializedPath::getSerializedPath was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\CacheWarmer\CompiledClassMetadataCacheWarmer
Symfony\Component\Serializer\CacheWarmer\CompiledClassMetadataCacheWarmer was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Context\Encoder\CsvEncoderContextBuilder::withEscapeChar
The withEscapeChar method is removed, so code calling it must be updated. packagist.org - Removed
Symfony\Component\Serializer\Context\Normalizer\AbstractNormalizerContextBuilder::withDefaultContructorArguments
Use withDefaultConstructorArguments instead of the removed misspelled method. packagist.org - Removed
Symfony\Component\Serializer\Encoder\CsvEncoder::ESCAPE_CHAR_KEY
The ESCAPE_CHAR_KEY constant and escape character functionality are removed from CsvEncoder. packagist.org - Removed
Symfony\Component\Serializer\Mapping\AttributeMetadataInterface
Symfony\Component\Serializer\Mapping\AttributeMetadataInterface was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Mapping\ClassMetadataInterface
Symfony\Component\Serializer\Mapping\ClassMetadataInterface was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryCompiler
Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryCompiler was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\Mapping\Factory\CompiledClassMetadataFactory
Symfony\Component\Serializer\Mapping\Factory\CompiledClassMetadataFactory was removed in symfony/serializer v8.0.0 packagist.org - Removed
Symfony\Component\Serializer\NameConverter\AdvancedNameConverterInterface
Use NameConverterInterface instead. packagist.org - Signature changed
Symfony\Component\Serializer\Mapping\Loader\AttributeLoader::__construct
Was public function __construct(private ?bool $allowAnyClass = true, private array $mappedClasses = []); now public function __construct(private bool $allowAnyClass = true, private array $mappedClasses = []). packagist.org - Signature changed
Symfony\Component\Serializer\NameConverter\MetadataAwareNameConverter
Was final class MetadataAwareNameConverter implements AdvancedNameConverterInterface; now final class MetadataAwareNameConverter implements NameConverterInterface. packagist.org - Signature changed
Symfony\Component\Serializer\NameConverter\NameConverterInterface::denormalize
denormalize gains optional class, format and context parameters, so custom implementations must update their signature. packagist.org - Signature changed
Symfony\Component\Serializer\NameConverter\NameConverterInterface::normalize
normalize gains optional class, format and context parameters, so custom implementations must update their signature. packagist.org
symfony/serializer v8.0.0-BETA1 breaking changes
- Removed
Symfony 8 drops support for PHP versions below 8.4, so projects must run PHP 8.4 or later. github.com - Removed
Annotation aliases and getters and setters are removed in favor of public properties on attributes. github.com - Removed
CsvEncoder
The deprecated escape_char option of CsvEncoder is gone, so code using it must stop passing it. github.com - Removed
Type
The Type class of PropertyInfo is removed, so code that uses it must change. github.com - Behavior changed
AttributeMetadata
AttributeMetadata can no longer be extended by subclasses. github.com - Behavior changed
ClassMetadata
ClassMetadata can no longer be extended by subclasses. github.com - Configuration changed
Symfony 8 requires PHP 8.4 or later, so users must upgrade their PHP runtime. github.com - Signature changed
AttributeMetadata
AttributeMetadata can no longer be extended. Stop subclassing it. github.com - Signature changed
ClassMetadata
ClassMetadata can no longer be extended. Stop subclassing it. github.com
symfony/serializer v7.0.0 breaking changes
- Removed
Symfony\Component\Serializer\Context\Normalizer\AbstractNormalizerContextBuilder::withDefaultConstructorArguments
Symfony\Component\Serializer\Context\Normalizer\AbstractNormalizerContextBuilder::withDefaultConstructorArguments was removed in symfony/serializer v7.0.0 packagist.org - Removed
Symfony\Component\Serializer\DataCollector\SerializerDataCollector
Symfony\Component\Serializer\DataCollector\SerializerDataCollector was removed in symfony/serializer v7.0.0 packagist.org - Removed
Symfony\Component\Serializer\Debug\TraceableEncoder
Symfony\Component\Serializer\Debug\TraceableEncoder was removed in symfony/serializer v7.0.0 packagist.org - Removed
Symfony\Component\Serializer\Debug\TraceableNormalizer
Symfony\Component\Serializer\Debug\TraceableNormalizer was removed in symfony/serializer v7.0.0 packagist.org - Removed
Symfony\Component\Serializer\Debug\TraceableSerializer
Symfony\Component\Serializer\Debug\TraceableSerializer was removed in symfony/serializer v7.0.0 packagist.org - Removed
Symfony\Component\Serializer\Encoder\JsonDecode::$serializer
Symfony\Component\Serializer\Encoder\JsonDecode::$serializer was removed in symfony/serializer v7.0.0 packagist.org - Removed
Symfony\Component\Serializer\Mapping\Loader\AnnotationLoader
Symfony\Component\Serializer\Mapping\Loader\AnnotationLoader was removed in symfony/serializer v7.0.0 packagist.org - Removed
Symfony\Component\Serializer\Mapping\Loader\AttributeLoader::loadAnnotations
Symfony\Component\Serializer\Mapping\Loader\AttributeLoader::loadAnnotations was removed in symfony/serializer v7.0.0 packagist.org - Removed
Symfony\Component\Serializer\Normalizer\ArrayDenormalizer::hasCacheableSupportsMethod
Use getSupportedTypes instead. packagist.org - Removed
Symfony\Component\Serializer\Normalizer\BackedEnumNormalizer::hasCacheableSupportsMethod
Use getSupportedTypes instead. packagist.org
And 108 more in this version. Sign up to see every change
symfony/serializer v7.0.0-BETA1 breaking changes
- Removed
Abstract UID denormalization code was removed from the serializer. github.com - Removed
BC layers for methods and parameters added in earlier versions were removed. github.com - Removed
Support for Doctrine annotations in the serializer is removed. Use attributes instead. github.com - Removed
Deprecated code paths were removed. Stop relying on them. github.com - Removed
The abstract uid denormalization code was removed from the serializer. github.com - Removed
The serializer now requires PHP 8.2 or later. Upgrade PHP before updating. github.com - Removed
The serializer BC layer was removed. github.com - Removed
Doctrine annotations are no longer supported for serializer mapping. Use attributes instead. github.com - Removed
The serializer backward compatibility layer was removed. github.com - Configuration changed
The package now requires PHP 8.2 or later. Upgrade PHP before updating. github.com
And 3 more in this version. Sign up to see every change
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.