Sourced from jsonschema's releases.
v4.22.0
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 python-jsonschema/jsonschema#1224Full Changelog: https://github.com/python-jsonschema/jsonschema/compare/v4.21.1...v4.22.0
Sourced from jsonschema's changelog.
v4.22.0
- 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.
9882dbe
Add / ignore the new specification test suite property.ebc90bb
Merge commit '8fcfc3a674a7188a4fcc822b7a91efb3e0422a20'8fcfc3a
Squashed 'json/' changes from b41167c74..54f3784a830b7537
Pin pyenchant to pre from below until pyenchant/pyenchant#302
is released.c3729db
Enable doctests for the rest of the referencing page.70a994c
Remove a now-unneeded noqa since apparently this is fixed in new
ruff.e6d0ef1
Fix a minor typo in the referencing example docs.bceaf41
Another placeholder benchmark for future optimization.b20234e
Consider errors from earlier indices (in instances) to be better
matches41b49c6
Minor improvement to test failure message when a best match test
fails.