This release adds support for ClassVars with mutable defaults by ignoring them when calculating the hash for a resolved annotation.
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.