Skip to content

Releases: python-jsonschema/jsonschema

v4.10.1

17 Aug 15:04
Compare
Choose a tag to compare
  • Fix Validator.evolve (and APIs like iter_errors which call it) for cases
    where the validator class has been subclassed. Doing so wasn't intended to be
    public API, but given it didn't warn or raise an error it's of course
    understandable. The next release however will make it warn (and a future one
    will make it error). If you need help migrating usage of inheriting from a
    validator class feel free to open a discussion and I'll try to give some
    guidance (#982).

Full Changelog: v4.10.0...v4.10.1

v4.10.0

16 Aug 09:51
Compare
Choose a tag to compare
  • Add support for referencing schemas with $ref across different versions
    of the specification than the referrer's

Full Changelog: v4.9.1...v4.10.0

v4.9.1

03 Aug 08:40
Compare
Choose a tag to compare
  • Update some documentation examples to use newer validator releases in their
    sample code.

Full Changelog: v4.9.0...v4.9.1

v4.9.0

31 Jul 07:27
Compare
Choose a tag to compare
  • Fix relative $ref resolution when the base URI is a URN or other scheme
    (#544).
  • pkgutil.resolve_name is now used to retrieve validators
    provided on the command line. This function is only available on
    3.9+, so 3.7 and 3.8 (which are still supported) now rely on the
    pkgutil_resolve_name <https://pypi.org/project/pkgutil_resolve_name/>_
    backport package. Note however that the CLI itself is due
    to be deprecated shortly in favor of check-jsonschema <https://github.com/python-jsonschema/check-jsonschema>_.

Full Changelog: v4.8.0...v4.9.0

v4.8.0

28 Jul 06:51
Compare
Choose a tag to compare
  • best_match no longer traverses into anyOf and oneOf when all of
    the errors within them seem equally applicable. This should lead to clearer
    error messages in some cases where no branches were matched.

Full Changelog: v4.7.2...v4.8.0

v4.7.2

12 Jul 04:33
Compare
Choose a tag to compare
  • Also have best_match handle cases where the type validator is an
    array.

Full Changelog: v4.7.1...v4.7.2

v4.7.1

11 Jul 11:56
Compare
Choose a tag to compare

Full Changelog: v4.7.0...v4.7.1

v4.7.0

11 Jul 11:10
Compare
Choose a tag to compare

What's Changed

  • Enhance best match to prefer errors from matching types. by @Julian in #972

Full Changelog: v4.6.2...v4.7.0

v4.6.2

07 Jul 14:40
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.6.1...v4.6.2

v4.6.1

28 Jun 16:12
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.6.0...v4.6.1