NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI
A portable, lightweight MessagePack serializer and deserializer written in pure Python.
Latest stable
2.9.0
Last release 21 days ago
13 Nov 2026
Release timing varies
gaps range from 3 weeks to 3.5 years
Nearly every release is documented
notes for 19 of 19 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
19 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Catch interpreter's RecursionError for deeply-nested inputs during unpacking and re-raise it as MaximumDepthException, a new subclass of UnpackExcepti
RecursionError for deeply-nested inputs during
unpacking and re-raise it as MaximumDepthException, a new subclass of
UnpackException.
max_depth option to unpacking functions to limit array/map
nesting depth during unpacking.Migrate documentation to Sphinx.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix hex formatting of data bytes in Ext string representation.
Add Ext type value validation to Ext class and ext_serializable() decorator.
ext_serializable() decorator.
% to .format() throughout codebase.Add support for packing subclasses of ext_serializable() application classes.
ext_serializable() application classes.
Add use_tuple option to unpacking functions for unpacking MessagePack arrays into tuples.
use_tuple option to unpacking functions for unpacking MessagePack arrays into tuples.
ext_serializable() decorator for registration of application classes with Ext types for automatic packing and unpacking.Fix DeprecationWarning about using ABCs from 'collections' on Python 3.7.
Fix handling of naive/aware datetime objects when packing the timestamp extension type.
Add support for the timestamp extension type.
Fix module version tuple inconsistency.
Add hash special method to Ext class.
Add ext_handlers option to packing and unpacking functions to support application-defined Ext packing and unpacking hooks.
ext_handlers option to packing and unpacking functions to support application-defined Ext packing and unpacking hooks.
allow_invalid_utf8 option to unpacking functions to allow unpacking of invalid UTF-8 strings.Add use_ordered_dict option to unpacking functions for unpacking MessagePack maps into the collections.OrderedDict type.
use_ordered_dict option to unpacking functions for unpacking MessagePack maps into the collections.OrderedDict type.
bytearray type to unpackb/loads functions.Improve array and map unpacking performance under Python 2.
__version__ attribute.Add streaming serialization and deserialization with pack/dump and unpack/load, respectively, for file-like objects.
pack/dump and unpack/load, respectively, for file-like objects.Add support for unpacking maps with array container keys. Thanks to ralphjzhang for the report and suggestion (https://github.com/vsergeev/u-msgpack-p
Fix wide character unicode string serialization. Thanks to cforger for the bug report and fix (https://github.com/vsergeev/u-msgpack-python/issues/8).
version tuple.dumps and loads serialization/deserialization aliases.KeyNotPrimitiveException -> UnhashableKeyException and KeyDuplicateException -> DuplicateKeyException. Add aliases for backwards compatibility.Hide internal helper functions from module's exported names.
Add type checking to Ext class initialization.
One column per quarter.