From 3278eb90e26613adbd59755851cd582e95264dfc Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Mon, 6 May 2024 02:33:28 +0900 Subject: [PATCH 1/4] Update changelog for 1.1.0rc1 --- ChangeLog.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ChangeLog.rst b/ChangeLog.rst index 2408bc9f..7290a68d 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,3 +1,20 @@ +1.1.0rc1 +======== + +Release Date: 2024-05-07 + +* Update Cython to 3.0.10 to reduce C warnings and future support for Python 3.13. +* Stop using C++ mode in Cython to reduce compile error on some compilers. +* ``Packer()`` has ``buf_size`` option to specify initial size of + internal buffer to reduce reallocation. +* The default internal buffer size of ``Packer()`` is reduced from + 1MiB to 256KiB to optimize for common use cases. Use ``buf_size`` + if you are packing large data. +* ``Timestamp.to_datetime()`` and ``Timestamp.from_datetime()`` become + more acculate by avoiding floating point calculations. (#591) +* The Cython code for ``Unpacker`` has been slightly rewritten for maintainability. + + 1.0.8 ===== From 268b1ae6e65eb061090b7db4624f78ec274067cd Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Mon, 6 May 2024 19:12:02 +0900 Subject: [PATCH 2/4] bump version number --- msgpack/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msgpack/__init__.py b/msgpack/__init__.py index e796efb0..c2525444 100644 --- a/msgpack/__init__.py +++ b/msgpack/__init__.py @@ -4,8 +4,8 @@ from .exceptions import * # noqa: F403 from .ext import ExtType, Timestamp -version = (1, 0, 8) -__version__ = "1.0.8" +version = (1, 1, 0, "rc1") +__version__ = "1.1.0rc1" if os.environ.get("MSGPACK_PUREPYTHON"): From c475eae7481ee99d1154fe513cd6db30403017d3 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Mon, 6 May 2024 19:24:23 +0900 Subject: [PATCH 3/4] fix typo --- ChangeLog.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 7290a68d..473ad0ab 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -11,7 +11,7 @@ Release Date: 2024-05-07 1MiB to 256KiB to optimize for common use cases. Use ``buf_size`` if you are packing large data. * ``Timestamp.to_datetime()`` and ``Timestamp.from_datetime()`` become - more acculate by avoiding floating point calculations. (#591) + more accurate by avoiding floating point calculations. (#591) * The Cython code for ``Unpacker`` has been slightly rewritten for maintainability. @@ -147,7 +147,7 @@ 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 +* Unpacker doesn't wrap underlying ``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) From d26ba40e181c47625af638b0ee120e07a1c629cf Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Mon, 6 May 2024 19:29:59 +0900 Subject: [PATCH 4/4] add one paragraph --- ChangeLog.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 473ad0ab..9b16e41f 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -13,7 +13,8 @@ Release Date: 2024-05-07 * ``Timestamp.to_datetime()`` and ``Timestamp.from_datetime()`` become more accurate by avoiding floating point calculations. (#591) * The Cython code for ``Unpacker`` has been slightly rewritten for maintainability. - +* The fallback implementation of ``Packer()`` and ``Unpacker()`` now uses keyword-only + arguments to improve compatibility with the Cython implementation. 1.0.8 =====