Skip to content

Release 0.155.0

Compare
Choose a tag to compare
@danielaparker danielaparker released this 03 Aug 04:08
· 3155 commits to master since this release

Changes:

  • The semantic_tag enum value timestamp has been deprecated.
    It has been replaced by epoch_second, epoch_milli and epoch_nano.
    The deprecated timestamp value has been aliased to epoch_second.

Enhancements:

  • Allow bson_parser to switch to array parsing when the root
    object is a document but decode_bson expects an array.

  • Added json_type_traits support for std::nullptr_t

  • Added json_type_traits support for std::chrono::duration

  • Improved memory efficiency of jmespath extension

  • Added function json_encode_pretty as the preferred alternative
    to the json_encode overload with indenting::indent argument.

  • Added basic_json member function dump_pretty as the preferred alternative
    to the dump overload with indenting::indent argument.

  • Generalized the basic_json member function dump and the functions encode_json
    and encode_csv to write to any back insertable character container.

  • Generalized the basic_json function parse and the functions decode_json
    and decode_csv to read from any contiguous character sequence.