Packages

@clerk/nextjs

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

Upgrading @clerk/nextjs From 4.31.8 to 5.7.6

63 releases in betweennotes for 62

Other targets from 4.31.8Latest7.10.2
  1. 4.31.8yours
  2. 5.0.0major
  3. 61 releases
  4. 5.7.6target
  5. 30 pre
1+
change to make
0
advisories fixed
10+
new
24+
fixes

Counted from 62 of 63 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Deprecated5.2.0

Release by release

  1. 5.7.3 – 5.7.64 releases, nothing new or fixed; 1 without a note

  2. 5.7.2

    9 Oct 20241 new
    • New

      Introduces organizationSyncOptions option to clerkMiddleware, which syncs an active organization or personal account from a URL to the Clerk session.

  3. 5.6.1 – 5.7.15 releases, nothing new or fixed in the notes

  4. 5.6.0

    18 Sep 20241 new
    • New

      Allows access to request object to dynamically define clerkMiddleware options

  5. 5.5.3 – 5.5.53 releases, nothing new or fixed in the notes

  6. 5.5.2

    11 Sep 20241 fix
    • Fixed

      Vendor path-to-regexp

  7. 5.5.1nothing new or fixed in the note

  8. 5.5.0

    9 Sep 20242 new
4 other lines we could not sort, mostly version bumps
  • 💅 Redesigned and improved component UIs.

    5.0.0
  • 🔪 The 401 & "flash of white page" that was visible sometimes when syncing auth state was eliminated.

    5.0.0
  • 🧹 A large number of smaller housekeeping changes, bugfixes, and improvements.

    5.0.0
  • 📊 Telemetry to allow us to better determine feature usage and priority (easy opt-out if you don't like this)

    5.0.0

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