Skip to content

Releases: python-jsonschema/jsonschema

v4.25.0

18 Jul 15:39
9889f69
Compare
Choose a tag to compare

What's Changed

  • Add support for the iri and iri-reference formats to the format-nongpl extra by @jkowalleck in #1388

New Contributors

Full Changelog: v4.24.1...v4.25.0

v4.24.1

17 Jul 14:40
6aadb8b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.24.0...v4.24.1

v4.24.0

26 May 18:48
3e23ee5
Compare
Choose a tag to compare

What's Changed

  • Fix calculation of evaluated properties by @V02460 in #1351
  • Support for Python 3.8 has been dropped, as it is end-of-life.

New Contributors

Full Changelog: v4.23.0...v4.24.0

v4.23.0

08 Jul 18:40
cfe8a40
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.22.0...v4.23.0

v4.22.0

30 Apr 19:44
9882dbe
Compare
Choose a tag to compare

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: v4.21.1...v4.22.0

v4.21.1

19 Jan 21:11
Compare
Choose a tag to compare
  • Slightly speed up the contains keyword by removing some unnecessary validator (re-)creation.

Full Changelog: v4.21.0...v4.21.1

v4.21.0

16 Jan 15:41
Compare
Choose a tag to compare

What's Changed

  • Fix the behavior of enum in the presence of 0 or 1 to properly consider True and False unequal (#1208).
  • Special case the error message for {min,max}{Items,Length,Properties} when they're checking for emptiness rather than true length.

New Contributors

Full Changelog: v4.20.0...v4.21.0

v4.20.0

16 Nov 17:08
Compare
Choose a tag to compare
  • Properly consider items (and properties) to be evaluated by unevaluatedItems (resp. unevaluatedProperties) when behind a $dynamicRef as specified by the 2020 and 2019 specifications.
  • jsonschema.exceptions.ErrorTree.__setitem__ is now deprecated. More broadly, in general users of jsonschema should never be mutating objects owned by the library.

Full Changelog: v4.19.2...v4.20.0

v4.19.2

30 Oct 13:33
Compare
Choose a tag to compare
  • Fix the error message for additional items when used with heterogeneous arrays.
  • Don't leak the additionalItems keyword into JSON Schema draft 2020-12, where it was replaced by items.

Full Changelog: v4.19.1...v4.19.2

v4.19.1

20 Sep 14:45
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.19.0...v4.19.1