All Versions
44
Latest Version
Avg Release Cycle
68 days
Latest Release
760 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.7.15 Changes
August 25, 2021๐ Fixes:
-
v1.7.14 Changes
September 03, 2020Note:
Since v1.7.13 changed the stucture of linkedlist to improve the efficiency of adding item to array/object,
array->child->prev
now is point totail node
, this won't change any behavior except for backward through the linkedlist.
The current backward through the linkedlist could be in this way:cJSON *last = ...; // the last is known cJSON *current_item = last; do { current_item = current_item->prev; } while(current_item != last);
๐ Fixes:
- โก๏ธ optimize the way to find tail node, see #503
- ๐ Fix WError error on macosx because NAN is a float. Thanks @sappo, see #484
- ๐ Fix some bugs in detach and replace. Thanks @miaoerduo, see #456
-
v1.7.13 Changes
April 02, 2020๐ Features:
- โ add new API of cJSON_ParseWithLength without breaking changes. Thanks @caglarivriz, see #358
- โ add new API of cJSON_GetNumberValue. Thanks @Intuition, see#385
- โ add uninstall target function for CMake. See #402
- ๐ Improve performance of adding item to array. Thanks @xiaomianhehe, see #430, #448
- โ add new API of cJSON_SetValuestring, for changing the valuestring safely. See #451
- โ add return value for cJSON_AddItemTo... and cJSON_ReplaceItem... (check if the operation successful). See #453
๐ Fixes:
- ๐ Fix clang -Wfloat-equal warning. Thanks @paulmalovanyi, see #368
- ๐ Fix make failed in mac os. See #405
- ๐ Fix memory leak in cJSONUtils_FindPointerFromObjectTo. Thanks @andywolk for reporting, see #414
-
v1.7.12 Changes
May 16, 2019 -
v1.7.11 Changes
April 14, 2019๐ Fixes:
- ๐ Fix a bug where cJSON_Minify could overflow it's buffer, both reading and writing. This is a security issue. (see #338). Big thanks @bigric3 for reporting.
- ๐ Unset
true
andfalse
macros before setting them if they exist. See #339, thanks @raiden00pl for reporting
-
v1.7.10 Changes
December 20, 2018๐ Fixes:
- ๐ Fix package config file for
libcjson
. Thanks @shiluotang for reporting (#321) - ๐ Correctly split lists in
cJSON_Utils
's merge sort. Thanks @andysCaplin for the fix (#322)
- ๐ Fix package config file for
-
v1.7.9 Changes
December 16, 2018๐ Fixes:
- ๐ Fix a bug where
cJSON_GetObjectItemCaseSensitive
would pass a nullpointer tostrcmp
when called on an array (#315). Thanks @yuweol for reporting. - ๐ Fix error in
cJSON_Utils
where the case sensitivity was not respected (#317). Thanks @yuta-oxo for fixing. - ๐ Fix some warnings detected by the Visual Studio Static Analyzer (#307). Thanks @bnason-nf
- ๐ Fix a bug where
-
v1.7.8 Changes
September 21, 2018 -
v1.7.7 Changes
May 21, 2018๐ Fixes:
- ๐ Fix a memory leak when realloc fails (see #267), thanks @AlfieDeng for reporting
- ๐ Fix a typo in the header file (see #266), thanks @zhaozhixu
-
v1.7.6 Changes
April 13, 2018