Skip to content

v0.4.1 - Zod 4 Compatibility

Latest

Choose a tag to compare

@codyde codyde released this 02 Apr 23:26
cdc6441

What's Changed

  • Added Zod 4 compatibility for extractZodShape() schema extraction
  • Added isZodSchemaLike() and isZodRawShape() helpers for robust schema detection across Zod 3 and 4
  • Accept raw shape objects ({ key: z.string() }) directly as tool parameters
  • Fully backward compatible with Zod 3

Full Changelog: v0.4.0...v0.4.1