Zod version 3.23.0 introduces several notable changes compared to its predecessor, 3.22.5, offering developers enhancements in both development tooling and potentially, internal library improvements reflected in the increased package size. While the core functionality remains centered around TypeScript-first schema declaration and validation with static type inference, the updated dependencies suggest an evolution in the development environment.
One key difference lies in the updated TypeScript version, moving from approximately ~4.5.0 to ~4.5.5. This adjustment likely incorporates bug fixes and performance improvements present in the newer TypeScript release. Also, the newer version has a new dependency @jest/globals":"^29.4.3" and babel-jest was updated from "^29.3.1" to "^29.5.0" which may bring slight improvements for who use jest.
Furthermore, the package size has increased, with unpackedSize growing from 627817 bytes to 673566 bytes and fileCount from 46 to 50. This suggests potential additions to the library's code, documentation, or test suite. Developers should investigate the changelog for detailed insights into new features, bug fixes, and performance gains.
For developers considering upgrading, it's important to test their existing Zod schemas against version 3.23.0 to ensure compatibility and identify any potential breaking changes (although minor version bumps typically prioritize backward compatibility). The updated development dependencies might also necessitate adjustments to your project's build process or testing configuration. Overall, Zod 3.23.0 appears to be a worthwhile upgrade, offering improvements in the underlying TypeScript version and potential enhancements throughout the library.
The are not vulnerabilities for the version 3.23.0 of the package zod