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

chore(nextjs): Fix server actions detection #3995

Closed
wants to merge 3 commits into from

Commits on Aug 21, 2024

  1. chore(nextjs): Fix server actions detection

    `isServerActionRequest` was still depending on the `next-url` header which no longer is available (removed at `14.1.0` for server actions and in `14.2.2` when requesting RSCs.
    
    This PR fixes the issue and prepares the ground for future work that would require these utilities to work properly.
    
    `pagePath` from __nextGetStaticStore is available since `[email protected]` until `[email protected]` which is the latest stable release
    panteliselef committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    8d61d4a View commit details
    Browse the repository at this point in the history
  2. add changeset

    panteliselef committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    7811412 View commit details
    Browse the repository at this point in the history
  3. improve docs

    panteliselef committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    128e3c8 View commit details
    Browse the repository at this point in the history