Debug slow queries from Prisma Studio and preview migrations in Prisma 8
Query Insights now lives inside Prisma Studio, so you can inspect slow queries next to the data you are browsing.
Prisma 8 adds backward cursor pagination, a migration preview command, and a published version support policy. Prisma ORM speeds up type-checking and tightens credential file permissions.
Highlights
NewQuery Insights is now built into Prisma Studio
Checking slow queries used to mean leaving Prisma Studio for a separate view. Prisma Studio now has a Queries view of its own, so you can inspect query performance next to the data you are browsing. The SQL view also validates AI-generated SQL before it shows it to you.
Shipped in prisma/studio#1515.
Prisma 8
Prisma 8 adds backward cursor pagination, migration previews, and a published version support policy.
Note: Prisma 8 is in Early Access. Scope and behavior may still change.
- Prisma 8
orderByitems exposereverse()for backward cursor pagination. (prisma/prisma-next#671) - Prisma 8
migration --showpreviews the migration path before you apply it. (prisma/prisma-next#735) - Prisma 8 publishes a version support policy covering Node.js 24, TypeScript 5.9, PostgreSQL 17, and MongoDB 8.0. (prisma/prisma-next#659)
Preview a migration before applying it:
prisma migration --showRead the Prisma 8 docs for the migration workflow.
Prisma Studio
Prisma Studio makes query details copyable and fixes SQL view schema selection.
- Prisma Studio now lets you copy a query's details straight from the Query Details panel. (prisma/studio#1520)
- The Prisma Studio SQL view runs against the schema you select. (prisma/studio#1518)
Prisma ORM
Prisma ORM speeds up type-checking and tightens credential storage.
- Prisma ORM type-checking is faster on large generated client types. (prisma/prisma#29592)
- Prisma ORM stored platform auth credentials now use stricter file permissions. (prisma/prisma#29568)
Need help applying these changes in production? Prisma Enterprise Support can help with schema design, performance, security, and compliance.