Releases: cculianu/univalue
Releases · cculianu/univalue
UniValue 2.2.0
What's new:
- Added unsigned getters
get_uint64()
andget_uint()
, which allow for retrieving values over a larger positive range, and also throw for you if the stored value is negative. - Updated the unit test to handle more corner cases
- The CMake project now embeds an SONAME into the lib (on platforms that support this), to allow ABI/compatibility versioning of the library.
- Some internal code refactoring.
UniValue 2.1.0
What's new:
- Added a
bench
target to the project. If usingninja
, you can doninja bench
to run the benchmark.- This target optionally also finds and uses
nlohmann::json
(if installed) to compare this library to that library. - If curious, see univalue_bench.cpp for the implementation.
- This target optionally also finds and uses
- Renamed the static function
UniValue::Version()
(for querying library version) toUniValue::version()
, which is more consistent with the other names in this class. - Added an optional 3rd argument to
stringify
,reserve
, which allows the caller to hint to the function how much space to preallocate for the returned string. - Misc tiny fixups to
univalue.h
UniValue 2.0.1
What's new:
- Added
std::initializer_list
constructor for bothUniValue::Array
andUniValue::Object
types, for convenience. - Added a basic example:
examples/basic_example.cpp
. - Added the static method
UniValue::Version()
to have the library report its own compiled-in version information. - Added two new unit tests.
UniValue 2.0
Initial public release.
- Contains various fix-ups and performance improvements as compared to the upstream BCHN version.