Releases: ijl/orjson
Releases · ijl/orjson
2.1.0
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
Changed
Publish Python 3.8 wheel for Linux.
2.0.10
Changed
Performance improvements and lower memory usage in deserialization
by creating only one str
object for repeated map keys.
2.0.9
Changed
Minor performance improvements.
Fixed
Fix inaccurate zero padding in serialization of microseconds on
datetime.time
objects.
2.0.8
Fixed
Fix inaccurate zero padding in serialization of microseconds on
datetime.datetime
objects.
2.0.7
Changed
Publish PEP 517 source distribution.
Fixed
orjson.dumps()
raises JSONEncodeError
on circular references.
2.0.6
Changed
Performance improvements.
2.0.5
Fixed
Fix inaccuracy in deserializing some float
values, e.g.,
31.245270191439438 was parsed to 31.24527019143944. Serialization was
unaffected.
2.0.4
Changed
orjson.dumps()
now serializes datetime.datetime
objects without a
tzinfo
rather than raising JSONEncodeError
.
2.0.3
Changed
orjson.loads()
uses SSE2 to validate bytes
input.
You can’t perform that action at this time.