Skip to content

Releases: ijl/orjson

2.2.1

04 Feb 14:11
@ijl ijl
Compare
Choose a tag to compare

Fixed

  • orjson.loads() rejects floats that do not have a digit following
    the decimal, e.g., -2., 2.e-3.

Changed

  • Build Linux, macOS, and Windows wheels on more recent distributions.

2.2.0

22 Jan 14:46
@ijl ijl
Compare
Choose a tag to compare

Added

  • orjson.dumps() serializes uuid.UUID instances if
    option=orjson.OPT_SERIALIZE_UUID is specified.

Changed

  • Minor performance improvements.
  • Publish Python 3.9 wheel for Linux.

2.1.4

08 Jan 03:54
@ijl ijl
Compare
Choose a tag to compare

Fixed

  • Specify a text signature for orjson.loads().

Changed

  • Improve documentation.

2.1.3

12 Nov 14:44
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Publish Python 3.8 wheels for macOS and Windows.

2.1.2

07 Nov 23:30
@ijl ijl
Compare
Choose a tag to compare

Changed

  • The recursion limit of default on orjson.dumps() has been increased from
    5 to 254.

2.1.1

29 Oct 14:11
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Publish manylinux1 wheels instead of manylinux2010.

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.