Skip to content

parseWithZod doesn't work with latest zod v4 #1128

@ImExoOdeex

Description

@ImExoOdeex

Describe the bug and the expected behavior

I've tried with zod 4.0.0 and latest v4 and both didn't work throwing: Export named 'ZodEffects' not found in module. With latest zod v3 it works well, had to downgrade.

Conform version

v1.5.0

Steps to Reproduce the Bug or Issue

  1. Install @conform-to/zod v1.5.0
  2. Install latest zod
  3. See the thrown error

What browsers are you seeing the problem on?

No response

Screenshots or Videos

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions