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.
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.
v4.19.2
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.
v4.19.1
Single label hostnames are now properly considered valid according to the hostname format.
This is the behavior specified by the relevant RFC (1123).
IDN hostname behavior was already correct.
v4.19.0
Importing the Validator protocol directly from the package root is deprecated.
Import it from jsonschema.protocols.Validator instead.
Automatic retrieval of remote references (which is still deprecated) now properly succeeds even if the retrieved resource does not declare which version of JSON Schema it uses.
Such resources are assumed to be 2020-12 schemas.
This more closely matches the pre-referencing library behavior.
v4.18.6
Set a jsonschema specific user agent when automatically retrieving remote references (which is deprecated).
v4.18.5
Declare support for Py3.12
v4.18.4
Improve the hashability of wrapped referencing exceptions when they contain hashable data.
v4.18.3
Properly preserve applicable_validators in extended validators.
Specifically, validators extending early drafts where siblings of $ref were ignored will properly ignore siblings in the extended validator.
... (truncated)
Commits
5ff5999 Consider properties evaluated when they're behind dynamic refs.
13bc188 Squashed 'json/' changes from 95fe6ca2..d38ddd54
2ed7ad6 Merge pull request #1191 from python-jsonschema/pre-commit-ci-update-config
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on jsonschema to permit the latest version.
Release notes
Sourced from jsonschema's releases.
Changelog
Sourced from jsonschema's changelog.
... (truncated)
Commits
5ff5999
Consider properties evaluated when they're behind dynamic refs.13bc188
Squashed 'json/' changes from 95fe6ca2..d38ddd542ed7ad6
Merge pull request #1191 from python-jsonschema/pre-commit-ci-update-config6db1bef
[pre-commit.ci] pre-commit autoupdatec563034
Merge pull request #1189 from python-jsonschema/pre-commit-ci-update-config420a96c
[pre-commit.ci] pre-commit autoupdate5b06df6
Apparently this setting is now autodetected.11e2302
Minor typing tweaks in the exceptions module.65877a1
Merge pull request #1185 from python-jsonschema/pre-commit-ci-update-configa087ae6
[pre-commit.ci] pre-commit autoupdateDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show