Objective
Upgrade the Prisma stack (prisma, @prisma/client, @prisma/adapter-pg) from v7 to v8.
Early planning only: the migration is expected to be long-running and the scope is not clear yet. Prisma v8 is still pre-release (8.0.0-rc.15 currently sits on the latest dist-tag, the repository is on 7.10.0), so this cannot be treated as a regular dependency bump.
Draft scope
- Bump the Prisma packages in
packages/db and regenerate the client.
- Check
prisma.config.ts, the prisma-client generator output and the migration workflow against the v8 config format.
- Verify our custom generators survive:
prisma-json-types-generator and @cvsa/prisma-zod — the former already had to move to v5 for Prisma 7.10 / TypeScript 7.
- Re-run
bun run setup, bun run test, bun run typecheck and the build.
Acceptance criteria will be added once v8 reaches GA and the actual migration surface is known.
Objective
Upgrade the Prisma stack (
prisma,@prisma/client,@prisma/adapter-pg) from v7 to v8.Early planning only: the migration is expected to be long-running and the scope is not clear yet. Prisma v8 is still pre-release (
8.0.0-rc.15currently sits on thelatestdist-tag, the repository is on7.10.0), so this cannot be treated as a regular dependency bump.Draft scope
packages/dband regenerate the client.prisma.config.ts, theprisma-clientgenerator output and the migration workflow against the v8 config format.prisma-json-types-generatorand@cvsa/prisma-zod— the former already had to move to v5 for Prisma 7.10 / TypeScript 7.bun run setup,bun run test,bun run typecheckand the build.Acceptance criteria will be added once v8 reaches GA and the actual migration surface is known.