Critical Compatibility Issue - Prisma Client v6 Support #1816
Replies: 1 comment 1 reply
-
|
Lucia v3 uses the Prisma Client v4/v5 API for its Workaround: Use
|
Beta Was this translation helpful? Give feedback.
-
|
Lucia v3 uses the Prisma Client v4/v5 API for its Workaround: Use
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Lucia Development Team,
I'm writing to express my concern about a significant compatibility issue that's blocking development and deployment for many users.
Issue Summary:
The current version of @lucia-auth/adapter-prisma@4.0.1 only supports Prisma Client versions ^4.2.0 || ^5.0.0, while the latest Prisma Client is now at v6.13.0. This creates a dependency conflict that prevents:
Installing dependencies without --legacy-peer-deps
Deploying applications on platforms like Vercel
Using the latest Prisma features and security updates
Impact:
Developers are forced to use outdated Prisma versions
Build processes fail in CI/CD environments
New projects cannot easily integrate Lucia with modern Prisma setups
Development teams lose access to Prisma v6 improvements and bug fixes
Current Workarounds:
Downgrading to Prisma v5 (losing access to newer features)
Using --legacy-peer-deps (which can mask other dependency issues)
These are temporary solutions that shouldn't be necessary
Request:
Could you please prioritize updating the Prisma adapter to support Prisma Client v6? This would greatly improve the developer experience and allow teams to use Lucia with modern Prisma installations.
If there are technical blockers preventing this update, please consider:
Publishing a timeline for v6 support
Documenting the specific compatibility requirements
Providing migration guidance for teams wanting to upgrade
Thank you for your time and for maintaining this valuable authentication library. I look forward to a resolution that allows seamless integration with current Prisma versions.
Best regards
Jaco Thiart
Beta Was this translation helpful? Give feedback.
All reactions