Packages

@clerk/nextjs

7.10.2 · 17 Nov 2026MIT4.1M / weekRepositoryHomepagenpmAtom feed

Upgrading @clerk/nextjs From 4.24.2 to 4.25.0

1 release in betweenevery note read

Other targets from 4.24.2Newest 4.x4.31.8Clears its advisory4.29.3Latest7.10.2
  1. 4.24.2yours
  2. 4.25.0target
5
changes to make
0
advisories fixed
1
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Deprecated4.25.0
  • Deprecated4.25.0
  • Deprecated4.25.0
  • Deprecated4.25.0
  • Deprecated4.25.0

Security

Release by release

  1. 4.25.0

    Deprecation29 Sep 20231 new
    • Deprecated

      CLERK_JS_VERSION environment variable

    • Deprecated

      CLERK_API_KEY environment variable

    • Deprecated

      NEXT_PUBLIC_CLERK_FRONTEND_API environment variable

    • Deprecated

      withClerkMiddleware

    • Deprecated

      withServerSideAuth

    • New

      Add the use client directive in @clerk/shared to make the package compatible with an RSC environment.

4 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.