Marshmallow-dataclass

Latest version: v8.7.1

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

Scan your dependencies

Page 1 of 7

8.7.1

- Relax dependency pins for `typeguard` and `typing-inspect`. ([273], [272])

[272]: https://github.com/lovasoa/marshmallow_dataclass/issues/272
[273]: https://github.com/lovasoa/marshmallow_dataclass/pull/273

8.7.0

- Drop support for python 3.6 and 3.7. Test under python 3.12. ([263])
- Add support for using `Annotated` (rather than our now deprecated
custom `NewType`) to associate marshmallow configuration with
particular types. ([257])
- Update pin to allow typeguard 4.*. This fixes issues with `Union`s
of generic types. ([260], [261], [250])

[250]: https://github.com/lovasoa/marshmallow_dataclass/issues/250
[257]: https://github.com/lovasoa/marshmallow_dataclass/pull/257
[260]: https://github.com/lovasoa/marshmallow_dataclass/pull/260
[261]: https://github.com/lovasoa/marshmallow_dataclass/pull/261
[263]: https://github.com/lovasoa/marshmallow_dataclass/pull/263

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

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.