Releases: schmittjoh/serializer
Releases · schmittjoh/serializer
3.9.0
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)
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)
3.8.0
Implemented enhancements:
Fixed bugs:
- Consider exclude rules on parents if defined #1206 (goetas)
- hoa/protocol package conflicts with laravel helper #1154
Merged pull requests:
- Remove conflicts to hoa packages #1216 (alexander-schranz)
- Test also agains twig 3 #1215 (alexander-schranz)
- Allow doctrine/persistence v2/v3 #1210 (goetas)
3.7.0
Implemented enhancements:
- Allow deserialization of typehinted DateTimeInterface to DateTime class #1193 (goetas)
- Infer types from PHP 7.4 type declarations #1192 (goetas)
- Support conditional exclude for classes #1099 (arneee)
Fixed bugs:
- Exclude if at class level are not merge #1203
- Class level expression exclusion strategy should work with hierarchies #1204 (goetas)
Merged pull requests:
3.6.0
3.5.0
Implemented enhancements:
- Improved return type for fluent methods in Context #1162 (wouterj)
- Handle array format for dateHandler #1108 (VincentLanglet)
Fixed bugs:
Merged pull requests:
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: