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