8000 Releases · colinhacks/zod · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: colinhacks/zod

v3.25.13

21 May 03:32
Compare
Choose a tag to compare

Commits:

v3.25.12

21 May 01:13
Compare
Choose a tag to compare

Commits:

  • 14921aa Revert "Revert "Fix module resolution issue""

v3.25.11

21 May 01:05
Compare
Choose a tag to compare

v3.25.10

21 May 01:00
Compare
Choose a tag to compare

Commits:

  • c172c19 Fix module resolution issue

v3.25.9

21 May 00:14
Compare
Choose a tag to compare

Commits:

v3.25.0

21 May 00:10
add6b7d
Compare
Choose a tag to compare

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

04 May 23:38
Compare
Choose a tag to compare

Commits:

  • a429256 Allow HH:MM format in z.string().datetime() and z.string().time() (#4315)

v3.24.3

16 Apr 22:31
Compare
Choose a tag to compare

Main feature: massive tsc performance improvement in .extend() courtesy of @Andarist: #4150

Commits:

v4.0.0-beta

10 Apr 22:06
Compare
Choose a tag to compare
v4.0.0-beta Pre-release
Pre-release

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 between zod and @zod/mini.

During the beta period:

  • zod — published continuously to zod@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 to latest in the v.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 as 4.0.0. They will remain version-locked moving forward. They will be pinned to a specific @zod/core version.
  • @zod/core will be released as 1.0.0. It will not be version-locked to zod 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 either zod or @zod/mini.

v3.24.2

11 Feb 22:53
Compare
Choose a tag to compare

Notes

Support asynchronous checks in z.custom() .

const customSchema = z.custom<number>(async (x) => {
  return typeof x === "number";
});

Commits:

0