Skip to content

Releases: ijl/orjson

2.0.2

Choose a tag to compare

@ijl ijl released this 12 Mar 14:25

Changed

  • Support Python 3.5.

2.0.1

Choose a tag to compare

@ijl ijl released this 05 Feb 15:17

Changed

  • Publish Windows wheel.

2.0.0

Choose a tag to compare

@ijl ijl released this 28 Jan 14:56

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

Choose a tag to compare

@ijl ijl released this 03 Jan 23:49

Fixed

  • Handle invalid UTF-8 in str.

1.3.0

Choose a tag to compare

@ijl ijl released this 02 Jan 14:00

Changed

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

1.2.1

Choose a tag to compare

@ijl ijl released this 31 Dec 17:41

Fixed

  • Fix memory leak in deserializing dict.

1.2.0

Choose a tag to compare

@ijl ijl released this 16 Dec 16:42

Changed

  • Performance improvements.

1.1.0

Choose a tag to compare

@ijl ijl released this 06 Dec 15:04

Changed

  • Performance improvements.

Fixed

  • Dict key can only be str.

1.0.1

Choose a tag to compare

@ijl ijl released this 26 Nov 12:17

Fixed

  • pyo3 bugfix update.

1.0.0

Choose a tag to compare

@ijl ijl released this 23 Nov 18:48

Added

  • orjson.dumps() function.
  • orjson.loads() function.