Skip to content

[Meta] Migrate to Prisma v8 #72

Description

@alikia2x

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions