ajv v7.0.0-beta.5 Release Notes
Release Date: 2020-11-15 // over 3 years ago-
👍 Separate Ajv class with JSON Schema draft-2019-09 support and Ajv class without any keywords/meta-schemas:
import Ajv from "ajv" // draft-07 supportimport AjvCore from "ajv/dist/core" // no keywords includedimport Ajv2019 from "ajv/dist/2019" // draft-2019-09 support (option `draft2019: true` no longer used)
0️⃣ Different default import using require (breaking change):
const Ajv = require("ajv").default // draft-07 supportconst AjvCore = require("ajv/dist/core").default // no keywords includedconst Ajv2019 = require("ajv/dist/2019").default // draft-2019-09 support
👌 Support for $data reference with in draft-2019-09