Releases: colinhacks/zod
Releases · colinhacks/zod
v3.25.13
v3.25.12
v3.25.11
Commits:
v3.25.10
v3.25.9
Commits:
- 8592854 Zod 4 (#4074)
- 6c8bbb4 v3.25.0
- c474b37 v3.25.0
- 9102fa5 v3.25.0
- 46dca65 v3.25.1
- 2381daf Update Jazz
- e7f75d6 v3.25.3
- 3c7e6f5 Fix link
- 24a5e4f v3.25.4. Fix T_1 bug.
- 538efea Fix copy/paste typo (#4420)
- 1c42058 Revert
Error
inheritance changes (#4424) - 6dbbecd 3.25.5
- d9f76e1 Fix shadowed generic
- a18fc02 v3.25.6
- 1ea1c77 fix: iso timezone docs typo (#4423)
- d40b295 Add
zocker
to v4 Ecosystem Page (#4419) - 13226e0 Fix types issue
- 868acc1 3.25.7
- 8739138 Add link to writeup
- 8cf6bfc Add link to writeup
- d031827 Clarify versioning
- 66ee76c Typos
- 4059474 Revert type fix
- e9a0798 Revert "Revert type fix"
- fe105a9 v3.25.9
v3.25.0
This is a minor version bump. No new features are added to Zod 3. The first stable release of Zod 4 has been made available at the following subpath:
import z from "zod/v4"
Learn more about this versioning scheme here: #4371
Read the release notes here: https://zod.dev/v4
Find the Zod 4 migration guide here: https://zod.dev/v4/changelog
v3.24.4
v3.24.3
Main feature: massive tsc
performance improvement in .extend()
courtesy of @Andarist: #4150
Commits:
- de1f090 Switch to featured sponsors (#4001)
- eea05ae Fix headers (#4003)
- 446644f Tweak feature layout (#4008)
- 1d6e1cb docs(README): add GQLoom to tools and integrations section (#3995)
- e2b9a5f Update feature (#4009)
- 0b5d29e Feature Mintlify (#4014)
- 47dbb2d Update mintlify feature (#4015)
- 69d8436 Add Clerk fellowship mention (#4020)
- 850871d Fix table format
- f204123 WIP (#4028)
- 5041dfa WIP (#4045)
- cb2b857 docs: add TanStack Form to Ecosystem/Form integrations (#4055)
- 099fe85 docs: add oRPC to Ecosystem (#4042)
- b999b4b docs: Remove outdated doc 'avoid coercions that throw uncaught errors' (#4005)
- 19c6d2e docs: update README_KO (#4025)
- 1061293 WIP (#4060)
- 07ff0da Update link
- 4c7d8e5 Update Fern art/link (#4062)
- 91dcd30 removed unnecessary console logs (#4059)
- 859ad24 Update alt tag for Retool and Stainless URL (#4071)
- 220aeda Fix images
- b865062 update readme.md with zod-csv library (#4021)
- 0615af8 Fix formatting
- 12e5866 Add zod 4 beta anno (#4081)
- faac697 Fix CI
- 8cca93b Fix CI
- d114394 Added FullProduct.dev to 'Powered by Zod' in Ecosystem section (#4131)
- a801ddd Fix broken logo link (#3974)
- 8fc309a Add packages/docs
- bfd0913 Remove packages/docs
- 3e602d4 Optimize
extendShape
(#4150) - 06db7f8 3.24.3
- a18d25b add back packages/docs
v4.0.0-beta
Zod 4 is now in beta.
The repo now contains three separate packages:
zod
@zod/mini
: a tree-shakable variant of Zod.@zod/core
: a library that implements logic/parsers shared betweenzod
and@zod/mini
.
During the beta period:
zod
— published continuously tozod@next
, e.g.zod@4.0.0-beta.20250410T214751
@zod/mini
— published continuously to@zod/mini@next
, e.g.@zod/mini@4.0.0-beta.20250410T214751
@zod/core
— published tolatest
in thev.0x
version range (initial development in semver)
To install/upgrade:
npm upgrade zod@next
npm install @zod/mini@next
npm install @zod/core
A note on versioning
For simplicity, additional beta will be continuously released as additional commits are made to the v4
branch.
After the beta:
- stable versions of
zod
and@zod/mini
will be released as4.0.0
. They will remain version-locked moving forward. They will be pinned to a specific@zod/core
version. @zod/core
will be released as1.0.0
. It will not be version-locked tozod
and@zod/mini
. This gives those libraries the freedom to evolve their APIs independent of@zod/core
. Moreover,@zod/core
will likely serve as the underpinning for additional libraries in the future, so it may implement/modify code that isn't used by eitherzod
or@zod/mini
.
v3.24.2
Notes
Support asynchronous checks in z.custom()
.
const customSchema = z.custom<number>(async (x) => {
return typeof x === "number";
});
Commits:
- cdcf9d4 Bump rollup from 2.79.1 to 2.79.2 (#3895)
- a2ad370 Bump find-my-way from 8.2.0 to 8.2.2 (#3897)
- 0e02d66 Bump nanoid from 3.3.7 to 3.3.8 (#3896)
- 96be65f Bump cross-spawn from 7.0.3 to 7.0.6 (#3882)
- f7ad261 Bump micromatch from 4.0.7 to 4.0.8 (#3748)
- d724620 Add
zod-struct
to utilities for Zod (#3921) - 6b96cfd Update README.md (#3949)
- e376cda Add Courier to README (#3961)
- 8a099de Add CodeRabbit to sponsors (#3975)
- 587d160 WIP (#3976)
- 9d3af2e Add CodeRabbit at Platinum (#3981)
- eedeb4b docs(X to Zod): Update url for runtyping (#3971)
- 706f49f fix: redirect url to correct url (#3939)
- 7365b7d docs: translate README to Korean (#3934)
- b7e173d Format
- 1dd44a0 Support async z.custom
- e308703 v3.24.2