Releases: Stranger6667/jsonschema
Releases · Stranger6667/jsonschema
[Rust] Release 0.46.2
Fixed
requirednot enforced whenadditionalPropertiesis a schema object andrequiredlists exactly 2 keys.
[Ruby] Release 0.46.2
Fixed
requirednot enforced whenadditionalPropertiesis a schema object andrequiredlists exactly 2 keys.
[Python] Release 0.46.2
Fixed
requirednot enforced whenadditionalPropertiesis a schema object andrequiredlists exactly 2 keys.
[Rust] Release 0.46.1
Fixed
requirednot enforced whenpropertieshas 15 or more entries andrequiredlists exactly 2 keys.
[Ruby] Release 0.46.1
Fixed
requirednot enforced whenpropertieshas 15 or more entries andrequiredlists exactly 2 keys.
[Python] Release 0.46.1
Fixed
requirednot enforced whenpropertieshas 15 or more entries andrequiredlists exactly 2 keys.
[Rust] Release 0.46.0
Added
ValidatorMapfor 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 dereferencefunction to recursively inline$refreferences. #422- CLI:
jsonschema dereferencesubcommand to dereference a schema from the command line.
Breaking Changes
- Registry construction now uses an explicit prepare step, and
with_registrynow borrows the prepared registry.ValidationOptions::with_resourceandValidationOptions::with_resourceswere removed in favor of building aRegistryfirst. 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
Added
- Accept JSON strings in
validator_cls_for. ResolverandResolvedtypes for programmatic schema resolution.dereferencefunction to recursively inline$refreferences. #422ValidatorMapfor 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
Added
- Accept JSON strings in
validator_cls_for. ResolverandResolvedtypes for programmatic schema resolution.dereferencefunction to recursively inline$refreferences. #422ValidatorMapfor validating instances against subschemas identified by URI-fragment JSON pointer. #1075
Fixed
- Compilation error on
wasm32targets. #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
Fixed
- Incorrect handling of
multipleOfvalidation for negative numeric instances. - Incorrect handling of
durationformat when hours and seconds appear without minutes, or years and days without months.