Skip to content

Releases: schmittjoh/serializer

1.14.1

22 Feb 21:00
ba908d2
Compare
Choose a tag to compare

Merged pull requests:

3.4.0

14 Dec 20:51
e2d3c49
Compare
Choose a tag to compare

3.4.0 (2019-12-14)

Implemented enhancements:

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:

3.3.0

20 Sep 14:24
4c1e429
Compare
Choose a tag to compare

Implemented enhancements:

  • Implement short expose syntax for XML as it is available for YAML #1127 (goetas)

Fixed bugs:

  • Avoid implicit expose of a property instead of virtual-property #1126 (goetas)

Closed issues:

  • Accessing static property as non static #1122
  • Travis builds on 1.x are failing #1120

Merged pull requests:

  • Allow failures on php "7.4snapshot" (waiting for stable symfony 4.4) #1128 (goetas)
  • Fix PHPUnit deprecations #1123 (Majkl578)
  • Test 1.x on PHP 7.3 on Travis; fix builds for PHP 5.5 #1119 (sanmai)

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)