Serializer v3.9.0 Release Notes

Release Date: 2020-08-26 // over 3 years ago
  • Implemented enhancements:

    • โž• Add support for skippable (de)serialization handlers #1238 (bobvandevijver)
    • โž• added support for milliseconds in DateInterval deserialization #1234 (ivoba)

    ๐Ÿ›  Fixed bugs:

    • Do not load entities when deserializing if their identifier is not exโ€ฆ #1247 (goetas)
    • Do not use excluded fields when fetching entities #1246 (goetas)
    • Ensure accessors are cached per property when using reflection #1237 (goetas)

    Closed issues:

    • Annotation cache does not honor naming strategy #1244
    • Authorization Bypass Vulnerability - v1.14.1 #1242
    • @SkipWhenEmpty and @Exclude combination leads to unexpected behavior #1240
    • ๐Ÿ“‡ How to pass MetadataFactory::create() into SerializationVisitorInterface::startVisitingObject()? #1226
    • Custom type in array key is not respected when serializing to JSON #1223
    • xml:id or xml:lang attributes handling #1221
    • Accessing static property as non static #1156
    • AbstractVisitor::getElementType() must be of the type array or null, string returned #1027

    ๐Ÿ”€ Merged pull requests:

    • โœ‚ remove missing deprecated removal on hasData #1245 (rflavien)
    • ๐Ÿ”„ Change return type of SerializerBuilder::build() to Serializer #1241 (icanhazstring)
    • ๐Ÿ“„ docs: add note about array key type being ignored when serializing #1235 (eduardoweiland)
    • ๐Ÿ“ฆ Sort packages in composer.json #1228 (simPod)
    • ๐Ÿ›  fix xml embeddable data getReference for DoctrineObjectConstructor #1224 (gam6itko)
    • ๐Ÿ›  fixed exception for strict_types #1222 (ivoba)