
Introducing Zod 4 | Zod
After a year of active development: Zod 4 is now stable! It’s faster, slimmer, more tsc-efficient, and implements some long-requested features.
TypeScript developers using Zod for schema validation and data transformation, especially those working with API serialization or database mapping
Zod 4.1 introduced a new z.codec() API for defining bi-directional transformations in Zod.