Skip to content

Releases: schmittjoh/serializer

3.2.0

04 Sep 10:18
89fc2a7
Compare
Choose a tag to compare

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

28 Jun 09:10
7f8dc86
Compare
Choose a tag to compare

Fixed bugs:

  • Could not deserialize object if all properties have not type #1102

Merged pull requests:

  • Revert "Move type check when deserializing into the graph navigator" #1103 (goetas)

3.1.0

25 Jun 21:06
cff99c4
Compare
Choose a tag to compare

Implemented enhancements:

Fixed bugs:

  • Fix for failing doctrine object constructor on embeddable class #1031 (notrix)

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:

3.0.1

23 Apr 18:01
bf2bae3
Compare
Choose a tag to compare

Fixed bugs:

  • Do not throw exception when visiting null in custom handler #1076 (goetas)

3.0.0

23 Apr 07:19
90e1063
Compare
Choose a tag to compare

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:

  • Revert v2 nested groups and release 3.0 #1071 (goetas)

Implemented enhancements:

Merged pull requests:

Closed issues:

  • [RFC] revert #946 and release new major #1058

2.3.0

17 Apr 08:05
beb3f18
Compare
Choose a tag to compare

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:

  • doc update: registerHandler() example #1072 (cebe)
  • Updated suggestion for JsonSerializationVisitor::addData replacement #1066 (theoboldt)
  • Add fix to UPGRADING.md #1062 (Jean85)

1.14.0

17 Apr 08:13
ee96d57
Compare
Choose a tag to compare

Implemented enhancements:

  • Discriminator property serialization when parent is in discriminator map for v1 #982 (supersmile2009)
  • Expose and test GroupsExclusionStrategy::getGroupsFor() #1069 (goetas)

2.2.0

27 Feb 20:40
3c3d4f1
Compare
Choose a tag to compare

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:

2.1.0

11 Jan 08:47
4964dcb
Compare
Choose a tag to compare

Implemented enhancements:

Closed issues:

  • Compile error Declaration of [...] must be compatible with [...] #1024
  • Exclude field for depth #1022
  • Add class properties inheritance for extending classes (e.g. XmlRoot) #396

Merged pull requests:

2.0.2

12 Dec 08:04
cbfc555
Compare
Choose a tag to compare

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: