Hypothesis-jsonschema

Latest version: v0.23.1

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

Scan your dependencies

Page 6 of 11

0.10.3

- Improved canonicalisation of conflicting `minProperties` and `maxProperties`
- Explictly reject draft-03 schemata, which are not supported
- More specific type annotations for `from_schema`
- Better performance for certain object schemata

0.10.2

- `enum` schema now shrink to a minimal example rather than the first value listed.
This also makes the internals more efficient in certain rare cases.
- Improved handling of bounded numeric sub-schemas

0.10.1

- Improved handling of non-integer numeric schemas with `multipleOf`
- Improved handling of `not` in many common cases
- Improved handling of object schemas with `dependencies` on required keys
- Fixed cases where `propertyNames` bans a `required` key

0.10.0

- Improved handling of numeric schemas, especially integer schemas with `multipleOf`.
- Bump the minimum version of Hypothesis to ensure that all users have the unique
array bugfix from `0.9.12`.
- Fixed a bug where array schemas with an array of `items`, `additionalItems: false`,
and a `maxItems` larger than the number of allowed items would resolve to an
invalid strategy.

0.9.13

- Improved internal handling of schemas for arrays which must always be length-zero.

0.9.12

- Fixed RFC 3339 strings generation. Thanks to Dmitry Dygalo for the patch!
- Fixed a bug where equal floats and ints could be generated in a unique array,
even though JSONSchema considers 0 === 0.0
(though this may also require an upstream fix to work...)

Page 6 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.