Zod v4 Beta: Faster, Smaller, and More Efficient Type Validation
2025-04-12

After over a year of active development, Zod v4 is now in beta! It's faster, smaller, more tsc-efficient, and implements some long-requested features. Zod 4 uses an entirely new internal architecture that solves some long-standing design limitations, lays the groundwork for some long-requested features, and closes 9 of Zod's 10 most upvoted open issues. A new sister library, @zod/mini, offers a tree-shakable functional API for significantly smaller bundle sizes. Zod 4 also introduces a new metadata system, JSON Schema conversion, improved discriminated union support, and many other improvements.
Read more
Development
Type Validation