# Migration Context: Prisma v5 -> v6 # Generated by Changelogs.us: 2026-11-30T03:04:33.419890+00:00 # Target Version: 6.19.3 # Upgrade Command: N/A # Breaking Changes: 9 # Security Fixes: 0 ## Executive Summary Upgrading Prisma from 5 to 6 involves 45 releases with risk rating High. ## Breaking Changes List: - [v6.0.0] As this is a major release, it includes a few breaking changes that may affect your application. Before upgrading, we recommend that you check out our [upgrade guide](https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6) to understand the impact on your application.: - [v6.0.0] Breaking changes ⚠️ This section contains a list of breaking changes. If you upgrade your application to Prisma ORM v6 without addressing these, your application is going to break! **For detailed upgrade instructions, check out the [upgrade guide](https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6).** ⚠️: - [v6.0.0] ⚠️ This section contains a list of breaking changes. If you upgrade your application to Prisma ORM v6 without addressing these, your application is going to break! **For detailed upgrade instructions, check out the [upgrade guide](https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6).** ⚠️: - [v6.6.0] Note**: The `prisma-client` generator is currently in [Early Access](https://www.prisma.io/docs/orm/more/releases#early-access) and will likely have some breaking changes in the next releases.: - [v6.6.0] `prismaSchemaFolder` breaking changes If you are using the `prismaSchemaFolder` Preview feature to split your Prisma schema into multiple files, you may encounter some breaking changes in this version.: - [v6.6.0] If you are using the `prismaSchemaFolder` Preview feature to split your Prisma schema into multiple files, you may encounter some breaking changes in this version.: - [v6.7.0] ⚠️ Note that there have been [breaking changes to the `prismaSchemaFolder` Preview feature in the last 6.6.0 release](https://github.com/prisma/prisma/releases/tag/6.6.0). If you've been using this feature to split your Prisma schema, make sure to read the release notes and update your project accordingly.: - [v6.7.0] With the `prisma-client-js` generator, the generated Prisma Client library is put into a single `index.d.ts` file. This sometimes led to [issues](https://github.com/prisma/prisma/issues/4807) with large schemas where the size of the generated output could slow down code editors and breaking auto-complete.: - [v7.3.0] In the initial release of v7.0, we made a change with Mapped Enums where the generated enum would get its value from the value passed to the `@map` function. This was a breaking change from v6 that caused issues for many users. We have reverted this change for the time being, as many different diverging approaches have emerged from the community discussion.: ## Instructions for AI Assistant: When migrating user code from Prisma 5 to 6, scan for the deprecated APIs and breaking changes above and refactor code to use modern v6.19.3 idioms.