Summary
Currently, @shopify/shopify-app-session-storage-prisma depends on Prisma v6.
However, Prisma v7 is now available, and projects using the latest Prisma version may face compatibility issues when trying to use this session storage package.
I would like to request official support for Prisma v7 in @shopify/shopify-app-session-storage-prisma.
If updating the existing package is not possible, another option could be to create a new session storage library that supports:
- PostgreSQL
- Prisma v7
- Shopify app session storage
- Modern Shopify app templates
Problem
When building a Shopify app with Prisma v7, the current session storage package may not work cleanly because it is still designed around Prisma v6.
This creates problems such as:
- Dependency version conflicts
- Difficulty upgrading existing Shopify apps to Prisma v7
- Extra maintenance work for developers
- Risk of using outdated Prisma APIs
- Need to create custom session storage manually
For apps using PostgreSQL and Prisma as the main database layer, session storage should be compatible with the latest stable Prisma version.
Expected Solution
Please update @shopify/shopify-app-session-storage-prisma to support Prisma v7.
Ideally, the package should:
- Allow Prisma v7 as a supported peer dependency
- Update any Prisma Client usage if needed
- Confirm compatibility with PostgreSQL
- Update documentation and examples
- Provide a migration guide from Prisma v6 to Prisma v7 if there are breaking changes
Alternative Solution
If updating the current package is not planned, please consider creating a new package, for example:
@shopify/shopify-app-session-storage-prisma-v7
Summary
Currently,
@shopify/shopify-app-session-storage-prismadepends on Prisma v6.However, Prisma v7 is now available, and projects using the latest Prisma version may face compatibility issues when trying to use this session storage package.
I would like to request official support for Prisma v7 in
@shopify/shopify-app-session-storage-prisma.If updating the existing package is not possible, another option could be to create a new session storage library that supports:
Problem
When building a Shopify app with Prisma v7, the current session storage package may not work cleanly because it is still designed around Prisma v6.
This creates problems such as:
For apps using PostgreSQL and Prisma as the main database layer, session storage should be compatible with the latest stable Prisma version.
Expected Solution
Please update
@shopify/shopify-app-session-storage-prismato support Prisma v7.Ideally, the package should:
Alternative Solution
If updating the current package is not planned, please consider creating a new package, for example: