14
0

- update to 2.0.0:

* Add a generic `register_preserialisation_callback` mechanism,
    which allows users to teach canonicaljson how to JSON-encode custom
    types.
  * 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=39
This commit is contained in:
2023-05-29 16:34:58 +00:00
committed by Git OBS Bridge
parent 74e450674f
commit 770a37297e
4 changed files with 17 additions and 4 deletions

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon May 29 16:34:14 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.0.0:
* Add a generic `register_preserialisation_callback` mechanism,
which allows users to teach canonicaljson how to JSON-encode custom
types.
* 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.
-------------------------------------------------------------------
Mon May 15 13:49:39 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -27,7 +27,7 @@
%define github_user matrix-org
%define short_name canonicaljson
Name: python-%{short_name}%{psuffix}
Version: 1.6.5
Version: 2.0.0
Release: 0
Summary: Canonical JSON for Python
License: Apache-2.0

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:877400adb6571aa0da16eab59653ccb2dbc4a6780036534c847dff35bdcde30c
size 10457

3
v2.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c3c38d76aacdb2d29c61582d466850116affabe5186ae921f48bc5c8f720b10f
size 10382