# What changed in @prisma/adapter-d1

> 8 changes in @prisma/adapter-d1 6 to 7 from its official release notes, upgrade guides and advisories: 8 breaking. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/@prisma/adapter-d1/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @prisma/adapter-d1 7

### Breaking changes

- Creating a Prisma Client now requires a driver adapter for all databases; pass the adapter when instantiating PrismaClient. (7.0.0) — [upgrade guide](https://www.prisma.io/docs/guides/upgrade-prisma-orm/v7)

## @prisma/adapter-d1 6

### Breaking changes

- async can no longer be used as a model name. (6.0.0) — [upgrade guide](https://www.prisma.io/docs/guides/upgrade-prisma-orm/v6)
- await can no longer be used as a model name. (6.0.0) — [upgrade guide](https://www.prisma.io/docs/guides/upgrade-prisma-orm/v6)
- Prisma ORM v6 requires Node.js 18.18.0, 20.9.0, or 22.11.0 at minimum; Node.js 16, 17, 19, and 21 are not officially supported. (6.0.0) — [upgrade guide](https://www.prisma.io/docs/guides/upgrade-prisma-orm/v6)
- Prisma ORM v6 requires TypeScript 5.1.0 or later. (6.0.0) — [upgrade guide](https://www.prisma.io/docs/guides/upgrade-prisma-orm/v6)
- NotFoundError is removed; findUniqueOrThrow() and findFirstOrThrow() use PrismaClientKnownRequestError with code P2025 instead. (6.0.0) — [upgrade guide](https://www.prisma.io/docs/guides/upgrade-prisma-orm/v6)
- Prisma v6 represents Bytes fields as Uint8Array instead of Buffer; replace Buffer type occurrences accordingly. (6.0.0) — [upgrade guide](https://www.prisma.io/docs/guides/upgrade-prisma-orm/v6)
- using can no longer be used as a model name. (6.0.0) — [upgrade guide](https://www.prisma.io/docs/guides/upgrade-prisma-orm/v6)
