---
title: "msgpack 1.2.4 Breaking Changes on PyPI | Since.dev"
description: "What each msgpack release removed, renamed or changed: 30 breaking changes in 4 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/msgpack
last_updated: 2026-12-04
---

# 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

Latest version `1.2.4`, released October 26, 2026. [Source repository](https://github.com/msgpack/msgpack-python)

Its 1.0.0 release drops Python 2. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.6.0](#v-0-6-0) to [1.2.4](#v-1-2-4): 14 breaking changes in 3 versions.

## msgpack 1.2.4 breaking changes

msgpack 1.2.4, released October 26, 2026: 1 breaking change.

- **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](https://github.com/msgpack/msgpack-python/releases/tag/v1.2.4)

## msgpack 1.2.2 breaking changes

msgpack 1.2.2, released August 27, 2026: 3 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](https://github.com/msgpack/msgpack-python/releases/tag/v1.2.2)
- **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](https://github.com/msgpack/msgpack-python/releases/tag/v1.2.2)
- **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](https://github.com/msgpack/msgpack-python/releases/tag/v1.2.2)

## msgpack 1.0.0 breaking changes

msgpack 1.0.0, released February 18, 2020: 10 breaking changes.

- **Removed**  

The C extension msgpack/\_cmsgpack no longer supports Python 2. The pure-Python msgpack/fallback still supports it. [github.com](https://github.com/msgpack/msgpack-python/blob/v1.0.0/ChangeLog.rst)
- **Removed**  

Support for the old buffer protocol was removed. [github.com](https://github.com/msgpack/msgpack-python/blob/v1.0.0/ChangeLog.rst)
- **Removed** `msgpack.fallback.unpack`  

msgpack.fallback.unpack was removed in msgpack 1.0.0 [pypi.org](https://pypi.org/project/msgpack/1.0.0/)
- **Removed** `Packer.encoding`  

The encoding option was removed from the Packer class and code passing it must be updated. [github.com](https://github.com/msgpack/msgpack-python/blob/v1.0.0/ChangeLog.rst)
- **Removed** `Unpacker.encoding`  

The encoding option was removed from the Unpacker class and code passing it must be updated. [github.com](https://github.com/msgpack/msgpack-python/blob/v1.0.0/ChangeLog.rst)
- **Behavior changed** `Unpacker`  

String map keys are interned when unpacked, which changes object identity behavior for those keys. [github.com](https://github.com/msgpack/msgpack-python/blob/v1.0.0/ChangeLog.rst)
- **Default changed** `Unpacker.max_buffer_type`  

The default value of max_buffer_type is now 100MiB. [github.com](https://github.com/msgpack/msgpack-python/blob/v1.0.0/ChangeLog.rst)
- **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](https://github.com/msgpack/msgpack-python/blob/v1.0.0/ChangeLog.rst)
- **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](https://pypi.org/project/msgpack/1.0.0/)
- **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](https://pypi.org/project/msgpack/1.0.0/)

## msgpack 0.6.0 breaking changes

msgpack 0.6.0, released November 30, 2018: 16 breaking changes.

- **Removed** `msgpack.fallback.PackOverflowError`  

PackOverflowError is removed. Catch the normal OverflowError instead. [pypi.org](https://pypi.org/project/msgpack/0.6.0/)
- **Removed** `msgpack.fallback.PackValueError`  

PackValueError is removed. Catch the normal ValueError instead. [pypi.org](https://pypi.org/project/msgpack/0.6.0/)
- **Removed** `msgpack.fallback.PY3`  

msgpack.fallback.PY3 was removed in msgpack 0.6.0 [pypi.org](https://pypi.org/project/msgpack/0.6.0/)
- **Removed** `msgpack.fallback.Unicode`  

msgpack.fallback.Unicode was removed in msgpack 0.6.0 [pypi.org](https://pypi.org/project/msgpack/0.6.0/)
- **Removed** `msgpack.fallback.UnpackValueError`  

msgpack.fallback.UnpackValueError was removed in msgpack 0.6.0 [pypi.org](https://pypi.org/project/msgpack/0.6.0/)
- **Behavior changed** `UnpackValueError`  

The unpacker no longer wraps underlying ValueError (including UnicodeError) into UnpackValueError. Catch ValueError or Exception instead. [github.com](https://github.com/msgpack/msgpack-python/blob/v0.6.0/ChangeLog.rst)
- **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](https://github.com/msgpack/msgpack-python/blob/v0.6.0/ChangeLog.rst)
- **Signature changed** `msgpack.PackException`  

Was class PackException(Exception); now PackException. [pypi.org](https://pypi.org/project/msgpack/0.6.0/)
- **Signature changed** `msgpack.PackOverflowError`  

Was class PackOverflowError(PackValueError, OverflowError); now PackOverflowError. [pypi.org](https://pypi.org/project/msgpack/0.6.0/)
- **Signature changed** `msgpack.PackValueError`  

Was class PackValueError(PackException, ValueError); now PackValueError. [pypi.org](https://pypi.org/project/msgpack/0.6.0/)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
