Skip to content

Commit 51b86db

Browse files
authored
merge dev to main (v3.4.3) (#2438)
2 parents 02b0dcc + a49c2da commit 51b86db

File tree

30 files changed

+84
-30
lines changed

30 files changed

+84
-30
lines changed

CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
7575
- Kysely query builder as escape hatch instead of raw SQL
7676
- Schema-first approach with ZModel DSL extension of Prisma schema language
7777

78+
## Pull Requests
79+
80+
- Always target the `dev` branch (not `main`) when creating PRs
81+
7882
## Development Notes
7983

8084
- Always run `zenstack generate` after modifying ZModel schemas

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zenstack-v3",
3-
"version": "3.4.2",
3+
"version": "3.4.3",
44
"description": "ZenStack",
55
"packageManager": "pnpm@10.23.0",
66
"type": "module",

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.4.2",
3+
"version": "3.4.3",
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.4.2",
6+
"version": "3.4.3",
77
"type": "module",
88
"author": {
99
"name": "ZenStack Team"

packages/cli/src/actions/init.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { STARTER_ZMODEL } from './templates';
1313
export async function run(projectPath: string) {
1414
const packages = [
1515
{ name: '@zenstackhq/cli@latest', dev: true },
16+
{ name: '@zenstackhq/schema@latest', dev: false },
1617
{ name: '@zenstackhq/orm@latest', dev: false },
1718
];
1819
let pm = await detect();

packages/cli/src/actions/pull/provider/sqlite.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,11 @@ export const sqlite: IntrospectionProvider = {
134134

135135
// List user tables and views from sqlite_schema (the master catalog).
136136
// sqlite_schema contains one row per table, view, index, and trigger.
137-
// We filter to only tables/views and exclude internal sqlite_* objects.
137+
// We filter to only tables/views and exclude internal sqlite_* objects
138+
// and the Prisma migration tracking table.
138139
// The 'sql' column contains the original CREATE TABLE/VIEW statement.
139140
const tablesRaw = all<{ name: string; type: 'table' | 'view'; definition: string | null }>(
140-
"SELECT name, type, sql AS definition FROM sqlite_schema WHERE type IN ('table','view') AND name NOT LIKE 'sqlite_%' ORDER BY name",
141+
"SELECT name, type, sql AS definition FROM sqlite_schema WHERE type IN ('table','view') AND name NOT LIKE 'sqlite_%' AND name <> '_prisma_migrations' ORDER BY name",
141142
);
142143

143144
// Detect AUTOINCREMENT by parsing the CREATE TABLE statement

packages/clients/client-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/client-helpers",
3-
"version": "3.4.2",
3+
"version": "3.4.3",
44
"description": "Helpers for implementing clients that consume ZenStack's CRUD service",
55
"type": "module",
66
"scripts": {

packages/clients/tanstack-query/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/tanstack-query",
3-
"version": "3.4.2",
3+
"version": "3.4.3",
44
"description": "TanStack Query Client for consuming ZenStack v3's CRUD service",
55
"type": "module",
66
"scripts": {

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.4.2",
3+
"version": "3.4.3",
44
"description": "ZenStack Common Helpers",
55
"type": "module",
66
"scripts": {

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.4.2",
3+
"version": "3.4.3",
44
"type": "module",
55
"private": true,
66
"license": "MIT"

0 commit comments

Comments
 (0)