Skip to content

Releases: simplejson/simplejson

v3.19.2

05 Oct 23:39
532f41f
Compare
Choose a tag to compare

Version 3.19.2 released 2023-10-05

  • Updated test & build matrix to include Python 3.12 and use
    GitHub Actions as a Trusted Publisher (OIDC)
    #317

v3.19.1

06 Apr 19:02
aeb63ee
Compare
Choose a tag to compare

Version 3.19.1 released 2023-04-06

  • This release contains security hardening measures based on recommendations
    by a security audit sponsored by OSTIF and conducted by X41 D-Sec GmbH.
    Several of these measures include changing defaults to be more strict,
    by default simplejson will now only consume and produce compliant JSON,
    but the flags still exist for any backwards compatibility needs.
    No high priority issues were discovered, the reference count
    leak is thought to be unreachable since the digits of the float are
    checked before PyOS_string_to_double is called.
    A link to the public version of this report will be included in a
    future release of simplejson. The following fixes were implemented in
    one PR: #313
  • Fix invalid handling of unicode escape sequences in the pure Python
    implementation of the decoder (SJ-PT-23-01)
  • Fix missing reference count decrease if PyOS_string_to_double raises
    an exception in Python 2.x; was probably unreachable (SJ-PT-23-02)
  • Backport the integer string length limitation from Python 3.11 to
    limit quadratic number parsing (SJ-PT-23-03)
  • Fix inconsistencies with error messages between the C and Python
    implementations (SJ-PT-23-100)
  • Remove unused unichr import from encoder (SJ-PT-23-101)
  • Remove unused namedtuple_as_object and tuple_as_array arguments from
    simplejson.load (SJ-PT-23-102)
  • Remove vestigial _one_shot code from iterencode (SJ-PT-23-103)
  • Change default of allow_nan from True to False and add allow_nan
    to decoder (SJ-PT-23-107)

v3.19.0

06 Apr 17:53
1a4995d
Compare
Choose a tag to compare

NOTE: This release was not published to PyPI as the version number was mistakenly not updated in setup.py

Version 3.19.0 released 2023-04-06

  • This release contains security hardening measures based on recommendations
    by a security audit sponsored by OSTIF and conducted by X41 D-Sec GmbH.
    Several of these measures include changing defaults to be more strict,
    by default simplejson will now only consume and produce compliant JSON,
    but the flags still exist for any backwards compatibility needs.
    No high priority issues were discovered, the reference count
    leak is thought to be unreachable since the digits of the float are
    checked before PyOS_string_to_double is called.
    A link to the public version of this report will be included in a
    future release of simplejson. The following fixes were implemented in
    one PR: #313
  • Fix invalid handling of unicode escape sequences in the pure Python
    implementation of the decoder (SJ-PT-23-01)
  • Fix missing reference count decrease if PyOS_string_to_double raises
    an exception in Python 2.x; was probably unreachable (SJ-PT-23-02)
  • Backport the integer string length limitation from Python 3.11 to
    limit quadratic number parsing (SJ-PT-23-03)
  • Fix inconsistencies with error messages between the C and Python
    implementations (SJ-PT-23-100)
  • Remove unused unichr import from encoder (SJ-PT-23-101)
  • Remove unused namedtuple_as_object and tuple_as_array arguments from
    simplejson.load (SJ-PT-23-102)
  • Remove vestigial _one_shot code from iterencode (SJ-PT-23-103)
  • Change default of allow_nan from True to False and add allow_nan
    to decoder (SJ-PT-23-107)

v3.18.4

14 Mar 20:22
Compare
Choose a tag to compare

Version 3.18.4 released 2023-03-14

  • Test the sdist to prevent future regressions
    #311
  • Enable ppc64le wheels
    #312

v3.18.3

05 Feb 18:36
3725e4e
Compare
Choose a tag to compare

Version 3.18.3 released 2023-02-05

  • Fix regression in sdist archive
    #310

v3.18.2

05 Feb 00:27
64f1248
Compare
Choose a tag to compare

Version 3.18.2 released 2023-02-04

  • Distribute a pure python wheel for Pyodide
    #308

v3.18.1

03 Jan 17:00
Compare
Choose a tag to compare

Version 3.18.1 released 2023-01-03

  • Remove unnecessary i variable from encoder module namespace
    #303
  • Declare support for Python 3.11 and add wheels
    #305

v3.18.0

14 Nov 23:27
66c62d8
Compare
Choose a tag to compare

Version 3.18.0 released 2022-11-14

  • Allow serialization of classes that implement for_json or _asdict by
    ignoring TypeError when those methods are called
    #302
  • Raise JSONDecodeError instead of ValueError in invalid unicode escape
    sequence edge case
    #298

v3.17.6

16 Nov 15:59
02221b1
Compare
Choose a tag to compare

Version 3.17.6 released 2021-11-15

  • Declare support for Python 3.10 and add wheels
    #291
    #292

v3.17.5

24 Aug 04:41
89041df
Compare
Choose a tag to compare

Version 3.17.5 released 2021-08-23

  • Fix the C extension module to harden is_namedtuple against looks-a-likes such
    as Mocks. Also prevent dict encoding from causing an unraised SystemError when
    encountering a non-Dict. Noticed by running user tests against a CPython
    interpreter with C asserts enabled (COPTS += -UNDEBUG).
    #284