Zod, a TypeScript-first schema declaration and validation library, has released version 3.23.6, succeeding the previous stable version 3.23.5. Both versions share identical development dependencies, indicating a consistent build and testing environment. These dependencies include tools for testing (Jest, Vitest, ts-jest, @swc/jest, babel-jest, @jest/globals), linting (ESLint, @typescript-eslint/parser, @typescript-eslint/eslint-plugin), code formatting (Prettier), bundling (Rollup), and TypeScript support (ts-node, typescript, @babel/preset-typescript, @rollup/plugin-typescript).
The key difference lies in the release date and possibly under-the-hood improvements as well as bug fixes. Version 3.23.6 was released on May 3rd, 2024, while version 3.23.5 was released on April 29th, 2024. The unpacked size of version 3.23.6 is also slightly smaller (666232 bytes) compared to version 3.23.5 (673750 bytes). This decrease could be due to optimizations or the removal of unnecessary code. Both versions have 50 files in the distributed package.
Developers using Zod can expect a schema validation library focused on static type inference with consistent tooling for development as both version share the same dependencies versions. The newer version aims to improve upon the previous one with bug fixes and internal improvements, without introducing breaking changes in the development dependencies.
The are not vulnerabilities for the version 3.23.6 of the package zod