ajv
8.20.0 · 24 Apr 2026MIT544M / weekRepositoryHomepagenpmAtom feed
Upgrading ajv From 4.10.3 to 6.14.0
65 releases in betweennotes for 29
Counted from 29 of 65 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking6.0.0
- Deprecated5.0.0
Security
Fixes 2 advisories affecting 4.10.3
- ajv has ReDoS when using `$data` optionmoderate · GHSA-2g4f-4pwh-qvx6
- Prototype Pollution in Ajvmoderate · GHSA-v88g-cgmw-v5xw
- 6.12.3
Fixed vulnerability related to untrusted schemas (CVE-2020-15366)
Release by release
6.12.4 – 6.14.04 releases, nothing new or fixed; 1 without a note
- Security
Fixed vulnerability related to untrusted schemas (CVE-2020-15366)
- Security
6.0.1 – 6.12.229 releases, nothing new or fixed; 13 without a note
- Breaking
Removed deprecated
patternGroupskeyword
- Breaking
5.0.1 – 5.5.219 releases, nothing new or fixed; 14 without a note
- Deprecated
patternGroups is deprecated, it can be still used with option
patternRequired. - New
Support for boolean schemas: wherever a schema is required,
true/falsecan be used in order to always pass/fail validation. - New
Support custom formats for numbers (#291).
- New
Added format "url" (WHATWG URL specification).
- Deprecated
4.11.1 – 4.11.88 releases, nothing new or fixed; 7 without a note
- New
Allow hyphens in keyword names.
- New
60 other lines we could not sort, mostly version bumps
- 6.12.0
TypeScript usage notes
- 6.9.0
dependenciesoption in to require the presence of keywords in the same schema. - 6.9.0
More strict validation of the definition using JSON Schema.
- 6.0.0
if/then/elsekeywords - 6.0.0
$commentkeyword - 6.0.0
Default meta-schema is draft-07
- 6.0.0
Only
$idkeyword is used as schema ID by default. - 6.0.0
schemaIdoption should be set to "id" or "auto" foridkeyword to be used. See Options. - 6.0.0
date,date-time,time: support leap year and leap second - 6.0.0
json-pointer: only validates a string format of JSON pointer
2 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.