Zod-to-json-schema is a valuable tool for developers using Zod for schema validation, streamlining the process of converting Zod schemas into JSON Schema format. Version 3.20.0, released on December 15, 2022, builds upon the previous stable version, 3.19.4, also released on the same day.
One key difference lies in the peer dependency on Zod. Version 3.19.4 specifies a range of Zod versions (>=3.19.0 <3.20.0), while version 3.20.0 requires specifically Zod version ^3.20.0. This suggests a potential update to align this tool with the newer features and updates within Zod itself.
The development dependencies also reflect this Zod version update. Version 3.20.0 uses zod version ^3.20.2 and version 3.19.4 uses zod version ^3.19.0 This indicates internal testing and compatibility efforts focused on the latest Zod release.
Regarding file size and content, version 3.20.0 has a slightly smaller unpacked size (80475 bytes) and file count (74) compared to version 3.19.4 (82058 bytes and 68 files). It's not possible to say something about the real impact from a developer point of view.
For developers using zod-to-json-schema, these changes mean that upgrading to version 3.20.0 ensures better compatibility and leverages the latest features. Confirm your Zod version meets the peer dependency requirements, and check if any changes in the updated Zod dependency may impact the generated JSON schemas.
The are not vulnerabilities for the version 3.20.0 of the package zod-to-json-schema