jsonschema-rs v0.8.0 Release Notes

Release Date: 2021-04-27 // 9 months ago
  • ๐Ÿ”„ Changed

    • The propertyNames validator now contains the parent object in its instance attribute instead of individual properties as strings.
    • ๐Ÿ‘Œ Improved error message for the additionalProperties validator. After - Additional properties are not allowed ('faz' was unexpected), before - False schema does not allow '"faz"'.
    • The additionalProperties validator emits a single error for all unexpected properties instead of separate errors for each unexpected property.
    • ๐Ÿ’ฅ Breaking: ValidationError.instance_path is now a separate struct, that can be transformed to Vec<String> or JSON Pointer of type String.

    ๐Ÿ›  Fixed

    • All instance_path attributes are pointing to the proper location.