Xorjson

Latest version: v3.10.5

Safety actively analyzes 688924 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 17 of 22

2.5.1

Changed

- `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.

Page 17 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.