NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #137 most downloaded on Packagist
Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.
Last release 7 days ago
28 Sep 2026
Ships fairly regularly
a new release about every 3 weeks
Rarely documented
notes for 2 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
774 releases · first in 2011
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
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
Nothing published for this version
…arguments in version 5.0, not defining them is deprecated
skip_null_values context option to not serialize properties with a null valuesAbstractNormalizer::handleCircularReference is now final and receives
two optional extra arguments: the format and the context['#comment' => ' foo '] results <!-- foo -->)int[] $encoderIgnoredNodeTypes argument to XmlEncoder::__construct
to configure node types to be ignored during encodingAdvancedNameConverterInterface to access the class,
the format and the context in a name converterAbstractNormalizer::handleCircularReference() method will have two new $format
and $context arguments in version 5.0, not defining them is deprecatedSerializer with normalizers which do not implement
either NormalizerInterface or DenormalizerInterfaceSerializer with normalizers which do not implement
either NormalizerInterface or DenormalizerInterfaceSerializer with encoders which do not implement
either EncoderInterface or DecoderInterface$objectClassResolver argument in AbstractObjectNormalizer
and ObjectNormalizer constructorMetadataAwareNameConverter to configure the serialized name of properties through metadataYamlEncoder now handles the .yml extension tooAbstractNormalizer::$circularReferenceLimit, AbstractNormalizer::$circularReferenceHandler,
AbstractNormalizer::$callbacks, AbstractNormalizer::$ignoredAttributes,
AbstractNormalizer::$camelizedAttributes, AbstractNormalizer::setCircularReferenceLimit(),
AbstractNormalizer::setCircularReferenceHandler(), AbstractNormalizer::setCallbacks() and
AbstractNormalizer::setIgnoredAttributes() are deprecated, use the default context instead.AbstractObjectNormalizer::$maxDepthHandler and AbstractObjectNormalizer::setMaxDepthHandler()
are deprecated, use the default context instead.CsvEncoder, JsonDecode and
XmlEncoder is deprecated since Symfony 4.2, use the default context instead.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
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 CacheableSupportsMethodInterface for normalizers and denormalizers that use only the type and the format in their supports*() methods
CacheableSupportsMethodInterface for normalizers and denormalizers that use
only the type and the format in their supports*() methodsMissingConstructorArgumentsException new exception for deserialization failure
of objects that needs data insertion in constructordefault_constructor_arguments option of context to specify a default data in
case the object is not initializable by its constructor because of data missingbool $escapeFormulas = false argument to CsvEncoder::__constructAbstractObjectNormalizer::setMaxDepthHandler to set a handler to call when the configured
maximum depth is reachedint[] $ignoredNodeTypes argument to XmlEncoder::__construct. XML decoding now
ignores comment node types by default.ConstraintViolationListNormalizerNothing 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
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
Nothing published for this version
Nothing published for this version
removed the SerializerAwareEncoder and SerializerAwareNormalizer classes, use the SerializerAwareTrait instead
SerializerAwareEncoder and SerializerAwareNormalizer classes,
use the SerializerAwareTrait insteadSerializer::$normalizerCache and Serializer::$denormalizerCache
propertiesstring $format = null argument to AbstractNormalizer::instantiateObjectarray $context = [] to Serializer::supportsNormalization, Serializer::supportsDenormalization,
Serializer::supportsEncoding and Serializer::supportsDecodingNothing 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
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →