Marshmallow-dataclass

Latest version: v8.6.1

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

Scan your dependencies

Page 1 of 7

8.6.1

- (Mostly) fix [memory leak][198] when using
`marshamallow_dataclass.dataclass` decorator. ([258], thank you mvanderlee!)
- Fix docstring formatting for `class_schema`. ([249])
- Do not ignore `Union` argument ordering in tests. Note that a
[bug][247] remains: semantically, `Union`s do not respect argument
order, yet order matters for de/serialization. ([248])

[198]: https://github.com/lovasoa/marshmallow_dataclass/issues/198
[247]: https://github.com/lovasoa/marshmallow_dataclass/issues/247
[248]: https://github.com/lovasoa/marshmallow_dataclass/pull/248
[249]: https://github.com/lovasoa/marshmallow_dataclass/pull/249
[258]: https://github.com/lovasoa/marshmallow_dataclass/pull/258

8.6.0

- New field in associated Meta classes: `include_non_init`:
- This adds the ability to include non init-ed fields into the schema

8.5.14

- Pin `typing-extensions>=2.4.0` to ensure support for the
`field_specifiers` paramter of the `dataclass_transform` decorator.
([240])

- Tighten pin on `typing-inspect` in an attempt to prevent
breakage from a hypothetical major version bump.

- Tighten pin on `typeguard` to exclude older versions
for which our tests fail.

[240]: https://github.com/lovasoa/marshmallow_dataclass/issues/240

8.5.13

- Fix to allow type-checkers to properly handle fields initialized
by a `dataclasses.Field` instance. ([239])

[239]: https://github.com/lovasoa/marshmallow_dataclass/pull/239

8.5.12

- Fixes to work with typeguard 3.x. ([235], [234])
- Add the dataclass_transform decorator ([PEP 681]) to
`marshmallow_dataclass.dataclass`. This fixes our mypy plugin for
mypy>=1.1.1.

[234]: https://github.com/lovasoa/marshmallow_dataclass/issues/234
[235]: https://github.com/lovasoa/marshmallow_dataclass/pull/235
[PEP 681]: https://peps.python.org/pep-0681/

8.5.11

- Replace the use of `marshmallow-enum` with the native
`marshmallow.field.Enum` (when using a sufficiently recent version
of `marshmallow`). ([227][], [225][])

[225]: https://github.com/lovasoa/marshmallow_dataclass/issues/225
[227]: https://github.com/lovasoa/marshmallow_dataclass/pull/227

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.