Typical

Latest version: v2.8.1

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

Scan your dependencies

Page 7 of 12

2.0.29

This release patches an issue were repeated Unions in a single object resulted in an invalid JSON Schema. (Thanks to syastrov for finding the bug and contributing the fix in 123 & 124 )

2.0.28

This fixes a regression handling the `format` field in JSON Schema objects caused by more strict handling of given values on serialization.

This regression prevented any JSON Schemas with a special format from successfully running validation (resolves 21 )

2.0.27

- Use a stack for recursion prevention in SchemaBuilder and clean up unused paths.
- Use a stack for recursion prevention in Constraints factory.
- Properly handle ClassVar Parameter mocking.

2.0.26

This release improves the speed and determinism of Recursive Type detection, while drastically reducing CPU and memory footprint during resolution.

This also adds a fix which ensures child objects with delayed annotations always report their full annotations from parent objects as well.

2.0.25

As part of the changes to handle recursive types, we added recursion detection. We re-worked it in the last version to minimize its impact. However, it was still significantly hampering performance at compile-time.

This resolves that bottleneck by removing the recursion check and adding awareness of "parent" types when resolving constraints and schemas.

2.0.24

- Use live trace to track seen frames rather than count all the frames in the stack when checking for recursion (resolves 116)
- Check for iterable types instead of collection types when resolving an iterator for an object (resolves 115)

Page 7 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.