Skip to content

chore(deps): Bump jsonschema from 0.49.9 to 0.52.0 - #1958

Merged
gtema merged 1 commit into
mainfrom
dependabot/cargo/jsonschema-0.50.0
Aug 31, 2026
Merged

chore(deps): Bump jsonschema from 0.49.9 to 0.52.0#1958
gtema merged 1 commit into
mainfrom
dependabot/cargo/jsonschema-0.50.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 24, 2026

Copy link
Copy Markdown
Contributor

Bumps jsonschema from 0.49.9 to 0.52.0.

Release notes

Sourced from jsonschema's releases.

[CLI] Release 0.52.0

No release notes provided.

[Python] Release 0.52.0

Added

  • The offline argument, refusing to fetch references outside registry.

Fixed

  • Canonicalization not idempotent where a patternProperties $ref matches a key properties names.
  • Type stubs omitting ValidationError.absolute_keyword_location.
  • The draft argument and the Draft201909Validator / Draft202012Validator classes gating keywords on the vocabularies of the $schema they override, so the validator accepted every instance.
  • is_valid disagreeing with validate, iter_errors, and evaluate on a schema that reaches its own $ref twice, one of them under not.

[Ruby] Release 0.52.0

Added

  • The offline: keyword argument, refusing to fetch references outside registry:.

Fixed

  • Canonicalization not idempotent where a patternProperties $ref matches a key properties names.
  • The draft: keyword argument and the Draft201909Validator / Draft202012Validator classes gating keywords on the vocabularies of the $schema they override, so the validator accepted every instance.
  • valid? disagreeing with validate!, each_error, and evaluate on a schema that reaches its own $ref twice, one of them under not.

[Rust] Release 0.52.0

Added

  • Evaluation::is_valid.
  • Location::is_empty.
  • Display for ErrorEntry.
  • ValidationOptions::offline and canonical::CanonicalizeOptions::offline, refusing to fetch references outside the registry.
  • idna Cargo feature, enabled by default, gating the idn-hostname and idn-email formats. #1313
  • CLI: the --offline flag of jsonschema validate, jsonschema bundle and jsonschema dereference.

Changed

  • ValidationErrors' Display gained the instance path of each error.
  • BREAKING: With default-features = false, the idn-hostname and idn-email formats now require the new idna feature. Without it they are unknown formats, which are accepted by default, or rejected at build time under should_ignore_unknown_formats(false). Add idna to the feature list to keep the previous behavior.

Fixed

  • Canonicalization not idempotent where a patternProperties $ref matches a key properties names.
  • is_valid disagreeing with validate, iter_errors, and evaluate on a schema that reaches its own $ref twice, one of them under not.
  • format: email and format: idn-email rejecting an empty quoted string as the local part (it should be accepted).
  • format: email and format: idn-email rejecting an address literal whose IPv6: tag is not written in that exact case (the tag is case-insensitive).
  • format: email accepting a non-ASCII character in the local part (it should be rejected).
  • ValidationOptions::with_draft gating keywords on the vocabularies of the $schema it overrides, so the validator accepted every instance.

... (truncated)

Changelog

Sourced from jsonschema's changelog.

[0.52.0] - 2026-08-26

Added

  • Evaluation::is_valid.
  • Location::is_empty.
  • Display for ErrorEntry.
  • ValidationOptions::offline and canonical::CanonicalizeOptions::offline, refusing to fetch references outside the registry.
  • idna Cargo feature, enabled by default, gating the idn-hostname and idn-email formats. #1313
  • CLI: the --offline flag of jsonschema validate, jsonschema bundle and jsonschema dereference.

Changed

  • ValidationErrors' Display gained the instance path of each error.
  • BREAKING: With default-features = false, the idn-hostname and idn-email formats now require the new idna feature. Without it they are unknown formats, which are accepted by default, or rejected at build time under should_ignore_unknown_formats(false). Add idna to the feature list to keep the previous behavior.

