NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #141 most downloaded on Packagist
Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.
Latest stable
v8.1.11
Last release 7 days ago
13 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Rarely documented
notes for 2 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
787 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
bug symfony/symfony#62003 [Serializer] Fix unexpected type in denormalization errors when float|int union type used in constructor with non numeric st
Changelog (https://github.com/symfony/serializer/compare/v7.3.4...v7.3.5)
bug symfony/symfony#61746 [Serializer] Fix unknown type in denormalization errors when union type used in constructor (@d-mitrofanov-v)
Changelog (https://github.com/symfony/serializer/compare/v7.3.3...v7.3.4)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
bug symfony/symfony#61526 [Serializer] Don't fallback to default serializer if tags specify a named one (@HypeMC)
Changelog (https://github.com/symfony/serializer/compare/v7.3.2...v7.3.3)
bug symfony/symfony#60296 [Serializer] Handle invalid mapping type property type (@KorvinSzanto)
Changelog (https://github.com/symfony/serializer/compare/v7.3.1...v7.3.2)
readonly property initialization from incorrect scope (@santysisi)AbstractObjectNormalizer::getAllowedAttributes() (@xabbuh)bug symfony/symfony#60413 [Serializer] Fix collect_denormalization_errors flag in defaultContext (@dmbrson)
Changelog (https://github.com/symfony/serializer/compare/v7.3.0...v7.3.1)
ConstFetchNode (@norkunas)TraceableSerializer when called from a callable inside array_map (@OrestisZag)Changelog (https://github.com/symfony/serializer/compare/v7.3.0-RC1...v7.3.0) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v7.3.0-RC1...v7.3.0)
CompiledClassMetadataFactory and CompiledClassMetadataCacheWarmer classesNormalizerInterface and DenormalizerInterface aliases for named serializersNumberNormalizer to normalize BcMath\Number and GMP as stringdefaultType to DiscriminatorMapbug symfony/symfony#60260 [Serializer] Prevent Cannot traverse an already closed generator error by materializing Traversable input (@santysisi)
Changelog (https://github.com/symfony/serializer/compare/v7.3.0-BETA2...v7.3.0-RC1)
Cannot traverse an already closed generator error by materializing Traversable input (@santysisi)feature symfony/symfony#59286 [Serializer] Deprecate the CompiledClassMetadataFactory (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v7.2.6...v7.3.0-BETA1)
defaultType to DiscriminatorMap (@alanpoulain)NumberNormalizer (@valtzu)CompiledClassMetadataFactory (@mtarld)bug symfony/symfony#60296 [Serializer] Handle invalid mapping type property type (@KorvinSzanto)
Changelog (https://github.com/symfony/serializer/compare/v7.2.8...v7.2.9)
readonly property initialization from incorrect scope (@santysisi)AbstractObjectNormalizer::getAllowedAttributes() (@xabbuh)bug symfony/symfony#60413 [Serializer] Fix collect_denormalization_errors flag in defaultContext (@dmbrson)
Changelog (https://github.com/symfony/serializer/compare/v7.2.7...v7.2.8)
ConstFetchNode (@norkunas)TraceableSerializer when called from a callable inside array_map (@OrestisZag)bug symfony/symfony#60260 [Serializer] Prevent Cannot traverse an already closed generator error by materializing Traversable input (@santysisi)
Changelog (https://github.com/symfony/serializer/compare/v7.2.6...v7.2.7)
Cannot traverse an already closed generator error by materializing Traversable input (@santysisi)Changelog (https://github.com/symfony/serializer/compare/v7.2.5...v7.2.6) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v7.2.5...v7.2.6)
bug symfony/symfony#60026 [Serializer] Fix ObjectNormalizer default context with named serializers (@HypeMC)
Changelog (https://github.com/symfony/serializer/compare/v7.2.4...v7.2.5)
bug symfony/symfony#59840 Fix PHP warning in GetSetMethodNormalizer when a "set()" method is defined (@Pepperoni1337)
Changelog (https://github.com/symfony/serializer/compare/v7.2.3...v7.2.4)
bug symfony/symfony#58889 [Serializer] Handle default context in Serializer (@Valmonzo)
Changelog (https://github.com/symfony/serializer/compare/v7.2.2...v7.2.3)
YamlEncoder (@VincentLanglet)bug symfony/symfony#58885 [PropertyInfo][Serializer][TypeInfo][Validator] TypeInfo 7.1 compatibility (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v7.2.0-RC1...v7.2.0)
csv_escape_char context option of CsvEncoder and the CsvEncoder::ESCAPE_CHAR_KEY constantCsvEncoderContextBuilder::withEscapeChar() methodSnakeCaseToCamelCaseNameConverter\DateTime and \DateTimeImmutable for denormalizationUidNormalizer::NORMALIZATION_FORMAT_RFC9562 constantAdvancedNameConverterInterface, use NameConverterInterface insteadNothing published for this version
Nothing published for this version
feature symfony/symfony#58308 [Serializer] Deprecate AdvancedNameConverterInterface (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v7.1.6...v7.2.0-BETA1)
AdvancedNameConverterInterface (@mtarld)Uuid::FORMAT_RFC_9562 and UidNormalizer::NORMALIZATION_FORMAT_RFC9562 constants (@alexandre-daubois)DateTime and DateTimeImmutable (@amcsi)bug symfony/symfony#58889 [Serializer] Handle default context in Serializer (@Valmonzo)
Changelog (https://github.com/symfony/serializer/compare/v7.1.10...v7.1.11)
YamlEncoder (@VincentLanglet)bug symfony/symfony#58870 [Serializer][Validator] prevent failures around not existing TypeInfo classes (@xabbuh)
Changelog (https://github.com/symfony/serializer/compare/v7.1.8...v7.1.9)
bug symfony/symfony#56868 [Serializer] fixed object normalizer for a class with cancel method (@er1z)
Changelog (https://github.com/symfony/serializer/compare/v7.1.7...v7.1.8)
cancel method (@er1z)bug symfony/symfony#58255 [Serializer] Fix ObjectNormalizer gives warnings on normalizing with public static property (André Laugks)
Changelog (https://github.com/symfony/serializer/compare/v7.1.5...v7.1.6)
ObjectNormalizer gives warnings on normalizing with public static property (André Laugks)bug symfony/symfony#58259 [TypeInfo] Return bound type as base type in TemplateType (@valtzu)
Changelog (https://github.com/symfony/serializer/compare/v7.1.4...v7.1.5)
TemplateType (@valtzu)get() (@mihai-stancu)bug symfony/symfony#57928 [Serializer] fix denormalizing mixed collection values (@rynhndrcksn)
Changelog (https://github.com/symfony/serializer/compare/v7.1.3...v7.1.4)
bug symfony/symfony#57646 [Serializer] Raise correct exception in ArrayDenormalizer when called without a nested denormalizer (@derrabus)
Changelog (https://github.com/symfony/serializer/compare/v7.1.2...v7.1.3)
ArrayDenormalizer when called without a nested denormalizer (@derrabus)bug symfony/symfony#57541 [Serializer] [ObjectNormalizer] Use bool filter when FILTER_BOOL is set (Maximilian Zumbansen)
Changelog (https://github.com/symfony/serializer/compare/v7.1.1...v7.1.2)
AbstractObjectNormalizer (@HypeMC, @xabbuh)ObjectNormalizer with property path (@HypeMC)bug symfony/symfony#57197 [Serializer] Fix denormalizing a collection of union types (@HypeMC)
Changelog (https://github.com/symfony/serializer/compare/v7.1.0...v7.1.1)
bug symfony/symfony#54971 [Serializer] Cache readability/writability computation (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v7.1.0-RC1...v7.1.0)
$class, $format and $context to NameConverterInterface::normalize() and NameConverterInterface::denormalize()DateTimeNormalizer::CAST_KEY context optionDefault and "class name" default groupsAbstractNormalizer::FILTER_BOOL context optionCamelCaseToSnakeCaseNameConverter::REQUIRE_SNAKE_CASE_PROPERTIES context optionAbstractNormalizerContextBuilder::withDefaultContructorArguments(?array $defaultContructorArguments), use withDefaultConstructorArguments(?array $defaultConstructorArguments) instead (note the missing s character in Constructor word in deprecated method)XmlEncoder::CDATA_WRAPPING_PATTERN context optionbug symfony/symfony#49186 [Serializer] Improve exception message in UnwrappingDenormalizer (@andersonamuller)
Changelog (https://github.com/symfony/serializer/compare/v7.1.0-BETA1...v7.1.0-RC1)
GetSetMethodNormalizer not working with setters with optional args (@HypeMC)feature symfony/symfony#53160 [PropertyInfo] Deprecate PropertyInfo Type (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v7.0.7...v7.1.0-BETA1)
XmlEncoder::CDATA_WRAPPING_PATTERN context option (@alexpozzi)CamelCaseToSnakeCaseNameConverter (@AurelienPillevesse)DateTimeNormalizer::CAST_KEY context option (@norkunas)bug symfony/symfony#57646 [Serializer] Raise correct exception in ArrayDenormalizer when called without a nested denormalizer (@derrabus)
Changelog (https://github.com/symfony/serializer/compare/v7.0.9...v7.0.10)
ArrayDenormalizer when called without a nested denormalizer (@derrabus)bug symfony/symfony#57341 [Serializer] properly handle invalid data for false/true types (@xabbuh)
Changelog (https://github.com/symfony/serializer/compare/v7.0.8...v7.0.9)
ObjectNormalizer with property path (@HypeMC)bug symfony/symfony#54971 [Serializer] Cache readability/writability computation (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v7.0.7...v7.0.8)
GetSetMethodNormalizer not working with setters with optional args (@HypeMC)bug symfony/symfony#54635 [Serializer] Revert "Fix object normalizer when properties has the same name as their accessor" - it was a BC Break (@NeilPe
Changelog (https://github.com/symfony/serializer/compare/v7.0.6...v7.0.7)
bug symfony/symfony#54148 [Serializer] Fix object normalizer when properties has the same name as their accessor (@NeilPeyssard)
Changelog (https://github.com/symfony/serializer/compare/v7.0.5...v7.0.6)
bug symfony/symfony#53959 [Serializer] Fix unknown types normalization type when know type (@Myks92)
Changelog (https://github.com/symfony/serializer/compare/v7.0.3...v7.0.4)
bug symfony/symfony#53678 [Mime] Fix serializing uninitialized RawMessage::$message to null (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v7.0.2...v7.0.3)
RawMessage::$message to null (@nicolas-grekas)AbstractObjectNormalizer::createChildContext() to use the provided cache_key from original context when creating child contexts (@amne)GetSetMethodNormalizer: fix BC break with #[Ignore] attribute (@nikophil)bug symfony/symfony#53140 [Serializer] Skip uninitialized properties with deep_object_to_populate (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v7.0.1...v7.0.2)
bug symfony/symfony#52804 [Serializer] Fix support of plain object types denormalization (@andersonamuller)
Changelog (https://github.com/symfony/serializer/compare/v7.0.0...v7.0.1)
bug symfony/symfony#52786 [Serializer] Revert allowed attributes fix (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v7.0.0-RC2...v7.0.0)
getSupportedTypes() to DenormalizerInterface and NormalizerInterfaceAbstractUid in UidNormalizer, use one of AbstractUid child class insteadUidNormalizer now throws an \ErrorContextAwareDenormalizerInterface, use DenormalizerInterface insteadContextAwareNormalizerInterface, use NormalizerInterface insteadCacheableSupportsMethodInterface, use NormalizerInterface and DenormalizerInterface insteadAttributeMetadata::setSerializedName() and ClassMetadata::setClassDiscriminatorMapping()$context to NormalizerInterface::supportsNormalization() and DenormalizerInterface::supportsDenormalization()AnnotationLoader, use AttributeLoader insteadbug symfony/symfony#52172 [Serializer] Fix denormalizing empty string into object|null parameter (@Jeroeny)
Changelog (https://github.com/symfony/serializer/compare/v7.0.0-RC1...v7.0.0-RC2)
object|null parameter (@Jeroeny)@Ignore annotation (@mtarld)Changelog (https://github.com/symfony/serializer/compare/v7.0.0-BETA3...v7.0.0-RC1) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v7.0.0-BETA3...v7.0.0-RC1)
Changelog (https://github.com/symfony/serializer/compare/v7.0.0-BETA2...v7.0.0-BETA3) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v7.0.0-BETA2...v7.0.0-BETA3)
bug symfony/symfony#51992 [Serializer] Fix using DateIntervalNormalizer with union types (@Jeroeny)
Changelog (https://github.com/symfony/serializer/compare/v7.0.0-BETA1...v7.0.0-BETA2)
DateIntervalNormalizer with union types (@Jeroeny)feature symfony/symfony#51470 [FrameworkBundle][Serializer] Deprecate annotations (@alexandre-daubois)
Changelog (https://github.com/symfony/serializer/compare/v6.3.6...v7.0.0-BETA1)
$buildDir argument to WarmableInterface::warmup to warm read-only artefacts in build_dir (@Okhoshi)XmlEncoder::CDATA_WRAPPING context option (@AndoniLarz)ProblemNormalizer give details about Messenger’s ValidationFailedException (@MatTheCat)security #cve-2026-118515 Don't build UploadedFile and other file objects from denormalized data ( @nicolas-grekas )
Changelog (v6.4.49...v6.4.50)
[EOM] End of maintenance release for branch 6.4
[SECURITY] Security release
Changelog ( v6.4.47...v6.4.49 )
Changelog (v6.4.47...v6.4.49)
DataUriNormalizer denormalized (@nicolas-grekas)[SECURITY] Security release
bug #66408 Don't include the debug trace id in the attributes cache key (@javiereguiluz)
Changelog (https://github.com/symfony/serializer/compare/v6.4.46...v6.4.47)
bug #65907 Don't reuse list items with deep_object_to_populate (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v6.4.45...v6.4.46)
bug #65686 Check the denormalized class is a Mime part in MimeMessageNormalizer (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v6.4.44...v6.4.45)
bug #65367 Fix PHP 8.6 deprecations (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v6.4.43...v6.4.44)
bug #65025 Check the denormalized class is a Mime part in MimeMessageNormalizer (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v6.4.42...v6.4.43)
PhpDocTypeHelper to wrongly assume keys type (@MatTheCat)bug #64718 Fix GetSetMethodNormalizer denormalization of constructor only objects (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v6.4.37...v6.4.42)
GetSetMethodNormalizer denormalization of constructor only objects (@mtarld)csv_headers context when no_headers is true (@ousamabenyounes)bug #64067 Move type-mismatch and uninitialized-property handling into concrete normalizers (@ousamabenyounes)
Changelog (https://github.com/symfony/serializer/compare/v6.4.36...v6.4.37)
BackedEnumNormalizer unconditionally return null on invalid value if allow_invalid_values is set (@MatTheCat)bug #63817 Fix denormalization of nested array with key types (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v6.4.35...v6.4.36)
bug #63602 Fix denormalization of magic __set properties (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v6.4.34...v6.4.35)
__set properties (@nicolas-grekas)bug #57392 Fix propertyPath in ConstraintViolationListNormalizer with MetadataAwareNameConverter (@antten)
Changelog (https://github.com/symfony/serializer/compare/v6.4.33...v6.4.34)
bug #63191 Apply # to the right metadata (@VincentLanglet)
Changelog (https://github.com/symfony/serializer/compare/v6.4.32...v6.4.33)
# to the right metadata (@VincentLanglet)bug #63136 Fix is/has/can accessor naming to strip prefix unless colliding (nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v6.4.31...v6.4.32)
allow_extra_attributes=false (xersion22)One column per quarter.