diff --git a/python-canonicaljson.changes b/python-canonicaljson.changes index fc8b1b0..ec466c4 100644 --- a/python-canonicaljson.changes +++ b/python-canonicaljson.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Sep 8 20:32:44 UTC 2020 - Marcus Rueckert + +- Update to 1.4.0: + - Fix producing non-standard JSON for Infinity, -Infinity, and + NaN. This could cause errors when encoding objects into + canonical JSON that previously used to work, but were + incompatible with JSON implementations in other languages. + - Use UTF-8 to fix ASCII encoding errors when data containing + Unicode was attempted to be pretty-printed. +- Update to 1.3.0: + - The minimum version of simplejson was bumped to 3.14.0. + - Obsolete workaround for slow encoding of Unicode characters was + removed. + - New APIs were added to iteratively encode JSON. + ------------------------------------------------------------------- Thu Aug 13 21:28:31 UTC 2020 - Marcus Rueckert diff --git a/python-canonicaljson.spec b/python-canonicaljson.spec index a06fcbf..52ad181 100644 --- a/python-canonicaljson.spec +++ b/python-canonicaljson.spec @@ -28,7 +28,7 @@ %define github_user matrix-org %define short_name canonicaljson Name: python-%{short_name}%{psuffix} -Version: 1.2.0 +Version: 1.4.0 Release: 0 Summary: Canonical JSON for Python License: Apache-2.0 @@ -37,11 +37,11 @@ URL: https://github.com/matrix-org/python-canonicaljson Source: https://github.com/matrix-org/python-canonicaljson/archive/v%{version}.tar.gz BuildRequires: %{python_module frozendict >= 1.0} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module simplejson} +BuildRequires: %{python_module simplejson >= 3.14.0} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-frozendict >= 1.0 -Requires: python-simplejson +Requires: python-simplejson >= 3.14.0 Requires: python-six BuildArch: noarch %if %{with test} diff --git a/v1.2.0.tar.gz b/v1.2.0.tar.gz deleted file mode 100644 index e5030f9..0000000 --- a/v1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad0a40fb5e356643f4f96d347fd2736ac279adbb2fa02bbcc1feb04156b66ad5 -size 1326903 diff --git a/v1.4.0.tar.gz b/v1.4.0.tar.gz new file mode 100644 index 0000000..89a8d85 --- /dev/null +++ b/v1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6d05222afdff5bc4c5e82318ab75656d1402074376a410b32ff22171090632e +size 11135