-
-
Notifications
You must be signed in to change notification settings - Fork 779
Open
Description
Is your feature request related to a problem? Please describe.
It would be great if the library could be migrated to the newly released Zod v4.
Describe the solution you'd like
I had a quick look. Generally speaking, it should be fairly straightforward to migrate, as the library mostly uses Zod primitives. However, there is a breaking change regarding Function in Zod v4, and I'm not exactly sure how you'd like to handle it when migrating the callback in PrintOptionsSchema. That’s why I didn’t provide a PR directly.
Additional context
- Zod v4 migration: https://zod.dev/v4/changelog
- Zod Function breaking change workaround and discussion: v4: what is the replacement for using z.function as a schema? colinhacks/zod#4143 (comment)
Metadata
Metadata
Assignees
Labels
No labels