Skip to content

Releases: ijl/orjson

2.1.0

24 Oct 13:32
@ijl ijl
Compare
Choose a tag to compare

Added

  • orjson.dumps() serializes dataclasses.dataclass instances if
    option=orjson.OPT_SERIALIZE_DATACLASS is specified.
  • orjson.dumps() accepts orjson.OPT_UTC_Z to serialize UTC as "Z" instead
    of "+00:00".
  • orjson.dumps() accepts orjson.OPT_OMIT_MICROSECONDS to not serialize
    the microseconds attribute of datetime.datetime and datetime.time
    instances.
  • orjson.loads() accepts bytearray.

Changed

  • Drop support for Python 3.5.
  • Publish manylinux2010 wheels instead of manylinux1.

2.0.11

01 Oct 13:21
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Publish Python 3.8 wheel for Linux.

2.0.10

25 Sep 12:11
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Performance improvements and lower memory usage in deserialization
    by creating only one str object for repeated map keys.

2.0.9

23 Sep 13:25
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Minor performance improvements.

Fixed

  • Fix inaccurate zero padding in serialization of microseconds on
    datetime.time objects.

2.0.8

18 Sep 17:00
@ijl ijl
Compare
Choose a tag to compare

Fixed

  • Fix inaccurate zero padding in serialization of microseconds on
    datetime.datetime objects.

2.0.7

29 Aug 15:18
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Publish PEP 517 source distribution.

Fixed

  • orjson.dumps() raises JSONEncodeError on circular references.

2.0.6

11 May 16:21
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Performance improvements.

2.0.5

19 Apr 14:24
@ijl ijl
Compare
Choose a tag to compare

Fixed

  • Fix inaccuracy in deserializing some float values, e.g.,
    31.245270191439438 was parsed to 31.24527019143944. Serialization was
    unaffected.

2.0.4

02 Apr 22:29
@ijl ijl
Compare
Choose a tag to compare

Changed

  • orjson.dumps() now serializes datetime.datetime objects without a
    tzinfo rather than raising JSONEncodeError.

2.0.3

23 Mar 18:38
@ijl ijl
Compare
Choose a tag to compare

Changed

  • orjson.loads() uses SSE2 to validate bytes input.