Serializer v1.4.0 Release Notes

Release Date: 2016-10-31 // over 7 years ago
  • Implemented enhancements:

    • 0๏ธโƒฃ Document the implied 'Default' property group when no group is specified #661 (akoebbe)
    • ๐Ÿ‘ Allow discriminator map in the middle of the hierarchy when deserializing #659 (goetas)
    • ๐Ÿ– Handle both int and integer #657 (Aliance)
    • Can now override groups on specific paths of the graph #170 (adrienbrault)

    ๐Ÿ›  Fixed bugs:

    • Deserialization fails when discriminator base class extends another class #182
    • Xml setters ignored when deserializing #665 (goetas)

    Closed issues:

    • ๐Ÿšš Move FormErrorHandler to the bundle #664
    • Not compatible with Symfony 3's Controller::json() #663
    • Class name not reflecting in serialized json #662
    • YML virtual_properties no group exlcusion #656
    • [RFC] Introduce normalizer\denormalizer interface #646
    • Plain arrays are serialized (normalized) as "objects", ignoring serializeNull #641
    • serializer doesn't serialize traits #638
    • โž• Add metadata informations #637
    • Unexpected results when serializing arrays containing null value elements #593
    • ๐Ÿ‘ Allow to set default serialization context when building serializer #528
    • Enable Sourcegraph #455
    • ๐Ÿ‘‰ Use different accessor for each group #420
    • GenericSerializationVisitor and shouldSerializeNull #360
    • Specify group along with MaxDepth #150
    • ๐Ÿ‘ Allow Post Serialize Event to overwrite existing data #129
    • Warning: array_key_exists() expects parameter 2 to be array, string given #70

    ๐Ÿ”€ Merged pull requests:

    • Nullable array inconsistency #660 (goetas)
    • ๐Ÿ›  Fixed PHP 7.0.11 BC break (or bugfix) #658 (goetas)
    • ๐Ÿ“‡ Renamed replaceData to setData #653 (goetas)
    • โž• add required sqlite extension for developing #649 (scasei)
    • ๐Ÿ— Run serialization benchmarks in the build process #647 (goetas)
    • 0๏ธโƒฃ Alcalyn feature default serializer context #645 (goetas)
    • โž• Add format output option #640 (AyrtonRicardo)
    • โœ‚ Remove deprecated FileCacheReader for doctrine annotations #634 (goetas)
    • โž• Added tests to ensure SerializeNull policy #633 (goetas)
    • โช Revert "Default $serializeNull to false" #630 (goetas)
    • Introducing NormalizerInterface #592 (alcalyn)
    • ๐Ÿ›  Fix inheritance of discriminators on Doctrine entities #382 (xoob)
    • ๐Ÿ‘ Allow Post Serialize Event to overwrite existing data #273 (jockri)