This file lists the major changes between versions. For a more detailed list of every change, see the Git log.
- tbd
- Patch: Fixed bug where assignment of a json object to a contained object would cause a memory leak.
- Patch: Fixed bug where re-assignment via the
operator[]
would cause a memory leak. - Minor: Added
json::contains
function for checking if a json object is contained in another json object.
- Patch: Better support for unicode escape sequences.
- Major: Use waf-tools 5.
- Minor: Updated waf.
- Minor: Added json::dump_min for dumping a minified json string.
- Minor: Added json::keys function for getting the keys of an object.
- Major: Change cmake object library approach.
- Major: Change cmake build to be object library based.
- Minor: Added install step to CMake.
- Patch: Use std::size_t instead of uint32_t.
- Patch: Fix warning on windows.
- Patch: Fixed multiple unhandled corner cases for parser.
- Minor: Added custom error codes for parser.
- Minor: Lowered CMake version requirement.
- Minor: Improve cmake build file.
- Minor: Added cmake build file.
- Patch: Remove print when comparing objects of different types.
- Patch: Change stol -> stoll. On Window stol returns a 32 bit, we need 64 bit. See more here: https://stackoverflow.com/a/30741963/1717320
- Major: Added inline namespace for versioning.
- Major: Added prepare_release function to wscript.
- Major: Expose objects rather than static lib when used as a dependency.
- Minor: Added const version of
operator[]
accessors. - Major: Made
parser::parse
static, and added an error code. - Major: Moved details into detail namespace.
- Major: Upgrade to waf-tools 4
- Minor: Upgrade to gtest 4
- Minor: Allow integers to be converted implicitly to floating point values.
- Minor: Added templated
to
andis
function for checking and getting fields of certain types. - Major: Removed length function, use size instead.
- Major: Values are no longer silently converted to array values if append is used.
- Minor: Added more comments.
- Major: Replaced
to_[type](bool)
functions with a combination ofto_[type]
andis_[type]
. - Minor: Added
is_bool
,is_int
,is_float
,is_string
,is_object
, andis_array
. - Patch: Fixed memory leak on reassignment.
- Major: Removed templated constructor. This has been done to prevent slient, infinite append-loop when accidentally providing a none bourne::json convertable object to constructor.
- Minor: Added equality operator.
- Major: Initial release.