- `manylinux1` wheels for 3.6, 3.7, and 3.8 are now compliant with the spec by not depending on glibc 2.18.
2.5.0
Added
- `orjson.dumps()` serializes `dict` keys of type other than `str` if `option=orjson.OPT_NON_STR_KEYS` is specified.
2.4.0
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
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
Changed
- Performance improvements to serializing a list containing elements of the same type.
2.2.1
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.