CHANGES.txt 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643
  1. Version 3.15.0 released 2018-05-12
  2. * Clean up the C code
  3. https://github.com/simplejson/simplejson/pull/220
  4. * Bypass the decode() method in bytes subclasses
  5. https://github.com/simplejson/simplejson/pull/219
  6. * Support builds without cStringIO
  7. https://github.com/simplejson/simplejson/pull/217
  8. * Allow to disable serializing bytes by default in Python 3
  9. https://github.com/simplejson/simplejson/pull/216
  10. * Simplify the compatibility code
  11. https://github.com/simplejson/simplejson/pull/215
  12. * Fix tests in Python 2.5
  13. https://github.com/simplejson/simplejson/pull/214
  14. Version 3.14.0 released 2018-04-21
  15. * Defer is_raw_json test (performance improvement)
  16. https://github.com/simplejson/simplejson/pull/212
  17. * Avoid escaping U+2028 and U+2029 without ensure_ascii
  18. https://github.com/simplejson/simplejson/pull/211
  19. * Fix an incorrect type test in Python 2, avoiding an unnecessary unicode copy.
  20. https://github.com/simplejson/simplejson/pull/210
  21. Version 3.13.2 released 2017-11-24
  22. * Fix additional Python 2.x compilation issue on Windows
  23. Version 3.13.1 released 2017-11-24
  24. * Improve CI to catch speedups build regressions
  25. * Fix speedups build regression in Python 2.x
  26. https://github.com/simplejson/simplejson/issues/193
  27. Version 3.13.0 released 2017-11-23
  28. * Workarounds for NamedTemporaryFile issues with Windows for tool tests
  29. * Make TypeError messages contain type name instead of a repr.
  30. https://github.com/simplejson/simplejson/pull/191
  31. * Ensure that encoding of text subtypes is consistent with or without speedups
  32. https://github.com/simplejson/simplejson/issues/185
  33. Version 3.12.1 released 2017-11-23
  34. * Misc updates to build infrastructure
  35. * Fix an assertion failure when make_encoder receives a bad encoder argument
  36. https://github.com/simplejson/simplejson/pull/188
  37. * Fix potential crash during GC
  38. https://github.com/simplejson/simplejson/pull/187
  39. * Fix a reference leak when sorting keys
  40. https://github.com/simplejson/simplejson/pull/186
  41. Version 3.12.0 released 2017-11-05
  42. * Fix threaded import race condition
  43. https://github.com/simplejson/simplejson/issues/184
  44. * Move RawJSON implementation to simplejson.raw_json module
  45. * Move JSONDecodeError implementation to simplejson.errors module
  46. Version 3.11.1 released 2017-06-19
  47. * Fix issue with item_sort_key when speedups are available, and add
  48. auto-discovery to test suites to prevent similar regressions
  49. https://github.com/simplejson/simplejson/issues/173
  50. Version 3.11.0 released 2017-06-18
  51. * docstring fix in JSONEncoder
  52. https://github.com/simplejson/simplejson/pull/172
  53. * Call PyObject_IsTrue() only once for the strict argument of scanner
  54. https://github.com/simplejson/simplejson/pull/170
  55. * Fix a crash with unencodable encoding in the encoder
  56. https://github.com/simplejson/simplejson/pull/171
  57. * Remove unused imports
  58. https://github.com/simplejson/simplejson/pull/162
  59. * Remove remnants of Python 2.4 support
  60. https://github.com/simplejson/simplejson/pull/168
  61. * Fix argument checking errors in _speedups.c
  62. https://github.com/simplejson/simplejson/pull/169
  63. * Remove the `__init__` methods in extension classes
  64. https://github.com/simplejson/simplejson/pull/166
  65. * Fix typo in the doc for loads
  66. https://github.com/simplejson/simplejson/issues/161
  67. * Add Python 3.6 to testing matrix and PyPI metadata
  68. https://github.com/simplejson/simplejson/pull/153
  69. https://github.com/simplejson/simplejson/pull/152
  70. Version 3.10.0 released 2016-10-28
  71. * Add RawJSON class to allow a faster path for already encoded JSON.
  72. https://github.com/simplejson/simplejson/pull/143
  73. Version 3.9.0 released 2016-10-21
  74. * Workaround for bad behavior in string subclasses
  75. https://github.com/simplejson/simplejson/issues/144
  76. * Fix warnings flagged by -3
  77. https://github.com/simplejson/simplejson/pull/146
  78. * Update readthedocs documentation links
  79. https://github.com/simplejson/simplejson/pull/137
  80. * Add build status badge to README
  81. https://github.com/simplejson/simplejson/pull/134
  82. Version 3.8.2 released 2016-02-14
  83. * Fix implicit cast compiler warning in _speedups.c
  84. * simplejson is now available as wheels for OS X and Windows thanks to Travis-CI
  85. and AppVeyor respectively! Many thanks to @aebrahim for getting this party
  86. started.
  87. https://github.com/simplejson/simplejson/pull/130
  88. https://github.com/simplejson/simplejson/issues/122
  89. Version 3.8.1 released 2015-10-27
  90. * Fix issue with iterable_as_array and indent option
  91. https://github.com/simplejson/simplejson/issues/128
  92. * Fix typo in keyword argument name introduced in 3.8.0
  93. https://github.com/simplejson/simplejson/pull/123
  94. Version 3.8.0 released 2015-07-18
  95. * New iterable_as_array encoder option to perform lazy serialization of
  96. any iterable objects, without having to convert to tuple or list.
  97. Version 3.7.3 released 2015-05-31
  98. * Fix typo introduced in 3.7.0 (behavior should be indistinguishable)
  99. https://github.com/simplejson/simplejson/commit/e18cc09b688ea1f3305c27616fd3cadd2adc6d31#commitcomment-11443842
  100. Version 3.7.2 released 2015-05-22
  101. * Do not cache Decimal class in encoder, only reference the decimal module.
  102. This may make reload work in more common scenarios.
  103. Version 3.7.1 released 2015-05-18
  104. * Fix compilation with MSVC
  105. https://github.com/simplejson/simplejson/pull/119
  106. Version 3.7.0 released 2015-05-18
  107. * simplejson no longer trusts custom str/repr methods for int, long, float
  108. subclasses. These instances are now formatted as if they were exact
  109. instances of those types.
  110. https://github.com/simplejson/simplejson/issues/118
  111. Version 3.6.5 released 2014-10-24
  112. * Importing bug fix for reference leak when an error occurs during
  113. dict encoding
  114. https://github.com/simplejson/simplejson/issues/109
  115. Version 3.6.4 released 2014-09-29
  116. * Important bug fix for dump when only sort_keys is set
  117. https://github.com/simplejson/simplejson/issues/106
  118. Version 3.6.3 released 2014-08-18
  119. * Documentation updates
  120. https://github.com/simplejson/simplejson/issues/103
  121. Version 3.6.2 released 2014-08-09
  122. * Documentation updates
  123. http://bugs.python.org/issue21514
  124. Version 3.6.1 released 2014-08-09
  125. * Documentation updates
  126. https://github.com/simplejson/simplejson/issues/102
  127. Version 3.6.0 released 2014-07-21
  128. * Automatically strip any UTF-8 BOM from input to more closely
  129. follow the latest specs
  130. https://github.com/simplejson/simplejson/pull/101
  131. Version 3.5.3 released 2014-06-24
  132. * Fix lower bound checking in scan_once / raw_decode API
  133. https://github.com/simplejson/simplejson/issues/98
  134. Version 3.5.2 released 2014-05-22
  135. * Fix Windows build with VS2008
  136. https://github.com/simplejson/simplejson/pull/97
  137. Version 3.5.1 released 2014-05-21
  138. * Consistently reject int_as_string_bitcount settings that are not
  139. positive integers
  140. Version 3.5.0 released 2014-05-20
  141. * Added int_as_string_bitcount encoder option
  142. https://github.com/simplejson/pull/96
  143. * Fixed potential crash when encoder created with incorrect options
  144. Version 3.4.1 released 2014-04-30
  145. * Fixed tests to run on Python 3.4
  146. Version 3.4.0 released 2014-04-02
  147. * Native setuptools support re-introduced
  148. https://github.com/simplejson/simplejson/pull/92
  149. Version 3.3.3 released 2014-02-14
  150. * Improve test suite's Python 3.4 compatibility
  151. https://github.com/simplejson/simplejson/issues/87
  152. Version 3.3.2 released 2014-01-06
  153. * Docstring fix for decoded string types
  154. https://github.com/simplejson/simplejson/pull/82
  155. Version 3.3.1 released 2013-10-05
  156. * JSONDecodeError exceptions can now be pickled
  157. https://github.com/simplejson/simplejson/pull/78
  158. Version 3.3.0 released 2013-05-07
  159. * Unpaired surrogates once again pass through the decoder, to match older
  160. behavior and the RFC-4627 spec.
  161. https://github.com/simplejson/simplejson/issues/62
  162. Version 3.2.0 released 2013-05-01
  163. * New ignore_nan kwarg in encoder that serializes out
  164. of range floats (Infinity, -Infinity, NaN) as null for ECMA-262
  165. compliance.
  166. https://github.com/simplejson/simplejson/pull/63
  167. * New for_json kwarg in encoder to make it possible to for
  168. subclasses of dict and list to be specialized.
  169. https://github.com/simplejson/simplejson/pull/69
  170. Version 3.1.3 released 2013-04-06
  171. * Updated documentation to discourage subclassing whenever possible.
  172. default, object_hook, and object_pairs_hook provide almost all of
  173. the functionality of subclassing.
  174. Version 3.1.2 released 2013-03-20
  175. * Updated documentation to reflect separators behavior when indent is
  176. not None
  177. https://github.com/simplejson/simplejson/issues/59
  178. * Test suite should be compatible with debug builds of Python 2.x and 3.x
  179. https://github.com/simplejson/simplejson/pull/65
  180. Version 3.1.1 released 2013-02-21
  181. * setup.py now has another workaround for Windows machines without
  182. MSVC installed
  183. http://bugs.python.org/issue7511
  184. Version 3.1.0 released 2013-02-21
  185. * Updated JSON conformance test suite
  186. http://bugs.python.org/issue16559
  187. * simplejson.tool tests and bugfix for Python 3.x
  188. http://bugs.python.org/issue16549
  189. * Improve error messages for certain kinds of truncated input
  190. http://bugs.python.org/issue16009
  191. * Moved JSONDecodeError to json.scanner (still available for import
  192. from json.decoder)
  193. * Changed scanner to use JSONDecodeError directly rather than
  194. StopIteration to improve error messages
  195. Version 3.0.9 released 2013-02-21
  196. * Fix an off-by-one error in the colno property of JSONDecodeError
  197. (when lineno == 1)
  198. http://bugs.python.org/issue17225
  199. Version 3.0.8 released 2013-02-19
  200. * Fix a Python 2.x compiler warning for narrow unicode builds
  201. https://github.com/simplejson/simplejson/issues/56
  202. Version 3.0.7 released 2013-01-11
  203. * NOTE: this release only changes the license.
  204. * simplejson is now dual-licensed software, MIT or AFL v2.1. It is
  205. also made explicit that this code is also licensed to the PSF under
  206. a Contributor Agreement.
  207. Version 3.0.6 released 2013-01-11
  208. * Fix for major Python 2.x ensure_ascii=False encoding regression
  209. introduced in simplejson 3.0.0. If you use this setting, please
  210. upgrade immediately.
  211. https://github.com/simplejson/simplejson/issues/50
  212. Version 3.0.5 released 2013-01-03
  213. * NOTE: this release only changes the tests, it is
  214. not essential to upgrade
  215. * Tests now run with deprecation warnings printed
  216. * Fixed Python 3 syntax error in simplejson.tool
  217. https://github.com/simplejson/simplejson/issues/49
  218. * Fixed Python 3.3 deprecation warnings in test suite
  219. https://github.com/simplejson/simplejson/issues/48
  220. Version 3.0.4 released 2013-01-02
  221. * MSVC compatibility for Python 3.3
  222. https://github.com/simplejson/simplejson/pull/47
  223. Version 3.0.3 released 2013-01-01
  224. * Fixes for bugs introduced in 3.0.2
  225. * Fixes for Python 2.5 compatibility
  226. * MSVC compatibility for Python 2.x
  227. https://github.com/simplejson/simplejson/pull/46
  228. Version 3.0.2 released 2013-01-01
  229. * THIS VERSION HAS BEEN REMOVED
  230. * Missed a changeset to _speedups.c in the 3.0.1 branch cut
  231. Version 3.0.1 released 2013-01-01
  232. * THIS VERSION HAS BEEN REMOVED
  233. * Add accumulator optimization to encoder, equivalent to the usage of
  234. `_Py_Accu` in the Python 3.3 json library. Only relevant if encoding
  235. very large JSON documents.
  236. Version 3.0.0 released 2012-12-30
  237. * Python 3.3 is now supported, thanks to Vinay Sajip
  238. https://github.com/simplejson/simplejson/issues/8
  239. * `sort_keys`/`item_sort_key` now sort on the stringified version of the
  240. key, rather than the original object. This ensures that the sort
  241. only compares string types and makes the behavior consistent between
  242. Python 2.x and Python 3.x.
  243. * Like other number types, Decimal instances used as keys are now
  244. coerced to strings when use_decimal is True.
  245. Version 2.6.2 released 2012-09-21
  246. * JSONEncoderForHTML was not exported in the simplejson module
  247. https://github.com/simplejson/simplejson/issues/41
  248. Version 2.6.1 released 2012-07-27
  249. * raw_decode() now skips whitespace before the object
  250. https://github.com/simplejson/simplejson/pull/38
  251. Version 2.6.0 released 2012-06-26
  252. * Error messages changed to match proposal for Python 3.3.1
  253. http://bugs.python.org/issue5067
  254. Version 2.5.2 released 2012-05-10
  255. * Fix for regression introduced in 2.5.1
  256. https://github.com/simplejson/simplejson/issues/35
  257. Version 2.5.1 released 2012-05-10
  258. * Support for use_decimal=True in environments that use Python
  259. sub-interpreters such as uWSGI
  260. https://github.com/simplejson/simplejson/issues/34
  261. Version 2.5.0 released 2012-03-29
  262. * New item_sort_key option for encoder to allow fine grained control of sorted
  263. output
  264. Version 2.4.0 released 2012-03-06
  265. * New bigint_as_string option for encoder to trade JavaScript number precision
  266. issues for type issues.
  267. https://github.com/simplejson/simplejson/issues/31
  268. Version 2.3.3 released 2012-02-27
  269. * Allow unknown numerical types for indent parameter
  270. https://github.com/simplejson/simplejson/pull/29
  271. Version 2.3.2 released 2011-12-30
  272. * Fix crashing regression in speedups introduced in 2.3.1
  273. Version 2.3.1 released 2011-12-29
  274. * namedtuple_as_object now checks _asdict to ensure that it
  275. is callable.
  276. https://github.com/simplejson/simplejson/issues/26
  277. Version 2.3.0 released 2011-12-05
  278. * Any objects with _asdict() methods are now considered for
  279. namedtuple_as_object.
  280. https://github.com/simplejson/simplejson/pull/22
  281. Version 2.2.1 released 2011-09-06
  282. * Fix MANIFEST.in issue when building a sdist from a sdist.
  283. https://github.com/simplejson/simplejson/issues/16
  284. Version 2.2.0 released 2011-09-04
  285. * Remove setuptools requirement, reverted to pure distutils
  286. * use_decimal default for encoding (dump, dumps, JSONEncoder) is now True
  287. * tuple encoding as JSON objects can be turned off with new
  288. tuple_as_array=False option.
  289. https://github.com/simplejson/simplejson/pull/6
  290. * namedtuple (or other tuple subclasses with _asdict methods) are now
  291. encoded as JSON objects rather than arrays by default. Can be disabled
  292. and treated as a tuple with the new namedtuple_as_object=False option.
  293. https://github.com/simplejson/simplejson/pull/6
  294. * JSONDecodeError is now raised instead of ValueError when a document
  295. ends with an opening quote and the C speedups are in use.
  296. https://github.com/simplejson/simplejson/issues/15
  297. * Updated documentation with information about JSONDecodeError
  298. * Force unicode linebreak characters to be escaped (U+2028 and U+2029)
  299. http://timelessrepo.com/json-isnt-a-javascript-subset
  300. * Moved documentation from a git submodule to
  301. https://simplejson.readthedocs.io/
  302. Version 2.1.6 released 2011-05-08
  303. * Prevent segfaults with deeply nested JSON documents
  304. https://github.com/simplejson/simplejson/issues/11
  305. * Fix compatibility with Python 2.5
  306. https://github.com/simplejson/simplejson/issues/5
  307. Version 2.1.5 released 2011-04-17
  308. * Built sdist tarball with setuptools_git installed. Argh.
  309. Version 2.1.4 released 2011-04-17
  310. * Does not try to build the extension when using PyPy
  311. * Trailing whitespace after commas no longer emitted when indent is used
  312. * Migrated to github http://github.com/simplejson/simplejson
  313. Version 2.1.3 released 2011-01-17
  314. * Support the sort_keys option in C encoding speedups
  315. http://code.google.com/p/simplejson/issues/detail?id=86
  316. * Allow use_decimal to work with dump()
  317. http://code.google.com/p/simplejson/issues/detail?id=87
  318. Version 2.1.2 released 2010-11-01
  319. * Correct wrong end when object_pairs_hook is used
  320. http://code.google.com/p/simplejson/issues/detail?id=85
  321. * Correct output for indent=0
  322. http://bugs.python.org/issue10019
  323. * Correctly raise TypeError when non-string keys are used with speedups
  324. http://code.google.com/p/simplejson/issues/detail?id=82
  325. * Fix the endlineno, endcolno attributes of the JSONDecodeError exception.
  326. http://code.google.com/p/simplejson/issues/detail?id=81
  327. Version 2.1.1 released 2010-03-31
  328. * Change how setup.py imports ez_setup.py to try and workaround old versions
  329. of setuptools.
  330. http://code.google.com/p/simplejson/issues/detail?id=75
  331. * Fix compilation on Windows platform (and other platforms with very
  332. picky compilers)
  333. * Corrected simplejson.__version__ and other minor doc changes.
  334. * Do not fail speedups tests if speedups could not be built.
  335. http://code.google.com/p/simplejson/issues/detail?id=73
  336. Version 2.1.0 released 2010-03-10
  337. * Decimal serialization officially supported for encoding with
  338. use_decimal=True. For encoding this encodes Decimal objects and
  339. for decoding it implies parse_float=Decimal
  340. * Python 2.4 no longer supported (may still work, but no longer tested)
  341. * Decoding performance and memory utilization enhancements
  342. http://bugs.python.org/issue7451
  343. * JSONEncoderForHTML class for escaping &, <, >
  344. http://code.google.com/p/simplejson/issues/detail?id=66
  345. * Memoization of object keys during encoding (when using speedups)
  346. * Encoder changed to use PyIter_Next for list iteration to avoid
  347. potential threading issues
  348. * Encoder changed to use iteritems rather than PyDict_Next in order to
  349. support dict subclasses that have a well defined ordering
  350. http://bugs.python.org/issue6105
  351. * indent encoding parameter changed to be a string rather than an integer
  352. (integer use still supported for backwards compatibility)
  353. http://code.google.com/p/simplejson/issues/detail?id=56
  354. * Test suite (python setup.py test) now automatically runs with and without
  355. speedups
  356. http://code.google.com/p/simplejson/issues/detail?id=55
  357. * Fixed support for older versions of easy_install (e.g. stock Mac OS X config)
  358. http://code.google.com/p/simplejson/issues/detail?id=54
  359. * Fixed str/unicode mismatches when using ensure_ascii=False
  360. http://code.google.com/p/simplejson/issues/detail?id=48
  361. * Fixed error message when parsing an array with trailing comma with speedups
  362. http://code.google.com/p/simplejson/issues/detail?id=46
  363. * Refactor decoder errors to raise JSONDecodeError instead of ValueError
  364. http://code.google.com/p/simplejson/issues/detail?id=45
  365. * New ordered_pairs_hook feature in decoder which makes it possible to
  366. preserve key order. http://bugs.python.org/issue5381
  367. * Fixed containerless unicode float decoding (same bug as 2.0.4, oops!)
  368. http://code.google.com/p/simplejson/issues/detail?id=43
  369. * Share PosInf definition between encoder and decoder
  370. * Minor reformatting to make it easier to backport simplejson changes
  371. to Python 2.7/3.1 json module
  372. Version 2.0.9 released 2009-02-18
  373. * Adds cyclic GC to the Encoder and Scanner speedups, which could've
  374. caused uncollectible cycles in some cases when using custom parser
  375. or encoder functions
  376. Version 2.0.8 released 2009-02-15
  377. * Documentation fixes
  378. * Fixes encoding True and False as keys
  379. * Fixes checking for True and False by identity for several parameters
  380. Version 2.0.7 released 2009-01-04
  381. * Documentation fixes
  382. * C extension now always returns unicode strings when the input string is
  383. unicode, even for empty strings
  384. Version 2.0.6 released 2008-12-19
  385. * Windows build fixes
  386. Version 2.0.5 released 2008-11-23
  387. * Fixes a segfault in the C extension when using check_circular=False and
  388. encoding an invalid document
  389. Version 2.0.4 released 2008-10-24
  390. * Fixes a parsing error in the C extension when the JSON document is (only)
  391. a floating point number. It would consume one too few characters in that
  392. case, and claim the document invalid.
  393. Version 2.0.3 released 2008-10-11
  394. * Fixes reference leaks in the encoding speedups (sorry about that!)
  395. * Fixes doctest suite for Python 2.6
  396. * More optimizations for the decoder
  397. Version 2.0.2 released 2008-10-06
  398. * Fixes MSVC2003 build regression
  399. * Fixes Python 2.4 compatibility in _speedups.c
  400. Version 2.0.1 released 2008-09-29
  401. * Fixes long encoding regression introduced in 2.0.0
  402. * Fixes MinGW build regression introduced in 2.0.0
  403. Version 2.0.0 released 2008-09-27
  404. * optimized Python encoding path
  405. * optimized Python decoding path
  406. * optimized C encoding path
  407. * optimized C decoding path
  408. * switched to sphinx docs (nearly the same as the json module in python 2.6)
  409. Version 1.9.3 released 2008-09-23
  410. * Decoding is significantly faster (for our internal benchmarks)
  411. * Pretty-printing tool changed from simplejson to simplejson.tool for better
  412. Python 2.6 comaptibility
  413. * Misc. bug fixes
  414. Version 1.9 released 2008-05-03
  415. * Rewrote test suite with unittest and doctest (no more nosetest dependency)
  416. * Better PEP 7 and PEP 8 source compliance
  417. * Removed simplejson.jsonfilter demo module
  418. * simplejson.jsonfilter is no longer included
  419. Version 1.8.1 released 2008-03-24
  420. * Optional C extension for accelerating the decoding of JSON strings
  421. * Command line interface for pretty-printing JSON (via python -msimplejson)
  422. * Decoding of integers and floats is now extensible (e.g. to use Decimal) via
  423. parse_int, parse_float options.
  424. * Subversion and issue tracker moved to google code:
  425. http://code.google.com/p/simplejson/
  426. * "/" is no longer escaped, so if you're embedding JSON directly in HTML
  427. you'll want to use .replace("/", "\\/") to prevent a close-tag attack.
  428. Version 1.7 released 2007-03-18
  429. * Improves encoding performance with an optional C extension to speed up
  430. str/unicode encoding (by 10-150x or so), which yields an overall speed
  431. boost of 2x+ (JSON is string-heavy).
  432. * Support for encoding unicode code points outside the BMP to UTF-16
  433. surrogate code pairs (specified by the Strings section of RFC 4627).
  434. Version 1.6 released 2007-03-03
  435. * Improved str support for encoding. Previous versions of simplejson
  436. integrated strings directly into the output stream, this version ensures
  437. they're of a particular encoding (default is UTF-8) so that the output
  438. stream is valid.
  439. Version 1.5 released 2007-01-18
  440. * Better Python 2.5 compatibility
  441. * Better Windows compatibility
  442. * indent encoding parameter for pretty printing
  443. * separators encoding parameter for generating optimally compact JSON
  444. Version 1.3 released 2006-04-01
  445. * The optional object_hook function is called upon decoding of any JSON
  446. object literal, and its return value is used instead of the dict that
  447. would normally be used. This can be used to efficiently implement
  448. features such as JSON-RPC class hinting, or other custom decodings of
  449. JSON. See the documentation for more information.
  450. Version 1.1 released 2005-12-31
  451. * Renamed from simple_json to simplejson to comply with PEP 8 module naming
  452. guidelines
  453. * Full set of documentation
  454. * More tests
  455. * The encoder and decoder have been extended to understand NaN, Infinity, and
  456. -Infinity (but this can be turned off via allow_nan=False for strict JSON
  457. compliance)
  458. * The decoder's scanner has been fixed so that it no longer accepts invalid
  459. JSON documents
  460. * The decoder now reports line and column information as well as character
  461. numbers for easier debugging
  462. * The encoder now has a circular reference checker, which can be optionally
  463. disabled with check_circular=False
  464. * dump, dumps, load, loads now accept an optional cls kwarg to use an
  465. alternate JSONEncoder or JSONDecoder class for convenience.
  466. * The read/write compatibility shim for json-py now have deprecation warnings
  467. Version 1.0 released 2005-12-25
  468. * Initial release