- `orjson.dumps()` serializes `dict` keys of type other than `str` if `option=orjson.OPT_NON_STR_KEYS` is specified.
2.4.0
Not secure
Added
- `orjson.dumps()` serializes `numpy.ndarray` instances if `option=orjson.OPT_SERIALIZE_NUMPY` is specified.
Fixed
- Fix `dataclasses.dataclass` attributes that are `dict` to be effected by `orjson.OPT_SORT_KEYS`.
2.3.0
Not secure
Added
- `orjson.dumps()` serializes `dict` instances sorted by keys, equivalent to `sort_keys` in other implementations, if `option=orjson.OPT_SORT_KEYS` is specified.
Changed
- `dataclasses.dataclass` instances without `__slots__` now serialize faster.
Fixed
- Fix documentation on `default`, in particular documenting the need to raise an exception if the type cannot be handled.
2.2.2
Not secure
Changed
- Performance improvements to serializing a list containing elements of the same type.
2.2.1
Not secure
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
Not secure
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.