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

feat(nextjs): Various DX improvements #2347

Merged
merged 5 commits into from
Dec 14, 2023
Merged

Commits on Dec 14, 2023

  1. feat(nextjs): Drop support for next@12, next<13.0.4, next<14.0.3

    Drop support for NextJS v12: v12 was released on 26 Oct 2021  (~2 years ago). Security support ended on 21 Nov 2022 (~11 months ago)
    
    Drop support for NextJS <13.0.4: Many header-related bugs and breaking changes were introduced with the 12.1.0, 12.2.0, 13.0.1, 13.0.2, 13.0.3 releases. Vercel fixed all known related-bugs with version 13.0.4. In order to support every release in the range of 12 to 13.0.4 we had to resort to various workaround/compatibility layers (example https://github.com/clerk/javascript/blob/92727eec39566278263ffa118a085493f964eb94/packages/nextjs/src/server/utils.ts#L76). If we drop support for v12 and the other problematic versions, we can also remove all the extra logic from the @clerk/nextjs package
    
    Drop support for NextJS < 14.0.3 for the issues described here: #1436
    nikosdouvlis committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    615e4e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7685092 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f885d52 View commit details
    Browse the repository at this point in the history
  4. feat(nextjs): Move server-related APIs to /server

    chore(repo): Add changesets
    
    chore(repo): Update changesets
    nikosdouvlis committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    d04efe7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    84c1a31 View commit details
    Browse the repository at this point in the history