Packages

@clerk/nextjs

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

Upgrading @clerk/nextjs From 4.11.6 to 4.29.3

83 releases in betweennotes for 52

Other targets from 4.11.6Newest 4.x4.31.8Latest7.10.2
  1. 4.11.6yours
  2. 82 releases
  3. 4.29.3target
10+
changes to make
1
advisory fixed
20+
new
31+
fixes

Counted from 52 of 83 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Deprecated4.26.2
  • Deprecated4.25.4
  • Deprecated4.25.4
  • Deprecated4.25.4
  • Deprecated4.25.3
  • Deprecated4.25.0
  • Deprecated4.25.0
  • Deprecated4.25.0
  • Deprecated4.25.0
  • Deprecated4.25.0

Security

Release by release

  1. 4.29.3

    12 Jan 20241 fix
    • Fixed

      Replace the Clerk-Backend-SDK header with User-Agent in BAPI requests and update it's value to contain both the package name and the package version of the clerk package

  2. 4.29.1 – 4.29.22 releases, nothing new or fixed in the notes

  3. 4.29.0

    21 Dec 20231 new
    • New

      Support reading from __clerk_db_jwt and __dev_session the dev browser jwt in development

  4. 4.28.1

    14 Dec 20231 fix
    • Fixed

      Update NextJS quickstart link in error message

  5. 4.28.0

    13 Dec 20231 new · 1 fix
    • New

      Introduce Protect for authorization.

    • Fixed

      Accept redirectUrl as an option for auth().protect().

  6. 4.27.7

    12 Dec 20231 fix
    • Fixed

      Use dynamic imports in <ClerkProvider /> which you import from @clerk/nextjs.

  7. 4.27.5 – 4.27.62 releases, nothing new or fixed in the notes

  8. 4.27.4

    5 Dec 20232 fixes
    • Fixed

      Drop the introduction of OrganizationRole and OrganizationPermission resources fro BAPI.

    • Fixed

      Ensure that cookies set inside Next.js Middleware are correctly passed through while using authMiddleware.

164 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.