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 Next adds a schema formatter through prisma format and a language server that reports schema diagnostics in your editor.
Highlights
NewPrisma 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.
NewPrisma Next adds a schema formatter and editor diagnostics
Working on a Prisma Next schema meant formatting by hand and finding mistakes only at generate time. Prisma Next 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 Next 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 deploys can now be configured in TypeScript with a
prisma.compute.tsfile. For the walkthrough, read Configure Prisma Compute in TypeScript; for every option, see the config reference. - Prisma Compute now auto-detects NestJS apps at deploy, so they build without manual entrypoint configuration. Nuxt and Astro are also supported. (Prisma Compute docs)
- Prisma Compute pricing is now published in the Prisma Compute docs.
// prisma.compute.ts
import { defineConfig } from "@prisma/compute";
export default defineConfig({
name: "api",
entry: "src/server.ts",
});Prisma Next
Prisma Next adds a browser playground for the Prisma Schema Language.
- The Prisma Next 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
- Prisma Studio now saves edits to PostgreSQL text array cells correctly. (prisma/studio#1527)
Prisma ORM
- Prisma ORM reports rolled-back migrations as unapplied, so
migrate statusreflects the real state of the database. (prisma/prisma-engines#5817)
Guides and articles
- App Hosting and Compute Platforms for AI Agents in 2026: compares hosting platforms for agent-driven workloads, including Prisma Compute.
- Deploy Prisma Apps with create-prisma: shows how to scaffold and deploy a Prisma Compute app with
create-prisma. - Image Transformations with Bun on Prisma Compute: walks through building an image transformation service with Bun on Prisma Compute.
- How I Built a Chat App That Never Drops a Token: walks through building a streaming chat app backed by Prisma Postgres.
Need help applying these changes in production? Prisma Enterprise Support can help with schema design, performance, security, and compliance.