Releases: schmittjoh/serializer
Releases · schmittjoh/serializer
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:
1.14.0
2.2.0
Implemented enhancements:
Fixed bugs:
- xmlRootPrefix missing from unserialized metadata #1050
- Non-locale aware encoding of doubles, closes #1041 #1042 (Grundik)
Closed issues:
- Using
@Until
and@Since
on class level #1048 - Add use of annotation registry to docs #1044
- Values of type "double" should not use locale-specific encoding #1041
- Serialize Generator #1023
Merged pull requests:
- Test on php 7.3 #1054 (goetas)
- xmlRootPrefix missing from unserialized metadata #1053 (goetas)
- Allow
@Since
and@Until
within@VirtualProperty
on class level #1049 (tjveldhuizen) - Document use of AnnotationRegistry #1047 (andig)
- Fix result of code example #1039 (henrikthesing)
2.1.0
2.0.2
Fixed bugs:
- jms serialzier 2.0 Error in debug mode #1018
- AbstractDoctrineTypeDriver::normalizeFieldType() must be of the type string, null given #1015
- internal classes have false in reflection::getFilename() #1013 (chregu)
Closed issues:
- DateTime converted to ArrayObject instead of string in custom visitor class #1017
Merged pull requests: