Skip to content

Releases: ijl/orjson

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.

2.0.2

12 Mar 14:25
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Support Python 3.5.

2.0.1

05 Feb 15:17
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Publish Windows wheel.

2.0.0

28 Jan 14:56
@ijl ijl
Compare
Choose a tag to compare

Added

  • orjson.dumps() accepts a default callable to serialize arbitrary
    types.
  • orjson.dumps() accepts datetime.datetime, datetime.date,
    and datetime.time. Each is serialized to an RFC 3339 string.
  • orjson.dumps(..., option=orjson.OPT_NAIVE_UTC) allows serializing
    datetime.datetime objects that do not have a timezone set as UTC.
  • orjson.dumps(..., option=orjson.OPT_STRICT_INTEGER) available to
    raise an error on integer values outside the 53-bit range of all JSON
    implementations.

Changed

  • orjson.dumps() no longer accepts bytes.

1.3.1

03 Jan 23:49
@ijl ijl
Compare
Choose a tag to compare

Fixed

  • Handle invalid UTF-8 in str.

1.3.0

02 Jan 14:00
@ijl ijl
Compare
Choose a tag to compare

Changed

  • Performance improvements of 15-25% on serialization, 10% on deserialization.