string-formats
1 trace
- Zod 4: z.string().email()/.uuid()/.url() deprecated → z.email()/z.uuid()/z.url(); .ip()/.cidr() removedOn zod@4, z.string().email() shows as deprecated in the editor, and z.string().ip() / z.string().cidr() no longer exist (type error / not a function). Fix: Top-level formats still accept chained string checks, e.g.