Msgpack

Latest version: v1.1.0

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

Scan your dependencies

Page 4 of 8

0.5.3

Not secure
======

* Fixed regression when passing ``unicode_errors`` to Packer but not ``encoding``. (277)

0.5.2

Not secure
======

* Add ``raw`` option to Unpacker. It is preferred way than ``encoding`` option.

* Packer.pack() reset buffer on exception (274)

0.5.1

Not secure
======

* Remove FutureWarning about use_bin_type option (271)

0.5.0

Not secure
======

There are some deprecations. Please read changes carefully.

Changes
-------

* Drop Python 2.6 and ~3.4 support. Python 2.7 and 3.5+ are supported.

* Deprecate useless custom exceptions. Use ValueError instead of PackValueError,
Exception instead of PackException and UnpackException, etc...
See msgpack/exceptions.py

* Add *strict_types* option to packer. It can be used to serialize subclass of
builtin types. For example, when packing object which type is subclass of dict,
``default()`` is called. ``default()`` is called for tuple too.

* Pure Python implementation supports packing memoryview object.

* Support packing bytearray.

* Add ``Unpacker.tell()``. And ``write_bytes`` option is deprecated.


Bugs fixed
----------

* Fixed zero length raw can't be decoded when encoding is specified. (236)

0.4.8

=====
:release date: 2016-07-29

Bugs fixed
----------

* Calling ext_hook with wrong length. (Only on Windows, maybe. 203)

0.4.7

=====
:release date: 2016-01-25

Bugs fixed
----------

* Memory leak when unpack is failed

Changes
-------

* Reduce compiler warnings while building extension module
* unpack() now accepts ext_hook argument like Unpacker and unpackb()
* Update Cython version to 0.23.4
* default function is called when integer overflow

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.