serializer

Library for (de-)serializing data of any complexity (supports JSON, and XML)

MIT License

Downloads
107.8M
Stars
2.3K
Committers
237
serializer - 3.14.0

Published by goetas about 3 years ago

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

Published by goetas about 3 years ago

serializer - 3.14.0-rc1

Published by goetas about 3 years ago

serializer - 3.13.0

Published by goetas over 3 years ago

serializer - 3.12.3

Published by goetas over 3 years ago

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

Published by goetas over 3 years ago

Fixed bugs:

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

Merged pull requests:

serializer - 3.12.1

Published by goetas over 3 years ago

Fixed bugs:

Merged pull requests:

serializer - 3.12.0

Published by goetas over 3 years ago

Fixed bugs:

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

Merged pull requests:

serializer - 3.11.0

Published by goetas almost 4 years ago

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)
serializer - 3.10.0

Published by goetas almost 4 years ago

Implemented enhancements:

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

Merged pull requests:

serializer - 3.9.0

Published by goetas about 4 years ago

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:

serializer - 3.8.0

Published by goetas over 4 years ago

Implemented enhancements:

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

Fixed bugs:

  • Consider exclude rules on parents if defined #1206 (goetas)
  • hoa/protocol package conflicts with laravel helper #1154

Merged pull requests:

serializer - 3.7.0

Published by goetas over 4 years ago

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:

serializer - 3.6.0

Published by goetas over 4 years ago

Implemented enhancements:

  • do not hide Exceptions from custom handlers but correctly handle null #1169 (Hikariii)
  • Handle ObjectConstructor returning NULL #1172 (jankramer)

Fixed bugs:

Merged pull requests:

  • test serializing entity that uses Discriminator and extends some base… #1174 (FrKevin)
  • test symfony translator contract #1171 (goetas)
serializer - 3.5.0

Published by goetas over 4 years ago

Implemented enhancements:

Fixed bugs:

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

Merged pull requests:

serializer - 1.14.1

Published by goetas over 4 years ago

Merged pull requests:

serializer - 3.4.0

Published by goetas almost 5 years ago

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:

serializer - 3.3.0

Published by goetas about 5 years ago

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)
serializer - 3.2.0

Published by goetas about 5 years ago

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:

serializer - 3.1.1

Published by goetas over 5 years ago

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)