Typical

Latest version: v2.8.1

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

Scan your dependencies

Page 9 of 12

2.0.17

pendulum` provides a factory function for converting an instance of `datetime.datetime` to `pendulum.DateTime`. We now us this factory if possible in the generated deserializer.

2.0.16

Improvements:
- Expanded benchmarks suite.
- Huge optimizations for functional/protocol API.
- Unify method for naming generated functions.
- Explicitly handle misconfigured serialization with clear error messages.

Bugfixes:
- Fixes conversion between path-types (resolves 88).
- Fixes validation of builtin types (resolves 89).
- Fixes validation of nested, constrained, optional types (These previously did not respect `optional/nullable` flags).

2.0.15

pathlib` makes use of meta-classes to determine the correct path-type on init. This caused validation to fail for Path sub-classes in Unions (85).

2.0.14

This fixes a regression in compiling mapping deserializers which was introduced when adding support for defaultdict, which caused optional mappings to fail to compile.

This resolves 83.

2.0.13

This adds a new lazy evaluation of field names during validation, saving any computational cost until error-reporting (resolves 81). Additionally, this is now appropriately type-safe for Mapping constraints (resolves 80).

This also iscreases the validation-strictness for high-level builtins (resolves 55).

2.0.12

This introduces the following changes:

- Improvement: Stricter validation of inputs for typed classes (78)
- Improvement: Cleaner reprs for Constraints more readable error reporting
- Bugfix: Always use the intersection of fields_in and value keys in des.

Page 9 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.