Jsonpickle

Latest version: v4.0.0

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

Scan your dependencies

Page 5 of 9

1.2

Not secure
====
* Simplified JSON representation for `__reduce__` values. (+261)

* Improved Pandas support with new handlers for more Pandas data types.
(+256)

* Prevent stack overflows caused by bugs in user-defined `__getstate__`
functions which cause infinite recursion. (+260)
(259)

* Improved support for objects that contain dicts with Integer keys.
Previously, jsonpickle could not restore objects that contained
dicts with integer keys and provided getstate only.
These objects are now handled robustly. (247).

* Support for encoding binary data in `base85`_ instead of base64 has been
added on Python 3. Base85 produces payloads about 10% smaller than base64,
albeit at the cost of lower throughput. For performance and backwards
compatibility with Python 2 the pickler uses base64 by default, but it can
be configured to use ``base85`` with the new ``use_base85`` argument.
(251).

* Dynamic SQLAlchemy tables in SQLAlchemy >= 1.3 are now supported.
(254).

.. _base85: https://en.wikipedia.org/wiki/Ascii85

1.1

Not secure
====
* Python 3.7 `collections.Iterator` deprecation warnings have been fixed.
(229).

* Improved Pandas support for datetime and complex numbers. (+245)

1.0

Not secure
====
* *NOTE* jsonpickle no longer supports Python2.6, or Python3 < 3.4.
The officially supported Python versions are now 2.7 and 3.4+.

* Improved Pandas and Numpy support. (+227)

* Improved support for pickling iterators. (+216)

* Better support for the stdlib `json` module when `simplejson`
is not installed. (+217)

* jsonpickle will now output python3-style module names when
pickling builtins methods or functions. (+223)

* jsonpickle will always flatten primitives, even when ``max_depth``
is reached, which avoids encoding unicode strings into their
``u'string'`` representation. (+207) (180) (198).

* Nested classes are now supported on Python 3. (+206) (176).

* Better support for older (pre-1.9) versions of numpy (+195).

0.9.6

Not secure
======
* Better support for SQLAlchemy (180).

* Better support for NumPy and SciKit-Learn. (184).

* Better support for dict sub-classes (156).

0.9.5

Not secure
======
* Better support for objects that implement the reduce protocol. (+170)
This backward-incompatible change removes the SimpleReduceHandler.
Any projects registering that handler for a particular type should
instead remove references to the handler and jsonpickle will now
handle those types directly.

0.9.4

Not secure
======
* Arbitrary byte streams are now better supported. (143)

* Better support for NumPy data types. The Python3 NumPy support
is especially robust.

* Fortran-ordered based NumPy arrays are now properly serialized.

Page 5 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.