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

[Build] Async dynamic #70081

Open
wants to merge 13 commits into
base: canary
Choose a base branch
from
Open

[Build] Async dynamic #70081

wants to merge 13 commits into from

Conversation

gnoff
Copy link
Contributor

@gnoff gnoff commented Sep 13, 2024

PR to trigger build artifacts for #68812

@gnoff gnoff force-pushed the async-dynamic branch 3 times, most recently from ada7489 to c133967 Compare September 18, 2024 22:26
Refresh of async-dynamic-cookies
Similar to `cookies()`, `headers()` provides access to an underlying Request in Next.js. To be optimally compatible with dynamicIO we need request access to be implemented through async APIs and have udpated this function to return a promise of Headers rather than Headers directly. To facilitate migration this API will augment the Promise with properties that allow direct access to headers. In a future version of Next.js we will remove the exotic nature of this Promise and all access will require awaiting the result.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants