Skip to content

Commit 024e835

Browse files
committed
Update the ChangeLog with recent changes, in preparation for a 0.15 release.
1 parent 78a0f2e commit 024e835

File tree

1 file changed

+40
-10
lines changed

1 file changed

+40
-10
lines changed

ChangeLog

Lines changed: 40 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,36 @@ Next Release 0.15
44

55
Deprecated and removed features:
66
--------------------------------
7-
* array_list_new() has been deprecated in favor of array_list_new2()
7+
* Deprecate `array_list_new()` in favor of `array_list_new2()`
8+
* Remove the THIS_FUNCTION_IS_DEPRECATED define.
9+
* Remove config.h.win32
10+
11+
New features
12+
------------
13+
* Add a `JSON_TOKENER_ALLOW_TRAILING_CHARS` flag to allow multiple objects
14+
to be parsed even when `JSON_TOKENER_STRICT` is set.
15+
* Add `json_object_new_array_ext(int)` and `array_list_new_2(int)` to allow
16+
arrays to be allocated with the exact size needed, when known.
17+
* Add `json_object_array_shrink()` (and `array_list_shrink()`) and use it in
18+
json_tokener to minimize the amount of memory used.
19+
* Add a json_parse binary, for use in testing changes (not installed, but
20+
available in the apps directory).
821

9-
Other changes
10-
--------------
11-
* Add a json_parse binary, for use in testing changes (not installed).
12-
* Issue #471: always create directories with mode 0755, regardless of umask.
13-
* Added a JSON_TOKENER_ALLOW_TRAILING_CHARS flag to allow multiple objects
14-
to be parsed even when JSON_TOKENER_STRICT is set.
22+
Build changes
23+
-------------
24+
* #639/#621 - Add symbol versions to all exported symbols
25+
* #508/#634 - Always enable -fPIC to allow use of the json-c static library in
26+
other libraries
27+
* Build both static and shared libraries at the same time.
28+
* #626 - Restore compatibility with cmake 2.8
29+
* #471 - Always create directories with mode 0755, regardless of umask.
30+
* #606/#604 - Improve support for OSes like AIX and IBM i, as well as for
31+
MINGW32 and old versions of MSVC
32+
* #451/#617 - Add a DISABLE_THREAD_LOCAL_STORAGE cmake option to disable
33+
the use of thread-local storage.
34+
35+
Significant changes and bug fixes
36+
---------------------------------
1537
* Split the internal json_object structure into several sub-types, one for
1638
each json_type (json_object_object, json_object_string, etc...).
1739
This improves memory usage and speed, with the benchmark under
@@ -23,9 +45,7 @@ Other changes
2345
arrays to the exact number of elements parsed. On bench/ benchmark:
2446
9% faster test time, 39%(max RSS)-50%(peak heap) less memory usage.
2547
Add json_object_array_shrink() and array_list_shrink() functions.
26-
* Add json_object_new_array_ext(int) and array_list_new_2(int) to allow
27-
arrays to be allocated with the exact size needed, when known.
28-
* Parsing of surrogate pairs in unicode escapes now properly handles
48+
* #616 - Parsing of surrogate pairs in unicode escapes now properly handles
2949
incremental parsing.
3050
* Fix incremental parsing of numbers, especially those with exponents, e.g.
3151
so parsing "[0", "e+", "-]" now properly returns an error.
@@ -34,6 +54,16 @@ Other changes
3454
followed by a "-", "." or "e". This makes parsing things like "123-45"
3555
behave consistently with things like "123xyz".
3656

57+
Other changes
58+
-------------
59+
* #589 - Detect broken RDRAND during initialization; also, fix segfault
60+
in the CPUID check.
61+
* #592 - Fix integer overflows to prevert out of bounds write on large input.
62+
* Protect against division by zero in linkhash, when creaed with zero size.
63+
* #602 - Fix json_parse_uint64() internal error checking, leaving the retval
64+
untouched in more failure cases.
65+
* #614 - Prevent truncation when custom double formatters insert extra \0's
66+
3767

3868
***
3969

0 commit comments

Comments
 (0)