Zod
colinhacks/zod
WHAT IT DOES
PUBLIC ECOSYSTEM REACH
Zod is publicly integrated in official engineering projects from OpenAI, Google, Microsoft and Vercel.
- OpenAI — official Node SDK ships Zod helpers for structured outputs and tool arguments: openai-node/src/helpers/zod.ts
- Google — Genkit core imports and re-exports Zod as its consistent schema layer: genkit/js/core/src/schema.ts
- Microsoft — TypeChat includes a first-party Zod validator: TypeChat/typescript/src/zod/validate.ts
- Vercel — AI SDK demonstrates Zod schemas for structured generation: vercel/ai — generating structured data
PROJECT SOURCE · zod.dev
UPSTREAM CHANGE
additionalItems: true fell through to the same closed-tuple treatment as false. Two submitted regression cases were adopted into the merged upstream correction.WHY IT MATTERS
false closes the tuple; true or an absent additionalItems value leaves the tail open.PUBLIC EVIDENCE
- Original contribution and maintainer confirmation: colinhacks/zod#6023
- Exact maintainer confirmation: maintainer comment
- Merged upstream fix: colinhacks/zod#6020
Maintainer-confirmed diagnosis; regression tests incorporated into merged fix #6020.