Skip to content

Releases: ijl/orjson

2.6.5

08 Apr 17:05
@ijl ijl
Compare
Choose a tag to compare

Fixed

  • Fix deserialization raising JSONDecodeError on some valid negative
    floats with large exponents.

2.6.4

08 Apr 13:23
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Improve deserialization performance of floats by about 40%.

2.6.3

01 Apr 22:50
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Serialize enum.Enum objects.
  • Minor performance improvements.

2.6.2

27 Mar 13:35
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Publish python3.9 manylinux2014 wheel instead of manylinux1 for x86_64.
  • Publish python3.9 manylinux2014 wheel for aarch64.

Fixed

  • Fix compilation failure on 32-bit.

2.6.1

19 Mar 23:02
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Serialization is 10-20% faster and uses about 50% less memory by writing
    directly to the returned bytes object.

2.6.0

10 Mar 00:46
@ijl ijl
Compare
Choose a tag to compare

Added

  • orjson.dumps() pretty prints with an indentation of two spaces if
    option=orjson.OPT_INDENT_2 is specified.

2.5.2

07 Mar 22:49
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Publish manylinux2014 wheels for aarch64.
  • numpy support now includes numpy.uint32 and numpy.uint64.

2.5.1

24 Feb 23:00
@ijl ijl
Compare
Choose a tag to compare

Changed

  • manylinux1 wheels for 3.6, 3.7, and 3.8 are now compliant with the spec by
    not depending on glibc 2.18.

2.5.0

19 Feb 12:58
@ijl ijl
Compare
Choose a tag to compare

Added

  • orjson.dumps() serializes dict keys of type other than str if
    option=orjson.OPT_NON_STR_KEYS is specified.

2.4.0

14 Feb 14:24
@ijl ijl
Compare
Choose a tag to compare

Added

  • orjson.dumps() serializes numpy.ndarray instances if
    option=orjson.OPT_SERIALIZE_NUMPY is specified.

Fixed

  • Fix dataclasses.dataclass attributes that are dict to be effected by
    orjson.OPT_SORT_KEYS.