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
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fixed a bug in TypeScript compilation that caused build failures for projects with "skipLibCheck": false. https://github.com/vriad/zod/issues/110
Fixed a bug in TypeScript compilation that caused build failures for projects with "skipLibCheck": false. https://github.com/vriad/zod/issues/110
Nothing published for this version
Nothing published for this version
Dropping support for TypeScript 3.2 due to errors with deepPartial
Dropping support for TypeScript 3.2 due to errors with deepPartial
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added z.instanceof() and z.custom()
Major overhaul to error handling system, including the introduction of custom error maps.
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 several built-in validators to string, number, and array schemas. Calls to .refine now return new instance.
Added several built-in validators to string, number, and array schemas. Calls to .refine now return new instance.
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
Major improvement to object schemas.
Major improvement to object schemas.
Implemented .pick, .omit, and .augment. Documented in README.
Usage: ```ts const myRecord = z.record(z.object({ name: z.string() })); type myRecord = z.TypeOf // => { [k: string]: { name: string } }
Implemented ZodRecord.
Usage:
const myRecord = z.record(z.object({ name: z.string() }));
type myRecord = z.TypeOf<typeof myRecord>
// => { [k: string]: { name: string } }
myRecord.parse({
asdf: { name: 'Bruce' },
1234: { name: 'Barry' },
}) // passes
myRecord.parse({
id1: true
}) // TypeError
myRecord.parse({
id1: true
} as any) // throws
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
After working out some initial kinks (#20, #24), fixing some compatibility issues with previous versions of TypeScript (#25), and implementing some of
After working out some initial kinks (#20, #24), fixing some compatibility issues with previous versions of TypeScript (#25), and implementing some of the most glaring feature holes (#2, #5, #8, #17), Zod is ready for a proper v1 release 🚀
Thanks to everyone for submitting issues and PRs! Keep em coming.
One column per quarter.