Skip to content

Latest commit

 

History

History
546 lines (337 loc) · 34.1 KB

CHANGELOG.md

File metadata and controls

546 lines (337 loc) · 34.1 KB

Changelog

New versions can be found on the realeases page

3.15.0 (2021-10-14)

Merged pull requests:

3.14.0 (2021-08-06)

Merged pull requests:

  • Avoid duplicate/invalid definitions when loading the php attributes using the annotation driver #1340 (goetas)

3.14.0-rc2 (2021-08-06)

Merged pull requests:

3.14.0-rc1 (2021-08-01)

Merged pull requests:

  • Add PHP attributes support #1332 (goetas)
  • Deprecate @ReadOnly annotation in favor of @ReadOnlyProperty #1333 (mbabker)

3.13.0 (2021-07-05)

Merged pull requests:

3.12.3 (2021-04-25)

Merged pull requests:

  • [docs] Add documentation to deserialize on existing objects #1308 (gam6itko)
  • Allow phpstan/phpdoc-parser v0.5 #1307 (simPod)

3.12.2 (2021-03-23)

Fixed bugs:

  • Undefined offset: 0 when using @var null|string instead of @var string|null #1301 (ruudk)

Merged pull requests:

3.12.1 (2021-03-21)

Fixed bugs:

Merged pull requests:

Changelog

3.12.0 (2021-03-04)

Fixed bugs:

  • Remove from the serialization groups if no match #1291 (goetas)

Merged pull requests:

3.11.0 (2020-12-29)

Implemented enhancements:

  • Allow installing and build on PHP 8 #1267 (sanmai)
  • Use phpstan/phpdoc-parser to retrieve additional type information from PhpDoc #1261 (Namoshek)
  • DoctrineObjectConstructor Using array_key_exists() on objects is deprecated in php7.4 #1253 (gam6itko)
  • Add Composer cache for v2 on Travis CI #1266 (sanmai)
  • Allow interfaces for DocBlock #1256 (marein)
  • Allow interfaces for typed properties #1254 (marein)

3.10.0 (2020-10-29)

Implemented enhancements:

  • Allow null to be visited if is a root object #1250 (goetas)
  • Resolve collections from DocBlock #1214 (dgafka)

Merged pull requests:

3.9.0 (2020-08-26)

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)

Closed issues:

  • Annotation cache does not honor naming strategy #1244
  • Authorization Bypass Vulnerability - v1.14.1 #1242
  • @SkipWhenEmpty and @Exclude combination leads to unexpected behavior #1240
  • How to pass MetadataFactory::create() into SerializationVisitorInterface::startVisitingObject()? #1226
  • Custom type in array key is not respected when serializing to JSON #1223
  • xml:id or xml:lang attributes handling #1221
  • Accessing static property as non static #1156
  • AbstractVisitor::getElementType() must be of the type array or null, string returned #1027

Merged pull requests:

3.8.0 (2020-06-28)

Implemented enhancements:

  • Use doctrine/lexer instead of hoa/compiler #1212 (goetas)

Fixed bugs:

  • Consider exclude rules on parents if defined #1206 (goetas)

Closed issues:

  • Serializer Group #1213
  • Notice: Accessing static property Proxies\__CG__\examplemodel\inherit\Customers::$lazyPropertiesNames as non static #1209
  • Unserialization failure after upgrading to 3.7.0 (excludeIf related?) #1207
  • [RFC] Removing abandoned hoa from serializer #1182
  • hoa/protocol package conflicts with laravel helper #1154

Merged pull requests:

3.7.0 (2020-05-23)

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)

Closed issues:

  • Specify Type as nullable? #1191
  • Does someone know how to use phpdoc with serializer? #1185
  • Serializer doesn't keep types but convert them if not it can #1181
  • ConditionalExpose/Exclude annotation does not work on class level #1098

Merged pull requests:

3.6.0 (2020-03-21)

Implemented enhancements:

  • DateTime parsed invalid date #1152
  • do not hide Exceptions from custom handlers but correctly handle null #1169 (Hikariii)

Fixed bugs:

Closed issues:

  • thrown Exceptions are hidden when serializing complex objects with a handler #1168

Merged pull requests:

  • test serializing entity that uses Discriminator and extends some base… #1174 (FrKevin)
  • Handle ObjectConstructor returning NULL #1172 (jankramer)
  • test symfony translator contract #1171 (goetas)

3.5.0 (2020-02-22)

Implemented enhancements:

Fixed bugs:

  • Make sure serialzation context is immutable #1159 (goetas)

Merged pull requests:

1.14.1 (2020-02-22)

