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