diff --git a/apps/site/content/changelog/2024-03-13.mdx b/apps/site/content/changelog/2024-03-13.mdx index 775ec6d3b5..82254655f0 100644 --- a/apps/site/content/changelog/2024-03-13.mdx +++ b/apps/site/content/changelog/2024-03-13.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v5.11.0: Pulse reaches General Availability - We're thrilled to announce that [Pulse](https://www.prisma.io/data-platform/pulse) has reached General Availability! This marks a significant milestone in our journey to redefine how developers interact with database-event driven compute. Pulse is managed database-event infrastructure that **simplifies database-event driven compute**, making it easy to power real-time functionality, like chat, notifications, data broadcast, and more. diff --git a/apps/site/content/changelog/2024-04-03.mdx b/apps/site/content/changelog/2024-04-03.mdx index cda1ec4f48..0462612bf2 100644 --- a/apps/site/content/changelog/2024-04-03.mdx +++ b/apps/site/content/changelog/2024-04-03.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v5.12.0: Cloudflare D1 in Preview - Exciting news! **5.12.0** release brings Preview support for [Cloudflare D1](https://developers.cloudflare.com/d1/) with Prisma ORM 🥳 ![blog-d1Launch@1.png](/changelog/image-66fc05379af15d65fd3dd6d792c9a575db648895-844x474-png-blog-d1Launch-1.png) diff --git a/apps/site/content/changelog/2024-04-25.mdx b/apps/site/content/changelog/2024-04-25.mdx index ecb17b597b..9e0a3e1514 100644 --- a/apps/site/content/changelog/2024-04-25.mdx +++ b/apps/site/content/changelog/2024-04-25.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v5.13.0: Static IP support for Prisma Accelerate - [Prisma Accelerate](https://www.prisma.io/data-platform/accelerate) introduces Static IP support, enabling secure connections to your database with predictable IPs for controlled access and minimized exposure. This allows connections from Accelerate to databases requiring trusted IP access. ![hero-firewall-teal@1.5x.png](/changelog/image-9a5f27696242c051a689abed3d4b7099a8145301-1200x674-png-hero-firewall-teal-1.5x.png) diff --git a/apps/site/content/changelog/2024-05-15.mdx b/apps/site/content/changelog/2024-05-15.mdx index 04cc46197b..d106183725 100644 --- a/apps/site/content/changelog/2024-05-15.mdx +++ b/apps/site/content/changelog/2024-05-15.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v5.14.0: Prisma Optimize and createManyAndReturn - Ever wondered what SQL the Prisma ORM generates under the hood? Want to understand the performance of your app and deliver a better and faster experience for your users? With [Prisma Optimize](https://www.npmjs.com/package/@prisma/extension-optimize) you can! ![changelog-optimize.png](/changelog/image-d662ff0fc23bcf0134f8ffea26db749bd670c6d1-844x474-png-changelog-optimize.png) diff --git a/apps/site/content/changelog/2024-06-06.mdx b/apps/site/content/changelog/2024-06-06.mdx index 3c00bc49c0..22be70e110 100644 --- a/apps/site/content/changelog/2024-06-06.mdx +++ b/apps/site/content/changelog/2024-06-06.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v5.15.0: multi-file schemas and Pulse delivery guarantees - [Pulse](https://www.prisma.io/data-platform/pulse?utm_source=website&utm_medium=changelog&utm_campaign=pulse-dg) makes it easy to build event-driven apps by letting you react to changes in your database. Thanks to its new event persistence feature, all database change events are now guaranteed to be delivered *at least once* and *in the right order*! ![meta-delivery-guarantees.png](/changelog/image-6d76b801c5663654db08e0045d8a034526434668-1800x948-png-meta-delivery-guarantees.png) diff --git a/apps/site/content/changelog/2024-06-27.mdx b/apps/site/content/changelog/2024-06-27.mdx index 3fc4a25ddf..b2e072acb9 100644 --- a/apps/site/content/changelog/2024-06-27.mdx +++ b/apps/site/content/changelog/2024-06-27.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v5.16.0: global omit for model fields - In [5.13.0](https://github.com/prisma/prisma/releases/tag/5.13.0), we introduced Preview support for the `omit` option within the Prisma Client query options. Now, we’re more than happy to announce that we’re expanding the `omitApi` Preview feature to also include the ability to **omit fields globally**. Here's an example how you’re able to define fields to omit when instantiating Prisma Client either locally or globally: diff --git a/apps/site/content/changelog/2024-07-18.mdx b/apps/site/content/changelog/2024-07-18.mdx index c65ffdb16c..f99defec55 100644 --- a/apps/site/content/changelog/2024-07-18.mdx +++ b/apps/site/content/changelog/2024-07-18.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v5.17.0: QueryRaw performance improvements - We’ve changed the response format of `queryRaw` to decrease its average size, which reduces serialization CPU overhead. Here’s a peek at the results measuring before and after the improvements. ![perf-graphs.png](/changelog/image-a6312279b8aab81d7fcf21ad3308dd3a18710c7f-2724x1566-png-perf-graphs.png) diff --git a/apps/site/content/changelog/2024-08-08.mdx b/apps/site/content/changelog/2024-08-08.mdx index 6c3c675361..69e8644ed6 100644 --- a/apps/site/content/changelog/2024-08-08.mdx +++ b/apps/site/content/changelog/2024-08-08.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v5.18.0: native UUIDv7 support - 🎉 You can now use the latest version of UUIDs with Prisma ORM, providing even more flexibility and future-proofing for your applications. To support this, we’ve updated the `uuid()` function in Prisma Schema to accept an optional integer argument. Right now, the only valid values are `4` and `7`, with `4` being the default. diff --git a/apps/site/content/changelog/2024-08-29.mdx b/apps/site/content/changelog/2024-08-29.mdx index f3c10d3f4e..34ad67119e 100644 --- a/apps/site/content/changelog/2024-08-29.mdx +++ b/apps/site/content/changelog/2024-08-29.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v5.19.0: introducing TypedSQL - We're excited to introduce [`TypedSQL`](https://www.prisma.io/typedsql) in Prisma ORM, a new feature that brings type safety to your raw SQL queries. With `TypedSQL`, you can write raw SQL in `.sql` files and enjoy the benefits of type-checking and auto-completion, all within your Prisma projects. ![TypedSQL announcement 844x474.webp](/changelog/image-3591d625e8bce0c71d29d8cd0f026e5f8daf3f79-844x474-webp-TypedSQL-announcement-844x474.webp) diff --git a/apps/site/content/changelog/2024-09-26.mdx b/apps/site/content/changelog/2024-09-26.mdx index 1fe999a965..d50b25bc5c 100644 --- a/apps/site/content/changelog/2024-09-26.mdx +++ b/apps/site/content/changelog/2024-09-26.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v5.20.0: Prisma Optimize is now GA - Prisma Optimize is now in GA, offering AI-powered tools to analyze and improve database query performance. It identifies problematic queries, provides actionable insights like reducing excessive rows or adding indexes, and allows you to track performance improvements in real-time. ![blogpost-optimize 8.svg](/changelog/image-a2d1af619fb547bcc995ef12e208107bffafc97f-844x474-svg-blogpost-optimize-8.svg) diff --git a/apps/site/content/changelog/2024-10-17.mdx b/apps/site/content/changelog/2024-10-17.mdx index 5350443f3e..d11db55285 100644 --- a/apps/site/content/changelog/2024-10-17.mdx +++ b/apps/site/content/changelog/2024-10-17.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v5.21.0: new Optimize recommendations - With this release, Prisma Optimize brings two new recommendations to help you enhance the performance of your database operations. Explore the new insights and take full advantage of our optimization engine to streamline your development experience. [Resolve repeated queries with caching](https://www.prisma.io/docs/optimize/recommendations/repeated-query) diff --git a/apps/site/content/changelog/2024-11-07.mdx b/apps/site/content/changelog/2024-11-07.mdx index a4f4acf30b..aa63646aac 100644 --- a/apps/site/content/changelog/2024-11-07.mdx +++ b/apps/site/content/changelog/2024-11-07.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v5.22.0: Prisma Postgres enters Early Access - Our biggest news yet: Prisma now offers a managed PostgreSQL service! Entering Early Access, Prisma Postgres is a pay-as-you-go, serverless Postgres offering that offers competitive pricing and no cold starts! We’re confident that the technology powering Prisma Postgres is the path forward for database offerings. So much so that [we’ve gone in depth on our blog](https://www.prisma.io/blog/announcing-prisma-postgres-early-access) on how we brought Prisma Postgres to life. diff --git a/apps/site/content/changelog/2024-11-28.mdx b/apps/site/content/changelog/2024-11-28.mdx index dd334fde3d..f48667f9bc 100644 --- a/apps/site/content/changelog/2024-11-28.mdx +++ b/apps/site/content/changelog/2024-11-28.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.0.0: Prisma ORM v6 has arrived - Prisma 6 is here, bringing improvements for future-proofing and enhanced performance. We've updated the minimum supported versions of TypeScript and Node.js and significantly improved full-text search capabilities by promoting the `fullTextIndex` and `fullTextSearch` features to General Availability. - **Explore what's new**: Read the [launch blog](https://pris.ly/prisma-6?utm_source=website&utm_medium=changelog) to learn how Prisma has evolved, including tooling updates and new features for improved performance and flexibility. diff --git a/apps/site/content/changelog/2024-12-19.mdx b/apps/site/content/changelog/2024-12-19.mdx index a8279578dc..ac2e801ad4 100644 --- a/apps/site/content/changelog/2024-12-19.mdx +++ b/apps/site/content/changelog/2024-12-19.mdx @@ -11,9 +11,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.1.0: tracing is now stable - We’re really excited about Prisma ORM 6.1.0 as our `tracing` Preview feature is now stable! There are a few changes needed if you are using the `tracing` feature, make sure you check out [the release notes](https://github.com/prisma/prisma/releases/tag/6.1.0) for all the details. ## 📜 Our Manifesto for Prisma ORM diff --git a/apps/site/content/changelog/2025-01-09.mdx b/apps/site/content/changelog/2025-01-09.mdx index 55b42abae7..6c35e12b59 100644 --- a/apps/site/content/changelog/2025-01-09.mdx +++ b/apps/site/content/changelog/2025-01-09.mdx @@ -11,9 +11,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.2.0: omit API is now GA - Prisma ORM 6.2.0 might be a minor release, but the changes in it are **major.** In this release we are moving the omit API ([our most requested feature](https://github.com/prisma/prisma/issues/5042)) to Generally Available. You can now use the omit API without a Preview feature flag! 6.2.0 also includes some other highly requested features: diff --git a/apps/site/content/changelog/2025-01-30.mdx b/apps/site/content/changelog/2025-01-30.mdx index 236da03a62..9e86a30245 100644 --- a/apps/site/content/changelog/2025-01-30.mdx +++ b/apps/site/content/changelog/2025-01-30.mdx @@ -11,9 +11,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.3.0: Prisma Studio returns to Console - [We’ve released a new version of Prisma Studio!](https://www.prisma.io/blog/we-made-prisma-studio-even-better) This version is packaged with Prisma ORM 6.3.0 and also marks the triumphant return of **Prisma Studio in the Console**. Be sure to **check out our blog post** for all the details, but here’s a shortlist: diff --git a/apps/site/content/changelog/2025-02-20.mdx b/apps/site/content/changelog/2025-02-20.mdx index b6d3a722a7..d03371014b 100644 --- a/apps/site/content/changelog/2025-02-20.mdx +++ b/apps/site/content/changelog/2025-02-20.mdx @@ -11,9 +11,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.4.0: Prisma Postgres is GA - Prisma Postgres, our hosted PostgreSQL offering, is ready for production! We’re really excited to finally have a database offering, especially since Prisma Postgres comes standard with: diff --git a/apps/site/content/changelog/2025-03-13.mdx b/apps/site/content/changelog/2025-03-13.mdx index f88095c0f7..6ac8b0a80e 100644 --- a/apps/site/content/changelog/2025-03-13.mdx +++ b/apps/site/content/changelog/2025-03-13.mdx @@ -15,9 +15,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.5.0: Rust to TypeScript update - ![image.png](/changelog/image-f94c7ac0283481bbc8177d30bb3bc92464f1ca33-844x474-png-image.png) Our ORM team is making progress on our transition from Rust to TypeScript. We've developed [a migration plan](https://www.prisma.io/blog/from-rust-to-typescript-a-new-chapter-for-prisma-orm) and now have [an initial prototype with benchmarks](https://www.prisma.io/blog/rust-to-typescript-update-boosting-prisma-orm-performance)! diff --git a/apps/site/content/changelog/2025-04-10.mdx b/apps/site/content/changelog/2025-04-10.mdx index a47bcf4766..f7b87dae0a 100644 --- a/apps/site/content/changelog/2025-04-10.mdx +++ b/apps/site/content/changelog/2025-04-10.mdx @@ -15,9 +15,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.6.0: MCP Server for Prisma Postgres - [Prisma Postgres](https://www.prisma.io/postgres) is the first serverless database without cold starts. Designed for optimal efficiency and high performance, it's the perfect database to be used alongside AI tools like Cursor, Windsurf, Lovable or co.dev. In the [v6.6.0](https://github.com/prisma/prisma/releases/tag/6.6.0) ORM release, we added a command to start a Prisma MCP server that you can integrate in your AI development environment. Thanks to that MCP server, you can now: diff --git a/apps/site/content/changelog/2025-05-01.mdx b/apps/site/content/changelog/2025-05-01.mdx index c5c1c88709..b6302bb68e 100644 --- a/apps/site/content/changelog/2025-05-01.mdx +++ b/apps/site/content/changelog/2025-05-01.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.7.0: Prisma Postgres on Vercel Marketplace - We’re excited to announce that Prisma Postgres is now available as a [Vercel Marketplace integration](https://vercel.com/marketplace/prisma). With the [integration](https://www.prisma.io/blog/connect-your-apps-to-prisma-postgres-via-vercel-marketplace-integration), you can: - create Prisma Postgres instances without leaving the Vercel Dashboard diff --git a/apps/site/content/changelog/2025-05-19.mdx b/apps/site/content/changelog/2025-05-19.mdx index 4596478357..28b1d60153 100644 --- a/apps/site/content/changelog/2025-05-19.mdx +++ b/apps/site/content/changelog/2025-05-19.mdx @@ -15,9 +15,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.8.0: local Prisma Postgres with prisma dev - #### 💻 **Local development with Prisma Postgres via `prisma dev` (Early Access)** In 6.8.0, we released a way to develop against Prisma Postgres *locally* — no Docker required! diff --git a/apps/site/content/changelog/2025-06-05.mdx b/apps/site/content/changelog/2025-06-05.mdx index 600c5e050c..ad12fb64ce 100644 --- a/apps/site/content/changelog/2025-06-05.mdx +++ b/apps/site/content/changelog/2025-06-05.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.9.0: no Rust engines for PostgreSQL and SQLite - If you've been excited about our work of removing the Rust engines from Prisma ORM but hesitated trying it out because it was in an [Early Access](https://www.prisma.io/docs/orm/more/releases#early-access) (EA) phase, now is a great time for you to get your hands on the [Rust-free Prisma ORM version](https://www.prisma.io/blog/try-the-new-rust-free-version-of-prisma-orm-early-access). This major architectural change has moved from EA into [Preview](https://www.prisma.io/docs/orm/more/releases#preview) in this release, meaning there are no more know major issues. If you want to try it out, add the `queryCompiler` and `driverAdapters` preview feature flags to your `generator`, install the driver adapter for your database, and get going: diff --git a/apps/site/content/changelog/2025-06-17.mdx b/apps/site/content/changelog/2025-06-17.mdx index 18b6935634..52c261f5d3 100644 --- a/apps/site/content/changelog/2025-06-17.mdx +++ b/apps/site/content/changelog/2025-06-17.mdx @@ -15,9 +15,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.10.0: no Rust engines for MS SQL Server and PlanetScale - We are in the process of [removing the Rust engines](https://www.prisma.io/docs/orm/prisma-client/setup-and-configuration/no-rust-engine) from Prisma ORM. If you want to try this, you can configure your `generator` like this: ```typescript diff --git a/apps/site/content/changelog/2025-07-02.mdx b/apps/site/content/changelog/2025-07-02.mdx index a8bcb00966..e00823f4cf 100644 --- a/apps/site/content/changelog/2025-07-02.mdx +++ b/apps/site/content/changelog/2025-07-02.mdx @@ -15,9 +15,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.11.0: embed Prisma Studio in your React apps - If you’re using Prisma Postgres (yourself or [by offering it to your own users](https://www.prisma.io/partners)), you can now embed Prisma Studio to offer an amazing data editing experience via the [`@prisma/studio-core`](https://www.npmjs.com/package/@prisma/studio-core) npm package. ![Studio-component[LIGHT]@4x.png](/changelog/image-d2c35b8243dd6f86ff9a353d5bb64ad79510920f-2836x981-png-Studio-component-LIGHT-4x.png) diff --git a/apps/site/content/changelog/2025-07-17.mdx b/apps/site/content/changelog/2025-07-17.mdx index f4603197fd..b79a327fee 100644 --- a/apps/site/content/changelog/2025-07-17.mdx +++ b/apps/site/content/changelog/2025-07-17.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.12.0: ESM-compatible prisma-client in Preview - #### ESM-compatible `prisma-client` generator now in Preview We’re excited to share that our new and more flexible [`prisma-client` generator](https://www.prisma.io/docs/orm/prisma-schema/overview/generators#prisma-client-early-access) is moving into [Preview](https://www.prisma.io/docs/orm/more/releases#preview)! As a reminder, here’s what it looks like: diff --git a/apps/site/content/changelog/2025-07-30.mdx b/apps/site/content/changelog/2025-07-30.mdx index e1b2742f55..e235e32db5 100644 --- a/apps/site/content/changelog/2025-07-30.mdx +++ b/apps/site/content/changelog/2025-07-30.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.13.0: Prisma Config is now GA - #### 📂 Prisma Config is now Generally Available The [`prisma.config.ts`](https://www.prisma.io/docs/orm/reference/prisma-config-reference) file is Prisma ORM’s native way to provide configuration options for your project. The Prisma Config file now allows you to: diff --git a/apps/site/content/changelog/2025-08-27.mdx b/apps/site/content/changelog/2025-08-27.mdx index 5c3f45fb35..2bfc211026 100644 --- a/apps/site/content/changelog/2025-08-27.mdx +++ b/apps/site/content/changelog/2025-08-27.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.15.0: AI guardrails prevent database resets - Prisma ORM now includes built-in safety checks that protect against destructive commands when triggered by AI coding assistants. The CLI can recognize when it is being executed by popular AI agents such as Claude Code, Gemini CLI, Qwen Code, Cursor, Aider and Replit. If a command like `prisma migrate reset --force` is attempted, Prisma ORM will prompt for explicit confirmation before proceeding. diff --git a/apps/site/content/changelog/2025-09-10.mdx b/apps/site/content/changelog/2025-09-10.mdx index a71109090f..a96fef32f2 100644 --- a/apps/site/content/changelog/2025-09-10.mdx +++ b/apps/site/content/changelog/2025-09-10.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.16.0: Rust-free ORM and driver adapters are GA - Eight months ago, we published our [ORM manifesto](https://www.prisma.io/blog/prisma-orm-manifesto) with the first hint that we’re going to remove the Rust-based query engine from Prisma ORM: *We’re addressing this by migrating Prisma’s core logic from Rust to TypeScript and redesigning the ORM to make customization and extension easier.* diff --git a/apps/site/content/changelog/2025-10-08.mdx b/apps/site/content/changelog/2025-10-08.mdx index ec81dd9872..03e1b78ed9 100644 --- a/apps/site/content/changelog/2025-10-08.mdx +++ b/apps/site/content/changelog/2025-10-08.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.17.0: Prisma Postgres works with any tool - Previously, the *only* way to connect to Prisma Postgres was using Prisma ORM. That combination is great because it gives you connection pooling, global caching and overall an amazing DX. That being said, preferences may vary and some developers prefer to use plain SQL or lower-level query builders in their applications. As of this release, these ways for connecting to Prisma Postgres are now officially Generally Available (GA) and can be used in your production apps! diff --git a/apps/site/content/changelog/2025-11-05.mdx b/apps/site/content/changelog/2025-11-05.mdx index 812efb9772..ecf61acbfc 100644 --- a/apps/site/content/changelog/2025-11-05.mdx +++ b/apps/site/content/changelog/2025-11-05.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v6.19.0: connection pooling for Prisma Postgres - Prisma ORM is the most popular ORM in the TypeScript ecosystem. Today’s release brings a bunch of new bug fixes and overall improvements: - [\#5675](https://github.com/prisma/prisma-engines/pull/5675): When dropping a model from a schema, do not append the default schema to the migration. diff --git a/apps/site/content/changelog/2025-11-19.mdx b/apps/site/content/changelog/2025-11-19.mdx index 134c3e209d..e76e9349c7 100644 --- a/apps/site/content/changelog/2025-11-19.mdx +++ b/apps/site/content/changelog/2025-11-19.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v7.0.0: Rust-free Prisma Client becomes the default - **Rust-free Prisma Client as the default** The Rust-free Prisma Client has been in the works for some time now, all the way [back to v6.16.0](https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6), with early iterations being available for developers to adopt. Now with version 7.0, we’re making this the default for all new projects. With this, developers are able to get: diff --git a/apps/site/content/changelog/2025-12-03.mdx b/apps/site/content/changelog/2025-12-03.mdx index e24941c6be..413666872c 100644 --- a/apps/site/content/changelog/2025-12-03.mdx +++ b/apps/site/content/changelog/2025-12-03.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v7.1.0: SQL comments and Prisma 7 read replicas - - [\#28735](https://github.com/prisma/prisma/pull/28735): **pnpm monorepo issues with prisma client runtime utils** Resolves issues in pnpm monorepos where users would report TypeScript issues related to `@prisma/client-runtime-utils`. - [\#28769](https://github.com/prisma/prisma/pull/28769): **implement sql commenter plugins for Prisma Client** This PR implements support for SQL commenter plugins to Prisma Client. The feature will allow users to add metadata to SQL queries as comments, following the [sqlcommenter format](https://google.github.io/sqlcommenter/). Here are two related PRs that were also merged: - [\#28796](https://github.com/prisma/prisma/pull/28796): **implement query tags for SQL commenter plugin** diff --git a/apps/site/content/changelog/2025-12-17.mdx b/apps/site/content/changelog/2025-12-17.mdx index fb9e280829..aa696c9acb 100644 --- a/apps/site/content/changelog/2025-12-17.mdx +++ b/apps/site/content/changelog/2025-12-17.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v7.2.0: migrate URL flags and Bun-aware prisma init - - [\#28830](https://github.com/prisma/prisma/pull/28830): feat: add `sqlcommenter-query-insights` plugin - Adds a new SQL commenter plugin to support query insights metadata. - [\#28860](https://github.com/prisma/prisma/pull/28860): feat(migrate): add `-url` param for `db pull`, `db push`, `migrate dev` diff --git a/apps/site/content/changelog/2026-01-21.mdx b/apps/site/content/changelog/2026-01-21.mdx index 6270354d68..09ee7393f0 100644 --- a/apps/site/content/changelog/2026-01-21.mdx +++ b/apps/site/content/changelog/2026-01-21.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-03-31T10:29:19.701Z" --- - -## Prisma ORM v7.3.0: fast and small query compilers - - [\#28976](https://github.com/prisma/prisma/pull/28976): Fast and Small Query Compilers We've been working on various performance-related bugs since the initial ORM 7.0 release. With 7.3.0, we're introducing a new `compilerBuild` option for the client generator block in `schema.prisma` with two options: `fast` and `small`. This allows you to swap the underlying Query Compiler engine based on your selection, one built for speed (with an increase in size), and one built for size (with the trade-off for speed). By default, the `fast` mode is used, but this can be set by the user. We still have more in progress for performance, but this new `compilerBuild` option is our first step toward addressing your concerns! diff --git a/apps/site/content/changelog/2026-02-11.mdx b/apps/site/content/changelog/2026-02-11.mdx index 18b1d48caf..ae76613056 100644 --- a/apps/site/content/changelog/2026-02-11.mdx +++ b/apps/site/content/changelog/2026-02-11.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-04-14T00:00:00.000Z" --- - -## Prisma ORM v7.4.0: Prisma Client query caching and partial indexes - ## Highlights ## ORM diff --git a/apps/site/content/changelog/2026-02-19.mdx b/apps/site/content/changelog/2026-02-19.mdx index 4b7465d3a1..4ff02c3278 100644 --- a/apps/site/content/changelog/2026-02-19.mdx +++ b/apps/site/content/changelog/2026-02-19.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-04-14T00:00:00.000Z" --- - -## Prisma ORM v7.4.1: bug fixes and quality improvements - Prisma ORM v7.4.1 is a patch release focused on bug fixes and quality improvements across Prisma Client, driver adapters, and the Prisma Schema Language. ## Fixes diff --git a/apps/site/content/changelog/2026-02-27.mdx b/apps/site/content/changelog/2026-02-27.mdx index 2a80aa1daf..68b8306666 100644 --- a/apps/site/content/changelog/2026-02-27.mdx +++ b/apps/site/content/changelog/2026-02-27.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-04-14T00:00:00.000Z" --- - -## Prisma ORM v7.4.2: bug fixes and quality improvements - Prisma ORM v7.4.2 is a patch release focused on bug fixes and quality improvements across Prisma Client, driver adapters, and the Schema Engine. ## Fixes diff --git a/apps/site/content/changelog/2026-03-11.mdx b/apps/site/content/changelog/2026-03-11.mdx index c610b114ff..6757ab19a4 100644 --- a/apps/site/content/changelog/2026-03-11.mdx +++ b/apps/site/content/changelog/2026-03-11.mdx @@ -13,9 +13,6 @@ share: source: exportedAt: "2026-04-14T00:00:00.000Z" --- - -## Prisma ORM v7.5.0: nested transaction savepoints and Studio updates - ## ORM ### Nested transaction rollbacks via savepoints diff --git a/apps/site/content/changelog/2026-03-27.mdx b/apps/site/content/changelog/2026-03-27.mdx index 777f61bc43..0eaf75b8dd 100644 --- a/apps/site/content/changelog/2026-03-27.mdx +++ b/apps/site/content/changelog/2026-03-27.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-04-14T00:00:00.000Z" --- - -## Prisma ORM v7.6.0: prisma postgres link and Studio dark mode - ## ORM ### Features diff --git a/apps/site/content/changelog/2026-04-07.mdx b/apps/site/content/changelog/2026-04-07.mdx index 5430a09f11..d3156d9010 100644 --- a/apps/site/content/changelog/2026-04-07.mdx +++ b/apps/site/content/changelog/2026-04-07.mdx @@ -14,9 +14,6 @@ share: source: exportedAt: "2026-04-14T00:00:00.000Z" --- - -## Prisma ORM v7.7.0: the new prisma bootstrap command - ## ORM ### `prisma bootstrap` command diff --git a/apps/site/content/changelog/2026-04-22.mdx b/apps/site/content/changelog/2026-04-22.mdx new file mode 100644 index 0000000000..862a22f8e3 --- /dev/null +++ b/apps/site/content/changelog/2026-04-22.mdx @@ -0,0 +1,28 @@ +--- +title: "Set the query plan cache size in Prisma ORM" +date: "2026-04-22" +version: "2026-04-22" +slug: "2026-04-22" +headline: "Set the query plan cache size in Prisma ORM" +tags: + - "Prisma" + - "Prisma ORM" +canonical: "/changelog#log2026-04-22" +share: + active: true + content: "Look at this page: " +--- +Prisma ORM adds a parameter that sets the query plan cache size. It also fixes JSON equality evaluation and stops the Cloudflare D1 adapter from attempting unsupported savepoint operations. + +## Prisma ORM + +Prisma ORM adds query plan cache tuning and fixes JSON equality and Cloudflare D1 correctness issues. + +- **New** · Prisma ORM now accepts a parameter that sets the size of the query plan cache. ([prisma/prisma#29503](https://github.com/prisma/prisma/pull/29503)) +- **Fixed** · Prisma ORM case-insensitive equality on JSON values returns the correct result. ([prisma/prisma-engines#5806](https://github.com/prisma/prisma-engines/pull/5806)) +- **Fixed** · Prisma ORM equality checks on JSON list values behave consistently. ([prisma/prisma-engines#5804](https://github.com/prisma/prisma-engines/pull/5804)) +- **Fixed** · The Prisma ORM D1 adapter no longer attempts savepoint operations, which Cloudflare D1 does not support. ([prisma/prisma#29499](https://github.com/prisma/prisma/pull/29499)) + +--- + +*Need help applying these changes in production? [Prisma Enterprise Support](https://prisma.io/enterprise) can help with schema design, performance, security, and compliance.* diff --git a/apps/site/content/changelog/2026-04-27.mdx b/apps/site/content/changelog/2026-04-27.mdx new file mode 100644 index 0000000000..feda53bd1c --- /dev/null +++ b/apps/site/content/changelog/2026-04-27.mdx @@ -0,0 +1,45 @@ +--- +title: "Catch more database driver errors in Prisma ORM" +date: "2026-04-27" +version: "2026-04-27" +slug: "2026-04-27" +headline: "Catch more database driver errors in Prisma ORM" +tags: + - "Prisma" + - "Prisma ORM" +canonical: "/changelog#log2026-04-27" +share: + active: true + content: "Look at this page: " +--- +Prisma ORM now surfaces unmapped database driver errors as a catchable `P2039` error instead of crashing the client. This week also ships a MongoDB setup fix and patched bundled dependencies. + +## Highlights + +### Improved · Prisma ORM surfaces unmapped driver errors as catchable errors + +When a database driver returned an error Prisma ORM had no specific mapping for, the raw driver error was rethrown and could crash the client. These now surface as a user-facing `P2039`, so you can catch and handle them like any other Prisma error. + +```typescript +try { + await prisma.user.findMany(); +} catch (error) { + if (error instanceof Prisma.PrismaClientKnownRequestError && error.code === "P2039") { + // Unmapped driver error: log and handle instead of crashing. + } +} +``` + +Shipped in [prisma/prisma#29512](https://github.com/prisma/prisma/pull/29512). + +## Prisma ORM + +Prisma ORM fixes MongoDB replica set setup and patches bundled dependencies. + +- **Fixed** · Prisma ORM MongoDB replica set initialization is idempotent in the Docker setup, so re-running it no longer errors. ([prisma/prisma#29515](https://github.com/prisma/prisma/pull/29515)) + +> **Security:** Prisma ORM updates bundled dependencies (`hono`, `ajv`, `uuid`) to patch known advisories. ([prisma/prisma#29514](https://github.com/prisma/prisma/pull/29514)) + +--- + +*Need help applying these changes in production? [Prisma Enterprise Support](https://prisma.io/enterprise) can help with schema design, performance, security, and compliance.* diff --git a/apps/site/content/changelog/2026-05-15.mdx b/apps/site/content/changelog/2026-05-15.mdx new file mode 100644 index 0000000000..cda92fd547 --- /dev/null +++ b/apps/site/content/changelog/2026-05-15.mdx @@ -0,0 +1,25 @@ +--- +title: "Browse wide tables again in Prisma Studio on Safari" +date: "2026-05-15" +version: "2026-05-15" +slug: "2026-05-15" +headline: "Browse wide tables again in Prisma Studio on Safari" +tags: + - "Prisma" + - "Prisma Studio" +canonical: "/changelog#log2026-05-15" +share: + active: true + content: "Look at this page: " +--- +Prisma Studio restores horizontal scrolling in Safari, so wide tables are usable again. + +## Prisma Studio + +Prisma Studio fixes data grid scrolling in Safari. + +- **Fixed** · The Prisma Studio data grid scrolls horizontally again in Safari. ([prisma/studio#1512](https://github.com/prisma/studio/pull/1512)) + +--- + +*Need help applying these changes in production? [Prisma Enterprise Support](https://prisma.io/enterprise) can help with schema design, performance, security, and compliance.* diff --git a/apps/site/content/changelog/2026-05-19.mdx b/apps/site/content/changelog/2026-05-19.mdx new file mode 100644 index 0000000000..3b73ebcabe --- /dev/null +++ b/apps/site/content/changelog/2026-05-19.mdx @@ -0,0 +1,25 @@ +--- +title: "Upgrade Node.js without Buffer deprecation warnings from Prisma ORM" +date: "2026-05-19" +version: "2026-05-19" +slug: "2026-05-19" +headline: "Upgrade Node.js without Buffer deprecation warnings from Prisma ORM" +tags: + - "Prisma" + - "Prisma ORM" +canonical: "/changelog#log2026-05-19" +share: + active: true + content: "Look at this page: " +--- +Prisma ORM no longer calls the deprecated `Buffer()` constructor, so recent Node.js versions stop logging the `DEP0005` warning. + +## Prisma ORM + +Prisma ORM removes a deprecated Node.js API call. + +- **Fixed** · Prisma ORM no longer calls the deprecated `Buffer()` constructor, clearing the `DEP0005` deprecation warning it raised on recent Node.js versions. ([prisma/prisma#29538](https://github.com/prisma/prisma/pull/29538)) + +--- + +*Need help applying these changes in production? [Prisma Enterprise Support](https://prisma.io/enterprise) can help with schema design, performance, security, and compliance.* diff --git a/apps/site/content/changelog/2026-06-05.mdx b/apps/site/content/changelog/2026-06-05.mdx new file mode 100644 index 0000000000..1e08ff14ea --- /dev/null +++ b/apps/site/content/changelog/2026-06-05.mdx @@ -0,0 +1,64 @@ +--- +title: "Debug slow queries from Prisma Studio and preview migrations in Prisma Next" +date: "2026-06-05" +version: "2026-06-05" +slug: "2026-06-05" +headline: "Debug slow queries from Prisma Studio and preview migrations in Prisma Next" +tags: + - "Prisma" + - "Prisma Studio" + - "Query Insights" + - "Prisma Next" + - "Prisma ORM" +canonical: "/changelog#log2026-06-05" +share: + active: true + content: "Look at this page: " +--- +Query Insights now lives inside Prisma Studio, so you can inspect slow queries next to the data you are browsing. + +Prisma Next 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 + +### New · Query 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](https://github.com/prisma/studio/pull/1515). + +## Prisma Next + +Prisma Next adds backward cursor pagination, migration previews, and a published version support policy. + +> **Note:** Prisma Next is in Early Access. Scope and behavior may still change. + +- **New** · Prisma Next `orderBy` items expose `reverse()` for backward cursor pagination. ([prisma/prisma-next#671](https://github.com/prisma/prisma-next/pull/671)) +- **New** · Prisma Next `migration --show` previews the migration path before you apply it. ([prisma/prisma-next#735](https://github.com/prisma/prisma-next/pull/735)) +- **New** · Prisma Next publishes a version support policy covering Node.js 24, TypeScript 5.9, PostgreSQL 17, and MongoDB 8.0. ([prisma/prisma-next#659](https://github.com/prisma/prisma-next/pull/659)) + +Preview a migration before applying it: + +```bash +prisma migration --show +``` + +Read the [Prisma Next docs](https://www.prisma.io/docs/next) for the migration workflow. + +## Prisma Studio + +Prisma Studio makes query details copyable and fixes SQL view schema selection. + +- **Improved** · Prisma Studio now lets you copy a query's details straight from the Query Details panel. ([prisma/studio#1520](https://github.com/prisma/studio/pull/1520)) +- **Fixed** · The Prisma Studio SQL view runs against the schema you select. ([prisma/studio#1518](https://github.com/prisma/studio/pull/1518)) + +## Prisma ORM + +Prisma ORM speeds up type-checking and tightens credential storage. + +- **Improved** · Prisma ORM type-checking is faster on large generated client types. ([prisma/prisma#29592](https://github.com/prisma/prisma/pull/29592)) +- **Improved** · Prisma ORM stored platform auth credentials now use stricter file permissions. ([prisma/prisma#29568](https://github.com/prisma/prisma/pull/29568)) + +--- + +*Need help applying these changes in production? [Prisma Enterprise Support](https://prisma.io/enterprise) can help with schema design, performance, security, and compliance.* diff --git a/apps/site/content/changelog/2026-06-11.mdx b/apps/site/content/changelog/2026-06-11.mdx new file mode 100644 index 0000000000..6120ecf586 --- /dev/null +++ b/apps/site/content/changelog/2026-06-11.mdx @@ -0,0 +1,76 @@ +--- +title: "Deploy TypeScript apps next to Prisma Postgres: Prisma Compute is now in Public Beta" +date: "2026-06-11" +version: "2026-06-11" +slug: "2026-06-11" +headline: "Deploy TypeScript apps next to Prisma Postgres: Prisma Compute is now in Public Beta" +tags: + - "Prisma" + - "Prisma Compute" + - "Prisma Next" + - "Prisma ORM" +canonical: "/changelog#log2026-06-11" +share: + active: true + content: "Look at this page: " +--- +Prisma Compute is now in Public Beta: deploy a TypeScript app right next to your Prisma Postgres database, with custom domains and database branches. + +Prisma Next makes enums first-class with typed reads and writes, and adds a native UUID storage type for PostgreSQL columns. Prisma ORM ships more specific driver adapter error messages. + +## Highlights + +### Prisma Compute is now in Public Beta + +Hosting an app close to its database used to mean wiring up a separate platform and managing two sets of environments. Prisma Compute deploys TypeScript apps alongside Prisma Postgres, with hosting, database branches, and previews managed together. It is now open to everyone in Public Beta. + +> **Note:** Prisma Compute is in Public Beta. Behavior and limits may still change. + +Read the [launch announcement](https://www.prisma.io/blog/launching-prisma-compute-public-beta) for what is included. To deploy your first app, start with the [Prisma Compute docs](https://www.prisma.io/docs/compute). + +### New · Prisma Next adds first-class enums and native UUID columns + +Working with enums and UUIDs in Prisma Next meant extra mapping in application code. Enums are now first-class, with typed reads and writes and declaration-order sorting, and PostgreSQL columns can use a native UUID storage type. + +Enums are authored directly in the schema and typed on reads: + +```prisma +enum Role { + USER + ADMIN +} + +model User { + id String @id @default(uuid()) + role Role @default(USER) +} +``` + +Shipped in [prisma/prisma-next#769](https://github.com/prisma/prisma-next/pull/769) and [prisma/prisma-next#810](https://github.com/prisma/prisma-next/pull/810). + +## Prisma Compute + +Prisma Compute adds custom domain support for services. + +- **New** · Prisma Compute services can now serve traffic from a custom domain. For the design behind it, read [How we built custom domains](https://www.prisma.io/blog/prisma-compute-custom-domains). + +## Prisma Next + +Prisma Next adds transaction grouping on the SQLite facade. + +- **New** · The Prisma Next SQLite facade gains `db.transaction()` for grouping writes. ([prisma/prisma-next#737](https://github.com/prisma/prisma-next/pull/737)) + +## Prisma ORM + +Prisma ORM ships more specific error messages for driver adapters. + +- **Improved** · Prisma ORM driver adapter errors now carry more specific messages. ([prisma/prisma#29624](https://github.com/prisma/prisma/pull/29624)) + +## Guides and articles + +- [Prisma Next Is ~90% As Fast as Raw PG](https://www.prisma.io/blog/prisma-next-performance-benchmark): benchmarks Prisma Next query performance against raw PostgreSQL drivers. +- [We put Bun's Rust rewrite in production on Prisma Compute](https://www.prisma.io/blog/bun-rust-rewrite-prisma-compute): reports production experience running the Bun runtime on Prisma Compute. + +--- + +*Need help applying these changes in production? [Prisma Enterprise Support](https://prisma.io/enterprise) can help with schema design, performance, security, and compliance.* diff --git a/apps/site/content/changelog/2026-06-19.mdx b/apps/site/content/changelog/2026-06-19.mdx new file mode 100644 index 0000000000..eb5f99efe6 --- /dev/null +++ b/apps/site/content/changelog/2026-06-19.mdx @@ -0,0 +1,81 @@ +--- +title: "Configure Prisma Compute in TypeScript and roll back bad deploys" +date: "2026-06-19" +version: "2026-06-19" +slug: "2026-06-19" +headline: "Configure Prisma Compute in TypeScript and roll back bad deploys" +tags: + - "Prisma" + - "Prisma Compute" + - "Prisma Next" + - "Prisma Studio" + - "Prisma ORM" +canonical: "/changelog#log2026-06-19" +share: + active: true + content: "Look at this page: " +--- +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 + +### 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](https://www.prisma.io/docs/compute) for how rollbacks interact with deployments. + +### New · Prisma 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](https://github.com/prisma/prisma-next/pull/850) and [prisma/prisma-next#852](https://github.com/prisma/prisma-next/pull/852). + +## Prisma Compute + +Prisma Compute adds TypeScript deploy configuration, NestJS auto-detection, and published pricing. + +- **New** · Prisma Compute deploys can now be configured in TypeScript with a `prisma.compute.ts` file. For the walkthrough, read [Configure Prisma Compute in TypeScript](https://www.prisma.io/blog/prisma-compute-config-file); for every option, see the [config reference](https://www.prisma.io/docs/compute). +- **New** · 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](https://www.prisma.io/docs/compute)) +- **New** · Prisma Compute pricing is now published in the [Prisma Compute docs](https://www.prisma.io/docs/compute). + +```typescript +// 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. + +- **New** · 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](https://github.com/prisma/prisma-next/pull/856)) + +## Fixes and improvements + +**Prisma Studio** + +- **Fixed** · Prisma Studio now saves edits to PostgreSQL text array cells correctly. ([prisma/studio#1527](https://github.com/prisma/studio/pull/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](https://github.com/prisma/prisma-engines/pull/5817)) + +## Guides and articles + +- [App Hosting and Compute Platforms for AI Agents in 2026](https://www.prisma.io/blog/app-hosting-compute-platforms-for-ai-agents-2026): compares hosting platforms for agent-driven workloads, including Prisma Compute. +- [Deploy Prisma Apps with create-prisma](https://www.prisma.io/blog/create-prisma-deploy-prisma-compute): shows how to scaffold and deploy a Prisma Compute app with `create-prisma`. +- [Image Transformations with Bun on Prisma Compute](https://www.prisma.io/blog/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](https://www.prisma.io/blog/building-open-chat): walks through building a streaming chat app backed by Prisma Postgres. + +--- + +*Need help applying these changes in production? [Prisma Enterprise Support](https://prisma.io/enterprise) can help with schema design, performance, security, and compliance.* diff --git a/apps/site/content/changelog/2026-06-24.mdx b/apps/site/content/changelog/2026-06-24.mdx new file mode 100644 index 0000000000..a440b0e367 --- /dev/null +++ b/apps/site/content/changelog/2026-06-24.mdx @@ -0,0 +1,70 @@ +--- +title: "Manage Prisma Compute apps through the API" +date: "2026-06-24" +version: "2026-06-24" +slug: "2026-06-24" +headline: "Manage Prisma Compute apps through the API" +tags: + - "Prisma" + - "Prisma Compute" + - "Prisma Next" +canonical: "/changelog#log2026-06-24" +share: + active: true + content: "Look at this page: " +--- +Prisma Compute (Public Beta) services can now be managed end to end without the dashboard: the Management API gains `/v1/apps` and `/v1/deployments` surfaces with a deployment logs endpoint. The Prisma Console adds per-service environment variables, and Prisma Next schemas can declare many-to-many relations and row-level security policies. + +## Highlights + +### New · Prisma Compute apps and deployments are now in the Management API + +Automating Prisma Compute meant working around dashboard-only workflows. The Management API now exposes apps and deployments as first-class surfaces, including an endpoint for fetching a deployment's logs, so scripts and agents can drive the same workflows the Prisma Console offers. The earlier route names keep working and are deprecated below. + +The new surfaces cover the full lifecycle: + +```text +GET /v1/apps +GET /v1/deployments +GET /v1/deployments/{id}/logs +``` + +Read the [Prisma Compute docs](https://www.prisma.io/docs/compute) for the `/v1/apps` and `/v1/deployments` reference. + +### New · Prisma Next schemas can declare many-to-many relations and row-level security + +Many-to-many relations meant hand-writing a junction table, and row-level security lived outside your schema. Prisma Next now lets you author both in Prisma Schema Language: a many-to-many relation generates the junction for you, and SELECT row-level security policies are declared in the schema, enforced, and checked so drift fails verification. + +> **Note:** Prisma Next is in Early Access. Scope and behavior may still change. + +Shipped in [prisma/prisma-next#819](https://github.com/prisma/prisma-next/pull/819) and [prisma/prisma-next#771](https://github.com/prisma/prisma-next/pull/771). + +## Prisma Compute + +Prisma Compute adds per-service environment variables in the Prisma Console and custom build artifacts. + +- **New** · Prisma Compute environment variables can now be managed per service from the Prisma Console, with separate production and preview values. +- **New** · Prisma Compute now accepts custom build artifacts: bring your own build output instead of relying on a detected framework build. + +## Prisma Next + +The Prisma Next language server adds diagnostics and formatting. + +- **New** · The Prisma Next language server surfaces schema symbol diagnostics as you type. ([prisma/prisma-next#862](https://github.com/prisma/prisma-next/pull/862)) +- **Improved** · Prisma Next schema formatting is available through the language server, not just the CLI. ([prisma/prisma-next#857](https://github.com/prisma/prisma-next/pull/857)) + +## Deprecations + +- The Prisma Compute Management API `/compute-services` routes are deprecated in favor of the new `/v1/apps` surface. The old routes keep working during the migration period. Action required: update API clients that call `/compute-services` routes to use `/v1/apps` instead. +- Prisma Compute version-scoped log routes are deprecated in favor of `/v1/deployments/{id}/logs`. Action required: update log-fetching scripts and tooling to the `/v1/deployments/{id}/logs` endpoint. + +## Guides and articles + +- [Search the Prisma Docs Using Your Coding Agent](https://www.prisma.io/blog/search-prisma-docs-from-your-coding-agent): shows how to wire the Prisma docs into a coding agent's search tools. +- [Evolving Agentic Engineering at Prisma](https://www.prisma.io/blog/evolving-agentic-engineering-at-prisma): describes how Prisma's engineering teams work with coding agents. +- [Price the Work, Not the Workflow](https://www.prisma.io/blog/price-the-work-not-the-workflow): argues for outcome-based pricing of developer tooling. +- [`KeepAwakeGuard` in the Prisma Compute docs](https://www.prisma.io/docs/compute): documents how to keep a Prisma Compute service awake during long-running work. + +--- + +*Need help applying these changes in production? [Prisma Enterprise Support](https://prisma.io/enterprise) can help with schema design, performance, security, and compliance.* diff --git a/apps/site/content/changelog/2026-07-03.mdx b/apps/site/content/changelog/2026-07-03.mdx new file mode 100644 index 0000000000..7fdd20d846 --- /dev/null +++ b/apps/site/content/changelog/2026-07-03.mdx @@ -0,0 +1,103 @@ +--- +title: "Set up Prisma Next with new guides and debug failed Prisma Compute builds" +date: "2026-07-03" +version: "2026-07-03" +slug: "2026-07-03" +headline: "Set up Prisma Next with new guides and debug failed Prisma Compute builds" +tags: + - "Prisma" + - "Prisma Next" + - "Prisma Compute" + - "Prisma Postgres" +canonical: "/changelog#log2026-07-03" +share: + active: true + content: "Look at this page: " +--- +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](https://www.prisma.io/docs/next) for installation steps. For background on the TypeScript rewrite, read [The Next Evolution of Prisma ORM](https://www.prisma.io/blog/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](https://www.prisma.io/docs/compute) 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](https://github.com/prisma/prisma-next/pull/870)) +- **New** · Prisma Next now supports MongoDB enums in schemas, database validators, and typed reads. ([prisma/prisma-next#834](https://github.com/prisma/prisma-next/pull/834)) +- **New** · 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](https://github.com/prisma/prisma-next/pull/888)) +- **Improved** · The Prisma Next language server now provides semantic highlighting and folding regions for schemas. ([prisma/prisma-next#878](https://github.com/prisma/prisma-next/pull/878), [prisma/prisma-next#869](https://github.com/prisma/prisma-next/pull/869)) +- **Improved** · Prisma Next migration plans now include row-level security changes. ([prisma/prisma-next#868](https://github.com/prisma/prisma-next/pull/868)) + +Scalar list fields are authored directly in the schema: + +```prisma +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: + +```typescript +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. +- **Improved** · 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`. +- **Improved** · Prisma Compute preview branch teardown now also de-provisions the associated database. + +```typescript +// 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 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](https://github.com/prisma/prisma-next/pull/897)) + +## Guides and articles + +- [Prisma Postgres vs Neon Pricing 2026](https://www.prisma.io/blog/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](https://www.prisma.io/blog/prisma-postgres-on-stripe-projects): shows how agents can create Prisma Postgres projects through a Stripe-based provisioning flow. +- [Evaluating Object Storage Providers for Prisma Compute](https://www.prisma.io/blog/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](https://www.prisma.io/blog/prisma-compute-time-synchronization): explains time synchronization behavior for long-running Prisma Compute workloads. + +--- + +*Need help applying these changes in production? [Prisma Enterprise Support](https://prisma.io/enterprise) can help with schema design, performance, security, and compliance.* diff --git a/apps/site/content/changelog/2026-07-09.mdx b/apps/site/content/changelog/2026-07-09.mdx new file mode 100644 index 0000000000..1d32b3bf87 --- /dev/null +++ b/apps/site/content/changelog/2026-07-09.mdx @@ -0,0 +1,58 @@ +--- +title: "Learn Prisma Next from its expanded docs and use native PostgreSQL enums" +date: "2026-07-09" +version: "2026-07-09" +slug: "2026-07-09" +headline: "Learn Prisma Next from its expanded docs and use native PostgreSQL enums" +tags: + - "Prisma" + - "Prisma Next" + - "Prisma ORM" +canonical: "/changelog#log2026-07-09" +share: + active: true + content: "Look at this page: " +--- +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](https://www.prisma.io/docs/next); 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. + +```typescript +// 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](https://github.com/prisma/prisma-next/pull/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](https://github.com/prisma/prisma-next/pull/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](https://github.com/prisma/prisma/pull/29691)) +- **Improved** · 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](https://github.com/prisma/prisma-engines/pull/5836)) + +--- + +*Need help applying these changes in production? [Prisma Enterprise Support](https://prisma.io/enterprise) can help with schema design, performance, security, and compliance.* diff --git a/apps/site/src/app/changelog/[...slug]/page.tsx b/apps/site/src/app/changelog/[...slug]/page.tsx index b059ed9e0a..8ca8eb7dae 100644 --- a/apps/site/src/app/changelog/[...slug]/page.tsx +++ b/apps/site/src/app/changelog/[...slug]/page.tsx @@ -1,11 +1,20 @@ import Link from "next/link"; import type { Metadata } from "next"; import { notFound } from "next/navigation"; +import { + Children, + cloneElement, + isValidElement, + type ComponentProps, + type ElementType, + type ReactElement, + type ReactNode, +} from "react"; import { createRelativeLink } from "fumadocs-ui/mdx"; import { Badge, InlineTOC, Separator } from "@prisma/eclipse"; import { formatDate, formatTag } from "@/lib/format"; import { createPageMetadata } from "@/lib/page-metadata"; -import { changelogSource } from "@/lib/changelog-source"; +import { changelogSource, getSortedReleaseNotes } from "@/lib/changelog-source"; import { getMDXComponents } from "@/mdx-components"; interface PageParams { @@ -19,6 +28,105 @@ interface TOCItem { items?: TOCItem[]; } +const changeLabelColors = { + New: "success", + Improved: "neutral", + Fixed: "neutral", + Breaking: "error", + Deprecated: "warning", + Docs: "ppg", +} as const; + +const changeLabelPrefix = new RegExp(`^(?:${Object.keys(changeLabelColors).join("|")}) · `); + +function stripChangeLabels(items: TOCItem[]): TOCItem[] { + return items.map((item) => ({ + ...item, + title: typeof item.title === "string" ? item.title.replace(changeLabelPrefix, "") : item.title, + items: item.items ? stripChangeLabels(item.items) : undefined, + })); +} + +function textOf(node: ReactNode): string { + if (typeof node === "string" || typeof node === "number") return String(node); + if (Array.isArray(node)) return node.map(textOf).join(""); + if (isValidElement(node)) { + return textOf((node.props as { children?: ReactNode }).children); + } + return ""; +} + +/** Splits "**Label** · rest" list-item children into label + remainder. */ +function parseChangeLabelItem(li: ReactElement) { + const kids = Children.toArray((li.props as { children?: ReactNode }).children); + const label = textOf(kids[0]).trim() as keyof typeof changeLabelColors; + const second = kids[1]; + if (!isValidElement(kids[0]) || !(label in changeLabelColors)) return null; + if (typeof second !== "string" || !second.startsWith(" · ")) return null; + const rest = second.slice(3); + return { label, rest: [...(rest ? [rest] : []), ...kids.slice(2)] }; +} + +/** + * Groups consecutive same-label items ("New", "Improved", ...) under one + * badge instead of repeating the bold label on every bullet. Lists without + * labels render unchanged. + */ +function withChangeLabelGroups(List: ElementType) { + return function GroupedList({ children, ...props }: ComponentProps<"ul">) { + const items = Children.toArray(children).filter(isValidElement); + const parsed = items.map((li) => parseChangeLabelItem(li as ReactElement)); + if (items.length === 0 || parsed.some((p) => p === null)) { + return {children}; + } + const groups: { + label: keyof typeof changeLabelColors; + items: ReactElement[]; + }[] = []; + items.forEach((li, i) => { + const { label, rest } = parsed[i]!; + const item = cloneElement(li as ReactElement<{ children?: ReactNode }>, { children: rest }); + const last = groups[groups.length - 1]; + if (last && last.label === label) last.items.push(item); + else groups.push({ label, items: [item] }); + }); + return ( +
+ {groups.map((group, i) => ( +
+ + + {group.items.map((item, j) => cloneElement(item, { key: j }))} + +
+ ))} +
+ ); + }; +} + +/** Renders a leading "New · " / "Improved · " etc. in a heading as a badge. */ +function withChangeLabelBadge(Heading: ElementType) { + return function LabeledHeading({ children, ...props }: ComponentProps<"h3">) { + const nodes = Children.toArray(children); + const first = nodes[0]; + if (typeof first === "string") { + for (const [label, color] of Object.entries(changeLabelColors)) { + if (first.startsWith(`${label} · `)) { + return ( + + + {first.slice(label.length + 3)} + {nodes.slice(1)} + + ); + } + } + } + return {children}; + }; +} + export default async function ReleaseNotesPage({ params }: { params: Promise }) { const { slug } = await params; const page = changelogSource.getPage(slug); @@ -28,7 +136,17 @@ export default async function ReleaseNotesPage({ params }: { params: Promise entry.url === page.url); + const newer = position > 0 ? sorted[position - 1] : null; + const older = position >= 0 && position < sorted.length - 1 ? sorted[position + 1] : null; + + // Date-labeled entries set version to the date; showing both repeats it + const versionLabel = + page.data.date && page.data.version === new Date(page.data.date).toISOString().slice(0, 10) + ? null + : page.data.version; return (
@@ -45,19 +163,21 @@ export default async function ReleaseNotesPage({ params }: { params: Promise {page.data.title} -
- +
+ {versionLabel ? ( + + ) : null} + {versionLabel && page.data.date ? ( + + ) : null} {page.data.date ? ( - <> - - - {formatDate(new Date(page.data.date).toISOString())} - - + + {formatDate(new Date(page.data.date).toISOString())} + ) : null}
{tags.length > 0 ? ( @@ -80,14 +200,45 @@ export default async function ReleaseNotesPage({ params }: { params: Promise{description}

: null} { + const components = getMDXComponents({ + a: createRelativeLink(changelogSource, page), + }); + components.h3 = withChangeLabelBadge((components.h3 ?? "h3") as ElementType); + components.ul = withChangeLabelGroups((components.ul ?? "ul") as ElementType); + return components; + })()} />
+ {older || newer ? ( + + ) : null} + {/* Share Container */} {/* */} diff --git a/apps/site/src/app/changelog/page.tsx b/apps/site/src/app/changelog/page.tsx index 3668820a4a..641124d529 100644 --- a/apps/site/src/app/changelog/page.tsx +++ b/apps/site/src/app/changelog/page.tsx @@ -29,19 +29,17 @@ export default async function ChangelogPage() { return (
-
+
-
-
-
- - Changelog -
-

- The Latest News from Prisma -

+
+
+ + Changelog
-

+

+ The Latest News from Prisma +

+

Here you’ll find all improvements and updates we’ve made to our products.

@@ -52,6 +50,13 @@ export default async function ChangelogPage() {
{entriesWithPreview.map(({ entry, summary }) => { const tags = entry.data.tags ?? []; + // Date-labeled entries set version to the date; showing both repeats it + const versionLabel = + entry.data.date && + entry.data.version === + new Date(entry.data.date).toISOString().slice(0, 10) + ? null + : entry.data.version; return (
- + {versionLabel ? ( + + ) : null} {tags.length > 0 ? (