Skip to content

[Rust] Release 0.26

Compare
Choose a tag to compare
@Stranger6667 Stranger6667 released this 26 Oct 07:24
· 51 commits to master since this release
rust-v0.26.0
737908f

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.