NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #423 most downloaded on npm
TypeScript-first schema declaration and validation library with static type inference
Latest stable
4.6.7
Last release 1 months ago
12 Oct 2026
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 57 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
1013 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
unknown and any schemas are always interpreted as optional. Reverts change from 3.3.
unknown and any schemas are always interpreted as optional. Reverts change from 3.3.yarn benchmarkZodType#_parse has changed. This will affects users who have implemented custom subclasses of ZodType.unknown are no longer inferred as optional.Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix TypeScript 4.3 recursive type issues
Fix TypeScript 4.3 recursive type issues
Nothing published for this version
Refactor ZodString and ZodNumber validations internally: #469
Refactor ZodString and ZodNumber validations internally: #469
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added .returnType and .parameters methods to ZodFunction
.returnType and .parameters methods to ZodFunctionAdded .required() method to ZodObject
.required() method to ZodObjectNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixed https://github.com/colinhacks/zod/issues/339
Fixed https://github.com/colinhacks/zod/issues/339
Refactored parsing logic into individual subclass methods
or method to ZodTypeformat method to ZodErrorunwrap method to ZodOptional and ZodNullabledefault method and moved default functionality into ZodOptionalz.setErrorMapz variable from index.ts to enable import { z } from 'zod';Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.