Skip to content

Commit bb6b5b9

Browse files
authored
doc: v3.2.0 release (#552)
* doc: v3.2.0 release * add available since to "exists"
1 parent a266fdd commit bb6b5b9

File tree

6 files changed

+24
-1
lines changed

6 files changed

+24
-1
lines changed

docs/modeling/custom-proc.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ import AvailableSince from '../_components/AvailableSince';
99

1010
# Custom Procedure
1111

12+
> This amazing feature is implemented by [Mike Willbanks
13+
](https://github.com/mwillbanks).
14+
1215
<PreviewFeature name="Custom procedure" />
1316

1417
<AvailableSince version="v3.2.0" />

docs/orm/api/find.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ description: Find API
55

66
import StackBlitzGithub from '@site/src/components/StackBlitzGithub';
77
import SelectIncludeOmit from './_select-include-omit.md';
8+
import AvailableSince from '../../_components/AvailableSince';
89

910
# Find
1011

@@ -30,6 +31,12 @@ The `find` series of APIs are used to query records from the database. It has th
3031

3132
Similar to `findFirst`, but throws an error if no record is found.
3233

34+
- `exists`
35+
36+
<AvailableSince version="3.2.0" />
37+
38+
Check if any record exists that matches the query criteria. More performant than using `findFirst` or `count`.
39+
3340
## Basic usage
3441

3542
<StackBlitzGithub repoPath="zenstackhq/v3-doc-orm" openFile="find/basic.ts" startScript="generate,find:basic" />

docs/orm/custom-proc.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ import AvailableSince from '../_components/AvailableSince';
88

99
# Custom Procedures
1010

11+
> This amazing feature is implemented by [Mike Willbanks
12+
](https://github.com/mwillbanks).
13+
1114
<PreviewFeature name="Custom procedure" />
1215

1316
<AvailableSince version="v3.2.0" />

docs/recipe/trpc.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
sidebar_position: 5
3+
---
4+
5+
# Using ZenStack With tRPC
6+
7+
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.
8+
9+
Special thanks to [Olup](https://github.com/olup) for building and maintaining this amazing implementation!

docs/reference/cli.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Options:
4545
--schema <file> schema file (with extension .zmodel). Defaults to "zenstack/schema.zmodel" unless
4646
specified in package.json.
4747
-o, --output <path> default output directory for code generation
48+
-w, --watch watch for changes and re-generate automatically
4849
--lite also generate a lite version of schema without attributes
4950
--lite-only only generate lite version of schema without attributes
5051
--silent suppress all output except errors (default: false)

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ const config = {
221221
copyright: `Copyright © ${new Date().getFullYear()} ZenStack, Inc.`,
222222
},
223223

224-
image: '/img/social-cover-xmas.png',
224+
image: '/img/social-cover.png',
225225

226226
prism: {
227227
theme: prismThemes.github,

0 commit comments

Comments
 (0)