1 Version 2.6.0 released 2012-06-26
3 * Error messages changed to match proposal for Python 3.3.1
4 http://bugs.python.org/issue5067
6 Version 2.5.2 released 2012-05-10
8 * Fix for regression introduced in 2.5.1
9 https://github.com/simplejson/simplejson/issues/35
11 Version 2.5.1 released 2012-05-10
13 * Support for use_decimal=True in environments that use Python
14 sub-interpreters such as uWSGI
15 https://github.com/simplejson/simplejson/issues/34
17 Version 2.5.0 released 2012-03-29
19 * New item_sort_key option for encoder to allow fine grained control of sorted
22 Version 2.4.0 released 2012-03-06
24 * New bigint_as_string option for encoder to trade JavaScript number precision
25 issues for type issues.
26 https://github.com/simplejson/simplejson/issues/31
28 Version 2.3.3 released 2012-02-27
30 * Allow unknown numerical types for indent parameter
31 https://github.com/simplejson/simplejson/pull/29
33 Version 2.3.2 released 2011-12-30
35 * Fix crashing regression in speedups introduced in 2.3.1
37 Version 2.3.1 released 2011-12-29
39 * namedtuple_as_object now checks _asdict to ensure that it
41 https://github.com/simplejson/simplejson/issues/26
43 Version 2.3.0 released 2011-12-05
45 * Any objects with _asdict() methods are now considered for
47 https://github.com/simplejson/simplejson/pull/22
49 Version 2.2.1 released 2011-09-06
51 * Fix MANIFEST.in issue when building a sdist from a sdist.
52 https://github.com/simplejson/simplejson/issues/16
54 Version 2.2.0 released 2011-09-04
56 * Remove setuptools requirement, reverted to pure distutils
57 * use_decimal default for encoding (dump, dumps, JSONEncoder) is now True
58 * tuple encoding as JSON objects can be turned off with new
59 tuple_as_array=False option.
60 https://github.com/simplejson/simplejson/pull/6
61 * namedtuple (or other tuple subclasses with _asdict methods) are now
62 encoded as JSON objects rather than arrays by default. Can be disabled
63 and treated as a tuple with the new namedtuple_as_object=False option.
64 https://github.com/simplejson/simplejson/pull/6
65 * JSONDecodeError is now raised instead of ValueError when a document
66 ends with an opening quote and the C speedups are in use.
67 https://github.com/simplejson/simplejson/issues/15
68 * Updated documentation with information about JSONDecodeError
69 * Force unicode linebreak characters to be escaped (U+2028 and U+2029)
70 http://timelessrepo.com/json-isnt-a-javascript-subset
71 * Moved documentation from a git submodule to
72 http://simplejson.readthedocs.org/
74 Version 2.1.6 released 2011-05-08
76 * Prevent segfaults with deeply nested JSON documents
77 https://github.com/simplejson/simplejson/issues/11
78 * Fix compatibility with Python 2.5
79 https://github.com/simplejson/simplejson/issues/5
81 Version 2.1.5 released 2011-04-17
83 * Built sdist tarball with setuptools_git installed. Argh.
85 Version 2.1.4 released 2011-04-17
87 * Does not try to build the extension when using PyPy
88 * Trailing whitespace after commas no longer emitted when indent is used
89 * Migrated to github http://github.com/simplejson/simplejson
91 Version 2.1.3 released 2011-01-17
93 * Support the sort_keys option in C encoding speedups
94 http://code.google.com/p/simplejson/issues/detail?id=86
95 * Allow use_decimal to work with dump()
96 http://code.google.com/p/simplejson/issues/detail?id=87
98 Version 2.1.2 released 2010-11-01
100 * Correct wrong end when object_pairs_hook is used
101 http://code.google.com/p/simplejson/issues/detail?id=85
102 * Correct output for indent=0
103 http://bugs.python.org/issue10019
104 * Correctly raise TypeError when non-string keys are used with speedups
105 http://code.google.com/p/simplejson/issues/detail?id=82
106 * Fix the endlineno, endcolno attributes of the JSONDecodeError exception.
107 http://code.google.com/p/simplejson/issues/detail?id=81
109 Version 2.1.1 released 2010-03-31
111 * Change how setup.py imports ez_setup.py to try and workaround old versions
113 http://code.google.com/p/simplejson/issues/detail?id=75
114 * Fix compilation on Windows platform (and other platforms with very
116 * Corrected simplejson.__version__ and other minor doc changes.
117 * Do not fail speedups tests if speedups could not be built.
118 http://code.google.com/p/simplejson/issues/detail?id=73
120 Version 2.1.0 released 2010-03-10
122 * Decimal serialization officially supported for encoding with
123 use_decimal=True. For encoding this encodes Decimal objects and
124 for decoding it implies parse_float=Decimal
125 * Python 2.4 no longer supported (may still work, but no longer tested)
126 * Decoding performance and memory utilization enhancements
127 http://bugs.python.org/issue7451
128 * JSONEncoderForHTML class for escaping &, <, >
129 http://code.google.com/p/simplejson/issues/detail?id=66
130 * Memoization of object keys during encoding (when using speedups)
131 * Encoder changed to use PyIter_Next for list iteration to avoid
132 potential threading issues
133 * Encoder changed to use iteritems rather than PyDict_Next in order to
134 support dict subclasses that have a well defined ordering
135 http://bugs.python.org/issue6105
136 * indent encoding parameter changed to be a string rather than an integer
137 (integer use still supported for backwards compatibility)
138 http://code.google.com/p/simplejson/issues/detail?id=56
139 * Test suite (python setup.py test) now automatically runs with and without
141 http://code.google.com/p/simplejson/issues/detail?id=55
142 * Fixed support for older versions of easy_install (e.g. stock Mac OS X config)
143 http://code.google.com/p/simplejson/issues/detail?id=54
144 * Fixed str/unicode mismatches when using ensure_ascii=False
145 http://code.google.com/p/simplejson/issues/detail?id=48
146 * Fixed error message when parsing an array with trailing comma with speedups
147 http://code.google.com/p/simplejson/issues/detail?id=46
148 * Refactor decoder errors to raise JSONDecodeError instead of ValueError
149 http://code.google.com/p/simplejson/issues/detail?id=45
150 * New ordered_pairs_hook feature in decoder which makes it possible to
151 preserve key order. http://bugs.python.org/issue5381
152 * Fixed containerless unicode float decoding (same bug as 2.0.4, oops!)
153 http://code.google.com/p/simplejson/issues/detail?id=43
154 * Share PosInf definition between encoder and decoder
155 * Minor reformatting to make it easier to backport simplejson changes
156 to Python 2.7/3.1 json module
158 Version 2.0.9 released 2009-02-18
160 * Adds cyclic GC to the Encoder and Scanner speedups, which could've
161 caused uncollectible cycles in some cases when using custom parser
164 Version 2.0.8 released 2009-02-15
166 * Documentation fixes
167 * Fixes encoding True and False as keys
168 * Fixes checking for True and False by identity for several parameters
170 Version 2.0.7 released 2009-01-04
172 * Documentation fixes
173 * C extension now always returns unicode strings when the input string is
174 unicode, even for empty strings
176 Version 2.0.6 released 2008-12-19
178 * Windows build fixes
180 Version 2.0.5 released 2008-11-23
182 * Fixes a segfault in the C extension when using check_circular=False and
183 encoding an invalid document
185 Version 2.0.4 released 2008-10-24
187 * Fixes a parsing error in the C extension when the JSON document is (only)
188 a floating point number. It would consume one too few characters in that
189 case, and claim the document invalid.
191 Version 2.0.3 released 2008-10-11
193 * Fixes reference leaks in the encoding speedups (sorry about that!)
194 * Fixes doctest suite for Python 2.6
195 * More optimizations for the decoder
197 Version 2.0.2 released 2008-10-06
199 * Fixes MSVC2003 build regression
200 * Fixes Python 2.4 compatibility in _speedups.c
202 Version 2.0.1 released 2008-09-29
204 * Fixes long encoding regression introduced in 2.0.0
205 * Fixes MinGW build regression introduced in 2.0.0
207 Version 2.0.0 released 2008-09-27
209 * optimized Python encoding path
210 * optimized Python decoding path
211 * optimized C encoding path
212 * optimized C decoding path
213 * switched to sphinx docs (nearly the same as the json module in python 2.6)
215 Version 1.9.3 released 2008-09-23
217 * Decoding is significantly faster (for our internal benchmarks)
218 * Pretty-printing tool changed from simplejson to simplejson.tool for better
219 Python 2.6 comaptibility
222 Version 1.9 released 2008-05-03
224 * Rewrote test suite with unittest and doctest (no more nosetest dependency)
225 * Better PEP 7 and PEP 8 source compliance
226 * Removed simplejson.jsonfilter demo module
227 * simplejson.jsonfilter is no longer included
229 Version 1.8.1 released 2008-03-24
231 * Optional C extension for accelerating the decoding of JSON strings
232 * Command line interface for pretty-printing JSON (via python -msimplejson)
233 * Decoding of integers and floats is now extensible (e.g. to use Decimal) via
234 parse_int, parse_float options.
235 * Subversion and issue tracker moved to google code:
236 http://code.google.com/p/simplejson/
237 * "/" is no longer escaped, so if you're embedding JSON directly in HTML
238 you'll want to use .replace("/", "\\/") to prevent a close-tag attack.
240 Version 1.7 released 2007-03-18
242 * Improves encoding performance with an optional C extension to speed up
243 str/unicode encoding (by 10-150x or so), which yields an overall speed
244 boost of 2x+ (JSON is string-heavy).
245 * Support for encoding unicode code points outside the BMP to UTF-16
246 surrogate code pairs (specified by the Strings section of RFC 4627).
248 Version 1.6 released 2007-03-03
250 * Improved str support for encoding. Previous versions of simplejson
251 integrated strings directly into the output stream, this version ensures
252 they're of a particular encoding (default is UTF-8) so that the output
255 Version 1.5 released 2007-01-18
257 * Better Python 2.5 compatibility
258 * Better Windows compatibility
259 * indent encoding parameter for pretty printing
260 * separators encoding parameter for generating optimally compact JSON
262 Version 1.3 released 2006-04-01
264 * The optional object_hook function is called upon decoding of any JSON
265 object literal, and its return value is used instead of the dict that
266 would normally be used. This can be used to efficiently implement
267 features such as JSON-RPC class hinting, or other custom decodings of
268 JSON. See the documentation for more information.
270 Version 1.1 released 2005-12-31
272 * Renamed from simple_json to simplejson to comply with PEP 8 module naming
274 * Full set of documentation
276 * The encoder and decoder have been extended to understand NaN, Infinity, and
277 -Infinity (but this can be turned off via allow_nan=False for strict JSON
279 * The decoder's scanner has been fixed so that it no longer accepts invalid
281 * The decoder now reports line and column information as well as character
282 numbers for easier debugging
283 * The encoder now has a circular reference checker, which can be optionally
284 disabled with check_circular=False
285 * dump, dumps, load, loads now accept an optional cls kwarg to use an
286 alternate JSONEncoder or JSONDecoder class for convenience.
287 * The read/write compatibility shim for json-py now have deprecation warnings
289 Version 1.0 released 2005-12-25