Skip to content
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
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# 1.2.4

Release Date: 2026-10-27

- Limit container preallocation to 10000 items to prevent excessive memory
allocation from deeply nested, large array or map headers. Larger containers
grow as their contents are decoded; `max_array_len` and `max_map_len` still
limit their total size.
See [GHSA-j8c6-9vc5-hj6x](https://github.com/msgpack/msgpack-python/security/advisories/GHSA-j8c6-9vc5-hj6x).
- Pass a list of pairs to `object_pairs_hook` in the pure Python unpacker,
ensuring that the entire map is consumed even if the hook does not iterate
over its argument. #744
- Leave the next object unread when `read_array_header()` or `read_map_header()`
raises `ValueError` for a mismatched type in the pure Python unpacker. #748
- Return `bytes` from `Unpacker.read_bytes()` in the pure Python implementation,
matching the C extension. #747
- Update GitHub Actions dependencies, including cibuildwheel to 4.3.1. #749


# 1.2.3

Release Date: 2026-09-29
Expand Down
8 changes: 4 additions & 4 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Security contact information
## Reporting a Vulnerability

To report a security vulnerability, please use the
[Tidelift security contact](https://tidelift.com/security).
Tidelift will coordinate the fix and disclosure.
If you discover a security vulnerability, please report it privately using [GitHub's vulnerability reporting feature](https://github.com/msgpack/msgpack-python/security/advisories/new).

Please do not disclose security vulnerabilities through public GitHub issues.
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, 2, 3)
__version__ = "1.2.3"
version = (1, 2, 4)
__version__ = "1.2.4"


if os.environ.get("MSGPACK_PUREPYTHON"):
Expand Down
Loading