All Versions
33
Latest Version
Avg Release Cycle
27 days
Latest Release
404 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v0.8.0 Changes
April 27, 2021๐ 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
-
v0.7.0 Changes
April 27, 2021โ 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
.
-
v0.6.1 Changes
March 26, 2021๐ Fixed
- Incorrect handling of
\w
and\W
character groups inpattern
keywords. #180 - Incorrect handling of strings that contain escaped character groups (like
\\w
) inpattern
keywords.
- Incorrect handling of
-
v0.6.0 Changes
February 03, 2021๐ Fixed
- Missing validation errors after the 1st one in
additionalProperties
validators.
๐ Performance
- Do not use
rayon
initems
keyword as it gives significant overhead for a general case. - Avoid partially overlapping work in
additionalProperties
/properties
/patternProperties
validators. #173
- Missing validation errors after the 1st one in
-
v0.5.0 Changes
January 29, 2021โ Added
- Cache for documents loaded via the
$ref
keyword. #75 - Meta schemas for JSON Schema drafts 4, 6, and 7. #28
๐ Fixed
- Not necessary network requests for schemas with
$id
values with trailing#
symbol. #163
๐ Performance
- Enum validation for input values that have a type that is not present among the enum variants. #80
โ Removed
-V
/--validator
options from the CLI. They were no-op and never worked.
- Cache for documents loaded via the
-
v0.4.3 Changes
December 11, 2020๐ Documentation
- ๐ Make examples in README.md runnable.
-
v0.4.2 Changes
December 11, 2020 -
v0.4.1 Changes
December 09, 2020๐ Fixed
- Integers not recognized as numbers when the
type
keyword is a list of multiple values. #147
- Integers not recognized as numbers when the
-
v0.4.0 Changes
November 09, 2020โ Added
- ๐ป Command Line Interface. #102
ToString
trait implementation for validators.- Define
JSONSchema::options
to customiseJSONSchema
compilation #131 - ๐ Allow user-defined
contentEncoding
andcontentMediaType
keywords
๐ Fixed
- ๐ ECMAScript regex support
- Formats should be associated to Draft versions (ie.
idn-hostname
is not defined on draft 4 and draft 6)
-
v0.3.1 Changes
June 21, 2020