Skip to content

Releases: Stranger6667/jsonschema

[Python] Release 0.19.1

15 Sep 10:05
python-v0.19.1
299b504
Compare
Choose a tag to compare

Fixed

  • ipv4 format validation. #512

[Rust] Release 0.19.0

14 Sep 16:39
rust-v0.19.0
4349227
Compare
Choose a tag to compare

Added

  • jsonschema::compile shortcut.

Changed

  • Bump MSRV to 1.70.

Fixed

  • uuid format validation.
  • Combination of unevaluatedProperties with allOf and oneOf. #496

Deprecated

  • cli feature in favor of a separate jsonschema-cli crate.
  • draft201909 and draft202012 features. The relevant functionality is now enabled by default.

Performance

  • uuid validation via uuid-simd.

[Python] Release 0.19.0

14 Sep 16:48
python-v0.19.0
426df9c
Compare
Choose a tag to compare

Fixed

  • uuid format validation.
  • Combination of unevaluatedProperties with allOf and oneOf. #496

Performance

  • uuid validation.

Removed

  • Support for Python 3.7.

[Rust] Release 0.18.3

12 Sep 07:12
rust-v0.18.3
11ebbaa
Compare
Choose a tag to compare

Fixed

  • Changing base URI when $ref is present in drafts 7 and earlier.
  • Removed dbg! macro.

[Python] Release 0.18.3

12 Sep 12:04
python-v0.18.3
e9d1f60
Compare
Choose a tag to compare

Fixed

  • Changing base URI when $ref is present in drafts 7 and earlier.

[Rust] Release 0.18.2

11 Sep 06:16
rust-v0.18.2
bacf5fb
Compare
Choose a tag to compare

Fixed

  • Ignoring $schema in resolved references.
  • Support integer-valued numbers for maxItems, maxLength, maxProperties, maxContains, minItems, minLength, minProperties, minContains.

Deprecated

  • with_meta_schemas() method. Meta schemas are included by default.

[Python] Release 0.18.2

11 Sep 07:37
python-v0.18.2
cbb86d0
Compare
Choose a tag to compare

Fixed

  • Ignoring $schema in resolved references.
  • Support integer-valued numbers for maxItems, maxLength, maxProperties, maxContains, minItems, minLength, minProperties, minContains.

Deprecated

  • with_meta_schemas argument. Meta schemas are included by default.

[Rust] Release 0.18.1

24 Aug 20:34
rust-v0.18.1
cbdd55a
Compare
Choose a tag to compare

Added

  • ErrorDescription::into_inner to retrieve the inner String value.

[Python] Release 0.18.1

24 Aug 20:37
python-v0.18.1
f001fe6
Compare
Choose a tag to compare

Changed

  • Update pyo3 to 0.22.

[Rust] Release 0.18.0

07 May 16:36
rust-v0.18.0
ffdbcc9
Compare
Choose a tag to compare

Added

  • Custom keywords support. #379
  • Expose JsonPointerNode that can be converted into JSONPointer.
    This is needed for the upcoming custom keyword support.

Changed

  • Bump base64 to 0.22.
  • Bump clap to 4.5.
  • Bump fancy-regex to 0.13.
  • Bump fraction to 0.15.
  • Bump memchr to 2.7.
  • Bump once_cell to 1.19.
  • Bump percent-encoding to 2.3.
  • Bump regex to 1.10.
  • Bump url to 2.5.
  • Build CLI only if the cli feature is enabled.
  • BREAKING: Extend CompilationOptions to support more ways to define custom format checkers (for example in Python bindings).
    In turn, it changes ValidationErrorKind::Format to contain a String instead of a &'static str.

Fixed

  • Incorrect schema_path when multiple errors coming from the $ref keyword #426

Performance

  • Optimize building JSONPointer for validation errors by allocating the exact amount of memory needed.
  • Avoid cloning path segments during validation.