Skip to content

Commit

Permalink
merge dev to main (v2.3.2) (#1595)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 authored Jul 15, 2024
2 parents 5034fdc + 4a0f484 commit 085bb52
Show file tree
Hide file tree
Showing 19 changed files with 23 additions and 26 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zenstack-monorepo",
"version": "2.3.1",
"version": "2.3.2",
"description": "",
"scripts": {
"build": "pnpm -r build",
Expand Down
2 changes: 1 addition & 1 deletion packages/ide/jetbrains/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

group = "dev.zenstack"
version = "2.3.1"
version = "2.3.2"

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion packages/ide/jetbrains/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jetbrains",
"version": "2.3.1",
"version": "2.3.2",
"displayName": "ZenStack JetBrains IDE Plugin",
"description": "ZenStack JetBrains IDE plugin",
"homepage": "https://zenstack.dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/language/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zenstackhq/language",
"version": "2.3.1",
"version": "2.3.2",
"displayName": "ZenStack modeling language compiler",
"description": "ZenStack modeling language compiler",
"homepage": "https://zenstack.dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/misc/redwood/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zenstackhq/redwood",
"displayName": "ZenStack RedwoodJS Integration",
"version": "2.3.1",
"version": "2.3.2",
"description": "CLI and runtime for integrating ZenStack with RedwoodJS projects.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/openapi/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zenstackhq/openapi",
"displayName": "ZenStack Plugin and Runtime for OpenAPI",
"version": "2.3.1",
"version": "2.3.2",
"description": "ZenStack plugin and runtime supporting OpenAPI",
"main": "index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/swr/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zenstackhq/swr",
"displayName": "ZenStack plugin for generating SWR hooks",
"version": "2.3.1",
"version": "2.3.2",
"description": "ZenStack plugin for generating SWR hooks",
"main": "index.js",
"repository": {
Expand Down
3 changes: 1 addition & 2 deletions packages/plugins/tanstack-query/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zenstackhq/tanstack-query",
"displayName": "ZenStack plugin for generating tanstack-query hooks",
"version": "2.3.1",
"version": "2.3.2",
"description": "ZenStack plugin for generating tanstack-query hooks",
"main": "index.js",
"exports": {
Expand Down Expand Up @@ -87,7 +87,6 @@
"decimal.js": "^10.4.2",
"lower-case-first": "^2.0.2",
"semver": "^7.5.2",
"superjson": "^1.11.0",
"ts-morph": "^16.0.0",
"ts-pattern": "^4.3.0",
"upper-case-first": "^2.0.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/trpc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zenstackhq/trpc",
"displayName": "ZenStack plugin for tRPC",
"version": "2.3.1",
"version": "2.3.2",
"description": "ZenStack plugin for tRPC",
"main": "index.js",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zenstackhq/runtime",
"displayName": "ZenStack Runtime Library",
"version": "2.3.1",
"version": "2.3.2",
"description": "Runtime of ZenStack for both client-side and server-side environments.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -88,7 +88,7 @@
"pluralize": "^8.0.0",
"safe-json-stringify": "^1.2.0",
"semver": "^7.5.2",
"superjson": "^1.11.0",
"superjson": "^1.13.0",
"tiny-invariant": "^1.3.1",
"ts-pattern": "^4.3.0",
"tslib": "^2.4.1",
Expand Down
1 change: 1 addition & 0 deletions packages/runtime/src/enhancements/delegate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export class DelegateProxyHandler extends DefaultPrismaProxyHandler {

const fieldInfo = resolveField(this.options.modelMeta, model, field);
if (!fieldInfo?.inheritedFrom) {
// not an inherited field, inject and continue
if (fieldInfo?.isDataModel) {
this.injectWhereHierarchy(fieldInfo.type, value);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publisher": "zenstack",
"displayName": "ZenStack Language Tools",
"description": "Build scalable web apps with minimum code by defining authorization and validation rules inside the data schema that closer to the database",
"version": "2.3.1",
"version": "2.3.2",
"author": {
"name": "ZenStack Team"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zenstackhq/sdk",
"version": "2.3.1",
"version": "2.3.2",
"description": "ZenStack plugin development SDK",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zenstackhq/server",
"version": "2.3.1",
"version": "2.3.2",
"displayName": "ZenStack Server-side Adapters",
"description": "ZenStack server-side adapters",
"homepage": "https://zenstack.dev",
Expand Down Expand Up @@ -29,7 +29,7 @@
"@zenstackhq/runtime": "workspace:*",
"change-case": "^4.1.2",
"lower-case-first": "^2.0.2",
"superjson": "^1.11.0",
"superjson": "^1.13.0",
"tiny-invariant": "^1.3.1",
"ts-japi": "^1.10.1",
"upper-case-first": "^2.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/testtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zenstackhq/testtools",
"version": "2.3.1",
"version": "2.3.2",
"description": "ZenStack Test Tools",
"main": "index.js",
"private": true,
Expand Down
9 changes: 3 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"decimal.js": "^10.4.2",
"pg": "^8.11.1",
"sleep-promise": "^9.1.0",
"superjson": "^1.11.0"
"superjson": "^1.13.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"next": "14.2.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"superjson": "^1.12.4",
"superjson": "^1.13.0",
"swr": "^2.2.0",
"typescript": "4.9.4",
"zod": "^3.22.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"next": "14.2.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"superjson": "^1.12.2",
"superjson": "^1.13.0",
"typescript": "4.9.4",
"zod": "^3.22.4",
"@zenstackhq/language": "../../../../../../../packages/language/dist",
Expand Down

0 comments on commit 085bb52

Please sign in to comment.