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(ts): add compat types for @auth/*-adapters for v4 #11562

Merged
merged 10 commits into from
Aug 12, 2024

Conversation

balazsorban44
Copy link
Member

@balazsorban44 balazsorban44 commented Aug 9, 2024

Fixes #9493

Import the @auth/core/adapter types as FutureAdapter.

Namely, all @auth/*-adapter packages should still support the old, but also the new signatures. So this is merely a fix of the currently broken v4 Adapter type

Copy link

vercel bot commented Aug 9, 2024

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

Name Status Preview Comments Updated (UTC)
auth-docs ❌ Failed (Inspect) Aug 10, 2024 1:52pm
next-auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 10, 2024 1:52pm
proxy ❌ Failed (Inspect) Aug 10, 2024 1:52pm

@github-actions github-actions bot added adapters Changes related to the core code concerning database adapters legacy Refers to `next-auth` v4. Minimal maintenance. labels Aug 9, 2024
Copy link

socket-security bot commented Aug 9, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher

View full report↗︎

Copy link

socket-security bot commented Aug 9, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

…ext-auth into fix/type-compat-with-future
Copy link

🎉 Experimental release published 📦️ on npm!

pnpm add next-auth@0.0.0-pr.11562.ed0fce23
yarn add next-auth@0.0.0-pr.11562.ed0fce23
npm i next-auth@0.0.0-pr.11562.ed0fce23

@balazsorban44 balazsorban44 marked this pull request as ready for review August 10, 2024 16:25
@balazsorban44 balazsorban44 merged commit d419353 into v4 Aug 12, 2024
6 of 8 checks passed
@balazsorban44 balazsorban44 deleted the fix/type-compat-with-future branch August 12, 2024 21:53
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 legacy Refers to `next-auth` v4. Minimal maintenance.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant