jsonschema-rs v0.7.0 Release Notes
Release Date: 2021-04-27 // almost 3 years ago-
โ Added
ValidationError.instance_path
that shows the path to the erroneous part of the input instance. It has theVec<String>
type and contains components of the relevant JSON pointer.
๐ Changed
- ๐ Make fields of
ValidationError
public. It allows the end-user to customize errors formatting.
๐ Fixed
- ๐ฆ Reject IPv4 addresses with leading zeroes. As per the new test case in the JSONSchema test suite. More info
- โ
Do not look for sub-schemas inside
const
andenum
keywords. Fixes an issue checked by these tests - Check all properties in the
required
keyword implementation. #190
โ Removed
- Not used
ValidationErrorKind::Unexpected
.