library · inferred from evidence
zod
A library with versions v3, v4, 3.25.0, and 3.25.76, used for schema validation.
- Composio mastra provider gettools failed - Error getting serialized tools
This was a zod 4 incompatibility in the Mastra provider. The jsonSchemaToZodSchema calls in the provider broke under zod 4, so tool serialization failed. Two fixes: the quick workaround was pinning zod back to 3, which one reporter confirme
- Stagehand + zod 4: Invalid schema for response_format, type None
Stagehand's published types imported `zod/v3` internals, so a v4 install silently produced `type: "None"` schemas that the model provider rejects. The team's fix was to pin zod to `^3.25.0` (PR #1032, released in 2.5.0) while they finished