Jsonpickle

Latest version: v4.0.0

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

Scan your dependencies

Page 7 of 9

0.7.1

Not secure
======

* Added support for Python 3.4.
* Added support for `posix.stat_result`.

0.7.0

Not secure
======

* Added ``handles`` decorator to :class:`jsonpickle.handlers.BaseHandler`,
enabling simple declaration of a handler for a class.
* `__getstate__()` and `__setstate__()` are now honored
when pickling objects that subclass :class:`dict`.
* jsonpickle can now serialize :class:`collections.Counter` objects.
* Object references are properly handled when using integer keys.
* Object references are now supported when using custom handlers.
* Decimal objects are supported in Python 3.
* jsonpickle's "fallthrough-on-error" behavior can now be disabled.
* Simpler API for registering custom handlers.
* A new "safe-mode" is provided which avoids eval().
Backwards-compatible deserialization of repr-serialized objects
is disabled in this mode. e.g. `decode(string, safe=True)`

0.6.1

Not secure
======

* Python 3.2 support, and additional fixes for Python 3.

0.6.0

Not secure
======

* Python 3 support!
* :class:`time.struct_time` is now serialized using the built-in
`jsonpickle.handlers.SimpleReduceHandler`.

0.5.0

Not secure
======

* Non-string dictionary keys (e.g. ints, objects) are now supported
by passing `keys=True` to :func:`jsonpickle.encode` and
:func:`jsonpickle.decode`.
* We now support namedtuple, deque, and defaultdict.
* Datetimes with timezones are now fully supported.
* Better support for complicated structures e.g.
datetime inside dicts.
* jsonpickle added support for references and cyclical data structures
in 0.4.0. This can be disabled by passing `make_refs=False` to
:func:`jsonpickle.encode`.

0.4.0

Not secure
=====

* Switch build from setuptools to distutils
* Consistent dictionary key ordering
* Fix areas with improper support for unpicklable=False
* Added support for cyclical data structures
(16).
* Experimental support for `jsonlib <http://pypi.python.org/pypi/jsonlib/>`_
and `py-yajl <http://github.com/rtyler/py-yajl/>`_ backends.
* New contributors David K. Hess and Alec Thomas

.. warning::

To support cyclical data structures
(16),
the storage format has been modified. Efforts have been made to
ensure backwards-compatibility. jsonpickle 0.4.0 can read data
encoded by jsonpickle 0.3.1, but earlier versions of jsonpickle may be
unable to read data encoded by jsonpickle 0.4.0.

Page 7 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.