Change8

6.8.0

Breaking Changes
📦 prismaView on GitHub →
1 breaking4 features1 deprecations🔧 5 symbols

Summary

Prisma 6.8.0 introduces local development for Prisma Postgres via the 'prisma dev' command, native Deno support through a new generator, and AI-powered database workflow automation in VS Code.

⚠️ Breaking Changes

  • The 'deno' Preview feature has been removed from the 'prisma-client-js' generator. Users must switch to the new 'prisma-client' generator with 'runtime = "deno"'.

Migration Steps

  1. To use Deno, update your schema.prisma to use provider = 'prisma-client' and set runtime = 'deno'.
  2. To use local Prisma Postgres, run 'npx prisma dev' and update your datasource URL to the provided 'prisma+postgres://' localhost address.
  3. Update the Prisma VS Code extension to the latest version to enable AI Agent database workflows.

✨ New Features

  • Introduced 'prisma dev' command for local Prisma Postgres development without Docker (Early Access).
  • Added native Deno support via the new 'prisma-client' generator (Preview).
  • Enhanced VS Code Agent Mode support for database workflows including migration status checks, schema migrations, and provisioning.
  • Added support for the Asia Pacific (Singapore) region (ap-southeast-1) in Prisma Postgres.

🔧 Affected Symbols

prisma devprisma-clientprisma-client-jsgenerator.runtimedatasource.url

⚡ Deprecations

  • The 'deno' Preview flag in the 'prisma-client-js' generator is deprecated/removed in favor of the 'prisma-client' generator.