Skip to content

Releases: cculianu/univalue

UniValue 2.2.0

31 Aug 23:18
84d2b20
Compare
Choose a tag to compare

What's new:

  • Added unsigned getters get_uint64() and get_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

29 Aug 20:07
b4195f8
Compare
Choose a tag to compare

What's new:

  • Added a bench target to the project. If using ninja, you can do ninja 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.
  • Renamed the static function UniValue::Version() (for querying library version) to UniValue::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

30 Jun 01:27
db44a8b
Compare
Choose a tag to compare

What's new:

  • Added std::initializer_list constructor for both UniValue::Array and UniValue::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

29 Jun 12:33
db99257
Compare
Choose a tag to compare

Initial public release.

  • Contains various fix-ups and performance improvements as compared to the upstream BCHN version.