Skip to content

Commit 9cea8b6

Browse files
authored
Release v1.1.0rc1 (#609)
1 parent 33e0e86 commit 9cea8b6

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

ChangeLog.rst

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
1.1.0rc1
2+
========
3+
4+
Release Date: 2024-05-07
5+
6+
* Update Cython to 3.0.10 to reduce C warnings and future support for Python 3.13.
7+
* Stop using C++ mode in Cython to reduce compile error on some compilers.
8+
* ``Packer()`` has ``buf_size`` option to specify initial size of
9+
internal buffer to reduce reallocation.
10+
* The default internal buffer size of ``Packer()`` is reduced from
11+
1MiB to 256KiB to optimize for common use cases. Use ``buf_size``
12+
if you are packing large data.
13+
* ``Timestamp.to_datetime()`` and ``Timestamp.from_datetime()`` become
14+
more accurate by avoiding floating point calculations. (#591)
15+
* The Cython code for ``Unpacker`` has been slightly rewritten for maintainability.
16+
* The fallback implementation of ``Packer()`` and ``Unpacker()`` now uses keyword-only
17+
arguments to improve compatibility with the Cython implementation.
18+
119
1.0.8
220
=====
321

@@ -130,7 +148,7 @@ Important changes
130148
* unpacker: Default value of input limits are smaller than before to avoid DoS attack.
131149
If you need to handle large data, you need to specify limits manually. (#319)
132150

133-
* Unpacker doesn't wrap underlaying ``ValueError`` (including ``UnicodeError``) into
151+
* Unpacker doesn't wrap underlying ``ValueError`` (including ``UnicodeError``) into
134152
``UnpackValueError``. If you want to catch all exception during unpack, you need
135153
to use ``try ... except Exception`` with minimum try code block. (#323, #233)
136154

msgpack/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
from .exceptions import * # noqa: F403
55
from .ext import ExtType, Timestamp
66

7-
version = (1, 0, 8)
8-
__version__ = "1.0.8"
7+
version = (1, 1, 0, "rc1")
8+
__version__ = "1.1.0rc1"
99

1010

1111
if os.environ.get("MSGPACK_PUREPYTHON"):

0 commit comments

Comments
 (0)