[Rust] Release 0.26
Stranger6667
released this
26 Oct 07:24
·
51 commits
to master
since this release
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
andValidationErrorKind::Utf8
. - BREAKING:
Validator::validate
now returns the first error instead of an iterator in theErr
variant.
Performance
- Optimize error formatting in some cases.