Skip to content

chore(deps)(deps): bump jsonschema from 0.61.2 to 0.62.0 - #1333

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/jsonschema-0.62.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/jsonschema-0.62.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Bumps jsonschema from 0.61.2 to 0.62.0.

Release notes

Sourced from jsonschema's releases.

[Python] Release 0.62.0

Added

  • syntax="engine" on RegexOptions and FancyRegexOptions to match pattern and patternProperties in the regex engine's own syntax, without the ECMA 262 translation. #1895
  • Resolver.lookup_dynamic_ref to resolve a $dynamicRef through the dynamic scope. #1923
  • minContains and maxContains error kinds.

Changed

  • Non-str keys of a root dict raising only when validation reads them, like keys of nested ones, instead of on every call.

Fixed

References and $schema

  • $ref to a $dynamicAnchor resolving through the dynamic scope like $dynamicRef, to an outer $dynamicAnchor of the same name instead of the schema it names. #1923
  • $dynamicRef in a $ref cycle resolving as on the first pass through the cycle, ignoring a $dynamicAnchor that a later pass brings into the dynamic scope.
  • $recursiveRef stopping at a resource without $recursiveAnchor: true in the dynamic scope instead of resolving to the outermost resource with $recursiveAnchor: true.
  • $dynamicRef landing in another resource leaving the resource that holds it out of the dynamic scope.
  • Validator results depending on how references name a schema that a $ref cycle passes through, such as cycle and # inside it.
  • Validator results for a schema that references itself with # differing from the same schema reached through a $ref, such as {"not": {"$ref": "#"}} rejecting every instance.
  • A subschema's own $schema ignored through a $ref and in the meta-schema check, which could fail or pass it against the wrong draft.
  • validator_map_for entries accepting every value for a subschema in Draft 2019-09 or later under a Draft 7 or earlier root.
  • validator_map_for entries below the root differing from the same subschema reached through a $ref.
  • $recursiveRef and $dynamicRef inside a subschema with its own $id leaving the resource that holds it out of the dynamic scope when that subschema is reached inline or through a JSON Pointer $ref.

evaluate output

  • Schemas with both minLength and maxLength leaving out the maxLength unit for accepted strings, and nesting it under a failing minLength unit for longer ones.
  • Messages for a type that lists several types differing from validate, as is not of types (null, string) instead of is not of types "null", "string".
  • properties or patternProperties beside additionalProperties reporting their subschemas inside the additionalProperties unit instead of in units of their own.
  • One required name beside properties and additionalProperties: false reporting the name inside the additionalProperties unit, and only when missing.
  • additionalProperties: false reporting one error for the whole object instead of a failing unit for each extra member.
  • Two required names beside properties reporting them inside the properties unit, failing it, and only when missing.
  • propertyNames: false reporting one error for the whole object instead of a failing unit for each name.
  • dependentRequired and the array form of dependencies reporting missing names in a nested unit at a schema location that does not exist.
  • Array-form items and additionalItems missing their annotations, and additionalItems reporting the extra items in one error instead of a unit for each.
  • contains beside minContains or maxContains missing the matching items and their indices, and locating the subschema at the bound keyword instead of at contains.
  • then and else reported inside the if unit instead of in units of their own.
  • oneOf with more than one valid subschema reporting a different message than validate.
  • contains annotating an instance that is not an array.
  • Locating a $ref target at the URI its document was registered under instead of the $id that document declares.

Error locations and messages

  • Evaluation paths of custom keyword errors leaving out the $ref the keyword was reached through.
  • Evaluation paths below a subschema reached both inline and through a $ref taking part of their path from the other route.
  • Error messages for minContains and maxContains claiming that no item is valid under the contains subschema.
  • Evaluation paths of propertyNames errors leaving out a $ref inside propertyNames.
  • absolute_keyword_location of errors for names missing under dependentRequired or dependencies pointing to a schema location that does not exist.

... (truncated)

Changelog

Sourced from jsonschema's changelog.

[0.62.0] - 2026-11-21

Added

  • PatternOptions::syntax with PatternSyntax::Engine to match pattern and patternProperties in the regex engine's own syntax, without the ECMA 262 translation. #1895
  • syntax key in pattern_options of #[jsonschema::validator]. #1895
  • Resolver::lookup_dynamic_ref to resolve a $dynamicRef through the dynamic scope. #1923
  • minContains and maxContains error kinds.
  • evaluate on validators generated by #[jsonschema::validator].

Fixed

