yarn ajv 8.0.0-beta.1
v8.0.0-beta.1

latest releases: 8.10.0, 8.9.0, 8.8.2...
3 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.