fix(deps): update dependencies (non-major) #64
No reviewers
Labels
No labels
automerge
bug
dependencies
duplicate
help wanted
invalid
lang
rust
migrations
opencode
question
security
type
documentation
type
enhancement
type
maintenance
type
refactor
vulnerability
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
Personal/recurring-events!64
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/dependencies-(non-major)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.61→0.622.5.8→2.5.9Release Notes
Stranger6667/jsonschema (jsonschema)
v0.62.0Added
PatternOptions::syntaxwithPatternSyntax::Engineto matchpatternandpatternPropertiesin the regex engine's own syntax, without the ECMA 262 translation. #1895syntaxkey inpattern_optionsof#[jsonschema::validator]. #1895Resolver::lookup_dynamic_refto resolve a$dynamicRefthrough the dynamic scope. #1923minContainsandmaxContainserror kinds.evaluateon validators generated by#[jsonschema::validator].Fixed
References and
$schema$refto a$dynamicAnchorresolving through the dynamic scope like$dynamicRef, to an outer$dynamicAnchorof the same name instead of the schema it names. #1923$dynamicRefin a$refcycle resolving as on the first pass through the cycle, ignoring a$dynamicAnchorthat a later pass brings into the dynamic scope.$recursiveRefstopping at a resource without$recursiveAnchor: truein the dynamic scope instead of resolving to the outermost resource with$recursiveAnchor: true.$dynamicReflanding in another resource leaving the resource that holds it out of the dynamic scope.async_options().with_retrieverdiscarding the base URI set bywith_base_uri.Validatorresults depending on how references name a schema that a$refcycle passes through, such ascycleand#inside it.Validatorresults for a schema that references itself with#differing from the same schema reached through a$ref, such as{"not": {"$ref": "#"}}rejecting every instance.$schemaignored through a$refand in the meta-schema check, which could fail or pass it against the wrong draft.validator_map_forentries accepting every value for a subschema in Draft 2019-09 or later under a Draft 7 or earlier root.validator_map_forentries below the root differing from the same subschema reached through a$ref.$recursiveRefand$dynamicRefinside a subschema with its own$idleaving the resource that holds it out of the dynamic scope when that subschema is reached inline or through a JSON Pointer$ref.evaluateoutputminLengthandmaxLengthleaving out themaxLengthunit for accepted strings, and nesting it under a failingminLengthunit for longer ones.typethat lists several types differing fromvalidate, asis not of types (null, string)instead ofis not of types "null", "string".propertiesorpatternPropertiesbesideadditionalPropertiesreporting their subschemas inside theadditionalPropertiesunit instead of in units of their own.requiredname besidepropertiesandadditionalProperties: falsereporting the name inside theadditionalPropertiesunit, and only when missing.additionalProperties: falsereporting one error for the whole object instead of a failing unit for each extra member.requirednames besidepropertiesreporting them inside thepropertiesunit, failing it, and only when missing.propertyNames: falsereporting one error for the whole object instead of a failing unit for each name.dependentRequiredand the array form ofdependenciesreporting missing names in a nested unit at a schema location that does not exist.itemsandadditionalItemsmissing their annotations, andadditionalItemsreporting the extra items in one error instead of a unit for each.containsbesideminContainsormaxContainsmissing the matching items and their indices, and locating the subschema at the bound keyword instead of atcontains.thenandelsereported inside theifunit instead of in units of their own.oneOfwith more than one valid subschema reporting a different message thanvalidate.containsannotating an instance that is not an array.$reftarget at the URI its document was registered under instead of the$idthat document declares.Error locations and messages
$refthe keyword was reached through.$reftaking part of their path from the other route.minContainsandmaxContainsclaiming that no item is valid under thecontainssubschema.propertyNameserrors leaving out a$refinsidepropertyNames.absolute_keyword_locationof errors for names missing underdependentRequiredordependenciespointing to a schema location that does not exist.absolute_keyword_locationof errors from a resource without a base URI, such as one registered under ajson-schema:///URI, naming the$refor other keyword that reached it from a resource with one, instead of being absent.propertyNameserrors reportingpropertyNamesas their absolute keyword location instead of the keyword that rejected the name.Keywords
unevaluatedItemsin Draft 2019-09 treating items matched bycontainsas evaluated.contentEncodinggoing unchecked in Draft 7 beside an unsupportedcontentMediaType.contentEncodingandcontentMediaTypeasserted in Draft 6, which does not define them.unevaluatedPropertiesandunevaluatedItemserrors andevaluateoutput counting members as evaluated by a subschema that fails, such as a$reftarget.multipleOfwith an integer divisor above 2^53 accepting numbers too small forf64, such as1e-400, with thearbitrary-precisionfeature.patternwith a large bounded count the regex engine matches, such as^x?.{0,404600}$, failing with a regex engine error on the empty string when the size limit was raised to compile it.dereferencedereferencedropping siblings of$refin Draft 2019-09 and later when the referenced schema defines the same keyword with another value or is a boolean.dereferencemerging siblings of$refinto the referenced schema in Draft 2019-09 and later when they change what its keywords accept, such aspropertiesbesideadditionalProperties.dereferencekeeping siblings of$refthat Draft 4, 6 and 7 ignore, such asminimumor$id.#[jsonschema::validator]evaluateoutput reporting a passing unit for an unknowncontentEncodingin Draft 7.evaluateoutput for a$ref,$dynamicRefor$recursiveReflanding on the schema that holds it differing fromValidator::evaluate.contentMediaTypeat the schema root instead of atcontentEncoding.unevaluatedPropertiesandunevaluatedItemscounting members as evaluated by a subschema that fails, such as anallOfbranch.typeleaves out when keywords for that type are beside it.$refreached through another$refagainst the schema it started from instead of the resource the first one entered, sopropertyNamesaccepted names andoneOfrejected instances thatValidatordoes not.typeerror when aconstorenumbeside it accepts only values of that type.$refcycle once more when its references name one schema in different ways, such ascycleand#inside it, and applying another schema in place of the one a JSON Pointer reaches through an embedded$idresource.Validator, including the errorvalidatereturns.maxLengtherror whenminLengthis abovemaxLength.iter_errorsreporting the errors of a root that references itself with$ref: "#"beside other keywords twice, such as{"$ref": "#", "minimum": 1}.$recursiveAnchorbelow the root of a schema that uses$recursiveRef, such as ananyOferror beside a failingminProperties.Validatorfromiter_errorsandevaluate, or the same error more than once beside a$refto the same schema, where a$recursiveRefor$dynamicRefcomes back to the instance it holds, such as a schema with$recursiveAnchorthat references itself fromallOf.is_validtaking time exponential in the instance depth on a$refcycle that reaches each nested instance more than once, in a schema with$recursiveRefor$dynamicRef.propertyNameserrors with another kind and in another order thanValidator, and leaving them out whereadditionalProperties: falsebesidepatternPropertiesrejects the same names.Validator, such as an evaluation path without the$refit went through.$idresource a$refpointer enters, such asinner#/$defs/inner/minPropertiesinstead ofinner#/minProperties.Validator, or overflowing the stack on a$refcycle that comes back to the instance it holds, such as a schema referencing itself from bothallOfandadditionalProperties.unevaluatedPropertiesandunevaluatedItemsresolving references in a subschema with its own$idagainst the resource around it, and leaving that subschema out of the dynamic scope.resourcesin the draft of the schema instead of the draft their own$schemanames, such as the anchors a Draft 4idsets.$schemanames, such as an embedded resource written in Draft 7.$refcycle through the same instance in a schema with$recursiveRefor$dynamicRef.falseschema error instead of the errors of the referenced schema at a$refthat closes a cycle, in a schema with$recursiveRefor$dynamicRef.Canonicalization
satisfiabilityansweringUnknownfor an array where only some elements are valid under bothcontainsanditems.satisfiabilityansweringUnknownfor an object that must breakadditionalProperties,patternPropertiesorpropertyNames.satisfiabilityansweringUnknownfor a number that must miss amultipleOf, such as a non-integer.coversansweringUnknown, andsubtractkeeping a differencesatisfiabilitycannot decide, for a recursive$refwhose target contains the other's.canonicalizeforunevaluatedPropertiesorunevaluatedItemsreaching itself through a$ref, such as one independentSchemas.subtractkeeping a differencesatisfiabilitycannot decide for a union of three or more object variants where one variant is narrowed.canonicalizekeepingoneOfover references to unions of tagged objects that share no tag value, where a plain union says the same.Performance
Building validators
Validation
validateanditer_errorsfor recursive schemas that reach one member through several keywords, such aspropertiesand a matchingpatternProperties.evaluatefor arrays, with everyitemsandadditionalItemsannotation sharing one value.evaluatefor arrays whoseitemsis a singletype, such as{"type": "number"}, with consecutive accepted items recorded together instead of as output units per item.patternandpatternPropertieswith alternations of anchored sequences, such as^[1-5](?:[0-9]{2}|XX)$, matched in one pass without a regex engine.unevaluatedPropertiesmatching names against sequence-shapedpatternProperties, such as^[a-z0-9-]+$or^[1-5](?:[0-9]{2}|XX)$, without a regex engine.propertiesand a siblingunevaluatedPropertieschecked in one pass over the object byis_valid.patternandpatternPropertieswith fixed-length optional groups, exactly repeated groups, a leading group of alternatives, or a run of varying length after fixed characters, such as^[a-z][a-z0-9-_]{1,63}$, matched without a regex engine.#[jsonschema::validator]$refs, without copying each referenced schema.validateanditer_errorssharing one generated error function per subschema.$refs, checking each referenced schema's validity once before reporting its errors.type: arraysubschemas whoseitemsis the same$ref, reporting their errors through one shared function.$refnames, with theevaluatecode of each in a function of its own.$refcycle that reaches one instance through two keywords, such as twooneOfbranches, instead of validating the instance once per path to it.Removed
ValidationErrorKind::RegexEngineFailure.servo/rust-url (url)
v2.5.9Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate CLI.