All Versions
67
Latest Version
Avg Release Cycle
35 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v4.10.3 Changes
jsonschema.validators.validator_for
now properly uses the explicitly provided default validator even if the$schema
URI is not found.
-
v4.10.2 Changes
- 🛠Fix a second place where subclasses may have added attrs attributes (#982).
-
v4.10.1 Changes
- 🛠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).
- 🛠Fix Validator.evolve (and APIs like
-
v4.10.0 Changes
- âž• Add support for referencing schemas with
$ref
across different versions of the specification than the referrer's
- âž• Add support for referencing schemas with
-
v4.9.1 Changes
- 📚 Update some documentation examples to use newer validator releases in their sample code.
-
v4.9.0 Changes
- 🛠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 thepkgutil_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>
_.
- 🛠Fix relative
-
v4.8.0 Changes
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.
-
v4.7.2 Changes
- Also have
best_match
handle cases where thetype
validator is an array.
- Also have
-
v4.7.1 Changes
- Minor tweak of the PyPI hyperlink names
-
v4.7.0 Changes
- ✨ Enhance
best_match
to prefer errors from branches of the schema which match the instance's type (#728)
- ✨ Enhance