Skip to content

Migrate to Zod v4 #1387

@peterpeterparker

Description

@peterpeterparker

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions