From dd8a9384a6d1e0cd24022ac3eaccf32f67439ba3 Mon Sep 17 00:00:00 2001 From: ymc9 <104139426+ymc9@users.noreply.github.com> Date: Fri, 9 Jan 2026 16:30:48 +0800 Subject: [PATCH 1/2] doc: v3.2.0 release --- docs/modeling/custom-proc.md | 3 +++ docs/orm/api/find.md | 4 ++++ docs/orm/custom-proc.md | 3 +++ docs/recipe/trpc.md | 9 +++++++++ docs/reference/cli.md | 1 + docusaurus.config.js | 2 +- 6 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 docs/recipe/trpc.md diff --git a/docs/modeling/custom-proc.md b/docs/modeling/custom-proc.md index 5a5b2285..e1bca61a 100644 --- a/docs/modeling/custom-proc.md +++ b/docs/modeling/custom-proc.md @@ -9,6 +9,9 @@ import AvailableSince from '../_components/AvailableSince'; # Custom Procedure +> This amazing feature is implemented by [Mike Willbanks +](https://github.com/mwillbanks). + diff --git a/docs/orm/api/find.md b/docs/orm/api/find.md index 19e5c671..0e9b96ee 100644 --- a/docs/orm/api/find.md +++ b/docs/orm/api/find.md @@ -30,6 +30,10 @@ The `find` series of APIs are used to query records from the database. It has th Similar to `findFirst`, but throws an error if no record is found. +- `exists` + + Check if any record exists that matches the query criteria. More performant than using `findFirst` or `count`. + ## Basic usage diff --git a/docs/orm/custom-proc.md b/docs/orm/custom-proc.md index 5325a8ec..803a545c 100644 --- a/docs/orm/custom-proc.md +++ b/docs/orm/custom-proc.md @@ -8,6 +8,9 @@ import AvailableSince from '../_components/AvailableSince'; # Custom Procedures +> This amazing feature is implemented by [Mike Willbanks +](https://github.com/mwillbanks). + diff --git a/docs/recipe/trpc.md b/docs/recipe/trpc.md new file mode 100644 index 00000000..9baf7742 --- /dev/null +++ b/docs/recipe/trpc.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 5 +--- + +# Using ZenStack With tRPC + +In previous versions of ZenStack, [tRPC](https://trpc.io) integration was provided as a built-in package. For v3, it is now maintained by the community at [`zenstack-trpc`](https://github.com/olup/zenstack-trpc). This shift allows the core team to focus development resources on the essential components while the community contributes specialized integrations. Please check its GitHub repo for documentation. + +Special thanks to [Olup](https://github.com/olup) for building and maintaining this amazing implementation! diff --git a/docs/reference/cli.md b/docs/reference/cli.md index 094f677f..1729aabb 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -45,6 +45,7 @@ Options: --schema schema file (with extension .zmodel). Defaults to "zenstack/schema.zmodel" unless specified in package.json. -o, --output default output directory for code generation + -w, --watch watch for changes and re-generate automatically --lite also generate a lite version of schema without attributes --lite-only only generate lite version of schema without attributes --silent suppress all output except errors (default: false) diff --git a/docusaurus.config.js b/docusaurus.config.js index 973e5b5a..d2bc995e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -221,7 +221,7 @@ const config = { copyright: `Copyright © ${new Date().getFullYear()} ZenStack, Inc.`, }, - image: '/img/social-cover-xmas.png', + image: '/img/social-cover.png', prism: { theme: prismThemes.github, From b67f9a83226e33ee862f9d22baf394a7b7e1fee6 Mon Sep 17 00:00:00 2001 From: ymc9 <104139426+ymc9@users.noreply.github.com> Date: Fri, 9 Jan 2026 16:36:29 +0800 Subject: [PATCH 2/2] add available since to "exists" --- docs/orm/api/find.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/orm/api/find.md b/docs/orm/api/find.md index 0e9b96ee..a7c44fc5 100644 --- a/docs/orm/api/find.md +++ b/docs/orm/api/find.md @@ -5,6 +5,7 @@ description: Find API import StackBlitzGithub from '@site/src/components/StackBlitzGithub'; import SelectIncludeOmit from './_select-include-omit.md'; +import AvailableSince from '../../_components/AvailableSince'; # Find @@ -32,6 +33,8 @@ The `find` series of APIs are used to query records from the database. It has th - `exists` + + Check if any record exists that matches the query criteria. More performant than using `findFirst` or `count`. ## Basic usage