jsonschema v0.14.0 Release Notes
Release Date: 2022-01-23 // about 2 years ago-
๐ 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