diff options
author | INADA Naoki <songofacandy@gmail.com> | 2018-11-20 15:48:44 +0900 |
---|---|---|
committer | INADA Naoki <songofacandy@gmail.com> | 2018-11-20 15:48:44 +0900 |
commit | 3c9c6edbc88908fceb3c69ff3d6455be8b5914c8 (patch) | |
tree | 71af4e492f6cd331af3dc7ce65c61954d354ab44 /ChangeLog.rst | |
parent | ab2415eaa0cdbe8e5b6e248d447cf5e66e858eb2 (diff) | |
download | msgpack-python-3c9c6edbc88908fceb3c69ff3d6455be8b5914c8.tar.gz |
Update README
Diffstat (limited to 'ChangeLog.rst')
-rw-r--r-- | ChangeLog.rst | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog.rst b/ChangeLog.rst index d39e76b..8bc80e6 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -7,15 +7,21 @@ Release Date: TBD 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) +* 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 ------------- -* Extension modules are merged. There is ``msgpack._msgpack`` instead of - ``msgpack._packer`` and ``msgpack._unpacker``. (#314) +* Extension modules are merged. There is ``msgpack._cmsgpack`` instead of + ``msgpack._packer`` and ``msgpack._unpacker``. (#314, #328) * Add ``Unpacker.getbuffer()`` method. (#320) |