Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions 9 CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# 1.2.1

Release Date: 2026-06-19

Fix a segfault when calling `Unpacker.unpack()` or `Unpacker.skip()` after an unpacking failure.
But note that reusing the same `Unpacker` instance after an unpacking failure is not supported.
Please create a new `Unpacker` instance instead. GHSA-6v7p-g79w-8964


# 1.2.0

Release Date: 2026-06-11
Expand Down
6 changes: 5 additions & 1 deletion 6 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ for unpacked in unpacker:
print(unpacked)
```

> [!IMPORTANT]
> If `Unpacker.unpack()` stops with an exception other than `OutOfData`, that `Unpacker` cannot be reused.
> Create a new `Unpacker` when reading another stream.


### Packing/unpacking of custom data types

Expand Down Expand Up @@ -220,7 +224,7 @@ When upgrading from msgpack-0.4 or earlier, do `pip uninstall msgpack-python` be

* The extension module no longer supports Python 2.
The pure Python implementation (`msgpack.fallback`) is used for Python 2.

* msgpack 1.0.6 drops official support of Python 2.7, as pip and
GitHub Action "setup-python" no longer supports Python 2.7.

Expand Down
4 changes: 2 additions & 2 deletions 4 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, 2, 0)
__version__ = "1.2.0"
version = (1, 2, 1)
__version__ = "1.2.1"


if os.environ.get("MSGPACK_PUREPYTHON"):
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.