Canonicaljson

Latest version: v2.0.0

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

Scan your dependencies

Page 1 of 3

2.0.0

Additions:

* Add a generic `register_preserialisation_callback` mechanism, which
allows users to teach canonicaljson how to JSON-encode custom types.

Breaking changes:

* Remove support for serialising `frozendict` instances. Use the new
`register_preserialisation_callback` mechanism to replace this
functionality if needed.
* Remove support for `simplejson` and the `set_json_library`alternative
json libraries.

1.6.5

* Update type hints to pass under mypy 1.0.

1.6.4

* Remove unused `setuptools_scm` build requirement.

1.6.3

* Properly package the `canonicaljson` module.

1.6.2

* Bump version to 1.6.2

The v1.6.1 tag was created without having bumped the version in
`canonicaljson.py`. This means that installing from source at the `v1.6.1` tag will
install the package with the wrong version in its metadata. The 1.6.1 artefacts
uploaded to PyPI did have the correct version; `pip install`ing
directly from the archive resulted in a consistent version number.

1.6.1

* Add type annotations.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.