Skip to content

v0.85

Choose a tag to compare

@azure-pipelines azure-pipelines released this 11 Jan 10:54
  • [ ! ] Introduced deserialization postprocessors (Fallback, TrimWhitespace, ToLowerCase, ToUpperCase).
  • [ ! ] Added the ability to pass through the payload of raw data structures (thanks @hoshinohikari for the idea!).
  • [ + ] Added new serialization option trimStringFields (automatically trims whitespace from all string fields).
  • [ + ] Added new sample payload_passthrough; see also the corresponding section in README.md.
  • [ * ] Reworked all comments in Doxygen style.
  • [ * ] Added prefix BITSERIALIZER_ to the enum registration macros: REGISTER_ENUM and DECLARE_ENUM_STREAM_OPS.
  • [ * ] Moved some header files containing public types to the root directory of bitserializer.
  • [ * ] Fixed typo where the alias for MaxSize was incorrectly named Validate::MinSize (thanks @mattlutz-acre).
  • [ * ] Changed OverflowTypeException to MismatchedTypeException when attempting to load a negative value into an unsigned type.
  • [ * ] [Convert] Changed exception type to invalid_argument when attempting to convert a negative value to an unsigned type.
  • [ * ] [CSV] Optimized deserialization performance (+22% faster from memory and +32% faster from stream).
  • [ * ] [MsgPack] Fixed crash in certain cases when loading corrupted MsgPack data (caused by a nested exception).
  • [ * ] [CSV, PugiXml, RapidYaml] Fixed cross-platform compatibility for serializing special floating-point values (INF, NAN).
  • [ * ] [RapidJson, PugiXml, RapidYaml] Fixed loading of optional objects and arrays from null values (thanks @mattlutz-acre).