Skip to content

Commit

Permalink
Release v1.1.0rc1 (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed May 7, 2024
1 parent 33e0e86 commit 9cea8b6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
20 changes: 19 additions & 1 deletion ChangeLog.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
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 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
=====

Expand Down Expand Up @@ -130,7 +148,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)

Expand Down
4 changes: 2 additions & 2 deletions msgpack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit 9cea8b6

Please sign in to comment.