I was playing it coy yesterday :) the release of Zod 4 will be accompanied by a new sister library to Zod: "@zod/mini"
its API mirrors Zod one-to-one, but it's optimized for tree shaking—more functions, less methods. for comparison:
zod/mini was also announced yesterday - 6.6x reduction in bundle size.
Absolute game changer for frontend Zod use cases