Prisma Release Notes
64 release notes curated from 45 sources by the Releasebot Team. Last updated: Jul 17, 2026
- Jul 17, 2026
- Date parsed from source:Jul 17, 2026
- First seen by Releasebot:Jul 17, 2026
See Your Migration History in Prisma Studio
Prisma adds the Migrations view in Prisma Studio, bringing a timeline of applied database changes with visual diffs, SQL, and schema history. It reads migration history directly from the database, works in Studio and Prisma Console, and highlights destructive changes.
What did that migration actually do?
A migration named add_roles_and_publishing ran against staging three weeks ago. Now you need to know what it did.
You can read the migration file, which tells you what was supposed to happen. You can diff two schema files and reconstruct the change in your head. You can open a SQL console and inspect the current table, which tells you where you ended up but not how you got there. Or you can ask the person who wrote it.
None of these tell you what is actually applied to the database in front of you. A repo tells you what exists, not what ran. Staging may be three merges behind or one hotfix ahead.
What the Migrations view shows
The record of what actually ran lives in the database. Prisma Next writes it there on every apply, and Studio reads it back.
The list runs newest-first, one entry per applied migration. A ⚠️ marker flags any migration carrying a destructive change, so a dropped column is visible before you click anything.
Selecting a migration draws the schema at that moment: models the migration added in green, models whose table changed in amber, untouched neighbors dimmed for context.
Amber means one specific thing: this table's DDL changed. A model that only gained a back-relation, where the foreign key lives on the other table, stays dimmed. The new relation edge is emphasized instead. If a card is amber, DDL ran against that table.
A walkthrough you can run
Here is the workflow, from an empty directory. The screenshots in this post come from a six-migration history built exactly this way; the two migrations below are its first two.
Step 1: Create a project
npm create prisma@nextAnswer the prompts (PostgreSQL, PSL, and yes to Prisma Postgres) or skip them:
npm create prisma@next --my-app --yes --provider postgres --authoring psl \ --template minimal --prisma-postgres --install --emitThis provisions a database, writes DATABASE_URL into .env, and scaffolds a contract at src/prisma/contract.prisma. The database is temporary for 24 hours; .env also holds a CLAIM_URL to keep it.
Step 2: Model, plan, apply
Prisma Next calls your schema a contract:
// use prisma-next model User { id Int @id @default(autoincrement()) email String @unique username String? name String? posts Post[] createdAt DateTime @default(now()) updatedAt temporal.updatedAt() } model Post { id Int @id @default(autoincrement()) title String content String? author User @relation(fields: [authorId], references: [id]) authorId Int createdAt DateTime @default(now()) updatedAt temporal.updatedAt() }Compile it, plan a migration, apply it:
npx prisma-next contract emit npx prisma-next migration plan --name init_users_posts npx prisma-next migrate --advance-ref db--advance-ref db moves a ref, a name pinned to a point in your migration history, onto what you just applied. Later plans start from there and produce a delta instead of recreating everything.
Step 3: Change the model
Add an enum, two fields, and a boolean:
enum Role { USER EDITOR ADMIN } model User { id Int @id @default(autoincrement()) email String @unique username String? name String? bio String? role Role @default(USER) posts Post[] createdAt DateTime @default(now()) updatedAt temporal.updatedAt() } model Post { id Int @id @default(autoincrement()) title String content String? published Boolean @default(false) author User @relation(fields: [authorId], references: [id]) authorId Int createdAt DateTime @default(now()) updatedAt temporal.updatedAt() }npx prisma-next contract emit npx prisma-next migration plan --name add_roles_and_publishing npx prisma-next migrate --advance-ref dbRepeat for whatever your app needs; when a change needs a backfill, Data Migrations in Prisma Next covers that. The history behind the screenshots here has six migrations: an initial pair of models, this enum-and-fields change, a Category model with a relation and two unique constraints, a destructive column drop, and two more field additions.
Step 4: Add some data
A history reads better next to real rows:
npm run db:seedStep 5: Open Studio
A Prisma Next project has no schema.prisma, so Studio takes the connection string with --url. It lives in .env rather than your shell, so load it first:
set -a && . ./.env && set +a npx prisma@dev studio --url "$DATABASE_URL"Studio opens on http://localhost:5555, and Migrations is in the left navigation.
Reading a migration
Select add_roles_and_publishing. The canvas shows the Role enum as a new card, User amber with bio and role marked +, and Post amber with published.
Open the SQL panel and you get exactly what ran, labelled with its operation class:
Note the last statement. Prisma Next implements Role as a text column plus a CHECK constraint rather than a native Postgres enum type. The canvas shows you the modelling intent; the SQL panel shows you the implementation.
The Schema panel renders the same change as a Prisma-schema diff, with long unchanged runs collapsed into folds:
By default the canvas draws only the models a migration touched plus their direct neighbors. Toggle All models to see the whole schema as it stood at that point in history:
The selected migration is part of the URL. In Console that means a link drops a reviewer straight onto the change you're asking about. Locally it's a bookmark for yourself.
Your tables are in the same session under Tables, so you can go from "what changed" to "what's in there" without leaving the app. Getting Started with Studio covers editing, filtering, and exporting:
Where the history comes from
Studio never opens your migrations/ directory and never calls the Prisma Next CLI. It reads two tables that Prisma Next maintains in your database:
- prisma_contract.ledger holds one row per applied migration: the name, the apply time, the executed operations with their SQL, and the two contract hashes the migration moved between.
- prisma_contract.contract stores each distinct contract once, keyed by its hash.
Every ledger row names the contract it started from and the contract it produced. Studio looks both up by hash. There is nothing to reconstruct and nothing to guess.
Writing only the destination contract on each apply is enough to cover both ends of every row. The first migration starts from the empty contract. Every origin after that was some earlier apply's destination, so it is already stored.
The practical consequence: a migration applied from CI, from a teammate's laptop, or from a branch you never checked out shows up in your Studio with a full diff. The history belongs to the database. The hashes are the same ones that make Prisma Next migrations a graph rather than a numbered list.
Where you can use it
The Migrations view shipped in @prisma/studio-core 0.32.0. The Prisma CLI bundles Studio, and a new enough version is currently only in the CLI's dev release, so use npx prisma@dev studio to try it locally.
It is also in the embedded Studio in Prisma Console, for any database with an applied Prisma Next migration history. Open your database's Studio tab and select Migrations. No local setup, and the selected migration is part of the Console URL too.
A few limits worth stating plainly:
- Prisma Next on PostgreSQL. The view needs the prisma_contract.ledger table. Prisma ORM projects using prisma migrate record their history differently and won't show it.
- Applied migrations only. A migration you've planned but not applied isn't in the database, so it isn't in the view.
- An empty history hides the view. No applied migrations, no Migrations item.
- Older databases lose the diffs. If your database was migrated by a Prisma Next that predates the contract store, you keep the list and the SQL panel, and the canvas asks you to update.
Where this fits
You already model data as a contract and apply migrations to Prisma Postgres. The missing piece was reading back what those migrations did to a specific database. That record used to live only in files, describing intent. Now Studio shows what ran.
This matters most where the repo can't help you. The database your app talks to in production was migrated by CI, not by you. Its history is in the ledger, and Studio reads the ledger. The same timeline is there whether you deploy on Prisma Compute or anywhere else, and the embedded Studio in Console shows it to everyone on your team without a local checkout.
Frequently asked questions
What is the Migrations view in Prisma Studio?
Why doesn't the Migrations item appear in my Prisma Studio?
Does the Migrations view work with Prisma ORM and prisma migrate?
Where does Prisma Studio read the migration history from?
Try it
npm create prisma@nextModel something, apply two migrations, and open Migrations. Tell us what you'd want in the timeline next on Discord.
Star and watch prisma/prisma-next on GitHub to follow development.
The Migrations view shipped in @prisma/studio-core 0.32.0. The Prisma CLI bundles Studio, and a new enough version is currently only in the CLI's dev release, hence npx prisma@dev studio.
Prisma Next is in Early Access and not production-ready yet. Prisma 7 is still the right choice for production today. When Prisma Next is ready for general use, it becomes Prisma 8.
Original source - Jul 16, 2026
- Date parsed from source:Jul 16, 2026
- First seen by Releasebot:Jul 17, 2026
All of your release notes in one feed
Join Releasebot and get updates from Prisma and hundreds of other software products.
- Jul 16, 2026
- Date parsed from source:Jul 16, 2026
- First seen by Releasebot:Jul 16, 2026
- Jul 16, 2026
- Date parsed from source:Jul 16, 2026
- First seen by Releasebot:Jul 16, 2026
- Jul 14, 2026
- Date parsed from source:Jul 14, 2026
- First seen by Releasebot:Jul 15, 2026
Similar to Prisma with recent updates:
- Smokeball release notes136 release notes · Latest Jul 16, 2026
- Cosmolex release notes20 release notes · Latest Jul 30, 2025
- PracticePanther release notes35 release notes · Latest Jul 7, 2026
- Salesforce release notes57 release notes · Latest Jul 1, 2026
- Microsoft release notes731 release notes · Latest Jul 20, 2026
- Zoom release notes179 release notes · Latest Jul 18, 2026
- Jul 14, 2026
- Date parsed from source:Jul 14, 2026
- First seen by Releasebot:Jul 14, 2026
- Jul 10, 2026
- Date parsed from source:Jul 10, 2026
- First seen by Releasebot:Jul 10, 2026
- Jul 9, 2026
- Date parsed from source:Jul 9, 2026
- First seen by Releasebot:Jul 10, 2026
- Jul 9, 2026
- Date parsed from source:Jul 9, 2026
- First seen by Releasebot:Jul 9, 2026
Learn Prisma Next from its expanded docs and use native PostgreSQL enums
Prisma updates Prisma Next docs with full coverage for fundamentals, data modeling, migrations, middleware, extensions, contract authoring, and API reference, while adding typed native PostgreSQL enum unions, refining contract inference, and surfacing typedSql in tools.
Prisma Next docs now cover Fundamentals, data modeling, migrations, middleware and extensions, contract authoring, and an API reference. The schema also reads native PostgreSQL enums, including types created outside Prisma, as typed value unions.
Prisma ORM removes the destructive migrate-reset tool from its MCP server and makes the typedSql preview feature visible to language tools.
Highlights
Docs
Prisma Next documentation now covers the full surface
Learning Prisma Next meant working from the setup guides and scattered posts. The docs now cover Fundamentals, data modeling, migrations, middleware and extensions, contract authoring, and an API reference, with guides behind a version dropdown.
Note: Prisma Next is in Early Access. Scope and behavior may still change.
Start with the Prisma Next docs; the setup guides from last week remain the fastest entry point.
New
Use native PostgreSQL enums in Prisma Next
Enum types created outside Prisma, for example by Supabase, used to read as plain strings. Prisma Next now maps native PostgreSQL enum types to typed value unions, so reads and writes are checked against the enum's values.
// account_status is a native PostgreSQL enum type
const account = await db.account.findFirst();
// account.status: "active" | "paused" | "closed"Shipped in prisma/prisma-next#906.
Prisma Next
Prisma Next reads external enum types as typed unions and tightens contract inference on stack extensions.
Improved
- Prisma Next contract infer now writes a contract covering only your app's own tables when running on a stack extension such as the Supabase pack, instead of repeating what the extension already declares. (prisma/prisma-next#919)
Prisma ORM
Prisma ORM removes a destructive agent-facing tool and surfaces the typedSql preview feature.
Improved
- The Prisma MCP server no longer exposes a migrate-reset tool. An agent that needs a reset must run prisma migrate reset through the CLI, where the safety checkpoint requires explicit confirmation before the database is dropped. (prisma/prisma#29691)
- The typedSql preview feature now appears in language-tool autocomplete and in schema validation error suggestions. It was already fully functional when enabled explicitly. (prisma/prisma-engines#5836)
Need help applying these changes in production? Prisma Enterprise Support can help with schema design, performance, security, and compliance.
Original source - Jul 8, 2026
- Date parsed from source:Jul 8, 2026
- First seen by Releasebot:Jul 8, 2026
- Jul 6, 2026
- Date parsed from source:Jul 6, 2026
- First seen by Releasebot:Jul 7, 2026
- Jul 3, 2026
- Date parsed from source:Jul 3, 2026
- First seen by Releasebot:Jul 9, 2026
Set up Prisma Next with new guides and debug failed Prisma Compute builds
Prisma adds Prisma Next setup guides, expands schema support for scalar list fields and MongoDB enums, and improves Prisma Compute with build-failure emails, API log access, deploy region configuration, and cleaner Console navigation.
Prisma Next 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
Docs Prisma Next setup guides are now available
Trying Prisma Next meant piecing the setup together from scattered posts. The docs now have setup guides covering new projects and adding Prisma Next to an existing project, for PostgreSQL and MongoDB.
Note: Prisma Next is in Early Access. Scope and behavior may still change.
Read the Prisma Next setup guides for installation steps. For background on the TypeScript rewrite, read The Next Evolution of Prisma ORM.
New Prisma 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 Next
Prisma Next adds more schema coverage for MongoDB, browser-safe imports for generated types and helpers, and language server improvements for editing schemas.
New
- Prisma Next scalar list fields are now supported in schemas, migrations, and type inference. (prisma/prisma-next#870)
- Prisma Next now supports MongoDB enums in schemas, database validators, and typed reads. (prisma/prisma-next#834)
- Prisma Next now provides browser-safe static imports through @prisma-next/{target}/static for types and helpers used in browser code. (prisma/prisma-next#888)
Improved
- The Prisma Next language server now provides semantic highlighting and folding regions for schemas. (prisma/prisma-next#878, prisma/prisma-next#869)
- Prisma Next 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-next/postgresql/static";Prisma Compute
Prisma Compute adds deploy region configuration, consistent deployment terminology, Prisma Console navigation updates, and preview branch cleanup improvements.
New
- Prisma Compute deploy regions can now be configured in prisma.compute.ts.
Improved
- Prisma Console now has redesigned navigation and a new project overview view for Prisma Compute projects.
- Prisma Compute now consistently uses deployments in the Prisma Console and the Management API where it used to mix in versions, matching the /v1/deployments API surface. Action recommended: update docs, scripts, or internal tooling that still refers to Prisma Compute versions.
- Prisma Compute preview branch teardown now also de-provisions the associated database.
Deprecations
- Prisma Compute custom-domain API responses now include appId. The existing computeServiceId field is deprecated and will continue to be returned during the migration period. Action required: update code that reads computeServiceId from custom-domain API responses to read appId instead.
Fixes and improvements
Prisma Compute
Fixed
- Prisma Compute Astro deploys no longer miss runtime dependencies at build time.
Prisma Next
Fixed
- Prisma Next aggregation reads with $project and $addFields decode 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.
Original source - Jul 3, 2026
- Date parsed from source:Jul 3, 2026
- First seen by Releasebot:Jul 3, 2026
- Jul 3, 2026
- Date parsed from source:Jul 3, 2026
- First seen by Releasebot:Jul 3, 2026
- Jul 3, 2026
- Date parsed from source:Jul 3, 2026
- First seen by Releasebot:Jul 3, 2026
Curated by the Releasebot team
Releasebot is an aggregator of official release notes from hundreds of software vendors and thousands of sources.
Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.