Support Prisma v6.17+
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
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.
Would be good to switch this peer dep to a caret ^ instead, avoid the maintenance workload of keeping up with prisma minor versions.
Will get to this in a few hours, sorry for the delay!
Sorry folks- as is always the case with open source, life has been very busy! I will make a release shortly with this fixed.
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.
Sorry to bother you, can we get a release? For https://github.com/valtyr/prisma-kysely/commit/7d644b20f8e6415c242ea6d260bdd324835b033c