Bump @prisma/client from 6.5.0 to 6.6.0

Bumps @prisma/client from 6.5.0 to 6.6.0.

Release notes

Sourced from @​prisma/client's releases.

6.6.0

Today, we are excited to share the 6.6.0 stable release 🎉 This version comes packed with exciting features, we can't wait to see what you're going to build with it!

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

Highlights

ESM support with more flexible prisma-client generator (Early Access)

We are excited to introduce a new prisma-client generator that's more flexible, comes with ESM support and removes any magic behaviours that may cause friction with the current prisma-client-js generator.

Note: The prisma-client generator is currently in Early Access and will likely have some breaking changes in the next releases.

Here are the main differences:

  • Requires an output path; no “magic” generation into node_modules any more
  • Supports ESM and CommonJS via the moduleFormat field
  • Outputs plain TypeScript that's bundled just like the rest of your application code

Here's how you can use the new prisma-client generator in your Prisma schema:

// prisma/schema.prisma
generator client {
  provider     = "prisma-client"           // no `-js` at the end
  output       = "../src/generated/prisma" // `output` is required
  moduleFormat = "esm"                     // or `"cjs"` for CommonJS
}

In your application, you can then import the PrismaClient constructor (and anything else) from the generated folder:

// src/index.ts
import { PrismaClient } from './generated/prisma/client'

⚠️ Important: We recommend that you add the output path to .gitignore so that the query engine that's part of the generated Prisma Client is kept out of version control:

# .gitignore
./src/generated/prisma

📚 Learn more in the docs.

Cloudflare D1 & Turso/LibSQL migrations (Early Access)

Cloudflare D1 and Turso are popular database providers that are both based on SQLite. While you can query them using the respective driver adapter for D1 or Turso, previous versions of Prisma ORM weren't able to make schema changes against these databases.

... (truncated)

Commits
  • 45263ab feat(migrate): integrate general improvements on @prisma/schema-engine-wasm...
  • 3ef10b6 chore(deps): update engines to 6.6.0-52.30389eb8d83fe5c09a7d1d1648e7d5ab7438d...
  • 5b51bea chore(deps): update engines to 6.6.0-51.febd1ffa43a7b889647e64817771658dbc24d...
  • ed95131 chore(deps): update engines to 6.6.0-50.b44a0316a6417eddf2f94758d84556d063136...
  • 81925ac chore(deps): update engines to 6.6.0-49.6d9919036f1a9c347de172190cd6165a54bc3...
  • 00d77dd chore(deps): update engines to 6.6.0-47.4a9d50e6898ac0428d7dfd6aad4bd98fddb12...
  • 0178266 fix(client): resolve type error in tests using dev builds (#26812)
  • fd334fe fix(client): revert cwd change in BinaryEngine (#26802)
  • 3017c51 chore(deps): update engines to 6.6.0-46.dc2c1279f201ab67d96815a69b3a831a2f89c...
  • f470a65 feat(generator-ts): generate typescript source code (#26779)
  • 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