Mashumaro

Latest version: v3.15

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

Scan your dependencies

Page 6 of 12

2.8

* Added support for Python 3.10
* PEP 585 compliance
* Added support for `TypedDict`
* Added support for typed `NamedTuple` and untyped `namedtuple`
* Fixed `Tuple` serialization and deserialization. Before 2.8 all values of tuples were deserialized as if they were values of the first type, no matter how many values the tuple was supposed to take. Now the following types are handled correctly: `Tuple[int]`, `Tuple[int, ...]`, `Tuple[int, str]`, `Tuple[()]`, `Tuple`.

2.7

Changes
--------

* Added extended support for user-defined generic types. See [here](https://github.com/Fatal1ty/mashumaro/#user-defined-generic-types) for details.

2.6.4

Changes
--------

* Fixed serialization of `Optional` types inside collections (https://github.com/Fatal1ty/mashumaro/issues/54)

2.6.3

Changes
--------

* Fixed serialization of `np.ndarray` and other third-party collection types (https://github.com/Fatal1ty/mashumaro/issues/53)

2.6.2

Changes
--------

* Fixed broken `type_name` for `Optional` types
* Fixed broken `from_dict` method when using `TypeVar` with a `bound` parameter

2.6.1

Changes
--------

* Fixed broken `MissingField` and `InvalidFieldValue` exceptions with shortened generic type names

Page 6 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.