Releases: Stranger6667/jsonschema
Releases · Stranger6667/jsonschema
[Rust] Release 0.33.0
Fixed
- BREAKING:
instance_path
segments are now unescaped when iterating.LocationSegment::Property
now holdsCow<'_, str>
andLocationSegment
is no longerCopy
. #788
[Python] Release 0.33.0
Fixed
instance_path
segments are now unescaped when iterating. #788
[Rust] Release 0.32.1
Changed
- Bump
fancy-regex
to0.16
.
[Python] Release 0.32.1
Changed
- Bump
fancy-regex
to0.16
.
[Rust] Release 0.32.0
Added
- Added missing
context
field toValidationErrorKind::OneOfMultipleValid
.
Changed
- Improved error message for
enum
.
[Python] Release 0.32.0
Added
- Added missing
context
field toValidationErrorKind.OneOfMultipleValid
.
Changed
- Improved error message for
enum
.
[Rust] Release 0.31.0
Added
- CLI: flag
-d, --draft <4|6|7|2019|2020>
to enforce a specific JSON Schema draft. - CLI: flags
--assert-format
and--no-assert-format
to toggle validation offormat
keywords. - Added
context
forValidationErrorKind.AnyOf
andValidationErrorKind.OneOfNotValid
which contains errors for all subschemas, each inside a separate vector with an index matching subschema ID.
Fixed
- Improve the precision of
multipleOf
for float values.
Changed
- Bump
fancy-regex
to0.15
.
[Python] Release 0.31.0
Added
- Added support for old and new style string enums in object keys.
- Added
context
forValidationErrorKind.AnyOf
andValidationErrorKind.OneOfNotValid
which contains errors for all subschemas, each inside a separate list with an index matching subschema ID.
Changed
- Update
pyo3
to0.25
.
Fixed
- Improve the precision of
multipleOf
for float values.
[Rust] Release 0.30.0
Added
JsonType
andJsonTypeSet
.ValidationOptions::with_base_uri
that allows for specifying a base URI for all relative references in the schema.- Configuration options for the underlying regex engine used by
pattern
andpatternProperties
keywords.
Changed
- Better error messages for relative
$ref
without base URI.
Fixed
- CLI: Inability to load relative file
$ref
. #725
Removed
- Internal cache for regular expressions.
Deprecated
PrimitiveType
andPrimitiveTypesBitMap
.
[Python] Release 0.30.0
Added
base_uri
keyword argument that allows for specifying a base URI for all relative references in the schema.- Configuration options for the underlying regex engine used by
pattern
andpatternProperties
keywords.
Changed
- Better error messages for relative
$ref
without base URI. - Update
pyo3
to0.24
.
Fixed
- Added Registry to type declarations.
Removed
- Internal cache for regular expressions.