You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zod has released a new major v4, which is faster, slimmer, more tsc-efficient, and implements some long-requested features. See Introducing Zod 4 for more details.
What problem does this feature solve?
Zod has released a new major v4, which is faster, slimmer, more
tsc
-efficient, and implements some long-requested features. See Introducing Zod 4 for more details.Key migration points include:
z.record()
with a single argument: https://zod.dev/v4/changelog#drops-single-argument-usagez.function()
is no longer a Zod schema: https://zod.dev/v4/changelog#zfunctionZodRspackCrossChecker
which introduced in fix: required amd in umd external object #8369 and fix: should validate options of builtin swc loader #10055 (forexternals
and options ofbuiltin:swc-loader
)zod-validation-error
does not support Zod v4 for now. See: Zod v4 support causaly/zod-validation-error#455What does the proposed API of configuration look like?
No changes to public APIs are required.
The text was updated successfully, but these errors were encountered: