Zod version 3.11.0 represents a minor update to the popular TypeScript-first schema declaration and validation library, building upon the foundation laid by version 3.10.3. While the core functionality remains consistent, developers can anticipate subtle improvements and refinements under the hood. A key visible aspect is the size difference, with version 3.11.0 exhibiting a slightly larger unpacked size (510411 bytes) compared to 3.10.3 (510108 bytes). This minor increase likely reflects internal code optimizations, bug fixes, or the addition of new, albeit small, features or data structures. The release dates also highlight a relatively short interval between the two versions, with 3.10.3 released on October 19, 2021, and 3.11.0 following on October 23, 2021. This suggests a rapid iteration cycle, possibly addressing immediate issues or introducing minor enhancements quickly.
Both versions share identical development dependencies, encompassing tools like Jest for testing, ESLint for code linting, Rollup for bundling, and TypeScript for type checking. This shared toolchain signifies a consistent development process and commitment to code quality across both releases. Developers upgrading from 3.10.3 to 3.11.0 can expect a seamless transition with minimal code changes required, while benefitting from the incremental improvements and bug fixes incorporated in the newer version. Ultimately, staying current with the latest minor version ensures developers are leveraging the most refined and robust iteration of the Zod library.
All the vulnerabilities related to the version 3.11.0 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.