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 2 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.
feature #43534 Add SerializedPath annotation to flatten nested attributes (boenner)
Changelog (https://github.com/symfony/serializer/compare/v6.1.6...v6.2.0-BETA1)
SerializedPath annotation to flatten nested attributes (boenner)YamlEncoder (dbu)Nothing published for this version
bug #48718 Compatibility with doctrine/annotations 2 (derrabus)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Changelog (https://github.com/symfony/serializer/compare/v6.1.8...v6.1.9)
GetSetMethodNormalizer from creating invalid magic method call (klaussilveira)bug #47764 fixed traceable decoration priorities (mtarld)
Changelog (https://github.com/symfony/serializer/compare/v6.1.5...v6.1.6)
bug #45554 Fixed framework.serializer.default_context is not working for JsonEncoder (siganushka)
Changelog (https://github.com/symfony/serializer/compare/v6.1.4...v6.1.5)
bug #47150 Revert deprecation of ContextAwareEncoderInterface and ContextAwareDecoderInterface (nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v6.1.3...v6.1.4)
ContextAwareEncoderInterface and ContextAwareDecoderInterface (nicolas-grekas)bug #47104 Fix wrong needsNormalization in TraceableEncoder (ostrolucky)
Changelog (https://github.com/symfony/serializer/compare/v6.1.2...v6.1.3)
bug #46765 Fix denormalization union types with constructor (Gwemox)
Changelog (https://github.com/symfony/serializer/compare/v6.1.1...v6.1.2)
bug #46577 Fix ignore attribute in Xml files (alamirault)
Changelog (https://github.com/symfony/serializer/compare/v6.1.0...v6.1.1)
Changelog (https://github.com/symfony/serializer/compare/v6.1.0-RC1...v6.1.0) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.1.0-RC1...v6.1.0)
TraceableSerializer, TraceableNormalizer, TraceableEncoder and SerializerDataCollector to integrate with the web profilerContext annotation as not finalContextAwareNormalizerInterface, use NormalizerInterface insteadContextAwareDenormalizerInterface, use DenormalizerInterface insteadAbstractUid in UidNormalizer, use one of AbstractUid child class insteadUidNormalizercan*() methods to ObjectNormalizerbug #46297 Fix JsonSerializableNormalizer ignores circular reference handler in $context (BreyndotEchse)
Changelog (https://github.com/symfony/serializer/compare/v6.1.0-BETA2...v6.1.0-RC1)
feature #45282 Support canners in object normalizer (rmikalkenas)
Changelog (https://github.com/symfony/serializer/compare/v6.1.0-BETA1...v6.1.0-BETA2)
feature #44721 Deprecate support for abstract uid denormalization in UidNormalizer (fancyweb)
Changelog (https://github.com/symfony/serializer/compare/v6.0.7...v6.1.0-BETA1)
bug #48978 use method_exists() instead of catching reflection exceptions (xabbuh)
Changelog (https://github.com/symfony/serializer/compare/v6.0.18...v6.0.19)
bug #48718 Compatibility with doctrine/annotations 2 (derrabus)
Changelog (https://github.com/symfony/serializer/compare/v6.0.16...v6.0.17)
GetSetMethodNormalizer from creating invalid magic method call (klaussilveira)bug #47753 sync message serializer code for forward-compatibility (xabbuh)
Changelog (https://github.com/symfony/serializer/compare/v6.0.13...v6.0.14)
bug #45554 Fixed framework.serializer.default_context is not working for JsonEncoder (siganushka)
Changelog (https://github.com/symfony/serializer/compare/v6.0.12...v6.0.13)
bug #47128 Throw InvalidArgumentException if the data needed in the constructor doesn't belong to a backedEnum (allison guilhem)
Changelog (https://github.com/symfony/serializer/compare/v6.0.11...v6.0.12)
bug #47048 Fix XmlEncoder encoding attribute false (alamirault)
Changelog (https://github.com/symfony/serializer/compare/v6.0.10...v6.0.11)
bug #46765 Fix denormalization union types with constructor (Gwemox)
Changelog (https://github.com/symfony/serializer/compare/v6.0.9...v6.0.10)
bug #46297 Fix JsonSerializableNormalizer ignores circular reference handler in $context (BreyndotEchse)
Changelog (https://github.com/symfony/serializer/compare/v6.0.8...v6.0.9)
Changelog (https://github.com/symfony/serializer/compare/v6.0.7...v6.0.8) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.0.7...v6.0.8)
bug #45838 Fix denormalizing union types (T-bond)
Changelog (https://github.com/symfony/serializer/compare/v6.0.6...v6.0.7)
Changelog (https://github.com/symfony/serializer/compare/v6.0.5...v6.0.6) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.0.5...v6.0.6)
bug #45531 Fix passing null to str_contains() (Erwin Dirks)
Changelog (https://github.com/symfony/serializer/compare/v6.0.4...v6.0.5)
bug #45154 Fix AbstractObjectNormalizer not considering pseudo type false (Thomas Nunninger)
Changelog (https://github.com/symfony/serializer/compare/v6.0.2...v6.0.3)
bug #44602 Improve UidNormalizer denormalize error message (fancyweb)
Changelog (https://github.com/symfony/serializer/compare/v6.0.1...v6.0.2)
Changelog (https://github.com/symfony/serializer/compare/v6.0.0...v6.0.1) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.0.0...v6.0.1)
bug #44295 fix support for lazy/unset properties (nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v6.0.0-RC1...v6.0.0)
ArrayDenormalizer::setSerializer(), call setDenormalizer() insteadChangelog (https://github.com/symfony/serializer/compare/v6.0.0-BETA3...v6.0.0-RC1) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.0.0-BETA3...v6.0.0-RC1)
feature #44125 Add a setter on DateTimeNormalizer to change the default context at runtime (Seldaek)
Changelog (https://github.com/symfony/serializer/compare/v6.0.0-BETA2...v6.0.0-BETA3)
feature #42619 Deprecate support for returning empty, iterable, countable, raw object when normalizing (lyrixx)
Changelog (https://github.com/symfony/serializer/compare/v5.3.10...v6.0.0-BETA1)
security #cve-2026-118515 Don't build UploadedFile and other file objects from denormalized data (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v5.4.55...v5.4.56)
[SECURITY] Security release
bug #67459 Escape formulas in the header row of CSV files (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v5.4.54...v5.4.55)
[SECURITY] Security release
bug #66387 Fix the cache key of MetadataAwareNameConverter when the context can't be serialized (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v5.4.45...v5.4.54)
[SECURITY] Security release
Changelog (https://github.com/symfony/serializer/compare/v5.4.44...v5.4.45) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.4.44...v5.4.45)
Changelog (https://github.com/symfony/serializer/compare/v5.4.43...v5.4.44) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.4.43...v5.4.44)
Changelog (https://github.com/symfony/serializer/compare/v5.4.42...v5.4.43) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.4.42...v5.4.43)
Changelog (https://github.com/symfony/serializer/compare/v5.4.41...v5.4.42) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.4.41...v5.4.42)
bug symfony/symfony#57341 [Serializer] properly handle invalid data for false/true types (@xabbuh)
Changelog (https://github.com/symfony/serializer/compare/v5.4.40...v5.4.41)
ObjectNormalizer with property path (@HypeMC)bug symfony/symfony#54913 [Serializer] Fix CurrentType for missing property (@ElisDN)
Changelog (https://github.com/symfony/serializer/compare/v5.4.39...v5.4.40)
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/v5.4.38...v5.4.39)
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/v5.4.37...v5.4.38)
bug symfony/symfony#53959 [Serializer] Fix unknown types normalization type when know type (@Myks92)
Changelog (https://github.com/symfony/serializer/compare/v5.4.35...v5.4.36)
bug symfony/symfony#53678 [Mime] Fix serializing uninitialized RawMessage::$message to null (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v5.4.34...v5.4.35)
RawMessage::$message to null (@nicolas-grekas)AbstractObjectNormalizer::createChildContext() to use the provided cache_key from original context when creating child contexts (@amne)bug symfony/symfony#53140 [Serializer] Skip uninitialized properties with deep_object_to_populate (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v5.4.33...v5.4.34)
bug symfony/symfony#52804 [Serializer] Fix support of plain object types denormalization (@andersonamuller)
Changelog (https://github.com/symfony/serializer/compare/v5.4.32...v5.4.33)
bug symfony/symfony#52786 [Serializer] Revert allowed attributes fix (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v5.4.31...v5.4.32)
object|null parameter (@Jeroeny)@Ignore annotation (@mtarld)Changelog (https://github.com/symfony/serializer/compare/v5.4.30...v5.4.31) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.4.30...v5.4.31)
Changelog (https://github.com/symfony/serializer/compare/v5.4.29...v5.4.30) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.4.29...v5.4.30)
bug symfony/symfony#51701 [Serializer] Fix parsing XML root node attributes (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v5.4.28...v5.4.29)
bug symfony/symfony#51474 [Serializer] Fix wrong InvalidArgumentException thrown (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v5.4.27...v5.4.28)
bug symfony/symfony#50933 [Serializer] Fix deserializing nested arrays of objects with mixed keys (@HypeMC)
Changelog (https://github.com/symfony/serializer/compare/v5.4.25...v5.4.26)
bug symfony/symfony#50501 [Serializer] Fix discriminator map not working with AbstractNormalizer::OBJECT_TO_POPULATE (@HypeMC)
Changelog (https://github.com/symfony/serializer/compare/v5.4.24...v5.4.25)
AbstractNormalizer::OBJECT_TO_POPULATE (@HypeMC)bug symfony/symfony#49063 [Messenger] Respect isRetryable decision of the retry strategy for re-delivery (@FlyingDR)
Changelog (https://github.com/symfony/serializer/compare/v5.4.23...v5.4.24)
isRetryable decision of the retry strategy for re-delivery (@FlyingDR)bug #49537 Unexpected value should throw UnexpectedValueException (ThomasTr)
Changelog (https://github.com/symfony/serializer/compare/v5.4.22...v5.4.23)
bug #49618 Preserve array keys while denormalize variadic parameters (melya)
Changelog (https://github.com/symfony/serializer/compare/v5.4.21...v5.4.22)
bug #49245 Fix CsvEncoder decode on empty data (cazak)
Changelog (https://github.com/symfony/serializer/compare/v5.4.20...v5.4.21)
bug #48978 use method_exists() instead of catching reflection exceptions (xabbuh)
Changelog (https://github.com/symfony/serializer/compare/v5.4.18...v5.4.19)
bug #48718 Compatibility with doctrine/annotations 2 (derrabus)
Changelog (https://github.com/symfony/serializer/compare/v5.4.16...v5.4.17)
GetSetMethodNormalizer from creating invalid magic method call (klaussilveira)One column per quarter.