Serdelicacy

Latest version: v0.18.1

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

Scan your dependencies

Page 2 of 4

0.13.0

Added

- Support for deserialization of `typing.Literal`. Lets users to specify an allow-list for string / other input values, removing an entire category of annoying custom validation that users previously needed to write in `__post_init__`.

0.12.0

Added

- New Public API function `serdelicacy.get`. Similar to `dict.get`, that returns an item, or its default if the item is `MISSING`.

Changed

- Error messages modified for terseness

0.11.1

Changed

- Error message JSON keys are now color encoded to draw visual attention to errors: green/blue for normal, red for the error

0.11.0

Changed

- Error messages now in JSON format with better-organized information

Fixed

- Resolved bug where `str` was converted automatically to a List / other sequence. Since `str` is a special-case primitive, we must handle it as a special case within the `_check_sequence` method.

0.10.0

Added

- `is_missing` function added to serdelicacy

Changed

- `UNDEFINED/Undefined` changed to `MISSING/Missing`

0.9.0

Changed

- Project name changed from `serdataclasses` to `serdelicacy`. This reflects this project's evolution beyond simply `dataclasses` into `NamedTuples`, etc. Version `0.9.0` is equivalent to `serdataclasses` `0.8.0` in every other way.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.