@@ -4,14 +4,36 @@ Next Release 0.15
4
4
5
5
Deprecated and removed features:
6
6
--------------------------------
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).
8
21
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
+ ---------------------------------
15
37
* Split the internal json_object structure into several sub-types, one for
16
38
each json_type (json_object_object, json_object_string, etc...).
17
39
This improves memory usage and speed, with the benchmark under
@@ -23,9 +45,7 @@ Other changes
23
45
arrays to the exact number of elements parsed. On bench/ benchmark:
24
46
9% faster test time, 39%(max RSS)-50%(peak heap) less memory usage.
25
47
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
29
49
incremental parsing.
30
50
* Fix incremental parsing of numbers, especially those with exponents, e.g.
31
51
so parsing "[0", "e+", "-]" now properly returns an error.
@@ -34,6 +54,16 @@ Other changes
34
54
followed by a "-", "." or "e". This makes parsing things like "123-45"
35
55
behave consistently with things like "123xyz".
36
56
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
+
37
67
38
68
***
39
69
0 commit comments