Mashumaro

Latest version: v3.15

Safety actively analyzes 714860 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 12

3.1.1

Changes
--------
* Fixed using compiled mixins with inheritance. See https://github.com/Fatal1ty/mashumaro/issues/87.

3.1

Changes
--------
* Added support for Python 3.11
* Added support for `typing.Self` and `typing_extensions.Self`
* In addition to `from_dict` and `to_dict`, methods in other mixins can also be compiled now
* Increased speed of serialization and deserialization in MessagePack when using `DataClassMessagePackMixin`:
* Removed the implicit inclusion of the `ADD_DIALECT_SUPPORT` config option when using `DataClassMessagePackMixin`
* Methods `from_msgpack` and `to_msgpack` are now compiled
* Added [`DataClassORJSONMixin`](https://github.com/Fatal1ty/mashumaro#dataclassorjsonmixin) to use a third-party [`orjson`](https://github.com/ijl/orjson) library that will handle supported data types by itself
* Added new [`orjson_options`](https://github.com/Fatal1ty/mashumaro#orjson_options-config-option) config option to change default options passing to `orjson.dumps` method
* Methods `to_jsonb` and `to_json` have `orjson_options` keyword argument to override the default options
* Added support for [TOML](https://toml.io/en/) format using [`DataClassTOMLMixin`](https://github.com/Fatal1ty/mashumaro#dataclasstomlmixin)

3.0.4

Changes
--------
* Fixed using fields with `init=False` — they are skipped during deserialization now. See https://github.com/Fatal1ty/mashumaro/issues/82.

3.0.3

Changes
--------
* Fixed using dialects for `DataClassMessagePackMixin`. See https://github.com/Fatal1ty/mashumaro/issues/76.

3.0.2

Changes
--------
* Fixed using dialects with inheritance. See https://github.com/Fatal1ty/mashumaro/issues/78.

3.0.1

Changes
--------
* Fixed using Optional in tuples, named tuples and typed dicts. See https://github.com/Fatal1ty/mashumaro/issues/73.

Page 4 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.