Zod version 3.11.5 is a minor patch release following 3.11.4 in the popular TypeScript-first schema declaration and validation library. Both versions maintain the core functionality of providing static type inference, allowing developers to define schemas and validate data with strong type safety.
Examining the metadata, the primary difference lies in the dist section. Version 3.11.5 has an unpackedSize of 512122 bytes, while version 3.11.4 is slightly smaller at 512083 bytes. The file count remains the same at 53. This minimal size difference suggests that the patch likely includes very small bug fixes, performance improvements, or documentation updates rather than significant feature additions. Also the release date is different. 3.11.5 was released on 2021-10-26 and 3.11.4 on 2021-10-24 allowing to confirm that version 3.11.5 is a patch release.
For developers using Zod, upgrading from 3.11.4 to 3.11.5 is recommended to benefit from any bug fixes and potential optimizations. Given the insignificant size change, the update is expected to be seamless, with no breaking changes anticipated. Zod remains a valuable tool for TypeScript developers seeking robust schema validation and type inference, ensuring data integrity and developer productivity, both improving the overall stability and reliability. Notably, both versions depend on the same suite of development dependencies, highlighting the consistent focus on testing, linting, and build processes within the Zod project.
All the vulnerabilities related to the version 3.11.5 of the package
Zod denial of service vulnerability
Zod version 3.22.2 allows an attacker to perform a denial of service while validating emails.