1
Version 2.1.1 released 2010-03-31
3
* Change how setup.py imports ez_setup.py to try and workaround old versions
5
http://code.google.com/p/simplejson/issues/detail?id=75
6
* Fix compilation on Windows platform (and other platforms with very
8
* Corrected simplejson.__version__ and other minor doc changes.
9
* Do not fail speedups tests if speedups could not be built.
10
http://code.google.com/p/simplejson/issues/detail?id=73
12
Version 2.1.0 released 2010-03-10
14
* Decimal serialization officially supported for encoding with
15
use_decimal=True. For encoding this encodes Decimal objects and
16
for decoding it implies parse_float=Decimal
17
* Python 2.4 no longer supported (may still work, but no longer tested)
18
* Decoding performance and memory utilization enhancements
19
http://bugs.python.org/issue7451
20
* JSONEncoderForHTML class for escaping &, <, >
21
http://code.google.com/p/simplejson/issues/detail?id=66
22
* Memoization of object keys during encoding (when using speedups)
23
* Encoder changed to use PyIter_Next for list iteration to avoid
24
potential threading issues
25
* Encoder changed to use iteritems rather than PyDict_Next in order to
26
support dict subclasses that have a well defined ordering
27
http://bugs.python.org/issue6105
28
* indent encoding parameter changed to be a string rather than an integer
29
(integer use still supported for backwards compatibility)
30
http://code.google.com/p/simplejson/issues/detail?id=56
31
* Test suite (python setup.py test) now automatically runs with and without
33
http://code.google.com/p/simplejson/issues/detail?id=55
34
* Fixed support for older versions of easy_install (e.g. stock Mac OS X config)
35
http://code.google.com/p/simplejson/issues/detail?id=54
36
* Fixed str/unicode mismatches when using ensure_ascii=False
37
http://code.google.com/p/simplejson/issues/detail?id=48
38
* Fixed error message when parsing an array with trailing comma with speedups
39
http://code.google.com/p/simplejson/issues/detail?id=46
40
* Refactor decoder errors to raise JSONDecodeError instead of ValueError
41
http://code.google.com/p/simplejson/issues/detail?id=45
42
* New ordered_pairs_hook feature in decoder which makes it possible to
43
preserve key order. http://bugs.python.org/issue5381
44
* Fixed containerless unicode float decoding (same bug as 2.0.4, oops!)
45
http://code.google.com/p/simplejson/issues/detail?id=43
46
* Share PosInf definition between encoder and decoder
47
* Minor reformatting to make it easier to backport simplejson changes
48
to Python 2.7/3.1 json module
50
Version 2.0.9 released 2009-02-18
52
* Adds cyclic GC to the Encoder and Scanner speedups, which could've
53
caused uncollectible cycles in some cases when using custom parser
56
Version 2.0.8 released 2009-02-15
59
* Fixes encoding True and False as keys
60
* Fixes checking for True and False by identity for several parameters
62
Version 2.0.7 released 2009-01-04
65
* C extension now always returns unicode strings when the input string is
66
unicode, even for empty strings
68
Version 2.0.6 released 2008-12-19
72
Version 2.0.5 released 2008-11-23
74
* Fixes a segfault in the C extension when using check_circular=False and
75
encoding an invalid document
77
Version 2.0.4 released 2008-10-24
79
* Fixes a parsing error in the C extension when the JSON document is (only)
80
a floating point number. It would consume one too few characters in that
81
case, and claim the document invalid.
83
Version 2.0.3 released 2008-10-11
85
* Fixes reference leaks in the encoding speedups (sorry about that!)
86
* Fixes doctest suite for Python 2.6
87
* More optimizations for the decoder
89
Version 2.0.2 released 2008-10-06
91
* Fixes MSVC2003 build regression
92
* Fixes Python 2.4 compatibility in _speedups.c
94
Version 2.0.1 released 2008-09-29
96
* Fixes long encoding regression introduced in 2.0.0
97
* Fixes MinGW build regression introduced in 2.0.0
99
Version 2.0.0 released 2008-09-27
101
* optimized Python encoding path
102
* optimized Python decoding path
103
* optimized C encoding path
104
* optimized C decoding path
105
* switched to sphinx docs (nearly the same as the json module in python 2.6)
107
Version 1.9.3 released 2008-09-23
109
* Decoding is significantly faster (for our internal benchmarks)
110
* Pretty-printing tool changed from simplejson to simplejson.tool for better
111
Python 2.6 comaptibility
114
Version 1.9 released 2008-05-03
116
* Rewrote test suite with unittest and doctest (no more nosetest dependency)
117
* Better PEP 7 and PEP 8 source compliance
118
* Removed simplejson.jsonfilter demo module
119
* simplejson.jsonfilter is no longer included
121
Version 1.8.1 released 2008-03-24
123
* Optional C extension for accelerating the decoding of JSON strings
124
* Command line interface for pretty-printing JSON (via python -msimplejson)
125
* Decoding of integers and floats is now extensible (e.g. to use Decimal) via
126
parse_int, parse_float options.
127
* Subversion and issue tracker moved to google code:
128
http://code.google.com/p/simplejson/
129
* "/" is no longer escaped, so if you're embedding JSON directly in HTML
130
you'll want to use .replace("/", "\\/") to prevent a close-tag attack.
132
Version 1.7 released 2007-03-18
134
* Improves encoding performance with an optional C extension to speed up
135
str/unicode encoding (by 10-150x or so), which yields an overall speed
136
boost of 2x+ (JSON is string-heavy).
137
* Support for encoding unicode code points outside the BMP to UTF-16
138
surrogate code pairs (specified by the Strings section of RFC 4627).
140
Version 1.6 released 2007-03-03
142
* Improved str support for encoding. Previous versions of simplejson
143
integrated strings directly into the output stream, this version ensures
144
they're of a particular encoding (default is UTF-8) so that the output
147
Version 1.5 released 2007-01-18
149
* Better Python 2.5 compatibility
150
* Better Windows compatibility
151
* indent encoding parameter for pretty printing
152
* separators encoding parameter for generating optimally compact JSON
154
Version 1.3 released 2006-04-01
156
* The optional object_hook function is called upon decoding of any JSON
157
object literal, and its return value is used instead of the dict that
158
would normally be used. This can be used to efficiently implement
159
features such as JSON-RPC class hinting, or other custom decodings of
160
JSON. See the documentation for more information.
162
Version 1.1 released 2005-12-31
164
* Renamed from simple_json to simplejson to comply with PEP 8 module naming
166
* Full set of documentation
168
* The encoder and decoder have been extended to understand NaN, Infinity, and
169
-Infinity (but this can be turned off via allow_nan=False for strict JSON
171
* The decoder's scanner has been fixed so that it no longer accepts invalid
173
* The decoder now reports line and column information as well as character
174
numbers for easier debugging
175
* The encoder now has a circular reference checker, which can be optionally
176
disabled with check_circular=False
177
* dump, dumps, load, loads now accept an optional cls kwarg to use an
178
alternate JSONEncoder or JSONDecoder class for convenience.
179
* The read/write compatibility shim for json-py now have deprecation warnings
181
Version 1.0 released 2005-12-25