pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54798: devel/py-msgpack Update to version 0.6.2

>Number:         54798
>Category:       pkg
>Synopsis:       devel/py-msgpack Update to version 0.6.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 25 02:50:00 +0000 2019
>Originator:     Jonathan Buschmann
Just a diff/patch to update this package to latest version

Changelog :


Release Date: 2019-09-20

    Support Python 3.8.
    Update Cython to 0.29.13 for support Python 3.8.
    Some small optimizations.


Release Date: 2019-01-25

This release is for mitigating pain caused by v0.6.0 reduced max input limits for security reason.


Release Date: 2018-11-30

This release contains some backward incompatible changes for security reason (DoS).
Important changes

    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)
    Unpacker has strict_map_key option now. When it is true, only bytes and str (unicode in Python 2) are allowed for map keys. It is recommended to avoid hashdos. Default value of this option is False for backward compatibility reason. But it will be changed True in 1.0. (#296, #334)

Other changes

    Extension modules are merged. There is msgpack._cmsgpack instead of msgpack._packer and msgpack._unpacker. (#314, #328)
    Add Unpacker.getbuffer() method. (#320)
    unpacker: msgpack.StackError is raised when input data contains too nested data. (#331)
    unpacker: msgpack.FormatError is raised when input data is not valid msgpack format. (#331)


diff --git i/devel/py-msgpack/Makefile w/devel/py-msgpack/Makefile
index 67b2c776059..30f31706c22 100644
--- i/devel/py-msgpack/Makefile
+++ w/devel/py-msgpack/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.22 2018/02/23 14:20:55 adam Exp $
-DISTNAME=	msgpack-0.5.6
+DISTNAME=	msgpack-0.6.2
 CATEGORIES=	devel python
diff --git i/devel/py-msgpack/PLIST w/devel/py-msgpack/PLIST
index 5ebc18a6802..e13c75ff464 100644
--- i/devel/py-msgpack/PLIST
+++ w/devel/py-msgpack/PLIST
@@ -2,8 +2,7 @@
diff --git i/devel/py-msgpack/distinfo w/devel/py-msgpack/distinfo
index c683f30827f..321c3befa48 100644
--- i/devel/py-msgpack/distinfo
+++ w/devel/py-msgpack/distinfo
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.13 2018/02/23 14:20:55 adam Exp $
-SHA1 (msgpack-0.5.6.tar.gz) = 916c234864a5eaae179982dcd4b20efaa3677a30
-RMD160 (msgpack-0.5.6.tar.gz) = 48818b2ea891871e70754fc3720a15d04a12c28c
-SHA512 (msgpack-0.5.6.tar.gz) = bdbd193bd3bd02e78d9c6e8d9d8fa687d13583dff2813bc77c5e6cbbe0d180765da3c9a80d176f9993589e35f548ad04973e3d523d0b6d41ef7916ecd86195aa
-Size (msgpack-0.5.6.tar.gz) = 138292 bytes
+SHA1 (msgpack-0.6.2.tar.gz) = 19f52aa24cc16163d64ab1a3c53f2587b723b106
+RMD160 (msgpack-0.6.2.tar.gz) = 48cc4b2df2dad4b6f5b815f15aa262dcdc2db2d6
+SHA512 (msgpack-0.6.2.tar.gz) = 95b92e3d35e0500dd4256d18bf76e586e57cc66319b4459ac5daef599277a5049177a89ad86e291dbdc4c7a918901a89d9218353ddc4a7d0b399e8a98afef363
+Size (msgpack-0.6.2.tar.gz) = 119062 bytes

Home | Main Index | Thread Index | Old Index