Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 18, 2025

Bumps jsonschema from 0.30.0 to 0.36.0.

Release notes

Sourced from jsonschema's releases.

[Python] Release 0.36.0

Added

  • jsonschema_rs.evaluate(), Validator.evaluate(), and the Evaluation type for retrieving JSON Schema Output v1 (flag/list/hierarchical) formats along with annotations and errors.
  • Validator type alias for union of all validator types (Draft4Validator | Draft6Validator | Draft7Validator | Draft201909Validator | Draft202012Validator).
  • __eq__ and __hash__ methods to ValidationError and ReferencingError.
  • __repr__ method stubs to all validator classes, Evaluation, Registry, and regex options classes.
  • Docstrings to functions in type stubs (is_valid, validate, iter_errors, evaluate, validator_for).

Fixed

  • Missing verbose_message attribute in ValidationError type stub.
  • Missing context field in ValidationErrorKind.OneOfMultipleValid type stub.
  • Incorrect type for ValidationErrorKind.MultipleOf.multiple_of - now correctly typed as int | float | Decimal to support arbitrary precision numbers.

[Rust] Release 0.36.0

Added

  • CLI: Structured --output flag|list|hierarchical modes now stream newline-delimited JSON records with schema/instance metadata plus JSON Schema Output v1 payloads (default text output remains human-readable).
  • CLI: --errors-only flag to suppress successful validation output and only show failures.
  • CLI: When invoked with only a schema file (no instances), it validates the schema against its meta-schema. #804
  • New Validator::evaluate() API exposes JSON Schema Output v1 (flag/list/hierarchical) reports along with iterator helpers for annotations and errors.
  • meta::validator_for() function to build validators for meta-schema validation with full Validator API access.
  • Validator now implements Clone. #809

Removed

  • Validator::apply(), Output, and BasicOutput types have been removed in favor of the richer evaluate() API.

[Python] Release 0.35.0

Added

  • Support for custom meta-schemas. Schemas with custom $schema URIs can now be used by registering their meta-schemas via the registry parameter in validator_for(). #664
  • registry parameter to meta.is_valid() and meta.validate() for validating schemas against custom meta-schemas.
  • Type stubs for the meta module.
  • PyPy 3.11 support. #309
  • Support for arbitrary-precision numbers, including large integers and high-precision decimals that exceed standard floating-point limits. #103
  • Support for HTTPS $schema URIs for drafts 04, 06, and 07 (e.g., https://json-schema.org/draft-07/schema). #802

Changed

  • BREAKING: meta.is_valid() and meta.validate() now raise ReferencingError for unknown $schema values instead of defaulting to Draft 2020-12. Use the registry parameter to validate against custom meta-schemas.
  • Migrated to abi3, so a single wheel per platform works on all supported 3.10+ interpreters.

Removed

  • Support for Python 3.8 & 3.9.

Performance

... (truncated)

Changelog

Sourced from jsonschema's changelog.

[0.36.0] - 2025-11-18

Added

  • CLI: Structured --output flag|list|hierarchical modes now stream newline-delimited JSON records with schema/instance metadata plus JSON Schema Output v1 payloads (default text output remains human-readable).
  • CLI: --errors-only flag to suppress successful validation output and only show failures.
  • CLI: When invoked with only a schema file (no instances), validates the schema against its meta-schema. #804
  • New Validator::evaluate() API exposes JSON Schema Output v1 (flag/list/hierarchical) reports along with iterator helpers for annotations and errors.
  • meta::validator_for() function to build validators for meta-schema validation with full Validator API access.
  • Validator now implements Clone. #809

Removed

  • Validator::apply(), Output, and BasicOutput types have been removed in favor of the richer evaluate() API.

[0.35.0] - 2025-11-16

Added

  • Support for custom meta-schemas. Schemas with custom $schema URIs can now be used by registering their meta-schemas in the Registry via jsonschema::options().with_registry(). #664
  • arbitrary-precision feature for exact numeric validation of large integers and decimals beyond standard floating-point limits. #103
  • Support for HTTPS $schema URIs for drafts 04, 06, and 07 (e.g., https://json-schema.org/draft-07/schema). #802

Changed

  • BREAKING: meta::is_valid now panics for unknown $schema values instead of defaulting to Draft 2020-12. meta::validate returns an error for unknown $schema values. Use meta::options().with_registry() to validate schemas against custom meta-schemas.
  • BREAKING: Resource::from_contents no longer returns Result and always succeeds, since draft detection no longer fails for unknown $schema values.

Removed

  • BREAKING: meta::try_is_valid and meta::try_validate. Use meta::is_valid and meta::validate instead.
  • BREAKING: primitive_type module (deprecated since 0.30.0). Use jsonschema::types instead.

Performance

  • required: short-circuit when the instance object has fewer properties than required keys.

[0.34.0] - 2025-11-14

Changed

  • BREAKING: BasicOutput and Annotations no longer have lifetime parameters. Update type annotations from BasicOutput<'a> to BasicOutput and Annotations<'a> to Annotations.
  • referencing: URI caching now avoids hash collisions and reduces lock contention.
  • Update fluent-uri to 0.4.1.
  • Bump MSRV to 1.83.0.
  • Drop the Send + Sync bounds from Retrieve/AsyncRetrieve on wasm32.
  • Use the new draftX::meta::validator() helper so meta-schema validators lazy-init on wasm32 while native targets keep borrowing the cached jsonschema::meta::MetaValidator.

Fixed

... (truncated)

Commits
  • e739d83 chore(rust): Release 0.36.0
  • 9b232c6 feat(cli): When invoked with only a schema file (no instances), validates the...
  • 8b7491e feat(cli): --errors-only flag to suppress successful validation output and ...
  • 1828c51 test: add extra test
  • 6d001bb chore: Make Validator clonable
  • f9231ea chore(python): Various typing fixes
  • 5fa100c feat: Evaluate API
  • cb29647 chore: Fix doc warnings
  • 83000f3 chore(python): Release 0.35.0
  • bed4a9c chore(rust): Release 0.35.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jsonschema](https://github.com/Stranger6667/jsonschema) from 0.30.0 to 0.36.0.
- [Release notes](https://github.com/Stranger6667/jsonschema/releases)
- [Changelog](https://github.com/Stranger6667/jsonschema/blob/master/CHANGELOG.md)
- [Commits](Stranger6667/jsonschema@rust-v0.30.0...rust-v0.36.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Nov 18, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 20, 2025

Superseded by #3474.

@dependabot dependabot bot closed this Nov 20, 2025
@dependabot dependabot bot deleted the dependabot/cargo/jsonschema-0.36.0 branch November 20, 2025 03:16
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