prisma-kysely icon indicating copy to clipboard operation
prisma-kysely copied to clipboard

Support Prisma v6.17+

Open timdavish opened this issue 4 months ago • 6 comments

Same issue as https://github.com/valtyr/prisma-kysely/issues/132: currently, only Prisma v6.16 is supported:

  "peerDependencies": {
    "prisma": "~6.16"
  },

This prevents upgrading Prisma to v6.17 and beyond:

npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/prisma
npm error   dev prisma@"6.17.1" from the root project
npm error   peer prisma@">= 6.0.0" from [email protected]
npm error   node_modules/prisma-markdown
npm error     dev prisma-markdown@"3.0.1" from the root project
npm error   1 more (@prisma/client)
npm error
npm error Could not resolve dependency:
npm error peer prisma@"~6.16" from [email protected]
npm error node_modules/prisma-kysely
npm error   dev prisma-kysely@"2.2.1" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/prisma
npm error   peer prisma@"~6.16" from [email protected]
npm error   node_modules/prisma-kysely
npm error     dev prisma-kysely@"2.2.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2025-10-13T23_19_10_069Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2025-10-13T23_19_10_069Z-debug-0.log

timdavish avatar Oct 14 '25 00:10 timdavish

Thanks for opening - perhaps we need a better solution. It's only pinned right now so we can be confident about compatibility but it might make sense to change that. Will investigate soon.

For now I'll just do the upgrade.

alii avatar Oct 14 '25 05:10 alii

Would be good to switch this peer dep to a caret ^ instead, avoid the maintenance workload of keeping up with prisma minor versions.

Blitz2145 avatar Oct 28 '25 16:10 Blitz2145

Will get to this in a few hours, sorry for the delay!

alii avatar Oct 29 '25 07:10 alii

Sorry folks- as is always the case with open source, life has been very busy! I will make a release shortly with this fixed.

alii avatar Oct 31 '25 13:10 alii

Prisma 6.18 has also just released which introduces a migrator for Prisma 7 (prisma.config.ts). Opened #144 to address this, will do a follow up release with that.

alii avatar Oct 31 '25 14:10 alii

Sorry to bother you, can we get a release? For https://github.com/valtyr/prisma-kysely/commit/7d644b20f8e6415c242ea6d260bdd324835b033c

Blitz2145 avatar Nov 10 '25 16:11 Blitz2145