Fixed

  • Canonicalization not idempotent where a patternProperties $ref matches a key properties names.
  • is_valid disagreeing with validate, iter_errors, and evaluate on a schema that reaches its own $ref twice, one of them under not.
  • format: email and format: idn-email rejecting an empty quoted string as the local part (it should be accepted).
  • format: email and format: idn-email rejecting an address literal whose IPv6: tag is not written in that exact case (the tag is case-insensitive).
  • format: email accepting a non-ASCII character in the local part (it should be rejected).
  • ValidationOptions::with_draft gating keywords on the vocabularies of the $schema it overrides, so the validator accepted every instance.

Performance

  • iter_errors collects into a single buffer instead of allocating and re-boxing an iterator at every schema node.

[0.51.0] - 2026-08-23

Added

  • ValidationOptions::with_vocabulary and the vocabularies attribute on jsonschema::validator, declaring support for a vocabulary this crate does not implement.
  • The --vocabulary flag of jsonschema validate.

Changed

  • Vocabulary gained the FormatAssertion variant, which its Draft 2020-12 URI parses to instead of Vocabulary::Custom, and is marked non_exhaustive.

Fixed

  • The uniqueItems length ceiling not reading an items or contains schema written as a $ref.
  • The Draft 2020-12 Format-Assertion vocabulary read as an annotation, so a meta-schema requiring it accepted values its format rejects.
  • An unrecognized format accepted under a meta-schema requiring the Format-Assertion vocabulary (it should be rejected).
  • A meta-schema requiring a vocabulary this crate does not implement accepted (it should be rejected).
  • The Draft 2019-09 Format vocabulary declared true read as an annotation, so a meta-schema requiring it accepted values its format rejects.
  • The bundled https://json-schema.org/draft/2020-12/meta/format-assertion meta-schema not declaring its vocabulary, so a schema written against it annotated format instead of asserting it.
  • A meta-schema without $id keeping its $vocabulary unread, so a schema written against it got every Draft 2020-12 vocabulary.
  • A schema naming a bundled vocabulary meta-schema as its $schema rejected as an unknown meta-schema (it should build).

... (truncated)

Commits
  • edeb4f2 chore(ruby): Release 0.52.0
  • c308025 chore(rust): Release 0.52.0
  • 7d8465c feat(cli): the --offline flag of jsonschema validate, jsonschema bundle...
  • 5015aa6 docs: Update docs
  • 84048dd fix: is_valid disagreeing with validate, iter_errors, and evaluate on...
  • 610aa6b fix(python): Type stubs omitting ValidationError.absolute_keyword_location
  • 63b8dfa fix: ValidationOptions::with_draft gating keywords on the vocabularies of t...
  • 8fc6ff7 fix: Canonicalization not idempotent where a patternProperties $ref match...
  • 7368dcf test: Generate random json schemas with hegel
  • e6e8b8d fix: Misc email format fixes
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 24, 2026
@dependabot dependabot Bot changed the title chore(deps): Bump jsonschema from 0.49.9 to 0.50.0 chore(deps): Bump jsonschema from 0.49.9 to 0.52.0 Aug 31, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/jsonschema-0.50.0 branch from 914c7f9 to aa8372c Compare August 31, 2026 09:06
Bumps [jsonschema](https://github.com/Stranger6667/jsonschema) from 0.49.9 to 0.52.0.
- [Release notes](https://github.com/Stranger6667/jsonschema/releases)
- [Changelog](https://github.com/Stranger6667/jsonschema/blob/master/CHANGELOG.md)
- [Commits](Stranger6667/jsonschema@cli-v0.49.9...cli-v0.52.0)

---
updated-dependencies:
- dependency-name: jsonschema
  dependency-version: 0.50.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.50.0 branch from aa8372c to bc18353 Compare August 31, 2026 10:43
@gtema
gtema merged commit bfcea5f into main Aug 31, 2026
21 checks passed
@dependabot
dependabot Bot deleted the dependabot/cargo/jsonschema-0.50.0 branch August 31, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant