Skip to content

Releases: Stranger6667/jsonschema

[Rust] Release 0.26.1

29 Oct 10:53
rust-v0.26.1
ebe4d25
Compare
Choose a tag to compare

Fixed

  • Return "Unknown specification" error on https-prefixed $schema for Draft 4, 5, 6. #629

[Python] Release 0.26.1

29 Oct 10:58
python-v0.26.1
ffccf87
Compare
Choose a tag to compare

Fixed

  • Return "Unknown specification" error on https-prefixed $schema for Draft 4, 5, 6. #629

[Rust] Release 0.26

26 Oct 07:24
rust-v0.26.0
737908f
Compare
Choose a tag to compare

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 and ValidationErrorKind::Utf8.
  • BREAKING: Validator::validate now returns the first error instead of an iterator in the Err variant.

Performance

  • Optimize error formatting in some cases.

[Python] Release 0.26

26 Oct 07:29
python-v0.26.0
45cd1bf
Compare
Choose a tag to compare

Performance

  • Optimize error formatting in some cases.
  • Speedup Python -> Rust data serialization
  • Significant improvement for the validate function.

[Rust] Release 0.25.1

25 Oct 05:10
rust-v0.25.1
c5fc57e
Compare
Choose a tag to compare

Fixed

  • Re-export referencing::Error as ReferencingError. #614

[Python] Release 0.25.1

25 Oct 12:14
python-v0.25.1
1d828fd
Compare
Choose a tag to compare

Changed

  • Schema representation inside __repr__.

Fixed

  • Panic on initializing a validator. #618

[Rust] Release 0.25.0

24 Oct 12:12
rust-v0.25.0
2d9e386
Compare
Choose a tag to compare

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, and cli features.
  • Deprecated CompilationOptions, JSONSchema, PathChunkRef, JsonPointerNode, and SchemaResolverError 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

24 Oct 09:37
rust-v0.24.3
89d6abc
Compare
Choose a tag to compare

Fixed

  • Infinite recursion when using mutually recursive $ref in unevaluatedProperties.

[Python] Release 0.25.0

24 Oct 14:22
python-v0.25.0
901ad6c
Compare
Choose a tag to compare

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

24 Oct 12:12
python-v0.24.3
5cd7233
Compare
Choose a tag to compare

Fixed

  • Infinite recursion when using mutually recursive $ref in unevaluatedProperties.