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 the Vec<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 and enum keywords. Fixes an issue checked by these tests
    • Check all properties in the required keyword implementation. #190

    โœ‚ Removed

    • Not used ValidationErrorKind::Unexpected.