Releases: Stranger6667/jsonschema
Releases · Stranger6667/jsonschema
[Python] Release 0.19.1
Fixed
ipv4
format validation. #512
[Rust] Release 0.19.0
Added
jsonschema::compile
shortcut.
Changed
- Bump MSRV to
1.70
.
Fixed
uuid
format validation.- Combination of
unevaluatedProperties
withallOf
andoneOf
. #496
Deprecated
cli
feature in favor of a separatejsonschema-cli
crate.draft201909
anddraft202012
features. The relevant functionality is now enabled by default.
Performance
uuid
validation viauuid-simd
.
[Python] Release 0.19.0
Fixed
uuid
format validation.- Combination of
unevaluatedProperties
withallOf
andoneOf
. #496
Performance
uuid
validation.
Removed
- Support for Python 3.7.
[Rust] Release 0.18.3
Fixed
- Changing base URI when
$ref
is present in drafts 7 and earlier. - Removed
dbg!
macro.
[Python] Release 0.18.3
Fixed
- Changing base URI when
$ref
is present in drafts 7 and earlier.
[Rust] Release 0.18.2
Fixed
- Ignoring
$schema
in resolved references. - Support integer-valued numbers for
maxItems
,maxLength
,maxProperties
,maxContains
,minItems
,minLength
,minProperties
,minContains
.
Deprecated
with_meta_schemas()
method. Meta schemas are included by default.
[Python] Release 0.18.2
Fixed
- Ignoring
$schema
in resolved references. - Support integer-valued numbers for
maxItems
,maxLength
,maxProperties
,maxContains
,minItems
,minLength
,minProperties
,minContains
.
Deprecated
with_meta_schemas
argument. Meta schemas are included by default.
[Rust] Release 0.18.1
Added
ErrorDescription::into_inner
to retrieve the innerString
value.
[Python] Release 0.18.1
Changed
- Update
pyo3
to0.22
.
[Rust] Release 0.18.0
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.