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