·
3 commits
to master
since this release
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.