Zod version 3.24.1 represents a minor update to the popular TypeScript-first schema declaration and validation library. Comparing it to the previous stable version, 3.24.0, the most notable change lies in the updated TypeScript dependency. Version 3.24.1 now supports TypeScript version 5.0.0 and above, while version 3.24.0 supported ~4.5.5. This is crucial for developers who want to leverage the latest TypeScript features and improvements within their Zod schemas.
For developers using Zod, this means that upgrading to 3.24.1 allows you to use the newest TypeScript syntax and functionalities without compatibility issues. If you're still on an older TypeScript version, sticking with Zod 3.24.0 might be more suitable until you're ready to upgrade your TypeScript environment.
Other than the TypeScript version support, the core functionality of Zod remains consistent between these two versions. Zod continues to provide a powerful and type-safe way to define data schemas and validate JavaScript/TypeScript data. The unpacked size for version 3.24.1 is slightly smaller (694020) compared to version 3.24.0 (698435) so 3.24.1 has more optimization in terms of space.
The are not vulnerabilities for the version 3.24.1 of the package zod