symfony/serializer
Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.
v8.1.5
344M downloads/mo
#140 most downloaded on composer
symfony/serializer
What this package is like to depend on
Last release today
22 Aug 2026
Ships fairly regularly
a new release about every 3 weeks
Rarely documented
notes for 28 of 665 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
765 releases · first in 2011
59 releases in the last 12 months
see the full history below
Release timeline
605 releases · Sep 2011 to Aug 2026Releases
latest 60 of 765-
v8.1.522 Aug 2026Release notes
Open source →Changelog (v8.1.4...v8.1.5)
- bug #65541 Fix denormalizing mime messages typed as RawMessage (@nicolas-grekas)
- bug #65511 Fix SerializedName being ignored on denormalization when the attribute has groups (@nicolas-grekas)
- bug #65499 Fix XmlEncoder dropping the extra attributes of item elements on decode (@nicolas-grekas)
- bug #65491 Allow the attributes of nested discriminator maps when denormalizing (@nicolas-grekas)
- bug #65493 Fix XmlEncoder skipping normalizers for nested Traversable values (@nicolas-grekas)
- bug #65492 Allow array indexes in the property paths of attributes when denormalizing (@nicolas-grekas)
- bug #65291 Enforce the element type of scalar collections (@nicolas-grekas)
- bug #65367 Fix PHP 8.6 deprecations (@nicolas-grekas)
- bug #65354 Throw on XML data without a root node (@nicolas-grekas)
- bug #62352 Convert the elements of scalar collections (@nicolas-grekas)
-
v8.1.406 Aug 2026Release notes
Open source →Changelog (v8.1.3...v8.1.4)
- bug #65167 Align union member order between the legacy and TypeInfo paths (@ousamabenyounes)
- bug #65125 Fix FILTER_BOOL breaking union type denormalization (@eliot488995568)
-
v8.1.329 Jul 2026Release notes
Open source →Changelog (v8.1.2...v8.1.3)
- minor #65042 Relax PropertyAccess version constraint (@derrabus)
-
v8.1.229 Jul 2026Release notes
Open source →Changelog (v8.1.1...v8.1.2)
- bug #65025 Check the denormalized class is a Mime part in MimeMessageNormalizer (@nicolas-grekas)
- bug #64995 Prefer serialized name over raw property key (@ousamabenyounes)
- bug #64697 Keep the collection value type for iterable constructor parameters (@misaert)
- bug #64965 Do not read subclass discriminator attributes from base objects (@pokki-deploy)
- bug #64724 Keep FILTER_BOOL working when ENABLE_TYPE_CONVERSION is enabled (@Amoifr)
- bug #64654 Merge target's own constraints when using # (@pokki-deploy)
- minor #64740 Skip
XmlEncoderTest::testEncodeException()when using libxml ≥ 2.13 (@MatTheCat) - bug #64649 Fix support check for nested array items (@nicolas-grekas)
- bug #64739 Prevent
PhpDocTypeHelperto wrongly assume keys type (@MatTheCat)
-
v8.1.127 Jun 2026Nothing published for this version
-
v8.1.029 May 2026Nothing published for this version
-
v8.1.0-BETA319 May 2026 pre-releaseNothing published for this version
-
v8.1.0-BETA130 Apr 2026 pre-releaseNothing published for this version
-
v8.0.1529 Jul 2026Release notes
Open source →Changelog (v8.0.14...v8.0.15)
- bug #65025 Check the denormalized class is a Mime part in MimeMessageNormalizer (@nicolas-grekas)
- bug #64995 Prefer serialized name over raw property key (@ousamabenyounes)
- bug #64697 Keep the collection value type for iterable constructor parameters (@misaert)
- bug #64965 Do not read subclass discriminator attributes from base objects (@pokki-deploy)
- bug #64724 Keep FILTER_BOOL working when ENABLE_TYPE_CONVERSION is enabled (@Amoifr)
- bug #64654 Merge target's own constraints when using # (@pokki-deploy)
- minor #64740 Skip
XmlEncoderTest::testEncodeException()when using libxml ≥ 2.13 (@MatTheCat) - bug #64649 Fix support check for nested array items (@nicolas-grekas)
- bug #64739 Prevent
PhpDocTypeHelperto wrongly assume keys type (@MatTheCat)
-
v8.0.1427 Jun 2026Nothing published for this version
-
v8.0.1004 May 2026Nothing published for this version
-
v8.0.929 Apr 2026Nothing published for this version
-
v8.0.831 Mar 2026Nothing published for this version
-
v8.0.706 Mar 2026Nothing published for this version
-
v8.0.625 Feb 2026Nothing published for this version
-
v8.0.527 Jan 2026Nothing published for this version
-
v8.0.423 Jan 2026Nothing published for this version
-
v8.0.323 Dec 2025Nothing published for this version
-
v8.0.208 Dec 2025Nothing published for this version
-
v8.0.020 Nov 2025Nothing published for this version
-
v8.0.0-RC3no date pre-releaseNothing published for this version
-
v8.0.0-RC112 Nov 2025 pre-releaseNothing published for this version
-
v8.0.0-BETA201 Nov 2025 pre-releaseNothing published for this version
-
v8.0.0-BETA116 Oct 2025 pre-releaseNothing published for this version
-
v7.4.1722 Aug 2026Release notes
Open source →Changelog (v7.4.16...v7.4.17)
- bug #65541 Fix denormalizing mime messages typed as RawMessage (@nicolas-grekas)
- bug #65511 Fix SerializedName being ignored on denormalization when the attribute has groups (@nicolas-grekas)
- bug #65499 Fix XmlEncoder dropping the extra attributes of item elements on decode (@nicolas-grekas)
- bug #65491 Allow the attributes of nested discriminator maps when denormalizing (@nicolas-grekas)
- bug #65493 Fix XmlEncoder skipping normalizers for nested Traversable values (@nicolas-grekas)
- bug #65492 Allow array indexes in the property paths of attributes when denormalizing (@nicolas-grekas)
- bug #65367 Fix PHP 8.6 deprecations (@nicolas-grekas)
- bug #65354 Throw on XML data without a root node (@nicolas-grekas)
-
v7.4.1606 Aug 2026Release notes
Open source →Changelog (v7.4.15...v7.4.16)
- bug #65167 Align union member order between the legacy and TypeInfo paths (@ousamabenyounes)
- bug #65125 Fix FILTER_BOOL breaking union type denormalization (@eliot488995568)
-
v7.4.1529 Jul 2026Release notes
Open source →Changelog (v7.4.14...v7.4.15)
- bug #65025 Check the denormalized class is a Mime part in MimeMessageNormalizer (@nicolas-grekas)
- bug #64995 Prefer serialized name over raw property key (@ousamabenyounes)
- bug #64697 Keep the collection value type for iterable constructor parameters (@misaert)
- bug #64965 Do not read subclass discriminator attributes from base objects (@pokki-deploy)
- bug #64724 Keep FILTER_BOOL working when ENABLE_TYPE_CONVERSION is enabled (@Amoifr)
- bug #64654 Merge target's own constraints when using # (@pokki-deploy)
- minor #64740 Skip
XmlEncoderTest::testEncodeException()when using libxml ≥ 2.13 (@MatTheCat) - bug #64649 Fix support check for nested array items (@nicolas-grekas)
- bug #64739 Prevent
PhpDocTypeHelperto wrongly assume keys type (@MatTheCat)
-
v7.4.1427 Jun 2026Nothing published for this version
-
v7.4.1003 May 2026Nothing published for this version
-
v7.4.929 Apr 2026Nothing published for this version
-
v7.4.830 Mar 2026Nothing published for this version
-
v7.4.706 Mar 2026Nothing published for this version
-
v7.4.625 Feb 2026Nothing published for this version
-
v7.4.527 Jan 2026Nothing published for this version
-
v7.4.423 Jan 2026Nothing published for this version
-
v7.4.323 Dec 2025Nothing published for this version
-
v7.4.207 Dec 2025Nothing published for this version
-
v7.4.018 Nov 2025Nothing published for this version
-
v7.4.0-RC3no date pre-releaseNothing published for this version
-
v7.4.0-RC112 Nov 2025 pre-releaseNothing published for this version
-
v7.4.0-BETA201 Nov 2025 pre-releaseNothing published for this version
-
v7.4.0-BETA116 Oct 2025 pre-releaseNothing published for this version
-
v7.3.1127 Jan 2026Nothing published for this version
-
v7.3.1023 Jan 2026Nothing published for this version
-
v7.3.923 Dec 2025Nothing published for this version
-
v7.3.812 Nov 2025Nothing published for this version
-
v7.3.508 Oct 2025Nothing published for this version
-
v7.3.415 Sep 2025Nothing published for this version
-
v7.3.327 Aug 2025Nothing published for this version
-
v7.3.226 Jul 2025Nothing published for this version
-
v7.3.127 Jun 2025Nothing published for this version
-
v7.3.012 May 2025Nothing published for this version
-
v7.3.0-RC1no date pre-releaseNothing published for this version
-
v7.3.0-BETA108 Apr 2025 pre-releaseNothing published for this version
-
v7.2.926 Jul 2025Nothing published for this version
-
v7.2.827 Jun 2025Nothing published for this version
-
v7.2.712 May 2025Nothing published for this version
-
v7.2.627 Apr 2025Nothing published for this version
-
v7.2.524 Mar 2025Nothing published for this version
-
v7.2.424 Feb 2025Nothing published for this version