msgpack breaking changes
msgpack 1.2.4 (October 26, 2026) is its newest release with breaking changes. The first: Behavior changed Unpacker.read_bytes. Every breaking API change we have recorded in msgpack on PyPI: 30 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.2.4, released October 26, 2026. Source repository
Its 1.0.0 release drops Python 2. Python end of life dates.
msgpack 1.2.4 breaking changes
- Behavior changed
Unpacker.read_bytes
The pure-Python fallback Unpacker.read_bytes now returns bytes. Code that relied on the previous return type in the fallback may need to be checked. github.com
msgpack 1.2.2 breaking changes
- Behavior changed
Out-of-range nanoseconds in timestamps are now rejected during unpacking in the C extension. Code that depended on accepting such values will now see an error. github.com - Behavior changed
Unpacker.skip
Deeply nested input in the fallback Unpacker.skip() now raises StackError rather than RecursionError. Code catching RecursionError must catch StackError instead. github.com - Behavior changed
use_single_float
Values that use_single_float cannot represent now raise OverflowError instead of being packed silently. Code that relied on the silent behavior must handle the exception. github.com
msgpack 1.0.0 breaking changes
- Removed
The C extension msgpack/_cmsgpack no longer supports Python 2. The pure-Python msgpack/fallback still supports it. github.com - Removed
Support for the old buffer protocol was removed. github.com - Removed
msgpack.fallback.unpack
msgpack.fallback.unpack was removed in msgpack 1.0.0 pypi.org - Removed
Packer.encoding
The encoding option was removed from the Packer class and code passing it must be updated. github.com - Removed
Unpacker.encoding
The encoding option was removed from the Unpacker class and code passing it must be updated. github.com - Behavior changed
Unpacker
String map keys are interned when unpacked, which changes object identity behavior for those keys. github.com - Default changed
Unpacker.max_buffer_type
The default value of max_buffer_type is now 100MiB. github.com - Default changed
Unpacker.strict_map_key
strict_map_key is now enabled by default, so non-string or non-bytes map keys are rejected unless it is turned off. github.com - Signature changed
msgpack.Packer.__init__
Was def __init__(self, default=None, encoding=None, unicode_errors=None, use_single_float=False, autoreset=True, use_bin_type=False, strict_types=False); now def __init__(self, default=None, use_single_float=False, autoreset=True... pypi.org - Signature changed
msgpack.Unpacker.__init__
Was def __init__(self, file_like=None, read_size=0, use_list=True, raw=True, strict_map_key=False, object_hook=None, object_pairs_hook=None, list_hook=None, encoding=None, unicode_errors=None, max_buffer_size=0, ext_hook=ExtType... pypi.org
msgpack 0.6.0 breaking changes
- Removed
msgpack.fallback.PackOverflowError
PackOverflowError is removed. Catch the normal OverflowError instead. pypi.org - Removed
msgpack.fallback.PackValueError
PackValueError is removed. Catch the normal ValueError instead. pypi.org - Removed
msgpack.fallback.PY3
msgpack.fallback.PY3 was removed in msgpack 0.6.0 pypi.org - Removed
msgpack.fallback.Unicode
msgpack.fallback.Unicode was removed in msgpack 0.6.0 pypi.org - Removed
msgpack.fallback.UnpackValueError
msgpack.fallback.UnpackValueError was removed in msgpack 0.6.0 pypi.org - Behavior changed
UnpackValueError
The unpacker no longer wraps underlying ValueError (including UnicodeError) into UnpackValueError. Catch ValueError or Exception instead. github.com - Default changed
The default input limits in the unpacker are smaller to avoid denial-of-service attacks. If you handle large data, set the limits manually. github.com - Signature changed
msgpack.PackException
Was class PackException(Exception); now PackException. pypi.org - Signature changed
msgpack.PackOverflowError
Was class PackOverflowError(PackValueError, OverflowError); now PackOverflowError. pypi.org - Signature changed
msgpack.PackValueError
Was class PackValueError(PackException, ValueError); now PackValueError. pypi.org
And 6 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.