Skip to content

0.9.0

Compare
Choose a tag to compare
@StringEpsilon StringEpsilon released this 08 Dec 19:12
· 121 commits to main since this release

Breaking:

  • Targeting net6.0

Semi breaking:

  • Type lookup: Now negative lookup results are also cached.
    • This may also lead to undeseriable results when adding classes and structs at runtime.
    • May increase the memory footprint over time faster than before.
    • On the upside: It is significantly faster when dealing with objects where automapping doesn't work without having to disable the feature entirely.
  • Different exception (System.ArgumentException) on empty input for PhpSerialization.Deserialize<T>()

Regular changes:

  • Rewrote the parsing and validation logic, which results in different exception messages in many cases.
  • Parsing: A very slight performance gain for some deserialization workloads.
  • Object / struct creation: Improved performance.
  • General: Reduced amount of memory allocated while deserializing.
  • Fixed exception message for non-integer keys in lists.
  • Fixed exception message for failed field / property assignments / binding.