[Feature Request] Add support for Zod v4 #4092
Replies: 4 comments 3 replies
-
what is really needed for zod v4 in terms of adapter? zod v3 already supported standard schema, so the adapter was only necessary for the fallback case. is this still required? |
Beta Was this translation helpful? Give feedback.
-
At the moment, I don't think that any additional changes are required other than including zod v4 as a valid peer-dependency. Right now, only v3 is allowed |
Beta Was this translation helpful? Give feedback.
-
Unless someone else can find a reason for zod-adapter to be needed when using zod v4, I am okay with closing this discussion |
Beta Was this translation helpful? Give feedback.
-
I just took a swing at using I've found at least one change in type checking behaviour that shows up when using zod Zod v3 of same code - no error: Sample code: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Zod v4 is now in beta. It would be great if zod-adapter supported Zod v4 when it is fully released
https://v4.zod.dev/v4
Beta Was this translation helpful? Give feedback.
All reactions