jsonschema-rs v0.8.0 Release NotesRelease Date: 2021-04-27 // 9 months ago
propertyNamesvalidator now contains the parent object in its
instanceattribute instead of individual properties as strings.
- 👌 Improved error message for the
additionalPropertiesvalidator. After -
Additional properties are not allowed ('faz' was unexpected), before -
False schema does not allow '"faz"'.
additionalPropertiesvalidator emits a single error for all unexpected properties instead of separate errors for each unexpected property.
- 💥 Breaking:
ValidationError.instance_pathis now a separate struct, that can be transformed to
Vec<String>or JSON Pointer of type
instance_pathattributes are pointing to the proper location.