ajv
8.20.0 · 24 Apr 2026MIT544M / weekRepositoryHomepagenpmAtom feed
Upgrading ajv From 4.10.3 to 8.20.0
111 releases in betweennotes for 74
Counted from 74 of 111 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking8.17.1
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking7.2.1
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.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
- 8.18.0
pattern: Use configured RegExp engine with $data keyword to mitigate ReDoS attacks (CVE-2025-69873)
- 7.0.0
To make code injection from untrusted schemas impossible, code generation is fully re-written to be type-level safe against code injection.
- 6.12.3
Fixed vulnerability related to untrusted schemas (CVE-2020-15366)
Release by release
- Fixed
Add support for node 22/24, drop node 16/21
- Fixed
Add ES2022.RegExp for RegExpIndicesArray
- Fixed
- Security
pattern: Use configured RegExp engine with $data keyword to mitigate ReDoS attacks (CVE-2025-69873)
- New
Allow tree-shaking by adding
"sideEffects": falsetopackage.json - Fixed
#2482 Infinity and NaN serialise to null
- Fixed
Small grammatical error in managing-schemas.md
- Security
- Breaking
The only functional change is to switch from uri-js (which is no longer supported), to fast-uri.
- Breaking
8.15.0 – 8.16.02 releases, nothing new or fixed in the notes
- Fixed
Broken link in docs warning
- Fixed
- New
Add named exports
- New
- Fixed
Fix JTD serialisation (remove leading comma in objects with only optional properties) (#2190, @piliugin-anton)
- Fixed
Fix JTD "discriminator" schema for objects with more than 8 properties
- Fixed
8.4.0 – 8.11.216 releases, nothing new or fixed in the notes
107 other lines we could not sort, mostly version bumps
- 8.16.0
Revert fast-uri change
- 8.15.0
Replace
uri-jswithfast-uri - 8.15.0
Bump to 8.15.0
- 8.14.0
readme: Build badge
- 8.14.0
Update workflows
- 8.14.0
compileAsync a schema with discriminator and $ref, fixes #2427
- 8.14.0
Bump version to 8.14.0 for publishing
- 8.13.0
Update node.js
- 8.12.0
Empty JTD "values" schema
- 8.12.0
Empty object to work with JTD utility type (#2158, @erikbrinkman)
7 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.