Releases: Stranger6667/jsonschema
Releases · Stranger6667/jsonschema
[Rust] Release 0.26.1
Fixed
- Return "Unknown specification" error on
https
-prefixed$schema
for Draft 4, 5, 6. #629
[Python] Release 0.26.1
Fixed
- Return "Unknown specification" error on
https
-prefixed$schema
for Draft 4, 5, 6. #629
[Rust] Release 0.26
Important: This release contains breaking changes. See the Migration Guide for details on transitioning to the new API.
Added
Validator::iter_errors
that iterates over all validation errors.
Changed
- BREAKING: Remove unused
ValidationErrorKind::JSONParse
,ValidationErrorKind::InvalidReference
,ValidationErrorKind::Schema
,ValidationErrorKind::FileNotFound
andValidationErrorKind::Utf8
. - BREAKING:
Validator::validate
now returns the first error instead of an iterator in theErr
variant.
Performance
- Optimize error formatting in some cases.
[Python] Release 0.26
Performance
- Optimize error formatting in some cases.
- Speedup Python -> Rust data serialization
- Significant improvement for the
validate
function.
[Rust] Release 0.25.1
Fixed
- Re-export
referencing::Error
asReferencingError
. #614
[Python] Release 0.25.1
[Rust] Release 0.25.0
Important: This release removes deprecated old APIs. See the Migration Guide for details on transitioning to the new API.
Changed
- BREAKING: Default to Draft 2020-12.
Removed
- Deprecated
draft201909
,draft202012
, andcli
features. - Deprecated
CompilationOptions
,JSONSchema
,PathChunkRef
,JsonPointerNode
, andSchemaResolverError
aliases. - Deprecated
jsonschema::compile
,Validator::compile
,ValidationOptions::compile
,ValidationOptions::with_resolver
,ValidationOptions::with_meta_schemas
,ValidationOptions::with_document
functions. - Deprecated
SchemaResolver
trait.
[Rust] Release 0.24.3
Fixed
- Infinite recursion when using mutually recursive
$ref
inunevaluatedProperties
.
[Python] Release 0.25.0
Important: This release removes deprecated old APIs. See the Migration Guide for details on transitioning to the new API.
Changed
- BREAKING: Default to Draft 2020-12.
Removed
- Deprecated
JSONSchema
class. - Deprecated
with_meta_schemas
argument in multiple functions.
[Python] Release 0.24.3
Fixed
- Infinite recursion when using mutually recursive
$ref
inunevaluatedProperties
.