Builder's DayOctober 26 · SFGet tickets
All changelog entries

Configure Prisma Compute in TypeScript and roll back bad deploys

Prisma Compute (Public Beta) deploys are now configured in TypeScript with a prisma.compute.ts file, and services can be rolled back to any prior version from the Prisma Console. NestJS joins Nuxt and Astro as auto-detected frameworks.

Prisma 8 adds a schema formatter through prisma format and a language server that reports schema diagnostics in your editor.

Highlights

New · Prisma Compute services can be rolled back from the Prisma Console

A bad deploy used to mean rebuilding and redeploying an older commit under pressure. The Prisma Console now lets you promote any prior version of a Prisma Compute service back to live, so recovering from a bad deploy is one action instead of a rebuild.

Read the Prisma Compute docs for how rollbacks interact with deployments.

New · Prisma 8 adds a schema formatter and editor diagnostics

Working on a Prisma 8 schema meant formatting by hand and finding mistakes only at generate time. Prisma 8 adds a Prisma Schema Language formatter, available through prisma format, and a language server that reports schema diagnostics in your editor as you type.

Note: Prisma 8 is in Early Access. Scope and behavior may still change.

Shipped in prisma/prisma-next#850 and prisma/prisma-next#852.

Prisma Compute

Prisma Compute adds TypeScript deploy configuration, NestJS auto-detection, and published pricing.

// prisma.compute.ts
import { defineConfig } from "@prisma/compute";

export default defineConfig({
  name: "api",
  entry: "src/server.ts",
});

Prisma 8

Prisma 8 adds a browser playground for the Prisma Schema Language.

  • New · The Prisma 8 browser-based PSL playground lets you edit a schema and see diagnostics live, wired to the same language server as the editor. (prisma/prisma-next#856)

Fixes and improvements

Prisma Studio

  • Fixed · Prisma Studio now saves edits to PostgreSQL text array cells correctly. (prisma/studio#1527)

Prisma ORM

  • Fixed · Prisma ORM reports rolled-back migrations as unapplied, so migrate status reflects the real state of the database. (prisma/prisma-engines#5817)

Guides and articles


Need help applying these changes in production? Prisma Enterprise Support can help with schema design, performance, security, and compliance.