github ajv-validator/ajv v8.0.0-beta.1

latest releases: v8.17.1, v8.17.0, v8.16.0...
pre-release3 years ago

Support for union types in JSONSchemaType (#1302, @erikbrinkman).
More ergonomic Ajv constructor export - no need to use .default in .js and .mjs files (#1381).
Remove circular dependencies (#1399).
New syntax for strict option (#1392). It can now be used as boolean/"log" (to set all strict mode restrictions) or as an object with properties schema, number, types, tuples and required, the defaults are:

{
  schema: true,
  number: true,
  types: "log",
  tuples: "log",
  required: false
}

Options strictTypes, strictTuples and strictRequired removed.

Don't miss a new ajv release

NewReleases is sending notifications on new releases.