Releases: python-jsonschema/jsonschema
Releases · python-jsonschema/jsonschema
v4.10.1
- 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
- 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
- Update some documentation examples to use newer validator releases in their
sample code.
Full Changelog: v4.9.0...v4.9.1
v4.9.0
- 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 ofcheck-jsonschema <https://github.com/python-jsonschema/check-jsonschema>
_.
Full Changelog: v4.8.0...v4.9.0
v4.8.0
best_match
no longer traverses intoanyOf
andoneOf
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
- Also have
best_match
handle cases where thetype
validator is an
array.
Full Changelog: v4.7.1...v4.7.2
v4.7.1
Full Changelog: v4.7.0...v4.7.1
v4.7.0
What's Changed
Full Changelog: v4.6.2...v4.7.0
v4.6.2
What's Changed
- docs: Fix a few typos by @timgates42 in #969
New Contributors
- @timgates42 made their first contribution in #969
Full Changelog: v4.6.1...v4.6.2
v4.6.1
What's Changed
- Type annotate format checker methods by @sirosen in #958
- Fix fuzzer to include instrumentation by @DavidKorczynski in #965
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #967
Full Changelog: v4.6.0...v4.6.1