pypi / msgpack
msgpack
What changed in msgpack 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
2 breaking4 security1 behavior and defaults1 tooling4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initmsgpack 112 changes
Breaking changes 2
Negative array and map header sizes are now rejected.
Raises OverflowError when use_single_float cannot represent a value.
Security 4
The C extension validates the nanoseconds range when unpacking timestamps.
Fixes a use-after-free in the ExtraData path when input is non-contiguous.
Adds a reentrant guard to feed(), preventing unsafe reentrant calls.
MessagePack for Python: Out-of-bounds read / crash on Unpacker reuse after a caught error
Behavior and default changes 1
Packing now supports Python 3.15 frozentdict.
Tooling 1
Wheels are now also built for Pyodide using Emscripten.
Fixes and other changes 4
Fixes memory leaks when map key validation or container hooks fail.
Fixes timestamp precision for far-future datetimes.
The fallback Unpacker.skip() translates RecursionError to StackError.
Improves error handling and reporting when unpacking.