Skip to content

Commit fb96362

Browse files
authored
Merge pull request #478 from zenstackhq/dev
merge dev to main (v3.0.0-beta.28)
2 parents d913568 + cce7555 commit fb96362

File tree

126 files changed

+28193
-2052
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+28193
-2052
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
2626
# What's ZenStack
2727

28+
> Read full documentation at 👉🏻 https://zenstack.dev/v3.
29+
2830
ZenStack is a TypeScript database toolkit for developing full-stack or backend Node.js/Bun applications. It provides a unified data modeling and access solution with the following features:
2931

3032
- A modern schema-first ORM that's compatible with [Prisma](https://github.com/prisma/prisma)'s schema and API

TODO.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
- [x] Unique fields
4141
- [x] Scalar fields
4242
- [x] Relation fields
43-
- [ ] JSON filtering
43+
- [x] JSON filtering
4444
- [ ] Full-text search
4545
- [x] Sort
4646
- [x] Scalar fields
@@ -86,7 +86,7 @@
8686
- [x] Custom table name
8787
- [x] Custom field name
8888
- [x] Global omit
89-
- [ ] DbNull vs JsonNull
89+
- [x] DbNull vs JsonNull
9090
- [ ] Migrate to tsdown
9191
- [x] @default validation
9292
- [x] Benchmark

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zenstack-v3",
3-
"version": "3.0.0-beta.27",
3+
"version": "3.0.0-beta.28",
44
"description": "ZenStack",
55
"packageManager": "[email protected]",
66
"type": "module",
@@ -24,7 +24,7 @@
2424
"@eslint/js": "^9.29.0",
2525
"@types/node": "catalog:",
2626
"eslint": "~9.29.0",
27-
"glob": "^11.0.2",
27+
"glob": "^11.1.0",
2828
"prettier": "^3.5.3",
2929
"prisma": "catalog:",
3030
"tsup": "^8.5.0",

packages/auth-adapters/better-auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/better-auth",
3-
"version": "3.0.0-beta.27",
3+
"version": "3.0.0-beta.28",
44
"description": "ZenStack Better Auth Adapter. This adapter is modified from better-auth's Prisma adapter.",
55
"type": "module",
66
"scripts": {

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"publisher": "zenstack",
44
"displayName": "ZenStack CLI",
55
"description": "FullStack database toolkit with built-in access control and automatic API generation.",
6-
"version": "3.0.0-beta.27",
6+
"version": "3.0.0-beta.28",
77
"type": "module",
88
"author": {
99
"name": "ZenStack Team"

packages/clients/tanstack-query/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/tanstack-query",
3-
"version": "3.0.0-beta.27",
3+
"version": "3.0.0-beta.28",
44
"description": "TanStack Query Client for consuming ZenStack v3's CRUD service",
55
"main": "index.js",
66
"type": "module",
@@ -10,7 +10,7 @@
1010
"lint": "eslint src --ext ts",
1111
"test": "vitest run",
1212
"pack": "pnpm pack",
13-
"test:generate": "tsx scripts/generate.ts",
13+
"test:generate": "tsx ../../../scripts/test-generate.ts tests",
1414
"test:typecheck": "tsc --noEmit --project tsconfig.test.json"
1515
},
1616
"keywords": [

packages/clients/tanstack-query/scripts/generate.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

packages/common-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/common-helpers",
3-
"version": "3.0.0-beta.27",
3+
"version": "3.0.0-beta.28",
44
"description": "ZenStack Common Helpers",
55
"type": "module",
66
"scripts": {

packages/common-helpers/src/zip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Zips two arrays into an array of tuples.
33
*/
4-
export function zip<T, U>(arr1: T[], arr2: U[]): Array<[T, U]> {
4+
export function zip<T, U>(arr1: readonly T[], arr2: readonly U[]): Array<[T, U]> {
55
const length = Math.min(arr1.length, arr2.length);
66
const result: Array<[T, U]> = [];
77
for (let i = 0; i < length; i++) {

packages/config/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/eslint-config",
3-
"version": "3.0.0-beta.27",
3+
"version": "3.0.0-beta.28",
44
"type": "module",
55
"private": true,
66
"license": "MIT"

0 commit comments

Comments
 (0)