[Rust] Release 0.18.0
Stranger6667
released this
07 May 16:36
·
303 commits
to master
since this release
Added
- Custom keywords support. #379
- Expose
JsonPointerNode
that can be converted intoJSONPointer
.
This is needed for the upcoming custom keyword support.
Changed
- Bump
base64
to0.22
. - Bump
clap
to4.5
. - Bump
fancy-regex
to0.13
. - Bump
fraction
to0.15
. - Bump
memchr
to2.7
. - Bump
once_cell
to1.19
. - Bump
percent-encoding
to2.3
. - Bump
regex
to1.10
. - Bump
url
to2.5
. - Build CLI only if the
cli
feature is enabled. - BREAKING: Extend
CompilationOptions
to support more ways to define custom format checkers (for example in Python bindings).
In turn, it changesValidationErrorKind::Format
to contain aString
instead of a&'static str
.
Fixed
- Incorrect
schema_path
when multiple errors coming from the$ref
keyword #426
Performance
- Optimize building
JSONPointer
for validation errors by allocating the exact amount of memory needed. - Avoid cloning path segments during validation.