Skip to content

Conversation

nstandif
Copy link
Contributor

@nstandif nstandif commented Aug 22, 2025

Adds zod v4.0.0 support while maintaining backwards compatibility with v3 per the Zod guide: https://zod.dev/library-authors.

Fixes #573.

Adds `zod` v4.0.0 support while maintaining backwards compatibility with `v3` per the Zod guide: https://zod.dev/library-authors.
@slinkydeveloper
Copy link
Collaborator

Can you also update the zod_greeter example to use zod v4?

@slinkydeveloper slinkydeveloper self-assigned this Aug 26, 2025
@slinkydeveloper slinkydeveloper self-requested a review August 26, 2025 17:03
@nstandif
Copy link
Contributor Author

Can you also update the zod_greeter example to use zod v4?

Done.

@nstandif
Copy link
Contributor Author

Fixed an issue where schema wasn't correctly supporting zod objects, like strings. Should be resolved now.-

@nstandif
Copy link
Contributor Author

nstandif commented Sep 3, 2025

@slinkydeveloper PTAL

@slinkydeveloper slinkydeveloper mentioned this pull request Sep 15, 2025
@slinkydeveloper
Copy link
Collaborator

Hey i took your pr and did few changes before merging, thank you so much for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

serde.zod() causes TypeScript errors with Zod v4
2 participants