Releases: Stranger6667/jsonschema
Releases · Stranger6667/jsonschema
[Python] Release 0.23.0
Added
- Partial support for
unevaluatedItems
, excluding references. validate_formats
argument to all validator classes and validation functions. This allows overriding the draft-specific default behavior for format validation.ignore_unknown_formats
argument to all validator classes and validation functions. When set toFalse
, unrecognized formats will be reported as validation errors instead of being silently ignored.- Python 3.13 support.
Changed
- Improve error messages on URI resolving and parsing.
Fixed
- Resolving file references on Windows. #441
Performance
- Faster building of a validator.
- Speedup
hostname
&idn-hostname
formats validation.
[Rust] Release 0.22.3
Performance
- Speedup resolving.
[Python] Release 0.22.3
Performance
- Speedup resolving.
[Rust] Release 0.22.2
Fixed
- ECMAScript 262 regex support.
Performance
- Speedup
json-pointer
andrelative-json-pointer
formats validation.
[Python] Release 0.22.2
Fixed
- ECMAScript 262 regex support.
Performance
- Speedup
json-pointer
andrelative-json-pointer
formats validation.
[Rust] Release 0.22.1
Fixed
- Removed
dbg!
macro.
[Rust] Release 0.22.0
Changed
- Extend email validation. #471
- BREAKING: Custom retrievers now receive
&Uri<&str>
instead of&UriRef<&str>
- Bump
once_cell
to1.20
. - Bump
regex
to1.11
.
Fixed
time
format validation (leap seconds and second fractions).duration
format validation.- Panic on root
$id
without base. #547 hostname
format validation (double dot).idn-hostname
format validation. #101
Performance
- Faster building of a validator.
hostname
,date
,time
,date-time
, andduration
formats validation.- Cache regular expressions for
pattern
. #417
[Python] Release 0.22.1
Fixed
- Removed
dbg!
macro.
[Python] Release 0.22.0
Changed
- Extend email validation. #471
Fixed
time
format validation (leap seconds and second fractions).duration
format validation.- Panic on the root
$id
without a base. #547 hostname
format validation (double dot).idn-hostname
format validation. #101
Performance
- Faster building of a validator.
hostname
,date
,time
,date-time
, andduration
formats validation.- Cache regular expressions for
pattern
. #417
[Python] Release 0.21.0
Added
$anchor
support.$recursiveRef
&$recursiveAnchor
support in Draft 2019-09.$dynamicRef
&$dynamicAnchor
support in Draft 2020-12.
Changed
- BREAKING: Treat
$ref
as URI, not URL and additionally normalize them. #454 - BREAKING: Resolve all non-recursive references eagerly.
- BREAKING: Disallow use of fragments in
$id
. #264
Fixed
- Infinite recursion in
unevaluatedProperties
. #420 - Cross-draft validation from newer to older ones.
- Changing base URI in folder.
- Location-independent identifier in remote resource.
- Missing some format validation for Draft 2020-12.
- Incomplete
iri
&iri-reference
validation.
Performance
- Faster validation for
uri
,iri
,uri-reference
, andiri-reference
formats.