Ajv Versions Save

The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)

v8.13.0

2 weeks ago
  • add named exports
  • update dependencies
  • update node.js

v8.12.0

1 year ago
  • fix JTD serialisation (remove leading comma in objects with only optional properties) (#2190, @piliugin-anton)
  • empty JTD "values" schema (#2191)
  • empty object to work with JTD utility type (#2158, @erikbrinkman)
  • fix JTD "discriminator" schema for objects with more than 8 properties (#2194)
  • correctly narrow "number" type to "integer" (#2192, @JacobLey)
  • update Node.js versions in CI to 14, 16, 18 and 19

v8.11.2

1 year ago

Update dependencies

Export ValidationError and MissingRefError (https://github.com/ajv-validator/ajv/pull/1840, @dannyb648)

v8.11.1

1 year ago

Update dependencies

Export ValidationError and MissingRefError (#1840, @dannyb648)

v8.11.0

2 years ago

Use root schemaEnv when resolving references in oneOf (#1901, @asprouse)

Only use equal function in generated code when it is used (#1922, @bhvngt)

v8.10.0

2 years ago

uriResolver option (@zekth, #1862)

v8.9.0

2 years ago

Option code.esm to generate ESM exports for standalone validation functions (@rehanvdm, #1861) Support discriminator keyword with $ref in oneOf subschemas (@dfeufel, #1815)

v8.8.2

2 years ago

Use full RegExp string (with flags) as cache key, related to https://github.com/ajv-validator/ajv-keywords/issues/220

v8.8.1

2 years ago

Fix minContains: 0 (#1819)

v8.8.0

2 years ago

Fix browser bundles in cdnjs regExp option allowing to specify alternative RegExp engine, e.g. re2 (@efebarlas)