Skip to content

Commit cb8693b

Browse files
authored
Release 1.7.16 (#770)
* Update version to 1.7.16 * Update contributors
1 parent 545710e commit cb8693b

File tree

6 files changed

+35
-4
lines changed

6 files changed

+35
-4
lines changed

CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
1.7.16 (Jul 5, 2023)
2+
======
3+
Features:
4+
------
5+
* Add an option for ENABLE_CJSON_VERSION_SO in CMakeLists.txt, see #534
6+
* Add cmake_policy to CMakeLists.txt, see #163
7+
* Add cJSON_SetBoolValue, see #639
8+
* Add meson documentation, see #761
9+
10+
Fixes:
11+
------
12+
* Fix memory leak in merge_patch, see #611
13+
* Fix conflicting target names 'uninstall', see #617
14+
* Bump cmake version to 3.0 and use new version syntax, see #587
15+
* Print int without decimal places, see #630
16+
* Fix 'cjson_utils-static' target not exist, see #625
17+
* Add allocate check for replace_item_in_object, see #675
18+
* Fix a null pointer crash in cJSON_ReplaceItemViaPointer, see #726
19+
120
1.7.15 (Aug 25, 2021)
221
======
322
Fixes:

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ set(CMAKE_LEGACY_CYGWIN_WIN32 0)
22
cmake_minimum_required(VERSION 3.0)
33

44
project(cJSON
5-
VERSION 1.7.15
5+
VERSION 1.7.16
66
LANGUAGES C)
77

88
cmake_policy(SET CMP0054 NEW) # set CMP0054 policy

CONTRIBUTORS.md

+12
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ Current Maintainer:
1010

1111
Contributors:
1212
* [Ajay Bhargav](https://github.com/ajaybhargav)
13+
* [AlexanderVasiljev](https://github.com/AlexanderVasiljev)
1314
* [Alper Akcan](https://github.com/alperakcan)
1415
* [Andrew Tang](https://github.com/singku)
16+
* [Andy](https://github.com/mlh0101)
1517
* [Anton Sergeev](https://github.com/anton-sergeev)
1618
* [Benbuck Nason](https://github.com/bnason-nf)
1719
* [Bernt Johan Damslora](https://github.com/bjda)
@@ -29,20 +31,25 @@ Contributors:
2931
* [Fabrice Fontaine](https://github.com/ffontaine)
3032
* Ian Mobley
3133
* Irwan Djadjadi
34+
* [hopper-vul](https://github.com/hopper-vul)
3235
* [HuKeping](https://github.com/HuKeping)
3336
* [IvanVoid](https://github.com/npi3pak)
3437
* [Jakub Wilk](https://github.com/jwilk)
3538
* [Jiri Zouhar](https://github.com/loigu)
3639
* [Jonathan Fether](https://github.com/jfether)
40+
* [Joshua Arulsamy](https://github.com/jarulsamy)
3741
* [Julian Ste](https://github.com/julian-st)
3842
* [Julián Vásquez](https://github.com/juvasquezg)
43+
* [Junbo Zheng](https://github.com/Junbo-Zheng)
3944
* [Kevin Branigan](https://github.com/kbranigan)
4045
* [Kevin Sapper](https://github.com/sappo)
4146
* [Kyle Chisholm](https://github.com/ChisholmKyle)
4247
* [Linus Wallgren](https://github.com/ecksun)
48+
* [MaxBrandtner](https://github.com/MaxBrandtner)
4349
* [Mateusz Szafoni](https://github.com/raiden00pl)
4450
* Mike Pontillo
4551
* [miaoerduo](https://github.com/miaoerduo)
52+
* [mohawk2](https://github.com/mohawk2)
4653
* [Mike Jerris](https://github.com/mjerris)
4754
* [Mike Robinson](https://github.com/mhrobinson)
4855
* [Moorthy](https://github.com/moorthy-bs)
@@ -61,10 +68,14 @@ Contributors:
6168
* [Romain Porte](https://github.com/MicroJoe)
6269
* [SANJEEV BA](https://github.com/basanjeev)
6370
* [Sang-Heon Jeon](https://github.com/lntuition)
71+
* [Sayan Bandyopadhyay](https://github.com/saynb)
6472
* [Simon Sobisch](https://github.com/GitMensch)
6573
* [Simon Ricaldone](https://github.com/simon-p-r)
74+
* [Stoian Ivanov](https://github.com/sdrsdr)
75+
* [SuperH-0630](https://github.com/SuperH-0630)
6676
* [Square789](https://github.com/Square789)
6777
* [Stephan Gatzka](https://github.com/gatzka)
78+
* [Tony Langhammer](https://github.com/BigBrainAFK)
6879
* [Vemake](https://github.com/vemakereporter)
6980
* [Wei Tan](https://github.com/tan-wei)
7081
* [Weston Schmidt](https://github.com/schmidtw)
@@ -73,6 +84,7 @@ Contributors:
7384
* [yuta-oxo](https://github.com/yuta-oxo)
7485
* [Zach Hindes](https://github.com/zhindes)
7586
* [Zhao Zhixu](https://github.com/zhaozhixu)
87+
* [10km](https://github.com/10km)
7688

7789
And probably more people on [SourceForge](https://sourceforge.net/p/cjson/bugs/search/?q=status%3Aclosed-rejected+or+status%3Aclosed-out-of-date+or+status%3Awont-fix+or+status%3Aclosed-fixed+or+status%3Aclosed&page=0)
7890

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CJSON_TEST_SRC = cJSON.c test.c
88

99
LDLIBS = -lm
1010

11-
LIBVERSION = 1.7.15
11+
LIBVERSION = 1.7.16
1212
CJSON_SOVERSION = 1
1313
UTILS_SOVERSION = 1
1414

cJSON.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ CJSON_PUBLIC(double) cJSON_GetNumberValue(const cJSON * const item)
117117
}
118118

119119
/* This is a safeguard to prevent copy-pasters from using incompatible C and header files */
120-
#if (CJSON_VERSION_MAJOR != 1) || (CJSON_VERSION_MINOR != 7) || (CJSON_VERSION_PATCH != 15)
120+
#if (CJSON_VERSION_MAJOR != 1) || (CJSON_VERSION_MINOR != 7) || (CJSON_VERSION_PATCH != 16)
121121
#error cJSON.h and cJSON.c have different versions. Make sure that both have the same.
122122
#endif
123123

cJSON.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ then using the CJSON_API_VISIBILITY flag to "export" the same symbols the way CJ
8181
/* project version */
8282
#define CJSON_VERSION_MAJOR 1
8383
#define CJSON_VERSION_MINOR 7
84-
#define CJSON_VERSION_PATCH 15
84+
#define CJSON_VERSION_PATCH 16
8585

8686
#include <stddef.h>
8787

0 commit comments

Comments
 (0)