Path to this page:
Subject: CVS commit: pkgsrc/textproc/py-jsonpickle
From: Adam Ciarcinski
Date: 2024-02-03 18:11:35
Message id: 20240203171135.18040FA42@cvs.NetBSD.org
Log Message:
py-jsonpickle: updated to 3.0.2
v3.0.2
======
* Properly raise warning if a custom pickling handler returns None.
* Fix issue with serialization of certain sklearn objects breaking when
the numpy handler was enabled.
* Allow custom backends to not implement _encoder_options
* Implement compatibility with pandas 2 (+446)
v3.0.1
======
* Remove accidental pin of setuptools to versions below 59. This allows
jsonpickle to build with CPython 3.11 and 3.12 alphas.
* Remove accidental dependency on pytz in pandas tests. (+421)
* Fix issue with decoding bson.bson.Int64 objects
v3.0.0
======
* Drop support for CPython<3.7. CPython 3.6 and below have reached EOL
and no longer receive security updates.
* Add support for CPython 3.11.
* Remove jsonlib and yajl backends (py2 only)
* Add ``include_properties`` option to the pickler. This should only
be used if analyzing generated json outside of Python.
* Allow the ``classes`` argument to ``jsonpickle.decode`` to be a dict
of class name to class object. This lets you decode arbitrary dumps
into different classes.
* Fix bug with deserializing `numpy.poly1d`.
* Allow frozen dataclasses to be deserialized.
* Fixed a bug where pickling a function could return a ``None`` module.
* Removed old bytes/quopri and ref decoding abaility from the unpickler.
These were last used in jsonpickle<1. Removing them causes a slight speedup
in unpickling lists (~5%). (+403)
* Fixed a bug with namedtuples encoding on CPython 3.11.
* When using the ``sort_keys`` option for the ``simplejson`` backend,
jsonpickle now produces correct object references with py/id tags.
* Speed up the internal method ``_restore_tags`` by ~10%. This should speed
up unpickling of almost every object.
Files: