jsonschema-rs v0.3.0 Release Notes
Release Date: 2020-06-08 // almost 4 years ago-
โ Added
- ๐ JSONSchema Draft 4 support (except one optional case). #34
- ๐ CI builds. #35 and #36
- Implement specialized
is_valid
methods for all keywords. - ๐ Use
rayon
initems
keyword validation. - ๐ Various
clippy
lints. #66 Debug
implementation forJSONSchema
andResolver
. #97- 0๏ธโฃ
Default
implementation forDraft
.
๐ Changed
- ๐ Do not pin dependencies. #90
- ๐ Use
to_string
instead offormat!
. #85 - Cache compiled validators in
$ref
keyword. #83 - ๐ Use bitmap for validation of multiple types in
type
keyword implementation. #78 - Return errors instead of unwrap in various locations. #73
- ๐ Improve debug representation of validators. #70
- โฌ๏ธ Reduce the number of
match
statements during compilation functions resolving. - ๐ Use
expect
instead ofunwrap
for known cases when it is known that the code won't panic. - โ Add specialized validators for all
format
cases. - 0๏ธโฃ Reuse
DEFAULT_SCOPE
during reference resolving. - Replace some
Value::as_*
calls withif let
. - Inline all
compile
functions. - โก๏ธ Optimize
format
keyword compilation by using static strings. - โก๏ธ Optimize compilation of
true
,false
and$ref
validators. - Reuse parsed
DEFAULT_ROOT_URL
inJSONSchema::compile
. - ๐ Avoid string allocation during
scope
parsing inJSONSchema::compile
. - ๐จ Refactor benchmark suite
- ๐ Use
BTreeSet
inadditionalProperties
keyword during compilation to reduce the amount of copied data. #91
๐ Fixed