All Versions
33
Latest Version
Avg Release Cycle
27 days
Latest Release
890 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.16.1 Changes
October 20, 2022โ Added
- Add a compilation option (
should_ignore_unknown_formats()
) that allows treating unknown formats as compilation errors.
- Add a compilation option (
-
v0.16.0 Changes
April 21, 2022 -
v0.15.2 Changes
April 10, 2022๐ Fixed
- ๐ Allow HTTP(S) schema resolving with
rustls
. #353
- ๐ Allow HTTP(S) schema resolving with
-
v0.15.1 Changes
April 02, 2022๐ Fixed
- 0๏ธโฃ Enable
reqwest/native-tls
by default to avoid validation errors caused byreqwest
missing a TLS backend. #343
- 0๏ธโฃ Enable
-
v0.15.0 Changes
January 31, 2022โ Added
- ๐ The
SchemaResolver
trait to support resolving external schema references. #246 resolve-file
feature to resolve external schema files viastd::fs
. #76
๐ Changed
- The
reqwest
feature was changed toresolve-http
. #341
๐ Performance
- CLI: Use
serde::from_reader
instead ofserde::from_str
.
- ๐ The
-
v0.14.0 Changes
January 23, 2022๐ Changed
- ๐ Make
BasicOutput.is_valid
public.
๐ Fixed
- False positives in some cases when calling
JSONSchema.apply
on schemas withadditionalProperties
,patternProperties
, andproperties
combined. - False negatives in some cases when calling
JSONSchema.apply
on schemas withif
andthen
(withoutelse
) keywords. #318 - Panic in
JSONSchema.apply
on some schemas withprefixItems
anditems
. It panicked ifitems
is an object and the length ofprefixItems
is greater than the length of the input array.
๐ Performance
- โ Remove unused private field in
JSONSchema
, that lead to improvement in the compilation performance. - โก๏ธ Optimize the
multipleOf
implementation, which now can short-circuit in some cases. - โ Add special cases for arrays with 2 and 3 items in the
uniqueItems
keyword implementation. - โ Remove the
schema
argument from all methods of theValidate
trait.
- ๐ Make
-
v0.13.3 Changes
December 08, 2021๐ Changed
- ๐ Make
BasicOutput.is_valid
public.
๐ Fixed
- False positives in some cases when calling
JSONSchema.apply
on schemas withadditionalProperties
,patternProperties
, andproperties
combined. - False negatives in some cases when calling
JSONSchema.apply
on schemas withif
andthen
(withoutelse
) keywords. #318 - Panic in
JSONSchema.apply
on some schemas withprefixItems
anditems
. It panicked ifitems
is an object and the length ofprefixItems
is greater than the length of the input array.
๐ Performance
- โ Remove unused private field in
JSONSchema
, that lead to improvement in the compilation performance. - โก๏ธ Optimize the
multipleOf
implementation, which now can short-circuit in some cases. - โ Add special cases for arrays with 2 and 3 items in the
uniqueItems
keyword implementation. - โ Remove the
schema
argument from all methods of theValidate
trait.
- ๐ Make
-
v0.13.2 Changes
November 04, 2021โ Added
- ๐ Support for
prefixItems
keyword. #303 - ๐ฆ Expose methods to examine
OutputUnit
.
- ๐ Support for
-
v0.13.1 Changes
October 28, 2021๐ Fixed
- Missing
derive
fromserde
.
- Missing
-
v0.13.0 Changes
October 28, 2021โ Added
uuid
format validator. #266duration
format validator. #265- Collect annotations whilst evaluating schemas. #262
- Option to turn off processing of the
format
keyword. #261 - ๐
basic
&flag
output formatting styles. #100 - ๐ Support for
dependentRequired
&dependentSchemas
keywords. #286 - Forward
reqwest
features.
๐ Changed
- INTERNAL. A new
Draft201909
variant for theDraft
enum that is available only under thedraft201909
feature. This feature is considered private and should not be used outside of the testing context. It allows us to add features from the 2019-09 Draft without exposing them in the public API. Therefore, support for this draft can be added incrementally. - The
Draft
enum is now marked asnon_exhaustive
. - ๐
ValidationError::schema
was removed and the calls replaced by proper errors.
๐ Performance
- โฌ๏ธ Reduce the size of
PrimitiveTypesBitMapIterator
from 3 to 2 bytes. #282 - ๐ Use the
bytecount
crate formaxLength
&minLength
keywords, and for thehostname
format.