Jsonpickle

Latest version: v4.0.5

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

Scan your dependencies

Page 7 of 10

0.9.2

Not secure
======
* Fixes for serializing objects with custom handlers.

* We now properly serialize deque objects constructed with a `maxlen` parameter.

* Test suite fixes

0.9.1

Not secure
======

* Support datetime objects with FixedOffsets.

0.9.0

Not secure
======
* Support for Pickle Protocol v4.

* We now support serializing defaultdict subclasses that use `self`
as their default factory.

* We now have a decorator syntax for registering custom handlers,
and allow custom handlers to register themselves for all subclasses.
(+104)

* We now support serializing types with metaclasses and their
instances (e.g., Python 3 `enum`).

* We now support serializing bytestrings in both Python 2 and Python 3.
In Python 2, the `str` type is decoded to UTF-8 whenever possible and
serialized as a true bytestring elsewise; in Python 3, bytestrings
are explicitly encoded/decoded as bytestrings. Unicode strings are
always encoded as is in both Python 2 and Python 3.

* Added support for serializing numpy arrays, dtypes and scalars
(see `jsonpickle.ext.numpy` module).

0.8.0

Not secure
======

* We now support serializing objects that contain references to
module-level functions. (77)

* Better Pickle Protocol v2 support. (78)

* Support for string ``__slots__`` and iterable ``__slots__``. (67) (68)

* `encode()` now has a `warn` option that makes jsonpickle emit warnings
when encountering objects that cannot be pickled.

* A Javascript implementation of jsonpickle is now included
in the jsonpickleJS directory.

0.7.2

Not secure
======

* We now properly serialize classes that inherit from classes
that use `__slots__` and add additional slots in the derived class.
* jsonpickle can now serialize objects that implement `__getstate__()` but
not `__setstate__()`. The result of `__getstate__()` is returned as-is
when doing a round-trip from Python objects to jsonpickle and back.
* Better support for collections.defaultdict with custom factories.
* Added support for `queue.Queue` objects.

0.7.1

Not secure
======

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

Page 7 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.