Skip to content

Releases: StringEpsilon/PhpSerializerNET

0.5.0 - Now with Objects!

20 Sep 20:40
Compare
Choose a tag to compare

0.5.0

BREAKING

  • Renamed the static class PhpSerializer to PhpSerialization

Other changes:

  • Added support for object de/serialization (O:4:"name":n:{...}).
  • Added [PhpClass()] attribute.
  • Added StdClass and EnableTypeLookup to deserialization options
  • Added options for PhpSerialization.Serialize().
    • ThrowOnCircularReferences - whether or not to throw on circular references, defaults to false (this might change in the future.)
  • Updated and adjusted some of the XML documentation.

0.4.0

12 Sep 09:28
Compare
Choose a tag to compare
  • Support for structs.
  • Fixed performance drop due to over-checking the input string.
  • Refactored deserializer to work in less steps and with cleaner code.
  • Slight tweaks of some error messages.