chore(deps): defer Prisma major updates pending coordinated upgrade ADR #39

Merged
julien merged 1 commits from chore/deps/defer-prisma-major into main 2026-05-06 19:31:49 +02:00

1 Commits

Author SHA1 Message Date
Julien Gautier cd60b9b4e1 chore(deps): defer Prisma major updates pending coordinated upgrade ADR
CI / scan (pull_request) Failing after 2m47s
CI / commits (pull_request) Successful in 2m48s
CI / check (pull_request) Successful in 2m59s
CI / a11y (pull_request) Successful in 2m39s
CI / perf (pull_request) Failing after 3m26s
Renovate kept proposing Prisma 7 even though we deliberately
downgraded to Prisma 6 in PR #3 — `nestjs-prisma@0.27.0` is
incompatible with Prisma 7's driver-adapter contract, and the
upgrade is non-trivial enough (PrismaClient instantiation, request-
scoped lifecycle, schema validation) to warrant its own ADR rather
than a silent Renovate merge.

Add an `enabled: false` packageRule for `matchUpdateTypes: ["major"]`
on `prisma`, `@prisma/*`, `nestjs-prisma`. Patch and minor bumps of
the 6.x line keep flowing.

Document the pin and its triggers in ADR-0006:
- New "Prisma version pin: 6.x in v1" subsection — explains the
  current narrowing of "latest stable major" to 6.x and the two
  triggers for revisiting (nestjs-prisma catches up, or we drop the
  wrapper).
- §Confirmation updated to surface the pin and the Renovate rule.

The matching open PR proposing Prisma 7 will be closed manually on
Gitea; once this lands, Renovate stops re-creating it.
2026-05-06 19:21:30 +02:00