Simplejson

Latest version: v3.19.3

Safety actively analyzes 682674 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 15 of 18

2.1.0

Not secure
* Decimal serialization officially supported for encoding with
use_decimal=True. For encoding this encodes Decimal objects and
for decoding it implies parse_float=Decimal
* Python 2.4 no longer supported (may still work, but no longer tested)
* Decoding performance and memory utilization enhancements
http://bugs.python.org/issue7451
* JSONEncoderForHTML class for escaping &, <, >
http://code.google.com/p/simplejson/issues/detail?id=66
* Memoization of object keys during encoding (when using speedups)
* Encoder changed to use PyIter_Next for list iteration to avoid
potential threading issues
* Encoder changed to use iteritems rather than PyDict_Next in order to
support dict subclasses that have a well defined ordering
http://bugs.python.org/issue6105
* indent encoding parameter changed to be a string rather than an integer
(integer use still supported for backwards compatibility)
http://code.google.com/p/simplejson/issues/detail?id=56
* Test suite (python setup.py test) now automatically runs with and without
speedups
http://code.google.com/p/simplejson/issues/detail?id=55
* Fixed support for older versions of easy_install (e.g. stock Mac OS X config)
http://code.google.com/p/simplejson/issues/detail?id=54
* Fixed str/unicode mismatches when using ensure_ascii=False
http://code.google.com/p/simplejson/issues/detail?id=48
* Fixed error message when parsing an array with trailing comma with speedups
http://code.google.com/p/simplejson/issues/detail?id=46
* Refactor decoder errors to raise JSONDecodeError instead of ValueError
http://code.google.com/p/simplejson/issues/detail?id=45
* New ordered_pairs_hook feature in decoder which makes it possible to
preserve key order. http://bugs.python.org/issue5381
* Fixed containerless unicode float decoding (same bug as 2.0.4, oops!)
http://code.google.com/p/simplejson/issues/detail?id=43
* Share PosInf definition between encoder and decoder
* Minor reformatting to make it easier to backport simplejson changes
to Python 2.7/3.1 json module

2.0.9

Not secure
* Adds cyclic GC to the Encoder and Scanner speedups, which could've
caused uncollectible cycles in some cases when using custom parser
or encoder functions

2.0.8

Not secure
* Documentation fixes
* Fixes encoding True and False as keys
* Fixes checking for True and False by identity for several parameters

2.0.7

Not secure
* Documentation fixes
* C extension now always returns unicode strings when the input string is
unicode, even for empty strings

2.0.6

Not secure
* Windows build fixes

2.0.5

Not secure
* Fixes a segfault in the C extension when using check_circular=False and
encoding an invalid document

Page 15 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.