docs/v6-to-v8-migration.md
If you are migrating from v7 see v8.0.0 release notes.
[[toc]]
unevaluatedProperties and unevaluatedItems, dynamic recursive references and other additional keywords.Please note:
new keyword, as Ajv is now ES6 class.post: true in keyword definition.dataPath property replaced with instancePatherror.params.propertyName).compile and compileAsync now return type-guards - see Getting started.validate is a type-guard.new keyword (it is ES6 class).":" in keyword names.true by default)keywords - now expects the array of keyword definitions (old API works with "deprecated" warning).strictNumbers - true by default now.validateFormats: false can be used instead, format mode can be chosen via ajv-formats package.nullable keyword is supported by default.jsPropertySyntax: true (deprecated) can be used if old format is needed.ignoreKeywordsWithRef (deprecated) can be used instead to ignore $ref siblings.code: {process: (code, schemaEnv: object) => string}.code: {source: true}.strict or strictSchema.ajv.addFormat or formats option.