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 today
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#62797 [Serializer] Fix inconsistent field naming from accessors when using groups (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v6.4.30...v6.4.31)
null values when denormalizing (@MatTheCat)bug symfony/symfony#58473 [Serializer] Fix AbstractObjectNormalizer to allow scalar values to be normalized (@Hanmac, @xabbuh)
Changelog (https://github.com/symfony/serializer/compare/v6.4.29...v6.4.30)
AbstractObjectNormalizer to allow scalar values to be normalized (@Hanmac, @xabbuh)Your coding agent can read these notes before it upgrades. Set up the MCP server →
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/v6.4.26...v6.4.27)
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/v6.4.25...v6.4.26)
Changelog (https://github.com/symfony/serializer/compare/v6.4.24...v6.4.25) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.4.24...v6.4.25)
bug symfony/symfony#61028 [Serializer] Fix readonly property initialization from incorrect scope (@santysisi)
Changelog (https://github.com/symfony/serializer/compare/v6.4.23...v6.4.24)
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/v6.4.22...v6.4.23)
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/v6.4.21...v6.4.22)
Cannot traverse an already closed generator error by materializing Traversable input (@santysisi)Changelog (https://github.com/symfony/serializer/compare/v6.4.20...v6.4.21) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.4.20...v6.4.21)
bug symfony/symfony#59840 Fix PHP warning in GetSetMethodNormalizer when a "set()" method is defined (@Pepperoni1337)
Changelog (https://github.com/symfony/serializer/compare/v6.4.18...v6.4.19)
bug symfony/symfony#58889 [Serializer] Handle default context in Serializer (@Valmonzo)
Changelog (https://github.com/symfony/serializer/compare/v6.4.17...v6.4.18)
YamlEncoder (@VincentLanglet)bug symfony/symfony#56868 [Serializer] fixed object normalizer for a class with cancel method (@er1z)
Changelog (https://github.com/symfony/serializer/compare/v6.4.14...v6.4.15)
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/v6.4.12...v6.4.13)
ObjectNormalizer gives warnings on normalizing with public static property (André Laugks)bug symfony/symfony#58226 [Serializer] Fix for method named get() (@mihai-stancu)
Changelog (https://github.com/symfony/serializer/compare/v6.4.11...v6.4.12)
get() (@mihai-stancu)Changelog (https://github.com/symfony/serializer/compare/v6.4.10...v6.4.11) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.4.10...v6.4.11)
Changelog (https://github.com/symfony/serializer/compare/v6.4.9...v6.4.10) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.4.9...v6.4.10)
bug symfony/symfony#57341 [Serializer] properly handle invalid data for false/true types (@xabbuh)
Changelog (https://github.com/symfony/serializer/compare/v6.4.8...v6.4.9)
ObjectNormalizer with property path (@HypeMC)bug symfony/symfony#54971 [Serializer] Cache readability/writability computation (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v6.4.7...v6.4.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/v6.4.6...v6.4.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/v6.4.5...v6.4.6)
bug symfony/symfony#53959 [Serializer] Fix unknown types normalization type when know type (@Myks92)
Changelog (https://github.com/symfony/serializer/compare/v6.4.3...v6.4.4)
bug symfony/symfony#53678 [Mime] Fix serializing uninitialized RawMessage::$message to null (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v6.4.2...v6.4.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/v6.4.1...v6.4.2)
bug symfony/symfony#52804 [Serializer] Fix support of plain object types denormalization (@andersonamuller)
Changelog (https://github.com/symfony/serializer/compare/v6.4.0...v6.4.1)
bug symfony/symfony#52786 [Serializer] Revert allowed attributes fix (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v6.4.0-RC2...v6.4.0)
TranslatableNormalizerContext attribute to target classesGroups attribute/annotation on classesjson_decode_detailed_errors optionProblemNormalizer give details about Messenger's ValidationFailedExceptionXmlEncoder::CDATA_WRAPPING context optionAnnotationLoader, use AttributeLoader insteadAnnotation namespace to AttributeChangelog (https://github.com/symfony/serializer/compare/v6.4.0-RC1...v6.4.0-RC2) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.4.0-RC1...v6.4.0-RC2)
Changelog (https://github.com/symfony/serializer/compare/v6.4.0-BETA3...v6.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.4.0-BETA3...v6.4.0-RC1)
Changelog (https://github.com/symfony/serializer/compare/v6.4.0-BETA2...v6.4.0-BETA3) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.4.0-BETA2...v6.4.0-BETA3)
bug symfony/symfony#51992 [Serializer] Fix using DateIntervalNormalizer with union types (@Jeroeny)
Changelog (https://github.com/symfony/serializer/compare/v6.4.0-BETA1...v6.4.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...v6.4.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)bug symfony/symfony#53678 [Mime] Fix serializing uninitialized RawMessage::$message to null (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v6.3.11...v6.3.12)
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/v6.3.10...v6.3.11)
bug symfony/symfony#52804 [Serializer] Fix support of plain object types denormalization (@andersonamuller)
Changelog (https://github.com/symfony/serializer/compare/v6.3.9...v6.3.10)
bug symfony/symfony#52786 [Serializer] Revert allowed attributes fix (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v6.3.8...v6.3.9)
object|null parameter (@Jeroeny)@Ignore annotation (@mtarld)Changelog (https://github.com/symfony/serializer/compare/v6.3.7...v6.3.8) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.3.7...v6.3.8)
bug symfony/symfony#51992 [Serializer] Fix using DateIntervalNormalizer with union types (@Jeroeny)
Changelog (https://github.com/symfony/serializer/compare/v6.3.6...v6.3.7)
DateIntervalNormalizer with union types (@Jeroeny)bug symfony/symfony#51907 [Serializer] Fix collecting only first missing constructor argument (@HypeMC)
Changelog (https://github.com/symfony/serializer/compare/v6.3.5...v6.3.6)
bug symfony/symfony#51701 [Serializer] Fix parsing XML root node attributes (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v6.3.4...v6.3.5)
bug symfony/symfony#51475 [Serializer] Fix union of enum denormalization (@mtarld)
Changelog (https://github.com/symfony/serializer/compare/v6.3.3...v6.3.4)
Changelog (https://github.com/symfony/serializer/compare/v6.3.2...v6.3.3) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.3.2...v6.3.3)
bug symfony/symfony#50933 [Serializer] Fix deserializing nested arrays of objects with mixed keys (@HypeMC)
Changelog (https://github.com/symfony/serializer/compare/v6.3.1...v6.3.2)
bug symfony/symfony#50521 [Serializer] Fix ignoring objects that only implement DenormalizableInterface (@spideyfusion)
Changelog (https://github.com/symfony/serializer/compare/v6.3.0...v6.3.1)
Changelog (https://github.com/symfony/serializer/compare/v6.3.0-RC2...v6.3.0) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.3.0-RC2...v6.3.0)
AbstractNormalizer::REQUIRE_ALL_PROPERTIES context flag to require all properties to be listed in the input instead of falling back to null for nullable onesXmlEncoder::SAVE_OPTIONS context optionBackedEnumNormalizer::ALLOW_INVALID_VALUES context optionUnsupportedFormatException which is thrown when there is no decoder for a given formatgetSupportedTypes(?string $format) to NormalizerInterface and DenormalizerInterfaceProblemNormalizer give details about ValidationFailedException and PartialDenormalizationExceptionCacheableSupportsMethodInterface in favor of the new getSupportedTypes(?string $format) methodsConstraintViolationListNormalizerCustomNormalizerDataUriNormalizerDateIntervalNormalizerDateTimeNormalizerDateTimeZoneNormalizerGetSetMethodNormalizerJsonSerializableNormalizerObjectNormalizerPropertyNormalizerbug symfony/symfony#50349 [Notifier] Document Notifier options in README files (@alamirault)
Changelog (https://github.com/symfony/serializer/compare/v6.3.0-BETA3...v6.3.0-RC1)
SerializedPath not working with constructor arguments (@HypeMC)isRetryable decision of the retry strategy for re-delivery (@FlyingDR)feature symfony/symfony#48579 [Notifier] Add SMS options to GatewayApi notifier (@gnito-org)
Changelog (https://github.com/symfony/serializer/compare/v6.3.0-BETA2...v6.3.0-BETA3)
createTabs from WebProfilerBundle (@MatTheCat)feature symfony/symfony#49553 [Serializer] Add flag to require all properties to be listed in the input (Christian Kolb)
Changelog (https://github.com/symfony/serializer/compare/v6.3.0-BETA1...v6.3.0-BETA2)
ignoreUndefined() method to allow skip not interesting options (Constantine Shtompel)AutowireCallable without method (@derrabus)feature symfony/symfony#49642 [DependencyInjection] Deprecate #[MapDecorated] in favor of #[AutowireDecorated] (@nicolas-grekas)
Changelog (https://github.com/symfony/serializer/compare/v6.2.10...v6.3.0-BETA1)
TriggerInterface extend \Stringable (@kbond)#[MapQueryParameter] to map and validate individual query parameters to controller arguments (@ruudk, @nicolas-grekas)#[MapRequestPayload] and #[MapQueryString] to map Request input to typed objects (@Koc)AppVariable (@SVillette)placeholder_attr option (@elementaire)ObjectNormalizer as final for 7.0 (@tucksaun)ProblemNormalizer give details about ValidationFailedException and PartialDenormalizationException (@nicolas-grekas)constructor option to #[Autoconfigure] (@alexandre-daubois)#[Autowire(lazy: class-string)] (@nicolas-grekas)exclude option to the Cascade constraint (@alexandre-daubois)getSupportedTypes to allow better performance (@tucksaun, @nicolas-grekas)#[MapDecorated] in favor of #[AutowireDecorated] (@nicolas-grekas)UriTemplateHttpClient (@fancyweb)ErrorHandler on boot (@HypeMC)NoSuspiciousCharacters constraint to validate a string is not suspicious (@MatTheCat)TransportNamesStamp (@alexandre-daubois)$normalizeWhitespace to Crawler::innerText() and make it return the first non-empty text (@otsch)enum expression function (@alexandre-daubois)notifier.logger_notification_listener to notifier.notification_logger_listener (@ker0x)extra attribute for HttpClient Configuration (@voodooism)#[WithLogLevel] for setting custom log level for exceptions (@angelov)TaggedIteratorArgument (@chalasr)getConstraint() method to ConstraintViolationInterface (@syl20b)EmojiTransliterator (@fancyweb)Clock class and now() function (@nicolas-grekas)#[HttpStatus] for setting status code and headers for HTTP exceptions (@angelov)#[Autowire(...)] (@nicolas-grekas)dd() and dump() to display a label (@alexandre-daubois)SmsMessage (@gnito-org)Uuid::TIME_BASED_VERSIONS to match that a UUID being validated embeds a timestamp (@alexandre-daubois)bug symfony/symfony#50933 [Serializer] Fix deserializing nested arrays of objects with mixed keys (@HypeMC)
Changelog (https://github.com/symfony/serializer/compare/v6.2.12...v6.2.13)
bug symfony/symfony#50501 [Serializer] Fix discriminator map not working with AbstractNormalizer::OBJECT_TO_POPULATE (@HypeMC)
Changelog (https://github.com/symfony/serializer/compare/v6.2.11...v6.2.12)
AbstractNormalizer::OBJECT_TO_POPULATE (@HypeMC)AbstractNormalizer::OBJECT_TO_POPULATE (@HypeMC)bug symfony/symfony#50312 [Security] Skip clearing CSRF Token on stateless logout (@chalasr)
Changelog (https://github.com/symfony/serializer/compare/v6.2.10...v6.2.11)
SerializedPath not working with constructor arguments (@HypeMC)isRetryable decision of the retry strategy for re-delivery (@FlyingDR)bug symfony/symfony#50115 [FrameworkBundle] Make service edges unique (@rmikalkenas)
Changelog (https://github.com/symfony/serializer/compare/v6.2.9...v6.2.10)
bug #49525 Fix serialized path for non-scalar values (boenner)
Changelog (https://github.com/symfony/serializer/compare/v6.2.7...v6.2.8)
bug #49245 Fix CsvEncoder decode on empty data (cazak)
Changelog (https://github.com/symfony/serializer/compare/v6.2.6...v6.2.7)
bug #48978 use method_exists() instead of catching reflection exceptions (xabbuh)
Changelog (https://github.com/symfony/serializer/compare/v6.2.4...v6.2.5)
bug #48718 Compatibility with doctrine/annotations 2 (derrabus)
Changelog (https://github.com/symfony/serializer/compare/v6.2.2...v6.2.3)
bug #48661 fix context attribute with serializedName (nikophil)
Changelog (https://github.com/symfony/serializer/compare/v6.2.1...v6.2.2)
GetSetMethodNormalizer from creating invalid magic method call (klaussilveira)Changelog (https://github.com/symfony/serializer/compare/v6.2.0...v6.2.1) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.2.0...v6.2.1)
Changelog (https://github.com/symfony/serializer/compare/v6.2.0-RC2...v6.2.0) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.2.0-RC2...v6.2.0)
Context attributePropertyNormalizer::NORMALIZE_VISIBILITY with bitmask flags PropertyNormalizer::NORMALIZE_PUBLIC, PropertyNormalizer::NORMALIZE_PROTECTED, PropertyNormalizer::NORMALIZE_PRIVATEwithNormalizeVisibility to PropertyNormalizerContextBuilderAttributeMetadata::setSerializedName(), ClassMetadata::setClassDiscriminatorMapping() without argumentsAttributeMetadataInterface::setSerializedName() to setSerializedName(?string)ClassMetadataInterface::setClassDiscriminatorMapping() to setClassDiscriminatorMapping(?ClassDiscriminatorMapping)SerializedPath annotation to flatten nested attributesChangelog (https://github.com/symfony/serializer/compare/v6.2.0-BETA3...v6.2.0-RC1) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.2.0-BETA3...v6.2.0-RC1)
Changelog (https://github.com/symfony/serializer/compare/v6.2.0-BETA2...v6.2.0-BETA3) * no significant changes
Changelog (https://github.com/symfony/serializer/compare/v6.2.0-BETA2...v6.2.0-BETA3)
One column per quarter.