Skip to content

Releases: Stranger6667/jsonschema

[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.

[Python] Release 0.18.0

07 May 20:13
python-v0.18.0
bcb6d39
Compare
Choose a tag to compare

Added

  • Defining custom format checkers. #245

Changed

  • Update pyo3 to 0.21.

Fixed

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

[Python] Release 0.17.3

22 Mar 18:04
python-v0.17.3
79e35a2
Compare
Choose a tag to compare

Added

  • Support subclasses of Python dicts #427

[Python] Release 0.17.2

03 Mar 19:33
python-v0.17.2
8eacf2d
Compare
Choose a tag to compare

Added

  • Support for Python 3.12 #439

Changed

  • Expose drafts 2019-09 and 2020-12
  • Update pyo3 to 0.20

Release 0.17.1

05 Jul 10:00
rust-v0.17.1
8a2fa1f
Compare
Choose a tag to compare

Changed

  • Improved error messages for oneOf / anyOf keywords. #429

Fixed

  • Improper handling of subschema validation in unevaluatedProperties. #421

[Python] Release 0.16.0

12 May 15:41
python-v0.16.0
ead0da1
Compare
Choose a tag to compare

Added

  • Python 3.10 support

Fixed

  • Installation error due to pyo3-built incompatibility
  • Memory leak in iter_errors. #325

Changed

  • Update pyo3 to 0.16.

Removed

  • Support for Python 3.6

Release 0.16.0

21 Apr 15:34
rust-v0.16.0
10530ec
Compare
Choose a tag to compare

Fixed

  • Library compilation with no default features. #356
  • Compilation with resolve-file only. #358

Changed

  • BREAKING: Revert changes from #353 and #343, as they caused compilation issues.