Zod Blog
フィード

Zod 4.6
Zod Blog
Zod 4.6 is now available, with .validate() for boolean validation, .properties() on z.instanceof(), and six more JSON Schema keywords.
1ヶ月前

Zod 4.5
Zod Blog
Zod 4.5 is now available, with z.compile() ahead-of-time compilation, up to 9x less memory per schema, and a batch of long-awaited features.
2ヶ月前

Reducing Zod's memory footprint by an order of magnitude with method memoization
Zod Blog
A bare z.string() retained 7.5kb of heap in Zod 4.4. In Zod 4.5 it retains 784 bytes. One change to where a schema's methods live accounts for nearly all of it.
2ヶ月前

Introducing z.compile()
Zod Blog
z.compile() walks a schema once and produces a flat, loop-free JavaScript validator that runs far faster than the standard parser. Arrays, unions, and nested or wide objects parse 3 to 7x faster, with identical output and identical errors.
2ヶ月前

Joining Clerk as an OSS Fellow to work on Zod 4
Zod Blog
Announcing my Clerk OSS Fellowship and what's coming in Zod 4.
2年前