Skip to content

Releases: Stranger6667/jsonschema

[Rust] Release 0.46.2

20 Apr 08:45
rust-v0.46.2
6c7c544

Choose a tag to compare

Fixed

  • required not enforced when additionalProperties is a schema object and required lists exactly 2 keys.

[Ruby] Release 0.46.2

20 Apr 08:46
ruby-v0.46.2
b895024

Choose a tag to compare

Fixed

  • required not enforced when additionalProperties is a schema object and required lists exactly 2 keys.

[Python] Release 0.46.2

20 Apr 08:45
python-v0.46.2
a8950ad

Choose a tag to compare

Fixed

  • required not enforced when additionalProperties is a schema object and required lists exactly 2 keys.

[Rust] Release 0.46.1

18 Apr 18:15
rust-v0.46.1
7091ee5

Choose a tag to compare

Fixed

  • required not enforced when properties has 15 or more entries and required lists exactly 2 keys.

[Ruby] Release 0.46.1

18 Apr 18:16
ruby-v0.46.1
b7d89f6

Choose a tag to compare

Fixed

  • required not enforced when properties has 15 or more entries and required lists exactly 2 keys.

[Python] Release 0.46.1

18 Apr 18:16
python-v0.46.1
9f58a7f

Choose a tag to compare

Fixed

  • required not enforced when properties has 15 or more entries and required lists exactly 2 keys.

[Rust] Release 0.46.0

10 Apr 21:52
rust-v0.46.0
871bfd3

Choose a tag to compare

Added

  • ValidatorMap for validating instances against subschemas identified by URI-fragment JSON pointer. #1075
  • CLI: Accept multiple values after -i/--instance (e.g. jsonschema validate schema.json -i *.json). #1085
  • dereference function to recursively inline $ref references. #422
  • CLI: jsonschema dereference subcommand to dereference a schema from the command line.

Breaking Changes

  • Registry construction now uses an explicit prepare step, and with_registry now borrows the prepared registry. ValidationOptions::with_resource and ValidationOptions::with_resources were removed in favor of building a Registry first. See the Migration Guide for the details.

Performance

  • Avoid registry clones and document clones during validator construction. This improves real-world schema compilation by roughly 10-20% in internal benchmarks.

[Ruby] Release 0.46.0

10 Apr 22:10
ruby-v0.46.0
89848e0

Choose a tag to compare

Added

  • Accept JSON strings in validator_cls_for.
  • Resolver and Resolved types for programmatic schema resolution.
  • dereference function to recursively inline $ref references. #422
  • ValidatorMap for validating instances against subschemas identified by URI-fragment JSON pointer. #1075

Performance

  • Avoid registry clones and document clones during validator construction. This improves real-world schema compilation by roughly 10-20% in internal benchmarks.

[Python] Release 0.46.0

10 Apr 22:01
python-v0.46.0
3680725

Choose a tag to compare

Added

  • Accept JSON strings in validator_cls_for.
  • Resolver and Resolved types for programmatic schema resolution.
  • dereference function to recursively inline $ref references. #422
  • ValidatorMap for validating instances against subschemas identified by URI-fragment JSON pointer. #1075

Fixed

  • Compilation error on wasm32 targets. #1093

Performance

  • Avoid registry clones and document clones during validator construction. This improves real-world schema compilation by roughly 10-20% in internal benchmarks.

[Rust] Release 0.45.1

06 Apr 11:39
rust-v0.45.1
2ef12bd

Choose a tag to compare

Fixed

  • Incorrect handling of multipleOf validation for negative numeric instances.
  • Incorrect handling of duration format when hours and seconds appear without minutes, or years and days without months.