Overview

Request 682645 accepted

- update to 0.6.1
* unpackb(data) configures max_*_len options from len(data), instead
of static default sizes.
* Unpacker(max_buffer_len=N) configures max_*_len options from N, instead
of static default sizes.
* max_bin_len, max_str_len, and max_ext_len are deprecated.
* unpacker: Default value of input limits are smaller than before to
avoid DoS attack
* 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.
* PackValueError and PackOverflowError are also removed. You need to catch
normal ValueError and OverflowError.
* Unpacker has strict_map_key option now. When it is true, only bytes
and str (unicode in Python 2) are allowed for map keys.
* Extension modules are merged. There is msgpack._cmsgpack instead
of msgpack._packer and msgpack._unpacker.
* Add Unpacker.getbuffer() method.
* unpacker: msgpack.StackError is raised when input data contains too nested data
* unpacker: msgpack.FormatError is raised when input data is not valid msgpack format.

Request History
Ondřej Súkup's avatar

mimi_vx created request

- update to 0.6.1
* unpackb(data) configures max_*_len options from len(data), instead
of static default sizes.
* Unpacker(max_buffer_len=N) configures max_*_len options from N, instead
of static default sizes.
* max_bin_len, max_str_len, and max_ext_len are deprecated.
* unpacker: Default value of input limits are smaller than before to
avoid DoS attack
* 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.
* PackValueError and PackOverflowError are also removed. You need to catch
normal ValueError and OverflowError.
* Unpacker has strict_map_key option now. When it is true, only bytes
and str (unicode in Python 2) are allowed for map keys.
* Extension modules are merged. There is msgpack._cmsgpack instead
of msgpack._packer and msgpack._unpacker.
* Add Unpacker.getbuffer() method.
* unpacker: msgpack.StackError is raised when input data contains too nested data
* unpacker: msgpack.FormatError is raised when input data is not valid msgpack format.


Saul Goodman's avatar

licensedigger accepted review

ok


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto added repo-checker as a reviewer

Please review build success


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Dominique Leuenberger's avatar

dimstar accepted review


Staging Bot's avatar

staging-bot set openSUSE:Factory:Staging:G as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:G"


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:G


Repo Checker's avatar

repo-checker accepted review

ok


Dominique Leuenberger's avatar

dimstar_suse accepted review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse approved review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse accepted request

Accept to openSUSE:Factory

openSUSE Build Service is sponsored by