jsonschema-rs v0.8.0 Release Notes
Release Date: 2021-04-27 // almost 3 years ago-
๐ Changed
- The
propertyNames
validator now contains the parent object in itsinstance
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 toVec<String>
or JSON Pointer of typeString
.
๐ Fixed
- All
instance_path
attributes are pointing to the proper location.
- The