Change8

6.12.0

📦 prismaView on GitHub →
4 features1 deprecations🔧 4 symbols

Summary

Prisma 6.12.0 introduces the ESM-compatible prisma-client generator in Preview and adds configuration options for migrations and views paths in prisma.config.ts.

Migration Steps

  1. To try the new generator, update your Prisma schema to use provider = "prisma-client" and define the required output path.
  2. To customize migration or view paths, add the migrations and views fields to your prisma.config.ts file under the defineConfig object.

✨ New Features

  • The ESM-compatible prisma-client generator has moved into Preview, offering full control over generated code and eliminating node_modules generation.
  • Added support for specifying custom 'migrations' and 'views' folder locations in prisma.config.ts (Early Access).
  • Introduced a REST Management API for Prisma Postgres to programmatically provision instances and manage connection strings.
  • New navigation UI for Prisma Console to improve project and database management.

🔧 Affected Symbols

prisma-clientprisma-client-jsdefineConfigprisma.config.ts

⚡ Deprecations

  • The prisma-client-js generator is planned to be replaced by the prisma-client generator as the default in Prisma v7.