Skip to content

Releases: ijl/orjson

3.6.6

21 Jan 23:36
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Improve performance of serializing datetime.datetime using tzinfo that
    are zoneinfo.ZoneInfo.

Fixed

  • Fix invalid indexing in line and column number reporting in
    JSONDecodeError.
  • Fix orjson.OPT_STRICT_INTEGER not raising an error on
    values exceeding a 64-bit integer maximum.

3.6.5

05 Dec 16:39
@ijl ijl
Compare
Choose a tag to compare

Fixed

  • Fix build on macOS aarch64 CPython 3.10.
  • Fix build issue on 32-bit.

3.6.4

01 Oct 22:01
@ijl ijl
Compare
Choose a tag to compare

Fixed

  • Fix serialization of dataclass inheriting from abc.ABC and
    using __slots__.
  • Decrement refcount for numpy PyArrayInterface.
  • Fix build on recent versions of Rust nightly.

3.6.3

20 Aug 13:16
@ijl ijl
Compare
Choose a tag to compare

Fixed

  • Fix build on aarch64 using the Rust stable channel.

3.6.2

17 Aug 15:17
@ijl ijl
Compare
Choose a tag to compare

Changed

  • orjson now compiles on Rust stable 1.54.0 or above. Use of some SIMD
    usage is now disabled by default and packagers are advised to add
    --cargo-extra-args="--features=unstable-simd" to the maturin build command
    if they continue to use nightly.
  • orjson built with --features=unstable-simd adds UTF-8 validation
    implementations that use AVX2 or SSE4.2.
  • Drop support for Python 3.6.

3.6.1

04 Aug 14:07
@ijl ijl
Compare
Choose a tag to compare

Changed

  • orjson now includes a pyi type stubs file.
  • Publish manylinux_2_24 wheels instead of manylinux2014.

Fixed

  • Fix compilation on latest Rust nightly.

3.6.0

08 Jul 14:02
@ijl ijl
Compare
Choose a tag to compare

Added

  • orjson.dumps() serializes numpy.datetime64 instances as RFC 3339
    strings.

3.5.4

30 Jun 13:54
@ijl ijl
Compare
Choose a tag to compare

Fixed

  • Fix memory leak serializing datetime.datetime with tzinfo.
  • Fix wrong error message when serializing an unsupported numpy type
    without default specified.

Changed

  • Publish python3.10 and python3.9 manylinux_2_24 wheels.

3.5.3

01 Jun 14:20
@ijl ijl
Compare
Choose a tag to compare

Fixed

  • orjson.JSONDecodeError now has pos, lineno, and colno.
  • Fix build on recent versions of Rust nightly.

3.5.2

15 Apr 13:54
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Improve serialization and deserialization performance.
  • orjson.dumps() serializes individual numpy.bool_ objects.