Jsonpickle

Latest version: v3.0.4

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

Scan your dependencies

Page 1 of 7

3.1.0

======
* `jsonpickle.ext.numpy.register_handlers` now provides options that are forwarded
to the `NumpyNDArrayHandler` constructor. (+489)

3.0.4

======
* Fixed an issue with django.SafeString and other classes inheriting from
str having read-only attribute errors (478) (+481)
* The test suite was made compatible with `pytest-ruff>=0.3.0`. (+482)
* A `garden.yaml` file was added for use with the
`garden <https://crates.io/crates/garden-tools>_` command runner. (+486)
* The test suite was updated to avoid deprecated SQLALchemy APIs.
* The `jaraco.packaging.sphinx` documentation dependency was removed.

3.0.3

======
* Compatibilty with Pandas and Cython 3.0 was added. (460) (+477)
* Fixed a bug where pickling some built-in classes (e.g. zoneinfo)
could return a ``None`` module. (447)
* Fixed a bug where unpickling a missing class would return a different object
instead of ``None``. (+471)
* Fixed the handling of missing classes when setting ``on_missing`` to ``warn``
or ``error``. (+471)
* The test suite was made compatible with Python 3.12.
* The tox configuration was updated to generate code coverage reports.
* The suite now uses ``ruff`` to validate python code.
* The documentation can now be built offline when ``rst.linker`` and
``jaraco.packaging.sphinx`` are not available.

3.0.2

======
* Properly raise warning if a custom pickling handler returns None. (433)
* Fix issue with serialization of certain sklearn objects breaking when
the numpy handler was enabled. (431) (+434)
* Allow custom backends to not implement _encoder_options (436) (+446)
* Implement compatibility with pandas 2 (+446)
* Fix encoding/decoding of dictionary subclasses with referencing (+455)
* Fix depth tracking for list/dict referencing (+456)

3.0.1

======
* Remove accidental pin of setuptools to versions below 59. This allows
jsonpickle to build with CPython 3.11 and 3.12 alphas. (424)
* Remove accidental dependency on pytz in pandas tests. (+421)
* Fix issue with decoding bson.bson.Int64 objects (422)

3.0.0

======
* Drop support for CPython<3.7. CPython 3.6 and below have reached EOL
and no longer receive security updates. (375)
* Add support for CPython 3.11. (395) (+396)
* 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. (297) (+387)
* 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. (148) (+392)
* Fix bug with deserializing `numpy.poly1d`. (391)
* Allow frozen dataclasses to be deserialized. (240)
* Fixed a bug where pickling a function could return a ``None`` module. (399)
* 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. (411)
* When using the ``sort_keys`` option for the ``simplejson`` backend,
jsonpickle now produces correct object references with py/id tags. (408)
* Speed up the internal method ``_restore_tags`` by ~10%. This should speed
up unpickling of almost every object.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.