Dependabot raised #263 (prisma 6.19.3 → 7.9.1). It fails every check, and not for a reason a lockfile bump can settle. Ran it locally to find out what it actually asks for:
error: The datasource property `url` is no longer supported in schema files.
Move connection URLs for Migrate to `prisma.config.ts` and pass either `adapter`
for a direct database connection or `accelerateUrl` for Accelerate to the
PrismaClient constructor.
So it is two changes, not one.
Scope
The test-file spread is the part that makes this bigger than it looks: the adapter has to be constructed somewhere shared, or a dozen files grow the same four lines.
Why it is not urgent
The security reason to want Prisma 7 was deepmerge-ts — reachable through @prisma/config and fixed in its 8.x line. That is already handled by a scoped override in #266, so this is now a maintenance upgrade rather than a patch.
Suggested resolution
Close #263. Dependabot will raise it again on the next Prisma release, and by then this can be a considered migration rather than a bump that happens to be sitting in the queue.
Dependabot raised #263 (prisma 6.19.3 → 7.9.1). It fails every check, and not for a reason a lockfile bump can settle. Ran it locally to find out what it actually asks for:
So it is two changes, not one.
Scope
prisma.config.tsinpackages/db, holding the migrate connection URL thatschema.prismacurrently carries asurl = env("DATABASE_URL")@prisma/adapter-pg) wired intogetPrismaClient()inpackages/db/src/index.tsnew PrismaClient()— roughly a dozen DB-gated test files acrosspackages/queries,apps/api,apps/workerandapps/webconstruct one directly and would each need the adapterprisma/seed.ts, and theprismablock inpackages/db/package.jsonthat Prisma 7 no longer readsmigratetarget in the Dockerfile and the deploy compose stackThe test-file spread is the part that makes this bigger than it looks: the adapter has to be constructed somewhere shared, or a dozen files grow the same four lines.
Why it is not urgent
The security reason to want Prisma 7 was
deepmerge-ts— reachable through@prisma/configand fixed in its 8.x line. That is already handled by a scoped override in #266, so this is now a maintenance upgrade rather than a patch.Suggested resolution
Close #263. Dependabot will raise it again on the next Prisma release, and by then this can be a considered migration rather than a bump that happens to be sitting in the queue.