Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Update jsonpickle to 1.4.1 #4494

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Contributor

This PR updates jsonpickle from 0.9.6 to 1.4.1.

Changelog

1.4.1

======
 * Patch release for Python 3.8 `importlib_metadata` support.
   (`300 <https://github.com/jsonpickle/jsonpickle/issues/300>`_)

1.4

====
 * Python 3.8 support.
   (`292 <https://github.com/jsonpickle/jsonpickle/issues/292>`_)
 * ``jsonpickle.encode`` now supports the standard ``indent``
   and ``separators`` arguments, and passes them through to the
   active JSON backend library.
   (`183 <https://github.com/jsonpickle/jsonpickle/issues/183>`_)
 * We now include a custom handler for `array.array` objects.
   (`199 <https://github.com/jsonpickle/jsonpickle/issues/199>`_)
 * Dict key order is preserved when pickling dictionaries on Python3.
   (`193 <https://github.com/jsonpickle/jsonpickle/issues/193>`_)
 * Improved serialization of dictionaries with non-string keys.
   Previously, using an enum that was both the key and a value in
   a dictionary could end up with incorrect references to other
   objects.  The references are now properly maintained for dicts
   with object keys that are also referenced in the dict's values.
   (`286 <https://github.com/jsonpickle/jsonpickle/issues/286>`_)

 * Improved serialization of pandas.Series objects.
   (`287 <https://github.com/jsonpickle/jsonpickle/issues/287>`_)

1.3

====
 * Improved round tripping of default dicts.
   (`283 <https://github.com/jsonpickle/jsonpickle/pull/283>`_)
   (`282 <https://github.com/jsonpickle/jsonpickle/issues/282>`_)

 * Better support for cyclical references when encoding with
   ``unpicklable=False``.
   (`264 <https://github.com/jsonpickle/jsonpickle/pull/264>`_)

1.2

====
 * Simplified JSON representation for `__reduce__` values.
   (`261 <https://github.com/jsonpickle/jsonpickle/pull/261>`_)

 * Improved Pandas support with new handlers for more Pandas data types.
   (`256 <https://github.com/jsonpickle/jsonpickle/pull/256>`_)

 * Prevent stack overflows caused by bugs in user-defined `__getstate__`
   functions which cause infinite recursion.
   (`260 <https://github.com/jsonpickle/jsonpickle/pull/260>`_)
   (`259 <https://github.com/jsonpickle/jsonpickle/issues/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 <https://github.com/jsonpickle/jsonpickle/issues/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 <https://github.com/jsonpickle/jsonpickle/issues/251>`_).

 * Dynamic SQLAlchemy tables in SQLAlchemy >= 1.3 are now supported.
   (`254 <https://github.com/jsonpickle/jsonpickle/issues/254>`_).

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

1.1

====
 * Python 3.7 `collections.Iterator` deprecation warnings have been fixed.
   (`229 <https://github.com/jsonpickle/jsonpickle/issues/229>`_).

 * Improved Pandas support for datetime and complex numbers.
   (`245 <https://github.com/jsonpickle/jsonpickle/pull/245>`_)

1.0

====
 * *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 <https://github.com/jsonpickle/jsonpickle/pull/227>`_)

 * Improved support for pickling iterators.
   (`216 <https://github.com/jsonpickle/jsonpickle/pull/216>`_)

 * Better support for the stdlib `json` module when `simplejson`
   is not installed.
   (`217 <https://github.com/jsonpickle/jsonpickle/pull/217>`_)

 * jsonpickle will now output python3-style module names when
   pickling builtins methods or functions.
   (`223 <https://github.com/jsonpickle/jsonpickle/pull/223>`_)

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

   (`207 <https://github.com/jsonpickle/jsonpickle/pull/207>`_,
   `180 <https://github.com/jsonpickle/jsonpickle/issues/180>`_,
   `198 <https://github.com/jsonpickle/jsonpickle/issues/198>`_).

 * Nested classes are now supported on Python 3.
   (`206 <https://github.com/jsonpickle/jsonpickle/pull/206>`_,
   `176 <https://github.com/jsonpickle/jsonpickle/issues/176>`_).

 * Better support for older (pre-1.9) versions of numpy
   (`195 <https://github.com/jsonpickle/jsonpickle/pull/195>`_).
Links

@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.327% when pulling 9056630 on pyup-update-jsonpickle-0.9.6-to-1.4.1 into c29699c on master.

@akatsoulas akatsoulas closed this Jan 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants