Skip to content

Releases: ijl/orjson

2.1.0

Choose a tag to compare

@ijl ijl released this 24 Oct 13:32

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

Choose a tag to compare

@ijl ijl released this 01 Oct 13:21

Changed

  • Publish Python 3.8 wheel for Linux.

2.0.10

Choose a tag to compare

@ijl ijl released this 25 Sep 12:11

Changed

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

2.0.9

Choose a tag to compare

@ijl ijl released this 23 Sep 13:25

Changed

  • Minor performance improvements.

Fixed

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

2.0.8

Choose a tag to compare

@ijl ijl released this 18 Sep 17:00

Fixed

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

2.0.7

Choose a tag to compare

@ijl ijl released this 29 Aug 15:18

Changed

  • Publish PEP 517 source distribution.

Fixed

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

2.0.6

Choose a tag to compare

@ijl ijl released this 11 May 16:21

Changed

  • Performance improvements.

2.0.5

Choose a tag to compare

@ijl ijl released this 19 Apr 14:24

Fixed

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

2.0.4

Choose a tag to compare

@ijl ijl released this 02 Apr 22:29

Changed

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

2.0.3

Choose a tag to compare

@ijl ijl released this 23 Mar 18:38

Changed

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