mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 20:03:16 +00:00
Update changelog
This commit is contained in:
parent
2eb6e75db1
commit
0e2021d3a3
1 changed files with 14 additions and 5 deletions
|
@ -1,24 +1,33 @@
|
||||||
0.5.0
|
0.5.0
|
||||||
======
|
======
|
||||||
|
|
||||||
0.5 is important step toward 1.0. There are some deprecations.
|
There are some deprecations. Please read changes carefully.
|
||||||
Please read changes carefully.
|
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
-------
|
-------
|
||||||
|
|
||||||
* Drop Python 2.6 and 3.2 support
|
* 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,
|
* Deprecate useless custom exceptions. Use ValueError instead of PackValueError,
|
||||||
Exception instead of PackException and UnpackException, etc...
|
Exception instead of PackException and UnpackException, etc...
|
||||||
See msgpack/exceptions.py
|
See msgpack/exceptions.py
|
||||||
|
|
||||||
* Add `strict_types` option to packer. It can be used to serialize subclass of
|
* 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,
|
builtin types. For example, when packing object which type is subclass of dict,
|
||||||
`default()` is called.
|
``default()`` is called. ``default()`` is called for tuple too.
|
||||||
|
|
||||||
* Pure Python implementation supports packing memoryview object.
|
* 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
|
0.4.8
|
||||||
=====
|
=====
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue