Set up Prisma 8 with new guides and debug failed Prisma Compute builds
Prisma 8 publishes setup guides for new and existing projects on PostgreSQL and MongoDB, and extends the schema language with scalar list fields and MongoDB enums.
Prisma Compute (Public Beta) now sends an email when a build fails, exposes build logs through the Management API, and fails stuck build steps with a per-step timeout instead of hanging indefinitely.
Highlights
DocsPrisma 8 setup guides are now available
Trying Prisma 8 meant piecing the setup together from scattered posts. The docs now have setup guides covering new projects and adding Prisma 8 to an existing project, for PostgreSQL and MongoDB.
Note: Prisma 8 is in Early Access. Scope and behavior may still change.
Read the Prisma 8 setup guides for installation steps. For background on the TypeScript rewrite, read The Next Evolution of Prisma ORM.
NewPrisma Compute build failures now include logs and timeout reasons
A failing build used to mean re-running the deploy and watching. Prisma Compute now sends an email when a build fails, exposes complete build logs through the Management API (with a pointer on the deploy check run), and fails stuck build steps with a per-step timeout instead of hanging indefinitely.
Read the Prisma Compute docs for how to fetch build logs from the Management API.
Prisma 8
Prisma 8 adds more schema coverage for MongoDB, browser-safe imports for generated types and helpers, and language server improvements for editing schemas.
- Prisma 8 scalar list fields are now supported in schemas, migrations, and type inference. (prisma/prisma-next#870)
- Prisma 8 now supports MongoDB enums in schemas, database validators, and typed reads. (prisma/prisma-next#834)
- Prisma 8 now provides browser-safe static imports through
@prisma/orm-{db}/staticfor types and helpers used in browser code. (prisma/prisma-next#888)
- The Prisma 8 language server now provides semantic highlighting and folding regions for schemas. (prisma/prisma-next#878, prisma/prisma-next#869)
- Prisma 8 migration plans now include row-level security changes. (prisma/prisma-next#868)
Scalar list fields are authored directly in the schema:
model Post {
id String @id @default(uuid())
tags String[]
}Types and helpers that are safe to use in browser code are imported from the static entry point:
import type { Post } from "@prisma/orm-postgres/static";Prisma Compute
Prisma Compute adds deploy region configuration, consistent deployment terminology, Prisma Console navigation updates, and preview branch cleanup improvements.
- Prisma Compute deploy regions can now be configured in
prisma.compute.ts.
- Prisma Console now has redesigned navigation and a new project overview view for Prisma Compute projects.
- Prisma Compute now consistently uses
deploymentsin the Prisma Console and the Management API where it used to mix inversions, matching the/v1/deploymentsAPI surface. Action recommended: update docs, scripts, or internal tooling that still refers to Prisma Computeversions. - Prisma Compute preview branch teardown now also de-provisions the associated database.
// prisma.compute.ts
import { defineConfig } from "@prisma/compute";
export default defineConfig({
region: "eu-central-1",
});Deprecations
- Prisma Compute custom-domain API responses now include
appId. The existingcomputeServiceIdfield is deprecated and will continue to be returned during the migration period. Action required: update code that readscomputeServiceIdfrom custom-domain API responses to readappIdinstead.
Fixes and improvements
Prisma Compute
- Prisma Compute Astro deploys no longer miss runtime dependencies at build time.
Prisma 8
- Prisma 8 aggregation reads with
$projectand$addFieldsdecode into typed results instead of returning raw BSON. (prisma/prisma-next#897)
Guides and articles
- Prisma Postgres vs Neon Pricing 2026: compares pricing models, free tiers, and usage-based cost tradeoffs.
- Your agent can now provision Prisma Postgres through Stripe: shows how agents can create Prisma Postgres projects through a Stripe-based provisioning flow.
- Evaluating Object Storage Providers for Prisma Compute: explains how object storage choices affect Prisma Compute deployments.
- How Prisma Compute Keeps Time Accurate in Long-Running Applications: explains time synchronization behavior for long-running Prisma Compute workloads.
Need help applying these changes in production? Prisma Enterprise Support can help with schema design, performance, security, and compliance.