v4.3.6
Fixes
- Added missing User-Agent to robots.txt
- Fixed typo in codec.test.ts
Improvements
- Generalized numeric key handling
- Eliminated non-null assertions
- Removed re-exported star modules to improve tree-shaking
Unclaimed project
Are you a maintainer of zod? Claim this project to take control of your public changelog and roadmap.
Changelog
TypeScript-first schema validation with static type inference
Last updated about 1 month ago
Fixes
Improvements
This is Zod's biggest release since 4.0. It addresses several of Zod's longest-standing feature requests.
z.fromJSONSchema()Convert JSON Schema to Zod (#5534, #5586)
You can now convert JSON Schema definitions directly into Zod schemas. This function supports JSON Schema "draft-2020-12",...
https://github.com/standard-schema/standard-schema/pull/134
z.fromJSONSchema()const jsonSchema = {
type: "object",
properties: {
name: { type: "string" },
age: { type: "number" }
},
required: ["name"]
};
const schema = z.fromJSONSchema(jsonSchema);
z.xor()...Interactive roadmaps, guides and other educational content to help developers grow in their careers.
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core