GitHub
07/15/2024, 12:23 PMv4.22.0
What's Changed
• Improve(and thereby error messages frombest_match) in cases where there are multiple sibling errors from applyingjsonschema.validate/anyOf-- i.e. when multiple elements of a JSON array have errors, we now do prefer showing errors from earlier elements rather than simply showing an error for the full array (#1250).allOf
• (Micro-)optimize equality checks when comparing for JSON Schema equality by first checking for object identity, aswould.==
New Contributors
• `@shinnar` made their first contribution in python-jsonschema/jsonschema#1224
Full Changelog: python-jsonschema/jsonschema@v4.21.1...v4.22.0
v4.21.1
• Slightly speed up thekeyword by removing some unnecessary validator (re-)creation.contains
Full Changelog: python-jsonschema/jsonschema@v4.21.0...v4.21.1
v4.21.0
What's Changed
• Fix the behavior ofin the presence ofenumor0to properly consider1andTrueunequal (#1208).False
• Special case the error message forwhen they're checking for emptiness rather than true length.{min,max}{Items,Length,Properties}
New Contributors
• `@otto-ifak` made their first contribution in python-jsonschema/jsonschema#1208
Full Changelog: python-jsonschema/jsonschema@v4.20.0...v4.21.0
v4.20.0
• Properly consider items (and properties) to be evaluated by(resp.unevaluatedItems) when behind aunevaluatedPropertiesas specified by the 2020 and 2019 specifications.$dynamicRef
•is now deprecated. More broadly, in general users ofjsonschema.exceptions.ErrorTree.__setitem__should never be mutating objects owned by the library.jsonschema
Full Changelog: python-jsonschema/jsonschema@v4.19.2...v4.20.0
v4.19.2
• Fix the error message for additional items when used with heterogeneous arrays.
• Don't leak thekeyword into JSON Schema draft 2020-12, where it was replaced byadditionalItems.items
Full Changelog: python-jsonschema/jsonschema@v4.19.1...v4.19.2
v4.19.1... (truncated) Changelog Sourced from jsonschema's changelog.
v4.22.0
• Improve(and thereby error messages frombest_match) in cases where there are multiple sibling errors from applyingjsonschema.validate/anyOf-- i.e. when multiple elements of a JSON array have errors, we now do prefer showing errors from earlier elements rather than simply showing an error for the full array (#1250).allOf
• (Micro-)optimize equality checks when comparing for JSON Schema equality by first checking for object identity, aswould.==
v4.21.1
• Slightly speed up thekeyword by removing some unnecessary validator (re-)creation.contains
v4.21.0
• Fix the behavior ofin the presence ofenumor0to properly consider1andTrueunequal (#1208).False
• Special case the error message forwhen they're checking for emptiness rather than true length.{min,max}{Items,Length,Properties}
v4.20.0
• Properly consider items (and properties) to be evaluated by(resp.unevaluatedItems) when behind aunevaluatedPropertiesas specified by the 2020 and 2019 specifications.$dynamicRef
•is now deprecated. More broadly, in general users ofjsonschema.exceptions.ErrorTree.__setitem__should never be mutating objects owned by the library.jsonschema
v4.19.2
• Fix the error message for additional items when used with heterogeneous arrays.
• Don't leak thekeyword into JSON Schema draft 2020-12, where it was replaced byadditionalItems.items
v4.19.1
• Single label hostnames are now properly considered valid according to theformat. This is the behavior specified by the relevant RFC (1123). IDN hostname behavior was already correct.hostname
v4.19.0
• Importing theprotocol directly from the package root is deprecated. Import it fromValidatorinstead.jsonschema.protocols.Validator
• 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... (truncated) Commits • `9882dbe` Add / ignore the new specification test suite property. • `ebc90bb` Merge commit '8fcfc3a674a7188a4fcc822b7a91efb3e0422a20' • `8fcfc3a` Squashed 'json/' changes from b41167c74..54f3784a8 • `30b7537` Pin pyenchant to pre from below until pyenchant/pyenchant#302 is released. • `c3729db` Enable doctests for the rest of the referencing page. • `70a994c` Remove a now-unneeded noqa since apparently this is fixed in new ruff. • `e6d0ef1` Fix a minor typo in the referencing example docs. • `bceaf41` Another placeholder benchmark for future optimization. • `b20234e` Consider errors from earlier indices (in instances) to be better matches • `41b49c6` Minor improvement to test failure message when a best match test fails. • Additional commits viewable in compare view Most Recent Ignore Conditions Applied to This Pull Request | Dependency Name | Ignore Conditions | | --------------- | ------------------- | | jsonschema | [>= 4.19.a, < 4.20] | <https://docs.github.com/en/github/mana… meltano/hub GitHub Actions: publish GitHub Actions: build GitHub Actions: JSON Schema Validation ✅ 7 other checks have passed 7/10 successful checksspecific user agent when automatically retrieving remote references (which is deprecated).jsonschema
GitHub
07/15/2024, 12:23 PM