zod 3.6.1
-
Add IE11 support
-
ZodError.flattennow optionally accepts a map function for customizing the output -
.void()now only accepts undefined, not null. -
z.enumnow supportsReadonlystring tuplesconst HTTP_SUCCESS = ["200", "201"] as const; const arg = z.enum(HTTP_SUCCESS);