
in the latest version of Zod Zod adds support for ✨Standard JSON Schema ✨
Introducing ✨ Standard JSON Schema ✨ It's a sister spec to Standard Schema that provides a common interface for any entity that can be converted to JSON Schema

TypeScript-first schema validation with static type inference. By @colinhacks Docs zod.dev Discord discord.gg/abmau8VR

in the latest version of Zod Zod adds support for ✨Standard JSON Schema ✨
Introducing ✨ Standard JSON Schema ✨ It's a sister spec to Standard Schema that provides a common interface for any entity that can be converted to JSON Schema

👀
New business model idea, 1 cent per download? 🥲

Zod 4 is now in beta! 💎 7x faster object parsing 💎 20x reduction in tsc instantiations 💎 57% smaller core bundle size 💎 metadata via .meta() 💎 z.toJSONSchema() 💎 z.templateLiteral() 💎 z.stringbool() 💎 z.int32(), z.float32(), etc 💎 z.file() 💎 new logo 😇

The first beta version of Zod 4 is now available!
Zod 4 is now in beta! 💎 7x faster object parsing 💎 20x reduction in tsc instantiations 💎 57% smaller core bundle size 💎 metadata via .meta() 💎 z.toJSONSchema() 💎 z.templateLiteral() 💎 z.stringbool() 💎 z.int32(), z.float32(), etc 💎 z.file() 💎 new logo 😇

BIG DAY. Introducing Standard Schema 1.0! It's a specification for a "common interface" to be implemented by all TypeScript schema libraries, written collaboratively by the the creators of Zod (👋), Valibot, and ArkType to promote interoperability. standardschema.dev/

didn't know this was happening.... OpenAI is using Zod for its Structured Outputs API 🫶
by very popular demand, structured outputs in the API: openai.com/index/introducing…



Do I spy @zodtypes in Next.js 😱 github.com/vercel/next.js/pu… @colinhacks

Zod turns 3 today! That's like 50 in JavaScript-years! Here's the original announcement post: colinhacks.com/essays/zod

I'd heard the "parse, don't validate" mantra before but just recently tracked down @lexi_lambda's original post and it finally clicked. Honestly a relief have such a concrete explanation of why using tools like @zodtypes and @pydantic "feels" so right. lexi-lambda.github.io/blog/2…

👀
I shipped a library! zod-fetch gives you a TINY wrapper to help you make any fetch function type and runtime-safe. If you've ever been intimidated by trying to hack together fetch and Zod, this library should be perfect.


Zod's `.catch(default)` method is SOOO good. Thanks @colinhacks

Did you know TypeScript doesn't provide runtime type safety? @zodtypes is here to save you. Plus it works great with Convex!
Validating user input for serverless functions is important even with end to end typescript. Use zod with Convex to get type safety and regular safety. buff.ly/3Hv2Rx1