References and $schema

  • $ref to a $dynamicAnchor resolving through the dynamic scope like $dynamicRef, to an outer $dynamicAnchor of the same name instead of the schema it names. #1923
  • $dynamicRef in a $ref cycle resolving as on the first pass through the cycle, ignoring a $dynamicAnchor that a later pass brings into the dynamic scope.
  • $recursiveRef stopping at a resource without $recursiveAnchor: true in the dynamic scope instead of resolving to the outermost resource with $recursiveAnchor: true.
  • $dynamicRef landing in another resource leaving the resource that holds it out of the dynamic scope.
  • async_options().with_retriever discarding the base URI set by with_base_uri.
  • Validator results depending on how references name a schema that a $ref cycle passes through, such as cycle and # inside it.
  • Validator results for a schema that references itself with # differing from the same schema reached through a $ref, such as {"not": {"$ref": "#"}} rejecting every instance.
  • A subschema's own $schema ignored through a $ref and in the meta-schema check, which could fail or pass it against the wrong draft.
  • validator_map_for entries accepting every value for a subschema in Draft 2019-09 or later under a Draft 7 or earlier root.
  • validator_map_for entries below the root differing from the same subschema reached through a $ref.
  • $recursiveRef and $dynamicRef inside a subschema with its own $id leaving the resource that holds it out of the dynamic scope when that subschema is reached inline or through a JSON Pointer $ref.

evaluate output

  • Schemas with both minLength and maxLength leaving out the maxLength unit for accepted strings, and nesting it under a failing minLength unit for longer ones.
  • Messages for a type that lists several types differing from validate, as is not of types (null, string) instead of is not of types "null", "string".
  • properties or patternProperties beside additionalProperties reporting their subschemas inside the additionalProperties unit instead of in units of their own.
  • One required name beside properties and additionalProperties: false reporting the name inside the additionalProperties unit, and only when missing.
  • additionalProperties: false reporting one error for the whole object instead of a failing unit for each extra member.
  • Two required names beside properties reporting them inside the properties unit, failing it, and only when missing.
  • propertyNames: false reporting one error for the whole object instead of a failing unit for each name.
  • dependentRequired and the array form of dependencies reporting missing names in a nested unit at a schema location that does not exist.
  • Array-form items and additionalItems missing their annotations, and additionalItems reporting the extra items in one error instead of a unit for each.
  • contains beside minContains or maxContains missing the matching items and their indices, and locating the subschema at the bound keyword instead of at contains.
  • then and else reported inside the if unit instead of in units of their own.
  • oneOf with more than one valid subschema reporting a different message than validate.
  • contains annotating an instance that is not an array.
  • Locating a $ref target at the URI its document was registered under instead of the $id that document declares.

Error locations and messages

  • Evaluation paths of custom keyword errors leaving out the $ref the keyword was reached through.
  • Evaluation paths below a subschema reached both inline and through a $ref taking part of their path from the other route.
  • Error messages for minContains and maxContains claiming that no item is valid under the contains subschema.
  • Evaluation paths of propertyNames errors leaving out a $ref inside propertyNames.
  • absolute_keyword_location of errors for names missing under dependentRequired or dependencies pointing to a schema location that does not exist.

... (truncated)

Commits
  • 25ecb78 chore(ruby): Release 0.62.0
  • 8dea64c docs: Group unreleased binding changelog entries
  • 24280eb chore(rust): Release 0.62.0
  • 82f4620 docs: Group unreleased changelog entries
  • f32af9a refactor: Drop the duplicate GC root registration in one-off Ruby calls
  • 877ce7a docs: Exceptions raised by bundle and dereference
  • 970a9da fix: Generated evaluate output for references landing on the schema that ho...
  • c7d7320 fix: Generated unevaluated* code treating a subschema with its own $id as...
  • f723d72 fix: $dynamicRef landing in another resource leaving its resource out of th...
  • b0dfd9a fix: Subschema $schema ignored through a $ref and in the meta-schema check
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Updates project or workflow dependencies rust Rust dependency or toolchain change labels Nov 25, 2026
Bumps [jsonschema](https://github.com/Stranger6667/jsonschema) from 0.61.2 to 0.62.0.
- [Release notes](https://github.com/Stranger6667/jsonschema/releases)
- [Changelog](https://github.com/Stranger6667/jsonschema/blob/master/CHANGELOG.md)
- [Commits](Stranger6667/jsonschema@ruby-v0.61.2...ruby-v0.62.0)

---
updated-dependencies:
- dependency-name: jsonschema
  dependency-version: 0.62.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/jsonschema-0.62.0 branch from c709919 to a0005e5 Compare November 25, 2026 11:52

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updates project or workflow dependencies rust Rust dependency or toolchain change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants