Skip to content

v2.10.0

Compare
Choose a tag to compare
@samchungy samchungy released this 03 Nov 08:20
· 218 commits to master since this release
b811e96

What's Changed

New Features 🎉

  • Add unionOneOf by @samchungy in #184

    You can now use unionOneOf to override the output of a ZodUnion to be a oneOf schema instead of allOf (default). Previously rendering an oneOf schema was only possible with a ZodDiscriminatedUnion.

  • Bundle Package with esbuild by @samchungy in #178

    This should result in no changes to the public API, however, if you were previously reaching into the package paths internally you will now see an error.

Full Changelog: v2.9.1...v2.10.0