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
Last release 20 days ago
13 Sep 2026
Ships unpredictably
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
1011 releases · first in 2020
One column per quarter.
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
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
a429256d5999be4686b0da55347cc4ea65d0c5d3 Allow HH:MM format in z.string().datetime() and z.string().time()
z.string().datetime() and z.string().time() (#4315)Main feature: massive tsc performance improvement in .extend() courtesy of @Andarist: #4150
Main feature: massive tsc performance improvement in .extend() courtesy of @Andarist: #4150
extendShape (#4150)Support asynchronous checks in z.custom() .
Support asynchronous checks in z.custom() .
const customSchema = z.custom<number>(async (x) => {
return typeof x === "number";
});
zod-struct to utilities for Zod (#3921)0c6cbbdd1315683dd3d589fbdc5765c26431dcc9 Undeprecate .nonempty()
This is the first version of Zod to implement the Standard Schema spec. This is a new community effort among several validation library authors to imp
@standard-schema/specThis is the first version of Zod to implement the Standard Schema spec. This is a new community effort among several validation library authors to implement a common interface, with the goal of simplifying the process of integrating schema validators with the rest of the ecosystem. Read more about the project and goals here.
z.string().jwt()Thanks to @Mokshit06 and @Cognition-Labs for this contribution!
To verify that a string is a valid 3-part JWT.
z.string().jwt();
⚠️ This does not verify your JWT cryptographically! It merely ensures its in the proper format. Use a library like
jsonwebtokento verify the JWT signature, parse the token, and read the claims.
To constrain the JWT to a specific algorithm:
z.string().jwt({ alg: "RS256" });
z.string().base64url()Thank you to @marvinruder!
To complement the JWT validation, Zod 3.24 implements a standalone .base64url() string validation API. (The three elements of JWTs are base64url-encoded JSON strings.)
z.string().base64url()
This functionality is available along the standard z.string().base64() validator added in Zod 3.23.
z.string().cidr()Thanks to @wataryooou for their work on this!
A validator for CIDR notation for specifying IP address ranges, e.g. 192.24.12.0/22.
z.string().cidr()
To specify an IP version:
z.string().cidr({ version: "v4" })
z.string().cidr({ version: "v6" })
View the full diff from 3.23.8: https://github.com/colinhacks/zod/compare/v3.23.8...v3.24.0
base64url strings (#3712)frrm package to documentation (#3818)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
Your coding agent can read these notes before it upgrades. Set up the MCP server →