Zod 4 is a new version of the Zod schema validation library, which provides faster, more efficient, and more feature-rich validation for JavaScript applications. It includes improvements such as 14x faster string parsing, 7x faster array parsing, and a 100x reduction in TypeScript instantiations. Zod 4 also introduces a new system for adding metadata to schemas and supports recursive object types. A new variant, Zod Mini, is also introduced, which provides a functional, tree-shakable API for smaller bundle sizes. Zod 4 is designed to be a more efficient and scalable solution for schema validation, with a focus on performance, simplicity, and ease of use.