Skip to content

Commit a284599

Browse files
authored
Prepare v1.2.4 release (#756)
1 parent 4d189e7 commit a284599

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# 1.2.4
2+
3+
Release Date: 2026-10-27
4+
5+
- Limit container preallocation to 10000 items to prevent excessive memory
6+
allocation from deeply nested, large array or map headers. Larger containers
7+
grow as their contents are decoded; `max_array_len` and `max_map_len` still
8+
limit their total size.
9+
See [GHSA-j8c6-9vc5-hj6x](https://github.com/msgpack/msgpack-python/security/advisories/GHSA-j8c6-9vc5-hj6x).
10+
- Pass a list of pairs to `object_pairs_hook` in the pure Python unpacker,
11+
ensuring that the entire map is consumed even if the hook does not iterate
12+
over its argument. #744
13+
- Leave the next object unread when `read_array_header()` or `read_map_header()`
14+
raises `ValueError` for a mismatched type in the pure Python unpacker. #748
15+
- Return `bytes` from `Unpacker.read_bytes()` in the pure Python implementation,
16+
matching the C extension. #747
17+
- Update GitHub Actions dependencies, including cibuildwheel to 4.3.1. #749
18+
19+
120
# 1.2.3
221

322
Release Date: 2026-09-29

‎msgpack/__init__.py‎

Lines changed: 2 additions & 2 deletions
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, 2, 3)
8-
__version__ = "1.2.3"
7+
version = (1, 2, 4)
8+
__version__ = "1.2.4"
99

1010

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

0 commit comments

Comments
 (0)