Bump @prisma/client from 6.6.0 to 6.7.0

Bumps @prisma/client from 6.6.0 to 6.7.0.

Release notes

Sourced from @​prisma/client's releases.

6.7.0

Today, we are excited to share the 6.7.0 stable release 🎉 

🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.

Highlights

Prisma ORM without Rust engines (Early Access)

If you're a regular visitor of our company blog, you may already know that we're currently working on moving the core of Prisma from Rust to TypeScript. We have written extensively about why we're moving away from Rust and already shared the first measurements of performance boosts we saw from the re-write.

This re-write is not just a move from one programming language to another. It fundamentally improves the architecture of Prisma ORM and replaces the Query Engine (which is written in Rust and deployed as a standalone binary) with a much leaner and more efficient approach that we call Query Compiler.

In this release, we're excited to give you Early Access to the new Query Compiler for PostgreSQL and SQLite database 🥳 Support for more database will follow very soon!

To use the new "Rust-free" version of Prisma ORM, add the queryCompiler (new) and driverAdapters feature flags to your client generator:

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["queryCompiler", "driverAdapters"]
  output          = "../generated/prisma"
}

Now run prisma generate to re-generate Prisma Client. If you didn't use a driver adapter before, you'll need to install one. For example, the one for PostgreSQL:

npm install @prisma/adapter-pg

Once installed, you can instantiate PrismaClient as follows:

import { PrismaPg } from '@prisma/adapter-pg'
import { PrismaClient } from './generated/prisma'
const adapter = new PrismaPg({ connectionString: process.env.DATABASE_URL })
const prisma = new PrismaClient({ adapter })

This version of PrismaClient doesn't have a Query Engine binary and you can use it in the exact same way as before.

📚 Learn more in the docs.

Support for better-sqlite3 JavaScript driver (Preview)

Driver adapters are Prisma ORM's way of letting you use JS-native drivers (like pg) to interact with your database. In this release, we're introducing a new driver adapter for using the better-sqlite3 package, so you can now interact with SQLite database in a JS-native way.

To use it, first enable the driverAdapters Preview feature flag in on your client generator, then install these libraries:

... (truncated)

Commits
  • 25e5952 chore(deps): update engines to 6.7.0-36.3cff47a7f5d65c3ea74883f1d736e41d68ce9...
  • 3a83590 chore(deps): update engines to 6.7.0-35.4c3b5e465cbd74dbef4c80ce5927278cf48f7...
  • b9b160f chore(deps): update engines to 6.7.0-34.73c36c3d4a550c55ca1ae7e8c2681b168077d...
  • 7a84411 chore(deps): update engines to 6.7.0-33.ed0eb0949403730c30c2c2561c5b4b0e486cb...
  • 24c36fb chore(deps): update engines to 6.7.0-32.b0f9b086b01617e10d8826c253653912d94bc...
  • 1106570 fix(qc): Fix interactive transactions (QC) (#26978)
  • fd03463 chore(deps): update engines to 6.7.0-30.7f87299229fa36fe4a2adb8ffcfb188953f13...
  • b25025c chore(deps): update engines to 6.7.0-29.e6a12873f4f42b1df1822eb7bb3f6b0f48183...
  • 1a1577a chore(deps): update engines to 6.7.0-28.2a4af470dcf83a3f6d9d5e739e23380449936...
  • 4243922 feat: allow passing a custom QueryInterpreter serializer (#26968)
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading