From 9baf702e832ce56916280b50d139f6df4548973b Mon Sep 17 00:00:00 2001 From: ymc9 <104139426+ymc9@users.noreply.github.com> Date: Wed, 29 Oct 2025 22:09:55 -0700 Subject: [PATCH] doc: v2.21.0 release updates --- docs/reference/plugins/zod.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/reference/plugins/zod.md b/docs/reference/plugins/zod.md index 39145cdc..3ed212a8 100644 --- a/docs/reference/plugins/zod.md +++ b/docs/reference/plugins/zod.md @@ -158,6 +158,7 @@ This plugin is built-in to ZenStack and does not need to be installed separately | preserveTsFiles | Boolean | If the generated TS files should be preserved (after compiled to JS) | No | false | | noUncheckedInput | Boolean | Disables schema generation for Prisma's ["Unchecked"](https://github.com/prisma/prisma/discussions/10121#discussioncomment-1621254) input types | No | false | | mode | String | Controls if the generated schemas should reject, strict, or passthrough unknown fields. Possible values: "strict", "strip", "passthrough" | No | "strict" | +| version | String | The Zod version to target. Possible values: "v3", "v4" | No | "v3" | :::info When the `generateModels` option is used to specify a list of models to generate, the plugin will also recursively traverse and include all models that are referenced by the specified models. This can result in more code being generated than you expect.