Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.223 ·

Ajv is loaded lazily for JSON-schema validation

Startup is slightly faster because the schema validation library loads only when first used.

You'll notice Improvements
JSON All of v2.1.223
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.223,
ImprovementsSection of the release
What

The JSON-schema validator no longer pulls in Ajv when it is constructed, moving that load cost off the startup path.

Details
  • The validator destructures { Ajv: t } from a lazy require inside the function body.
  • Ajv is now loaded on first schema validation instead of at module construction.
Evidence

let { Ajv: t } = dQn(),

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.223 →

Feedback