Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
jsonschema-4.22.0-py3-none-any.whl | 2024-04-30 | 88.3 kB | |
jsonschema-4.22.0.tar.gz | 2024-04-30 | 325.5 kB | |
README.md | 2024-04-30 | 801 Bytes | |
v4.22.0 source code.tar.gz | 2024-04-30 | 336.4 kB | |
v4.22.0 source code.zip | 2024-04-30 | 591.8 kB | |
Totals: 5 Items | 1.3 MB | 4 |
What's Changed
- Improve
best_match
(and thereby error messages fromjsonschema.validate
) in cases where there are multiple sibling errors from applyinganyOf
/allOf
-- i.e. when multiple elements of a JSON array have errors, we now do prefer showing errors from earlier elements rather than simply showing an error for the full array (#1250). - (Micro-)optimize equality checks when comparing for JSON Schema equality by first checking for object identity, as
==
would.
New Contributors
- @shinnar made their first contribution in https://github.com/python-jsonschema/jsonschema/pull/1224
Full Changelog: https://github.com/python-jsonschema/jsonschema/compare/v4.21.1...v4.22.0