From 8c8e447c6fdd4f808f5b1a2b8c70620516345978 Mon Sep 17 00:00:00 2001 From: Lavrentiy Rubtsov Date: Thu, 29 May 2025 02:22:07 +0500 Subject: [PATCH 1/2] Add note about `drizzle-zod` compatibility with `zod` v4 --- src/content/docs/zod.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content/docs/zod.mdx b/src/content/docs/zod.mdx index 33ae9d95..244bc378 100644 --- a/src/content/docs/zod.mdx +++ b/src/content/docs/zod.mdx @@ -15,6 +15,8 @@ drizzle-zod This documentation is for `drizzle-zod@0.6.0` and higher You must also have Drizzle ORM v0.36.0 or greater and Zod v3.25.1 or greater installed. + +And keep in mind that if you use `drizzle-zod@0.8.1` starting from `drizzle-zod` is only compatible with Zod v4 and higher. ### Select schema From fcbe32549bf25d57f971e3db9a9c85f2d17a258b Mon Sep 17 00:00:00 2001 From: Lavrentiy Rubtsov Date: Thu, 29 May 2025 02:23:28 +0500 Subject: [PATCH 2/2] Add missing ending period of a warning`Callout` --- src/content/docs/zod.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/zod.mdx b/src/content/docs/zod.mdx index 244bc378..341a2af4 100644 --- a/src/content/docs/zod.mdx +++ b/src/content/docs/zod.mdx @@ -12,7 +12,7 @@ drizzle-zod -This documentation is for `drizzle-zod@0.6.0` and higher +This documentation is for `drizzle-zod@0.6.0` and higher. You must also have Drizzle ORM v0.36.0 or greater and Zod v3.25.1 or greater installed.