[Rust] Release 0.58.4
·
34 commits
to master
since this release
Fixed
Validator::draftreturning the default draft instead of the one$schemadeclares.unevaluatedPropertiesandunevaluatedItemsbeside a$recursiveRefignoring what the reference target evaluates.unevaluatedPropertiesignoring the configured regex engine and its limits forpatternProperties.- Absolute keyword location and
schemaLocationof keywords a$refJSON Pointer reaches through a subschema with its own$id. type,minItemsandmaxItemsignored besideitemswhen the applicator vocabulary is disabled.- Absolute keyword location and
schemaLocationof keywords inside a nested$idresource counting from the document root. requiredbesidepropertiesignored when the applicator vocabulary is disabled, andrequired,minContainsandmaxContainsapplied when the validation vocabulary is disabled.- Absolute keyword location and evaluation output of
typeerrors in atype-onlyitemssubschema pointing atitemsinstead of the failing element'stype. - Absolute keyword location of
patternPropertiesannotations missing its JSON Pointer fragment. - Evaluation output of
type: arraybeside schema-formitemsomitting passingtype,minItemsandmaxItemsunits and nesting failing ones underitems. - Evaluation output
schemaLocationand absolute keyword location of$ref,$dynamicRefand$recursiveRefnodes not pointing at the reference target. - Evaluation output
schemaLocationURIs not percent-encoding their fragment, such as a space in a property name. - Absolute keyword location of errors and annotations from a whole subschema, such as
false, missing its JSON Pointer fragment. - Absolute keyword location of
required,minContainsandmaxContainserrors pointing at a sibling keyword. - Evaluation annotations from
$refsiblings in Draft 4, 6 and 7 schemas. - Masked
additionalItemsmessages counting allowed items instead of extra ones, and "1 items" in maskedunevaluatedItemsmessages. $dynamicRefand$recursiveRefresolving in the dynamic scope of another path to the same schema, depending on property order.unevaluatedPropertiesandunevaluatedItemsignoring whatthenorelseevaluates whenifistrueorfalse.- Stack overflow when building validators for long
$refchains. format: "regex"and meta-schema validation rejecting escaped punctuation such as\-in patterns.- Build errors for an invalid
patternPropertiesregex reporting the subschema instead of the pattern and its location.