mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 12:03:15 +00:00
Update README
This commit is contained in:
parent
ab2415eaa0
commit
3c9c6edbc8
1 changed files with 9 additions and 3 deletions
|
@ -7,15 +7,21 @@ Release Date: TBD
|
||||||
Important changes
|
Important changes
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
* unpacker: Default size limits is smaller than before to avoid DoS attack.
|
* unpacker: Default value of input limits are smaller than before to avoid DoS attack.
|
||||||
If you need to handle large data, you need to specify limits manually. (#319)
|
If you need to handle large data, you need to specify limits manually. (#319)
|
||||||
|
|
||||||
|
* Unpacker doesn't wrap underlaying ``ValueError`` (including ``UnicodeError``) into
|
||||||
|
``UnpackValueError``. If you want to catch all exception during unpack, you need
|
||||||
|
to use ``try ... except Exception`` with minimum try code block. (#323, #233)
|
||||||
|
|
||||||
|
* ``PackValueError`` and ``PackOverflowError`` are also removed. You need to catch
|
||||||
|
normal ``ValueError`` and ``OverflowError``. (#323, #233)
|
||||||
|
|
||||||
Other changes
|
Other changes
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
* Extension modules are merged. There is ``msgpack._msgpack`` instead of
|
* Extension modules are merged. There is ``msgpack._cmsgpack`` instead of
|
||||||
``msgpack._packer`` and ``msgpack._unpacker``. (#314)
|
``msgpack._packer`` and ``msgpack._unpacker``. (#314, #328)
|
||||||
|
|
||||||
* Add ``Unpacker.getbuffer()`` method. (#320)
|
* Add ``Unpacker.getbuffer()`` method. (#320)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue