Download Latest Version jsonschema-4.24.0.tar.gz (353.5 kB)
Email in envelope

Get an email when there's a new version of jsonschema

Home / v4.22.0
Name Modified Size InfoDownloads / 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 from jsonschema.validate) in cases where there are multiple sibling errors from applying anyOf / 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

Full Changelog: https://github.com/python-jsonschema/jsonschema/compare/v4.21.1...v4.22.0

Source: README.md, updated 2024-04-30