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