github Stranger6667/jsonschema rust-v0.26.0
[Rust] Release 0.26

latest releases: ruby-v0.46.5, python-v0.46.5, rust-v0.46.5...
18 months ago

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.

Don't miss a new jsonschema release

NewReleases is sending notifications on new releases.