diff --git a/jsonpickle-3.2.2.tar.gz b/jsonpickle-3.2.2.tar.gz deleted file mode 100644 index 01e0f4b7f8abb05332a6f5db7e42854facfae534..0000000000000000000000000000000000000000 Binary files a/jsonpickle-3.2.2.tar.gz and /dev/null differ diff --git a/jsonpickle-3.3.0.tar.gz b/jsonpickle-3.3.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b67f1a36cb54d7fbe1f49518cdef8b996dfbb61d Binary files /dev/null and b/jsonpickle-3.3.0.tar.gz differ diff --git a/python-jsonpickle.spec b/python-jsonpickle.spec index 09171e8c9455b594503c0ed6bdeb94b8344c78e5..822666ccd6e67b5577a5c8d8e794dc546e766f65 100644 --- a/python-jsonpickle.spec +++ b/python-jsonpickle.spec @@ -1,12 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-jsonpickle -Version: 3.2.2 +Version: 3.3.0 Release: 1 Summary: Python library for serializing any arbitrary object graph into JSON. License: BSD-3-Clause URL: https://github.com/jsonpickle/jsonpickle -Source0: https://files.pythonhosted.org/packages/94/a6/98e63e70a2c1907edb81cff7bae4bf1b2fec2d510ce528653c6c5f2ed931/jsonpickle-3.2.2.tar.gz +Source0: https://files.pythonhosted.org/packages/7b/c3/7b43eb963bfb3fa95385e677bb9d027c56d65d395d9f4bd52833affd1a4f/jsonpickle-3.3.0.tar.gz BuildArch: noarch BuildRequires: python3-devel @@ -61,6 +61,11 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %{_docdir}/* %changelog +* Fri Sep 6 2024 wanggang - 3.3.0-1 +- Update package to version 3.3.0 +- The unpickler was updated to avoid using eval, which helps improve its security. Users can still pass safe=False to decode to use the old behavior, though this is not recommended. +- Objects can now exclude specific attributes from pickling by providing a _jsonpickle_exclude class or instance attribute. This attribute should contain the list of attribute names to exclude when pickling the object. + * Wed Jul 24 2024 liudy - 3.2.2-1 - Update package to version 3.2.2 - A bug with the incorrect (de)serialization of NoneType objects has been fixed