You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm posting this issue to all the libraries currently listed in the Ecosystem section of Zod's README. Apologies for the spam! Zod 4 is a big release and it's important to get as much of the ecosystem migrated as possible! 👍
Zod 4 is now in beta
Hello! Colin here, creator of Zod. Thank you for contributing this package to the Zod ecosystem!
FYI, the first beta of Zod 4 has been released. It will be in beta for 4 weeks to allow time for ecosystem libraries (such as yours) to implement support before the first stable version is released. The first stable release will be in mid-May. Keep an eye on this PR to track progress: colinhacks/zod#4074
A new library @zod/mini has been released with a treeshakable/functional API that mirrors Zod's
To facilitate code sharing between zod and @zod/mini, they both have a dependency on a new common core library @zod/core.
This new package implements the schema subclasses that are then extended by zod and @zod/mini (and potentially future libraries). It makes it easy to support all these libraries simultaneously, with just one peerDependency on your end. There is little reason for any framework/library to depend directly on zod anymore.
pnpm install @zod/core@^0.0.1
This page is intended as a jumping-off point with some guidance for library authors: @zod/core docs
Zod 4 is now in beta
Hello! Colin here, creator of Zod. Thank you for contributing this package to the Zod ecosystem!
FYI, the first beta of Zod 4 has been released. It will be in beta for 4 weeks to allow time for ecosystem libraries (such as yours) to implement support before the first stable version is released. The first stable release will be in mid-May. Keep an eye on this PR to track progress: colinhacks/zod#4074
Announcement post: https://v4.zod.dev/v4
Migration guide: https://v4.zod.dev/v4/changelog
Migration
There have been some significant changes.
@zod/mini
has been released with a treeshakable/functional API that mirrors Zod'szod
and@zod/mini
, they both have a dependency on a new common core library@zod/core
.zod
and@zod/mini
(and potentially future libraries). It makes it easy to support all these libraries simultaneously, with just one peerDependency on your end. There is little reason for any framework/library to depend directly onzod
anymore.This page is intended as a jumping-off point with some guidance for library authors:
@zod/core
docsDon't hesitate to reach out for help/guidance!
The text was updated successfully, but these errors were encountered: