Changelog¶
1.12.2 - 2026-01-18¶
Changed¶
Add Python 3.14 free-threaded Windows x86_64 wheel
Improve serialization performance
Update dependencies
Fixed¶
Fix
unpackbcrash on Windows with Python 3.14 free-threaded and on Linux s390x (#499)
1.12.1 - 2025-12-14¶
Changed¶
Revamp the documentation. The documentation is now generated with Sphinx and is available at https://ormsgpack.readthedocs.io
Fixed¶
Fix serialization of pydantic models with extra fields (#472)
1.12.0 - 2025-11-04¶
Changed¶
Drop support for Python 3.9
Add
packboptionOPT_REPLACE_SURROGATESto serialize strings that contain surrogate code points
Fixed¶
Serialize mutable objects inside a critical section in free threading
1.11.0 - 2025-10-08¶
Changed¶
1.10.0 - 2025-05-24¶
Changed¶
Port to PyPy 3.11 and GraalPy 3.11
Add support for
bytearrayandmemoryviewtypes (#374 by littledivy)Add
packbandunpackboptionOPT_DATETIME_AS_TIMESTAMP_EXTto serialize aware datetime objects to timestamp extension objects and deserialize timestamp extension objects to UTC datetime objects, respectively (#378)
1.9.1 - 2025-03-28¶
Changed¶
Add musllinux wheels (#366)
1.9.0 - 2025-03-23¶
Changed¶
1.8.0 - 2025-02-22¶
Fixed¶
packbnow rejects dictionary keys with nested dataclasses or pydantic models
Changed¶
Add
packboptionOPT_PASSTHROUGH_UUIDto enable passthrough of UUID objects (#338)Update dependencies
1.7.0 - 2024-11-29¶
Fixed¶
Detect Pydantic 2.10 models (#311)
Fix serialization of dataclasses without
__slots__and with a field defined with a descriptor object as default value, a field defined withinit=Falseand a default value, or a cached property
Changed¶
Drop support for Python 3.8
Support
OPT_SORT_KEYSalso for Pydantic models (#312)Improve deserialization performance
1.6.0 - 2024-10-18¶
Fixed¶
Changed¶
Add support for python 3.13
Improve test coverage
1.5.0 - 2024-04-19¶
Changed¶
Add support for numpy datetime64 and float16 types
Optimize serialization of dataclasses
Optimize deserialization of arrays and maps
1.4.2 - 2024-01-28¶
Fixed¶
Fix crash on termination with Python 3.11 (#223)
Changed¶
1.4.1 - 2023-11-12¶
Fixed¶
Fix performance regression in dict serialization introduced in 1.3.0
1.4.0 - 2023-11-05¶
Fixed¶
Fix crash in non optimized builds
Changed¶
Add support for MessagePack Extension type
Add support for numpy 16-bit integers
1.3.0 - 2023-10-04¶
Changed¶
Drop support for Python 3.7
Add support for Python 3.12
Add support for Pydantic 2
Add
packboptionOPT_SORT_KEYSto serialize dictionaries sorted by keyUpdate dependencies
1.2.6 - 2023-04-24¶
Fixed¶
1.2.5 - 2023-02-02¶
Fixed¶
aarch64 build on macOS. Took
src/serialize/writer.rsfrom upstream orjson. by @ijlFix release on aarch64 to match orjson’s upstream.
Misc¶
update dependencies
1.2.4 - 2022-11-16¶
Misc¶
Fix CI (upgrade maturin, warnings, etc.)
1.2.3 - 2022-06-26¶
Misc¶
1.2.2 - 2022-04-19¶
Misc¶
Update dependencies
1.2.1 - 2022-03-01¶
Misc¶
Release 3.10 wheels
Update dependencies
1.2.0 - 2022-02-14¶
Changed¶
Misc¶
1.1.0 - 2022-01-08¶
Added¶
Changed¶
optparameter can beNone.
Misc¶
Updated dependencies.
Dropped 3.6 CI/CD.
Added macOS universal builds (M1)
1.0.3 - 2021-12-18¶
Misc¶
Update dependencies
1.0.2 - 2021-10-26¶
Misc¶
Update dependencies
1.0.1 - 2021-10-13¶
Fixed¶
Changed¶
Updated dependencies.
find_str_kindtest for 4-byte before latin1. by @ilj
1.0.0 - 2021-08-31¶
Changed¶
Aligned to orjson’s flags and features of SIMD. Didn’t include the stable compilation part as seems unnecessary.
Misc¶
Bumped serde, pyo3.
Fixed pyproject.toml to work with newest maturin version.
0.3.6 - 2021-08-24¶
Misc¶
Update dependencies.
0.3.5 - 2021-08-05¶
Fixed¶
Fixed clippy warnings for semicolon in macro.
Misc¶
Bumped serde.rs
0.3.4 - 2021-07-27¶
Fixed¶
Fixed
ormsgpack.pyisupport of str as input forunpackb.
Misc¶
Fixed Windows CI/CD.
0.3.3 - 2021-07-23¶
Misc¶
Refactored adding objects to the module, creating a
__all__object similar to the way PyO3 creates. This solves an issue with upgrading to new maturin version.Changed < Py3.7 implementation to use automatic range inclusion.
Added test to validate correct Python method flags are used on declare.
Changed to use PyO3 configurations instead of our own. (#25 by pejter)
0.3.2 - 2021-07-13¶
Fixed¶
Fix memory leak serializing
datetime.datetimewithtzinfo. (Copied from orjson)
Changed¶
Update dependencies, PyO3 -> 0.14.1.
Misc¶
Setup dependabot.
0.3.1 - 2021-06-25¶
Changed¶
Misc¶
0.3.0 - 2021-06-13¶
Added¶
unpackbnow accepts keyword argumentoptionwith argumentOPT_NON_STR_KEYS. This option will let ormsgpack unpack dictionaries with non-str keys. Be aware that this option is considered unsafe and disabled by default in msgpack due to possibility of HashDoS.packbnow is able to pack dictionaries with tuples as keys.unpackbis able to unpack such dictionaries. Both requiresOPT_NON_STR_KEYS.
Misc¶
Grouped benchmarks in a pattern that should make more sense.
Added pydantic docs to
README.mdAdded graphs and benchmark results.
0.2.1 - 2021-06-12¶
Fixed¶
Depth limit is now enforced for
ormsgpack.unpackb- function should be safe for use now.
Removed¶
Removed
OPT_SERIALIZE_UUIDfrom ormsgpack.pyi as it doesn’t exist.
Misc¶
Added
scripts/test.shfor running tests.Added benchmarks, modified scripts to match new layout.
0.2.0 - 2021-06-10¶
Added¶
Add support for serializing pydantic’s
BaseModelinstances usingormsgpack.OPT_SERIALIZE_PYDANTIC.
Fixed¶
ormsgpack.packbwithoptionargument asormsgpack.OPT_NON_STR_KEYSserializes bytes key into tuple of integers instead of using bin type. This also resulted in asymmetrical packb/unpackb.
Misc¶
Added
--no-indextopip install ormsgpackto avoid installing from PyPI on CI.
0.1.0 - 2021-06-09¶
First version, changed orjson to ormsgpack.