4bba484a9c8843c8bb4765f48d89e71f69014183
[jansson.git] / CHANGES
1 Version 1.2 (in development)
2 ============================
3
4 * New functions:
5
6   - `json_equal()`: Test whether two JSON values are equal
7   - `json_copy()` and `json_deep_copy()`: Make shallow and deep copies
8     of JSON values
9   - Add a version of all functions taking a string argument that
10     doesn't check for valid UTF-8: `json_string_nocheck()`,
11     `json_string_set_nocheck()`, `json_object_set_nocheck()`,
12     `json_object_set_new_nocheck()`
13
14 * New encoding flags:
15
16   - ``JSON_SORT_KEYS``: Sort objects by key
17   - ``JSON_ENSURE_ASCII``: Escape all non-ASCII Unicode characters
18   - ``JSON_COMPACT``: Use a compact representation with all unneeded
19     whitespace stripped
20
21 * Bug fixes:
22
23   - Revise and unify whitespace usage in encoder: Add spaces between
24     array and object items, never append newline to output.
25   - Remove const qualifier from the ``json_t`` parameter in
26     `json_string_set()`, `json_integer_set()` and `json_real_set`.
27   - Use ``int32_t`` internally for representing Unicode code points
28     (int is not enough on all platforms)
29
30 * Other changes:
31
32   - Convert ``CHANGES`` (this file) to reStructured text and add it to
33     HTML documentation
34   - The test system has been refactored. Python is no longer required
35     to run the tests.
36   - Documentation can now be built by invoking ``make html``
37   - Support for pkg-config
38
39
40 Version 1.1.3
41 =============
42
43 Released 2009-12-18
44
45 * Encode reals correctly, so that first encoding and then decoding a
46   real always produces the same value
47 * Don't export private symbols in ``libjansson.so``
48
49
50 Version 1.1.2
51 =============
52
53 Released 2009-11-08
54
55 * Fix a bug where an error message was not produced if the input file
56   could not be opened in `json_load_file()`
57 * Fix an assertion failure in decoder caused by a minus sign without a
58   digit after it
59 * Remove an unneeded include of ``stdint.h`` in ``jansson.h``
60
61
62 Version 1.1.1
63 =============
64
65 Released 2009-10-26
66
67 * All documentation files were not distributed with v1.1; build
68   documentation in make distcheck to prevent this in the future
69 * Fix v1.1 release date in ``CHANGES``
70
71
72 Version 1.1
73 ===========
74
75 Released 2009-10-20
76
77 * API additions and improvements:
78
79   - Extend array and object APIs
80   - Add functions to modify integer, real and string values
81   - Improve argument validation
82   - Use unsigned int instead of ``uint32_t`` for encoding flags
83
84 * Enhance documentation
85
86   - Add getting started guide and tutorial
87   - Fix some typos
88   - General clarifications and cleanup
89
90 * Check for integer and real overflows and underflows in decoder
91 * Make singleton values thread-safe (``true``, ``false`` and ``null``)
92 * Enhance circular reference handling
93 * Don't define ``-std=c99`` in ``AM_CFLAGS``
94 * Add C++ guards to ``jansson.h``
95 * Minor performance and portability improvements
96 * Expand test coverage
97
98
99 Version 1.0.4
100 =============
101
102 Released 2009-10-11
103
104 * Relax Autoconf version requirement to 2.59
105 * Make Jansson compile on platforms where plain ``char`` is unsigned
106 * Fix API tests for object
107
108
109 Version 1.0.3
110 =============
111
112 Released 2009-09-14
113
114 * Check for integer and real overflows and underflows in decoder
115 * Use the Python json module for tests, or simplejson if the json
116   module is not found
117 * Distribute changelog (this file)
118
119
120 Version 1.0.2
121 =============
122
123 Released 2009-09-08
124
125 * Handle EOF correctly in decoder
126
127
128 Version 1.0.1
129 =============
130
131 Released 2009-09-04
132
133 * Fixed broken `json_is_boolean()`
134
135
136 Version 1.0
137 ===========
138
139 Released 2009-08-25
140
141 * Initial release