[Rust] Release 0.56.0
·
162 commits
to master
since this release
Added
canonical::RawReason, what stopped a run from modeling a document, andcanonical::RawView, carrying it beside the document and a pointer to the subschema the run stopped on.ValidationOptions::is_known_format, whether aformatof that name is checked under a draft.
Changed
- BREAKING:
canonical::CanonicalView::Rawcarries acanonical::RawViewin place of the document alone. - Canonicalization of a
oneOfwhose branches share a region too wide to expand, which spent the document's whole intersection allowance on that choice and kept the documentRaw.
Performance
- Preparing or building a schema that names no base URI parses the default one once for the process instead of once per schema.
- Canonicalizing several subschemas of one prepared document compiles each pattern once for the document instead of once per call.
- Canonicalization reads the facets no checker covers once per node instead of once per containment query.