Closed issues:

  • Virtual Property do not get serialized if getter name conflict with a class property #1164
  • SerializationGraphNavigator not receiving correct serializeNull config during initialize #1158
  • SerializationGraphNavigator unaware of serializeNull change of context when altered in PreSerializeEvent #1157
  • Memory leaks #1150
  • Properties with @Groups annotations included in output when no SerializationContext given. #1149

Merged pull requests:

  • PHP7.4 ternary operator deprecation #1163 (adhocore)
  • Test 1.x on PHP 7.3 on Travis; fix builds for PHP 5.5 #1119 (sanmai)

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 (2019-09-20)

Implemented enhancements:

  • Update major version that v2.x deprecation will be removed #1134 (carusogabriel)
  • 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)

3.2.0 (2019-09-04)

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 (2019-06-28)

Fixed bugs:

  • Could not deserialize object if all properties have not type #1102
  • Revert "Move type check when deserializing into the graph navigator" #1103 (goetas)

3.1.0 (2019-06-25)

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
  • Instructions for upgrading from addData in 1.x don't work #1030

Merged pull requests:

3.0.1 (2019-04-23)

Fixed bugs:

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

3.0.0 (2019-04-23)

Breaking changes:

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

Implemented enhancements:

Closed issues:

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

Merged pull requests:

1.14.0 (2019-04-17)

2.3.0 (2019-04-17)

Implemented enhancements:

  • Expose and test GroupsExclusionStrategy::getGroupsFor() #1069 (goetas)
  • 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)

2.2.0 (2019-02-27)

Implemented enhancements:

Fixed bugs:

  • xmlRootPrefix missing from unserialized metadata #1050
  • Non-locale aware encoding of doubles, closes #1041 #1042 (Grundik)

Closed issues:

  • GROUP BY #1051
  • Using @Until and @Since on class level #1048
  • [Semantical Error] The annotation "@generated" in class JMS\Serializer\Type\InnerParser was never imported #1046
  • ReflectionException when (de)serializing unless fully qualified classname is used #1045
  • Add use of annotation registry to docs #1044
  • Values of type "double" should not use locale-specific encoding #1041
  • SF4: JMS serializer seems to be ignoring global naming strategy #1037
  • @SerializedName not being ignored since 2.x is bug or feature? #1036
  • What should I use instead of the dropped GenericDeserializationVisitor class? #1035
  • DateTime and DateTimeImmutable from PHP 7.1 serialization and deserialization with microseconds #1033
  • Provide an option to the SerializeBuilder to set AccessType to a specified value globally #1025
  • Serialize Generator #1023

Merged pull requests:

2.1.0 (2019-01-11)

Closed issues:

  • Compile error Declaration of [...] must be compatible with [...] #1024
  • Exclude field for depth #1022

Merged pull requests:

2.0.2 (2018-12-12)

Fixed bugs:

  • jms serialzier 2.0 Error in debug mode #1018
  • AbstractDoctrineTypeDriver::normalizeFieldType() must be of the type string, null given #1015
  • allow empty strings and numbers as metadata type parameters #1019 (goetas)
  • 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:

2.0.1 (2018-11-29)

2.0.0 (2018-11-09)

2.0.0-RC1 (2018-10-17)

2.0.0-beta1 (2018-09-12)

1.13.0 (2018-07-25)

1.12.1 (2018-06-01)

1.12.0 (2018-05-25)

1.11.0 (2018-02-04)

1.10.0 (2017-11-30)

1.9.2 (2017-11-22)

1.9.1 (2017-10-27)

1.9.0 (2017-09-28)

1.8.1 (2017-07-13)

1.8.0 (2017-07-12)

1.7.1 (2017-05-15)

1.7.0 (2017-05-10)

1.7.0-RC2 (2017-05-05)

1.7.0-RC1 (2017-04-25)

1.6.2 (2017-04-17)

1.6.1 (2017-04-12)

1.6.0 (2017-03-24)

1.6.0-RC1 (2017-03-14)

1.5.0 (2017-02-14)

1.5.0-RC1 (2017-01-19)

1.4.2 (2016-11-13)

1.4.1 (2016-11-02)

1.4.0 (2016-10-31)

1.3.1 (2016-08-23)

1.3.0 (2016-08-17)

1.2.0 (2016-08-03)

1.1.0 (2015-10-27)

1.0.0 (2015-06-16)

0.16.0 (2014-03-18)

0.15.0 (2014-02-10)

0.14.0 (2013-12-04)

0.13.0 (2013-07-29)

0.12.0 (2013-03-28)

0.11.0 (2013-01-29)

* This Changelog was automatically generated by github_changelog_generator