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

Next 15 compatibility #119

Merged
merged 3 commits into from
Oct 22, 2024
Merged

Next 15 compatibility #119

merged 3 commits into from
Oct 22, 2024

Conversation

PaulAsjes
Copy link
Contributor

@PaulAsjes PaulAsjes commented Oct 22, 2024

Updates dependencies and adds Next 15 compatibility.

Fixes #104

Comment on lines +22 to +23
const nextCookies = await cookies();
nextCookies.delete(cookie);
Copy link
Contributor

Choose a reason for hiding this comment

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

Confirming this also works for Next 14?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tested that it works on the next-authkit-example app, which is still on Next 14.

@PaulAsjes PaulAsjes merged commit 7b5324a into main Oct 22, 2024
@PaulAsjes PaulAsjes deleted the pma/next-15-compatibility branch October 22, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

NextJS 15 canary async headers/cookies compatibility
2 participants