Jsonpickle

Latest version: v4.0.0

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

Scan your dependencies

Page 6 of 9

0.9.3

Not secure
======
* UUID objects can now be serialized (130)

* Added `set_decoder_options` method to allow decoder specific options
equal to `set_encoder_options`.

* Int keys can be encoded directly by e.g. demjson by passing
`numeric_keys=True` and setting its backend options via
`jsonpickle.set_encoder_options('demjson', strict=False)`.

* Newer Numpy versions (v1.10+) are now supported.

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.

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.