NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #23 most downloaded on npm
Another JSON Schema Validator
Last release 5 months ago
24 Apr 2026
Ships unpredictably
gaps range from 8 days to 1.6 years
Most releases are documented
notes for 50 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
359 releases · first in 2015
Nothing published for this version
Nothing published for this version
Nothing published for this version
Defining custom keywords with ajv.addKeyword() (4 types of keywords: validate, compile, macro and inline).
Defining custom keywords with ajv.addKeyword() (4 types of keywords: validate, compile, macro and inline).
Keywords constant and contains from JSON-schema v5 proposals with option v5: true.
Now dataPath in errors for keywords required and additionalProperties points to object (previously it pointed to offending property). The new behaviour is consistent with the data being validated and also with optional data property in errors. Offending property is available in error params (missingProperty or additionalProperty).
With option errorDataPath: 'property' dataPath in errors for keywords required, additionalProperties and dependencies points to offending property. Until version 2.0.0 it was default behaviour for keywords requiredand additionalProperties.
.params property of error objects changed for some keywords. See Error parameters.
For i18n messages version >=1.0.0 of ajv-i18n should be used.
Option i18n is removed, error parameters are available and i18n messages can be used without this option.
If you used dataPath of errors for keywords required and additionalProperties you may need to use option errorDataPath: 'property'.
If you used .params of errors you may need to update your code.
You can remove option i18n.
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixed peerDependency for ajv-i18n This and earlier versions of ajv require version 0.1.1 of ajv-i18n Future ajv versions (>=2.0.0) will require versio
Fixed peerDependency for ajv-i18n This and earlier versions of ajv require version 0.1.1 of ajv-i18n Future ajv versions (>=2.0.0) will require version >= 1.0.0 of ajv-18n
Fixed remote ref resolution for local hash ref with remote hash ref that has inner hash ref (e.g. swagger api schema), issue #70
Fixed remote ref resolution for local hash ref with remote hash ref that has inner hash ref (e.g. swagger api schema), issue #70
Improved uri format to allow relative URIs and URNs (#59). Fixed email format. Fixed reference resolution in cases of scope change. Improved validatio
Improved uri format to allow relative URIs and URNs (#59).
Fixed email format.
Fixed reference resolution in cases of scope change.
Improved validation performance.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Optimised validation of "required" keyword
Optimised validation of "required" keyword
Fix to references resolution Message for "required" keyword validation error changed
Fix to references resolution Message for "required" keyword validation error changed
Fixes and improvements in compileAsync method:
Fixes and improvements in compileAsync method:
Nothing published for this version
i18n support with ajv-i18n package
i18n support with ajv-i18n package
Nothing published for this version
Asynchronous schema compilation with loading missing remote schemas using supplied function
Asynchronous schema compilation with loading missing remote schemas using supplied function
Asynchronous schema compilation with loading missing remote schemas:
Asynchronous schema compilation with loading missing remote schemas:
compileAsync methodloadSchema optionImproved performance of "properties" keyword. Test schema validation for 64 different combinations of options.
Improved performance of "properties" keyword. Test schema validation for 64 different combinations of options.
Inline referenced schemas without refs (instead of compiling them as separate functions) - substantially increases performance of complex schemas Opti
Inline referenced schemas without refs (instead of compiling them as separate functions) - substantially increases performance of complex schemas Option inlineRefs that determines if referenced schemas are inlined and/or limits the maximum size of inlined schemas.
Improved performance of schemas with regular expressions Fixes missing files in 1.1.0
Improved performance of schemas with regular expressions Fixes missing files in 1.1.0
Nothing published for this version
addSchema no longer compiles schemas. Compiles schemas when they are used first time. Order in which schemas are added is not important (referenced sc
addSchema no longer compiles schemas.
Compiles schemas when they are used first time.
Order in which schemas are added is not important (referenced schemas should be available when compiled).
Circular references are supported.
Nothing published for this version
Nothing published for this version
addShema no longer returns compiled schema(s). Improved / fixed compilation of recursive schemas. If cache instance is supplied it must have put, get
addShema no longer returns compiled schema(s).
Improved / fixed compilation of recursive schemas.
If cache instance is supplied it must have put, get and del methods.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Improved/fixed data filtering with removeAdditional option.
Improved/fixed data filtering with removeAdditional option.
removeAdditional option allowing to remove additional properties.
removeAdditional option allowing to remove additional properties.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Errors for "required" keyword validation include missing properties Better references resolution in schemas without IDs
Errors for "required" keyword validation include missing properties Better references resolution in schemas without IDs
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
cache option and removeSchema method
cache option and removeSchema method
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
ajv can be used in the browser (with browserify)
ajv can be used in the browser (with browserify)
Schemas are validated against meta-schema before compilation
Schemas are validated against meta-schema before compilation
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →