8000 📚 Documentation: Adding `await` to `cookies()` and `headers()` to align with Next.js 15 async API changes in `Server-side authentication with Next.js` tutorial by Ahrary · Pull Request #1858 · appwrite/website · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

8000 📚 Documentation: Adding await to cookies() and headers() to align with Next.js 15 async API changes in Server-side authentication with Next.js tutorial #1858

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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

Ahrary
Copy link
@Ahrary Ahrary commented Mar 16, 2025

What does this PR do?

Updates code examples in documentation to reflect Next.js 15 changes, specifically adding await to cookies() and headers() calls. Since these functions are now asynchronous in Next.js 15, the examples have been updated to provide updated and accurate guidance to developers.

Test Plan

  • Manually reviewed and updated all relevant .markdoc documentation files in this tutorial.

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

Yes

Ahrary added 9 commits March 16, 2025 02:46
Refactor: Add `await` to `cookies()` in step-5 to comply with Next.js 15 async API changes
 
8000
Refactor: add 'await' to 'cookies()' call
 Refactor: add 'await' to 'cookies()' call
 Refactor: add 'await' to 'cookies()' and `headers()` call
@coolify-appwrite-org
Copy link
coolify-appwrite-org bot commented Mar 27, 2025

The preview deployment failed. 🔴

Open Build Logs

Last updated at: 2025-07-02 19:37:01 CET

Copy link
appwrite bot commented Jun 27, 2025

appwrite.io

Project ID: 684969cb000a2f6c0a02

Sites (1)
Site Status Logs Preview QR
 website
68496a17000f03d62013
Queued Queued View Logs Preview URL QR Code

Note

Appwrite has a Discord community with over 16 000 members.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0