Releases: schmittjoh/serializer
Releases · schmittjoh/serializer
1.14.1
3.4.0
3.4.0 (2019-12-14)
Implemented enhancements:
- Symfony 5.0 compatibility #1145 (goetas)
- Support new doctrine ODM proxy objects #1139 (notrix)
- Update major version that v2.x deprecation will be removed #1134 (carusogabriel)
- Visitor interfaces in handlers #1129 (derzkiy)
Closed issues:
- [Improvement] Ability to define a global exclusion_policy: ALL for all classes. #1144
- Embed JSON string without extra escape #1142
- Make possible to set ArrayCollectionHandler classes from outside #1131
Merged pull requests:
- Remove PHP 7.4 from
allow\_failures
matrix #1138 (carusogabriel) - Remove unnecessary cast #1133 (carusogabriel)
3.3.0
Implemented enhancements:
Fixed bugs:
Closed issues:
Merged pull requests:
3.2.0
Fixed bugs:
- PHP7.4: Deprecated warning - serializationContext.php on line 152 #1111
Closed issues:
- StaticPropertyMetadata first constructor argument not nullable #1116
- Add support for PSR-7 URIInterface objects #1115
- Upgraded 2.4 -> 3.4 / Symfony 4.3.3 #1112
- Empty namespace #1087
- Format constants (JSON, XML) #1079
- @ExclusionPolicy(policy="ALL") causes PHP notice message #1073
Merged pull requests:
3.1.1
3.1.0
Implemented enhancements:
- Add support for iterable and Iterator #1096 (simPod)
- Implement "empty" XML namespace handling #1095 (discordier)
- Move type check when deserializing into the graph navigator #1080 (goetas)
- Allow loading different YAML extensions #1078 (scaytrase)
Fixed bugs:
Closed issues:
- Behavior serializeNull -> not always honored in 2.* (but was in 1.*) #1101
- Support for iterable #1094
- Prevent deserialisation with missing required field #1090
- Allow using @XmlValue together with @Accessor/@accesstype #1083
- Support *.yaml extension #1077
Merged pull requests:
- Add psalm specific generic return type for deserialize #1091 (bdsl)
- Fix: Typo #1084 (localheinz)
3.0.1
3.0.0
Upgrade notes
How to upgrade to 3.0.0 is explained in https://github.com/schmittjoh/serializer/blob/master/UPGRADING.md
- Upgrading from 2.x to 3.0 should require almost no effort as only one changes introduced in 2.x has been reverted as it was in 1.x
- Upgrading from 1.x to 3.0 requires to follow the same steps as the upgrade from 1.x to 2.x, skipping only the "deeper branch group exclusion strategy"
Detailed changes:
Backward incompatible changes:
Implemented enhancements:
Merged pull requests:
Closed issues:
2.3.0
Implemented enhancements:
- add options property to XmlDeserializationVisitorFactory and XmlDeserializationVisitor, propagate defined value from factory to simplexml_load_string call #1068 (kopeckyales)
Closed issues:
- Override existing property with another #1067
- disabling cdata by default #1065
- unwrap child class instance #1064
- Make JsonDeserializationVisitor extendable #1055
Merged pull requests: