Skip to content

v4.0.0

Compare
Choose a tag to compare
@epoberezkin epoberezkin released this 15 Dec 19:46
· 34 commits to master since this release

All keywords support Ajv v7.
Keywords formatMinimum/formatMaximum and formatExclusiveMinimum/formatExclusiveMaximum moved to ajv-formats, the latter two were changed to be used independently for exclusive boundaries, not as modifiers.
Keyword exclusiveRange was changed to be used separately, not as a modifier.
Keywords select/selectCases/selectDefault are re-implemented using new Acv v7 api for keywords - they now support relative references in subschemas.
Support for unevaluatedProperties/unevaluatedItems with select keyword
Use "latest" metaschema URI "http://json-schema.org/schema" for compatibility with Ajv export for JSON Schema draft-2019-09.
New implementation for "transform" keyword.
Supports standalone validation code
Keyword error type to extend tagged union DefinedError supplied by Ajv