diff --git a/CHANGELOG.md b/CHANGELOG.md index b8fbd8ce..82a00627 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +# 1.2.2 + +Release Date: TBD + +- Fix the `read_size` documentation. #700 +- Fix silent truncation when unpacking an out-of-range timestamp with `timestamp=3`. #701 +- Prevent reentrant calls to `Unpacker.feed()` while unpacking. #704 +- Improve error handling and reporting in unpacking functions. #707 +- Fix `Timestamp.from_datetime()` precision for far-future datetimes. #710 +- Fix typos in the documentation. #712 +- Validate the nanoseconds range when unpacking timestamps in the C extension. #716 +- Fix a use-after-free in the `unpackb()` `ExtraData` path for non-contiguous input. #722 +- Prevent a buffer overflow when converting `Packer`'s `buf_size`. #726 +- Translate `RecursionError` to `StackError` in the fallback `Unpacker.skip()`. #727 +- Raise `OverflowError` when `use_single_float=True` cannot represent a value. #728 + + # 1.2.1 Release Date: 2026-06-19 diff --git a/msgpack/__init__.py b/msgpack/__init__.py index eeb85afa..a2ee5669 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, 2, 1) -__version__ = "1.2.1" +version = (1, 2, 2) +__version__ = "1.2.2" if os.environ.get("MSGPACK_PUREPYTHON"):