ajv
8.20.0 · 24 Apr 2026MIT544M / weekRepositoryHomepagenpmAtom feed
Upgrading ajv From 7.2.4 to 8.0.0
1 release in betweenevery note read
- 3
- changes to make
- 0
- advisories fixed
- 3
- new
- 0
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
Security
1 advisory still affects 8.0.0
- ajv has ReDoS when using `$data` optionmoderate · GHSA-2g4f-4pwh-qvx6
Upgrading to 8.18.0 clears it.
Release by release
- Breaking
dataPathproperty replaced withinstancePath - Breaking
"should" replaced with "must" in the messages
- Breaking
Property name is removed from "propertyName" keyword error message (it is still available in
error.params.propertyName). - New
Errors consistent with JTD specification.
- New
Error objects with additional properties to simplify error handling (see Error objects)
- New
Internationalized error messages with ajv-i18n TypeScript: support type unions in JSONSchemaType
- Breaking
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.