Releases: danielaparker/jsoncons
Release 0.168.6
Bug Fix:
- Fixed an issue with the order preserving
ojsonerase function
that takes two iterator arguments.
Enhancement:
- The
basic_json::erasefunction return value, previously void, is now
an iterator following the last removed element,
array_iterator erase(const_array_iterator pos);
object_iterator erase(const_object_iterator pos);
array_iterator erase(const_array_iterator first, const_array_iterator last);
object_iterator erase(const_object_iterator first, const_object_iterator last);
See Issue #363
Release 0.168.5
Issues fixed:
- Fixed issue #355, "Array move constructor of basic_json copies provided array".
Release 0.168.4
Issues fixed:
- Fixed issue #352
regardingjson_type_traitsmacro failure when number of parameters
reached 47.
Enhancement:
Increased maximum number of parameters in json_type_traits macros
from 50 to 70.
Release 0.168.3
Issues fixed:
-
Preseve original error messages when decoding into C++ data structures
(related to issue #345) -
Fixed issue #348)
concerning compilation issue on OSx with C++11
Release 0.168.2
Issues fixed:
-
Fixed issue #343
concerning segfault using JMESPath with Apple clang version 12.0.0 and
x86_64-apple-darwin19.6.0. -
Fixed issue #344
concerning compile error with gcc on archlinux with-Werror=nonnull.
Release 0.168.1
Bugs fixed:
- Fixed jsonpath issue of normalized path component not being computed
for expression, issue #338.
Release 0.168.0
Bugs fixed:
-
Fixed issue #335.
The 0b... notation used in a cbor header file has been replaced with 0x... notation.
The 0b... notation used is only standard compliant with C++14 and later, although
supported in some C++ 11 compilers. -
Fixed issue with csv automatic number detection discovered while investigating
issue #333.
Enhancements to jsonpointer extension:
-
Support construction of a
json_pointerfrom a URI fragment representation of a JSON Pointer. -
Support stringifying a
json_pointerto a URI fragment representation with theto_uri_fragmentfunction.
jsoncons 0.167.1
Bugs fixed:
- Fixed compilation error with clang version 8.0.1, issue #328.
jsoncons 0.167.0
Bugs fixed:
-
Fixed issue with a json_cursor hanging if opened with an empty file
or string, detected by google/OSS-fuzz. -
Fixed issue with the unary minus in a JSONPath filter expression,
where an expression such as$[[email protected] > -42]would fail to parse. -
Fixed issue with private typedef and Intel C++ Compiler
via PR #327
Changes:
- In the csv extension, the enum name
mapping_kindhas been
renamed tocsv_mapping_kind, and thecsv_options.mappingfunction
has been renamed tocsv_options.mapping_kind. The old names have
been deprecated but are still usable.
Enhancements:
-
Added support for JSON Merge Patch.
-
Added support in JSONPath expressions for '%' (modulus) operator
Release 0.166.0
jsonpath bugs fixed:
- Fixed issue with normalized paths produced by JSONPath expressions with filters
jsonpath enhancements:
-
Added support for a parent selector, using the `^' symbol,
following jsonpath-plus. -
Implemented a number of performance optimizations.
jsonschema enhancements:
-
Improved error messages reported when compiling a schema document
-
Added a check that the "$schema" keyword, if present, is Draft 7.