Snowfakery
Snowfakery copied to clipboard
Bump jsonschema from 4.19.0 to 4.21.1
Bumps jsonschema from 4.19.0 to 4.21.1.
Release notes
Sourced from jsonschema's releases.
v4.21.1
- Slightly speed up the
containskeyword by removing some unnecessary validator (re-)creation.Full Changelog: https://github.com/python-jsonschema/jsonschema/compare/v4.21.0...v4.21.1
v4.21.0
What's Changed
- Fix the behavior of
enumin the presence of0or1to properly considerTrueandFalseunequal (#1208).- Special case the error message for
{min,max}{Items,Length,Properties}when they're checking for emptiness rather than true length.New Contributors
@otto-ifakmade their first contribution in python-jsonschema/jsonschema#1208Full Changelog: https://github.com/python-jsonschema/jsonschema/compare/v4.20.0...v4.21.0
v4.20.0
- Properly consider items (and properties) to be evaluated by
unevaluatedItems(resp.unevaluatedProperties) when behind a$dynamicRefas specified by the 2020 and 2019 specifications.jsonschema.exceptions.ErrorTree.__setitem__is now deprecated. More broadly, in general users ofjsonschemashould never be mutating objects owned by the library.Full Changelog: https://github.com/python-jsonschema/jsonschema/compare/v4.19.2...v4.20.0
v4.19.2
- Fix the error message for additional items when used with heterogeneous arrays.
- Don't leak the
additionalItemskeyword into JSON Schema draft 2020-12, where it was replaced byitems.Full Changelog: https://github.com/python-jsonschema/jsonschema/compare/v4.19.1...v4.19.2
v4.19.1
What's Changed
- Allow single label hostname in format string by
@swaeberlein python-jsonschema/jsonschema#1164New Contributors
@swaeberlemade their first contribution in python-jsonschema/jsonschema#1164Full Changelog: https://github.com/python-jsonschema/jsonschema/compare/v4.19.0...v4.19.1
Changelog
Sourced from jsonschema's changelog.
v4.21.1
- Slightly speed up the
containskeyword by removing some unnecessary validator (re-)creation.v4.21.0
- Fix the behavior of
enumin the presence of0or1to properly considerTrueandFalseunequal (#1208).- Special case the error message for
{min,max}{Items,Length,Properties}when they're checking for emptiness rather than true length.v4.20.0
- Properly consider items (and properties) to be evaluated by
unevaluatedItems(resp.unevaluatedProperties) when behind a$dynamicRefas specified by the 2020 and 2019 specifications.jsonschema.exceptions.ErrorTree.__setitem__is now deprecated. More broadly, in general users ofjsonschemashould 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
additionalItemskeyword into JSON Schema draft 2020-12, where it was replaced byitems.v4.19.1
- Single label hostnames are now properly considered valid according to the
hostnameformat. This is the behavior specified by the relevant RFC (1123). IDN hostname behavior was already correct.
Commits
aa53fd0Slightly speed up the contains keyword.c9e2029perf -> bench31dec3dUpdate the CHANGELOG.8875c2eAlso improve min{Length,Properties}'s error message.74dfd48Squashed 'json/' changes from 217bf81b..544f7c3d3e46f22Merge pull request #1208 from otto-ifak/fix_enume45be0bUpdate docs requirements.6b4441eNew ruff fixed some bugs.c7a37f2Merge pull request #1209 from python-jsonschema/pre-commit-ci-update-config1b72180[pre-commit.ci] pre-commit autoupdate- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)