Console’s review
· Reviewed by David Mytton
What we like
The new major version includes large performance improvements. New “Zod mini” specifically designed to be lightweight and more tree-shakable. Now supports file schemas, recursive objects, template literals, falsy and truthy strings. Migration from v3 uses subpaths within the same package version - a clever way to manage breaking changes.
Tradeoffs
Breaking changes in a major library are always disruptive, but lots of effort has gone into allowing support for v3 and v4 simultaneously.