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 3 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 #47955 Add missing args to trigger_deprecation (alamirault)
Changelog (https://github.com/symfony/serializer/compare/v5.4.14...v5.4.15)
bug #47753 sync message serializer code for forward-compatibility (xabbuh)
Changelog (https://github.com/symfony/serializer/compare/v5.4.13...v5.4.14)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
bug #45554 Fixed framework.serializer.default_context is not working for JsonEncoder (siganushka)
Changelog (https://github.com/symfony/serializer/compare/v5.4.12...v5.4.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/v5.4.11...v5.4.12)
bug #47048 Fix XmlEncoder encoding attribute false (alamirault)
Changelog (https://github.com/symfony/serializer/compare/v5.4.10...v5.4.11)
bug #46765 Fix denormalization union types with constructor (Gwemox)
Changelog (https://github.com/symfony/serializer/compare/v5.4.9...v5.4.10)
bug #46297 Fix JsonSerializableNormalizer ignores circular reference handler in $context (BreyndotEchse)
Changelog (https://github.com/symfony/serializer/compare/v5.4.8...v5.4.9)
Changelog (https://github.com/symfony/serializer/compare/v5.4.7...v5.4.8) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.4.7...v5.4.8)
bug #45838 Fix denormalizing union types (T-bond)
Changelog (https://github.com/symfony/serializer/compare/v5.4.6...v5.4.7)
Changelog (https://github.com/symfony/serializer/compare/v5.4.5...v5.4.6) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.4.5...v5.4.6)
bug #45531 Fix passing null to str_contains() (Erwin Dirks)
Changelog (https://github.com/symfony/serializer/compare/v5.4.4...v5.4.5)
bug #45154 Fix AbstractObjectNormalizer not considering pseudo type false (Thomas Nunninger)
Changelog (https://github.com/symfony/serializer/compare/v5.4.2...v5.4.3)
bug #44602 Improve UidNormalizer denormalize error message (fancyweb)
Changelog (https://github.com/symfony/serializer/compare/v5.4.1...v5.4.2)
bug #44295 fix support for lazy/unset properties (nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v5.4.0-RC1...v5.4.0)
ArrayObject from Serializer::normalize() when PRESERVE_EMPTY_OBJECTS is setMissingConstructorArgumentsExceptionChangelog (https://github.com/symfony/serializer/compare/v5.4.0-BETA3...v5.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.4.0-BETA3...v5.4.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...v5.4.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...v5.4.0-BETA1)
bug #45154 Fix AbstractObjectNormalizer not considering pseudo type false (Thomas Nunninger)
Changelog (https://github.com/symfony/serializer/compare/v5.3.13...v5.3.14)
bug #44600 Fix denormalizing custom class in UidNormalizer (fancyweb)
Changelog (https://github.com/symfony/serializer/compare/v5.3.12...v5.3.13)
Changelog (https://github.com/symfony/serializer/compare/v5.3.11...v5.3.12) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.3.11...v5.3.12)
bug #44121 fix support for lazy properties (nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v5.3.10...v5.3.11)
bug #43204 Fix denormalizing XML array with empty body (5.x) (alexandre-daubois)
Changelog (https://github.com/symfony/serializer/compare/v5.3.9...v5.3.10)
Changelog (https://github.com/symfony/serializer/compare/v5.3.7...v5.3.8) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.3.7...v5.3.8)
Changelog (https://github.com/symfony/serializer/compare/v5.3.3...v5.3.4) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.3.3...v5.3.4)
bug #41582 Fix not null get collection key types (dragosprotung)
Changelog (https://github.com/symfony/serializer/compare/v5.3.1...v5.3.2)
bug #41463 Fix not null return from "getCollectionValueTypes" (jderusse)
Changelog (https://github.com/symfony/serializer/compare/v5.3.0...v5.3.1)
Changelog (https://github.com/symfony/serializer/compare/v5.3.0-RC1...v5.3.0) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.3.0-RC1...v5.3.0)
@Symfony\Component\Serializer\Annotation\Context)ArrayDenormalizer::setSerializer(), call setDenormalizer() insteadUidNormalizerCsvEncoder::END_OF_LINE context optionbug #41230 Fix deprecations from Doctrine Annotations+Cache (derrabus)
Changelog (https://github.com/symfony/serializer/compare/v5.3.0-BETA4...v5.3.0-RC1)
Changelog (https://github.com/symfony/serializer/compare/v5.3.0-BETA2...v5.3.0-BETA3) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.3.0-BETA2...v5.3.0-BETA3)
Nothing published for this version
Changelog (https://github.com/symfony/serializer/compare/v5.2.11...v5.2.12) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.2.11...v5.2.12)
bug #41491 Do not allow to denormalize string with spaces only to valid a DateTime object (sidz)
Changelog (https://github.com/symfony/serializer/compare/v5.2.10...v5.2.11)
Changelog (https://github.com/symfony/serializer/compare/v5.2.9...v5.2.10) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v5.2.9...v5.2.10)
bug #41230 Fix deprecations from Doctrine Annotations+Cache (derrabus)
Changelog (https://github.com/symfony/serializer/compare/v5.2.8...v5.2.9)
bug #40522 Allow AbstractNormalizer to use null for non-optional nullable constructor parameters without default value (Pierre Rineau)
Changelog (https://github.com/symfony/serializer/compare/v5.2.6...v5.2.7)
bug #40316 zero parts can be omitted in date interval input (xabbuh)
Changelog (https://github.com/symfony/serializer/compare/v5.2.3...v5.2.4)
bug #40004 Prevent access to private properties without getters (julienfalque)
Changelog (https://github.com/symfony/serializer/compare/v5.2.2...v5.2.3)
bug #38900 Exclude non-initialized properties accessed with getters (BoShurik)
Changelog (https://github.com/symfony/serializer/compare/v5.2.1...v5.2.2)
Changelog (https://github.com/symfony/serializer/compare/v5.2.0...v5.2.1) * no changes
Changelog (https://github.com/symfony/serializer/compare/v5.2.0...v5.2.1)
bug #39180 Fix denormalizing scalar with UnwrappingDenormalizer (camilledejoye)
Changelog (https://github.com/symfony/serializer/compare/v5.2.0-RC2...v5.2.0)
CompiledClassMetadataFactory and ClassMetadataFactoryCompiler for faster metadata loading.UidNormalizerFormErrorNormalizerMimeMessageNormalizerNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
bug #38900 Exclude non-initialized properties accessed with getters (BoShurik)
Changelog (https://github.com/symfony/serializer/compare/v5.1.10...v5.1.11)
Changelog (https://github.com/symfony/serializer/compare/v5.1.9...v5.1.10) * no changes
Changelog (https://github.com/symfony/serializer/compare/v5.1.9...v5.1.10)
bug #39180 Fix denormalizing scalar with UnwrappingDenormalizer (camilledejoye)
Changelog (https://github.com/symfony/serializer/compare/v5.1.8...v5.1.9)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
added support for scalar values denormalization
\stdClass to ObjectNormalizer@Symfony\Component\Serializer\Annotation\Ignore)Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.