Skip to content

zod 3.4.0

3.4

  • unknown and any schemas are always interpreted as optional. Reverts change from 3.3.

3.3.0

  • HUGE speed improvements
  • Added benchmarking: yarn benchmark
  • Type signature of ZodType#_parse has changed. This will affects users who have implemented custom subclasses of ZodType.
  • [reverted] Object fields of type unknown are no longer inferred as optional.