Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(prisma): add support for prisma v6 #12319

Merged
merged 1 commit into from
Nov 30, 2024
Merged

fix(prisma): add support for prisma v6 #12319

merged 1 commit into from
Nov 30, 2024

Conversation

WikiRik
Copy link
Contributor

@WikiRik WikiRik commented Nov 29, 2024

☕️ Reasoning

Prisma v6 was released on November 28 and this PR adds support for that. For more information about v6 you can take a look at their blogpost; https://www.prisma.io/blog/prisma-6-better-performance-more-flexibility-and-type-safe-sql

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

📌 Resources

Copy link

vercel bot commented Nov 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2024 10:13am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Nov 30, 2024 10:13am

Copy link

vercel bot commented Nov 29, 2024

@WikiRik is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added adapters Changes related to the core code concerning database adapters prisma @auth/prisma-adapter labels Nov 29, 2024
@ndom91
Copy link
Member

ndom91 commented Nov 29, 2024

Thanks for the quick update! There's no issues with the syntax of our Prisma adapter? Everything works as expected without any additional changes?

EDIT: Looks like the @auth/prisma-adapter tests all passed 🥳

Copy link
Member

@ndom91 ndom91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Syntax didn't change and peer deps still allow v4, v5, etc. so this shouldn't be a breaking change.

Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 39.52%. Comparing base (3ec0684) to head (232ad94).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12319   +/-   ##
=======================================
  Coverage   39.52%   39.52%           
=======================================
  Files         193      193           
  Lines       30552    30552           
  Branches     1338     1338           
=======================================
  Hits        12077    12077           
  Misses      18475    18475           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ndom91 ndom91 merged commit b301c9c into nextauthjs:main Nov 30, 2024
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adapters Changes related to the core code concerning database adapters prisma @auth/prisma-adapter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants