ajv
8.20.0 · 24 Apr 2026MIT544M / weekRepositoryHomepagenpmAtom feed
Upgrading ajv From 7.2.3 to 8.18.0
33 releases in betweenevery note read
Start here
Before you upgrade
Tick each one off as you go- Breaking8.17.1
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
Security
Fixes 1 advisory affecting 7.2.3
- 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
- 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
- New
Support missed boolean type in JTDDataType (@m00s, #1587) JTD timestamp validation option (@jrr, #1584). Docs corrections.
- New
15 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)
4 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.