diff --git a/CHANGELOG.md b/CHANGELOG.md index ccb2ad5..fcc2ae7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,35 @@ All notable changes to this project will be documented in this file. +## 0.5.0 (2022-05-25) +#### Added +- Add LibFuzzer support. +- Add Doxygen support. +- Add functions to support serializing a single JSON value. +- Add `yyjson_mut_doc_mut_copy()`, `yyjson_mut_val_mut_copy()`, `yyjson_mut_merge_patch()` function for mutable input. +- Add `yyjson_equals()` and `yyjson_mut_equals()` function to compare two values. +- Add `yyjson_mut_obj_remove_key()` and `yyjson_mut_obj_remove_keyn()` to make it easier to remove a key. +- Add `YYJSON_READ_NUMBER_AS_RAW` option and `RAW` type support. +- Add `YYJSON_READ_ALLOW_INVALID_UNICODE` and `YYJSON_WRITE_ALLOW_INVALID_UNICODE` options to allow invalid unicode. + +#### Changed +- Change `yyjson_mut_obj_remove()` return type from `bool` to `yyjson_mut_val *`. +- Rewrite string serialization function, validate unicode encoding by default. +- Rewrite the JSON Pointer implementation, remove internal malloc() calls. + +#### Fixed +- Make the code work correctly with setlocale() function and fast-math flag: #54 +- Fix negative infinity literals read error: #64 +- Fix non null-terminated string write error. +- Fix incorrect behavior of `YYJSON_DISABLE_NON_STANDARD` flag: #80 + + ## 0.4.0 (2021-12-12) #### Added - Add `YYJSON_WRITE_INF_AND_NAN_AS_NULL` flag for JSON writer. -- Add `merge_path()` function for JSON Merge-Path API (RFC 7386). -- Add `obj_replace()` and `obj_insert()` function for object modification. -- Add `obj_iter_get()` function for faster object query. +- Add `yyjson_merge_patch()` function for JSON Merge-Path API (RFC 7386). +- Add `yyjson_mut_obj_replace()` and `yyjson_mut_obj_insert()` function for object modification. +- Add `yyjson_obj_iter_get()` and `yyjson_mut_obj_iter_get()` function for faster object search. - Add `yyjson_version()` function. #### Changed diff --git a/CMakeLists.txt b/CMakeLists.txt index 2d79f57..999eab0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ # https://github.com/ibireme/yyjson/blob/master/LICENSE cmake_minimum_required(VERSION 3.5) -project(yyjson VERSION 0.4.0) +project(yyjson VERSION 0.5.0) diff --git a/doc/doxygen/html/annotated.html b/doc/doxygen/html/annotated.html index 7e9411c..2d1d460 100644 --- a/doc/doxygen/html/annotated.html +++ b/doc/doxygen/html/annotated.html @@ -35,7 +35,7 @@
All notable changes to this project will be documented in this file.
yyjson_mut_doc_mut_copy()
, yyjson_mut_val_mut_copy()
, yyjson_mut_merge_patch()
function for mutable input.yyjson_equals()
and yyjson_mut_equals()
function to compare two values.yyjson_mut_obj_remove_key()
and yyjson_mut_obj_remove_keyn()
to make it easier to remove a key.YYJSON_READ_NUMBER_AS_RAW
option and RAW
type support.YYJSON_READ_ALLOW_INVALID_UNICODE
and YYJSON_WRITE_ALLOW_INVALID_UNICODE
options to allow invalid unicode.yyjson_mut_obj_remove()
return type from bool
to yyjson_mut_val *
.YYJSON_DISABLE_NON_STANDARD
flag: #80YYJSON_WRITE_INF_AND_NAN_AS_NULL
flag for JSON writer.merge_path()
function for JSON Merge-Path API (RFC 7386).obj_replace()
and obj_insert()
function for object modification.obj_iter_get()
function for faster object query.yyjson_merge_patch()
function for JSON Merge-Path API (RFC 7386).yyjson_mut_obj_replace()
and yyjson_mut_obj_insert()
function for object modification.yyjson_obj_iter_get()
and yyjson_mut_obj_iter_get()
function for faster object search.yyjson_version()
function.YYJSON_DISABLE_COMMENT_READER
and YYJSON_DISABLE_INF_AND_NAN_READER
with YYJSON_DISABLE_NON_STANDARD
compiler flag.YYJSON_DISABLE_FP_READER
and YYJSON_DISABLE_FP_WRITER
with YYJSON_DISABLE_FAST_FP_CONV
compiler flag.-Wconversion
JSON Pointer
support.YYJSON_READ_FASTFP
compiler flag.#define YYJSON_VERSION_HEX 0x000400 | +#define YYJSON_VERSION_HEX 0x000500 |
#define YYJSON_VERSION_STRING "0.4.0" | +#define YYJSON_VERSION_STRING "0.5.0" |