ajv
8.20.0 · 24 Apr 2026MIT544M / weekRepositoryHomepagenpmAtom feed
Upgrading ajv From 8.15.0 to 8.20.0
4 releases in betweenevery note read
Before you upgrade
Tick each one off as you go- Breaking8.17.1
Security
Fixes 1 advisory affecting 8.15.0
- ajv has ReDoS when using `$data` optionmoderate · GHSA-2g4f-4pwh-qvx6
- 8.18.0
pattern: Use configured RegExp engine with $data keyword to mitigate ReDoS attacks (CVE-2025-69873)
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.16.0nothing new or fixed in the note
1 other line we could not sort, mostly version bumps
- 8.16.0
Revert fast-uri change
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.