Skip to content

chore: update prisma to 6.9.0 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benches/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@types/lodash.uniqby": "^4.7.9",
"@types/node": "^18.19.76",
"prettier": "^2.8.8",
"prisma": "6.4.1",
"prisma": "6.9.0",
"typescript": "^5.7.3"
}
}
4 changes: 2 additions & 2 deletions benches/prisma-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@prisma/client": "6.4.1",
"@prisma/client": "6.9.0",
"common": "workspace:*",
"p-limit": "3.1.0"
},
"devDependencies": {
"@types/lodash.uniqby": "^4.7.9",
"@types/node": "^18.19.76",
"prettier": "^2.8.8",
"prisma": "6.4.1",
"prisma": "6.9.0",
"tsx": "^3.14.0",
"typescript": "^5.7.3"
},
Expand Down
4 changes: 2 additions & 2 deletions benches/prisma-native-qe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"get-schema": "mkdir -p ./prisma && cp ../prisma-common/prisma/schema.prisma ./prisma/schema.prisma"
},
"dependencies": {
"@prisma/client": "6.4.1",
"@prisma/client": "6.9.0",
"common": "workspace:*",
"prisma-common": "workspace:*"
},
"devDependencies": {
"@types/node": "^18.19.76",
"prettier": "^2.8.8",
"prisma": "6.4.1",
"prisma": "6.9.0",
"tsx": "^3.14.0",
"typescript": "^5.7.3"
},
Expand Down
6 changes: 2 additions & 4 deletions benches/prisma-pg-napi-qe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
"build": "pnpm prisma generate"
},
"dependencies": {
"@prisma/adapter-pg": "6.4.1",
"@prisma/client": "6.4.1",
"@prisma/adapter-pg": "6.9.0",
"@prisma/client": "6.9.0",
"common": "workspace:*",
"pg": "^8.13.3",
"prisma-common": "workspace:*"
},
"devDependencies": {
"@types/node": "^18.19.76",
"@types/pg": "^8.11.11",
"prettier": "^2.8.8",
"prisma": "6.4.0",
"tsx": "^3.14.0",
Expand Down
8 changes: 3 additions & 5 deletions benches/prisma-pg-napi-qe/setup.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { PrismaClient } from './client';
import { PrismaPg } from '@prisma/adapter-pg'
import pg from 'pg'
import { PrismaPg } from '@prisma/adapter-pg';

export async function setup() {
const connectionString = process.env.DATABASE_URL ?? ''
const connectionString = process.env.DATABASE_URL ?? '';

const pool = new pg.Pool({ connectionString })
const adapter = new PrismaPg(pool)
const adapter = new PrismaPg({ connectionString });
const prisma = new PrismaClient({ adapter });

await prisma.$connect();
Expand Down
10 changes: 4 additions & 6 deletions benches/prisma-pg-qc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@
"name": "prisma-pg-qc",
"type": "module",
"scripts": {
"build": "PRISMA_UNSTABLE_CLIENT_ENGINE_TYPE=true pnpm prisma generate"
"build": "pnpm prisma generate"
},
"dependencies": {
"@prisma/adapter-pg": "6.4.1",
"@prisma/client": "6.4.1",
"@prisma/adapter-pg": "6.9.0",
"@prisma/client": "6.9.0",
"common": "workspace:*",
"pg": "^8.13.3",
"prisma-common": "workspace:*"
},
"devDependencies": {
"@types/node": "^18.19.76",
"@types/pg": "^8.11.11",
"prettier": "^2.8.8",
"prisma": "6.4.1",
"prisma": "6.9.0",
"tsx": "^3.14.0",
"typescript": "^5.7.3"
},
Expand Down
2 changes: 1 addition & 1 deletion benches/prisma-pg-qc/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ datasource db {
generator client {
provider = "prisma-client-js"
output = "../client"
previewFeatures = ["driverAdapters"]
previewFeatures = ["driverAdapters", "queryCompiler"]
engineType = "client"
}

Expand Down
8 changes: 3 additions & 5 deletions benches/prisma-pg-qc/setup.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { PrismaClient } from './client';
import { PrismaPg } from '@prisma/adapter-pg'
import pg from 'pg'
import { PrismaPg } from '@prisma/adapter-pg';

export async function setup() {
const connectionString = process.env.DATABASE_URL ?? ''
const connectionString = process.env.DATABASE_URL ?? '';

const pool = new pg.Pool({ connectionString })
const adapter = new PrismaPg(pool)
const adapter = new PrismaPg({ connectionString });
const prisma = new PrismaClient({ adapter });

await prisma.$connect();
Expand Down
8 changes: 3 additions & 5 deletions benches/prisma-pg-wasm-qe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@
"build": "PRISMA_CLIENT_FORCE_WASM=true pnpm prisma generate"
},
"dependencies": {
"@prisma/adapter-pg": "6.4.1",
"@prisma/client": "6.4.1",
"@prisma/adapter-pg": "6.9.0",
"@prisma/client": "6.9.0",
"common": "workspace:*",
"pg": "^8.13.3",
"prisma-common": "workspace:*"
},
"devDependencies": {
"@types/node": "^18.19.76",
"@types/pg": "^8.11.11",
"prettier": "^2.8.8",
"prisma": "6.4.1",
"prisma": "6.9.0",
"tsx": "^3.14.0",
"typescript": "^5.7.3"
},
Expand Down
8 changes: 3 additions & 5 deletions benches/prisma-pg-wasm-qe/setup.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { PrismaClient } from './client';
import { PrismaPg } from '@prisma/adapter-pg'
import pg from 'pg'
import { PrismaPg } from '@prisma/adapter-pg';

export async function setup() {
const connectionString = process.env.DATABASE_URL ?? ''
const connectionString = process.env.DATABASE_URL ?? '';

const pool = new pg.Pool({ connectionString })
const adapter = new PrismaPg(pool)
const adapter = new PrismaPg({ connectionString });
const prisma = new PrismaClient({ adapter });

await prisma.$connect();
Expand Down
1 change: 1 addition & 0 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ async function main() {
prismaNativeQe.$disconnect(),
prismaPgNapiQe.$disconnect(),
prismaPgWasmQe.$disconnect(),
prismaPgQc.$disconnect(),
]);
}

Expand Down
Loading
Loading