@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
- 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
5.7.3 – 5.7.64 releases, nothing new or fixed; 1 without a note
- New
Introduces
organizationSyncOptionsoption toclerkMiddleware, which syncs an active organization or personal account from a URL to the Clerk session.
- New
5.6.1 – 5.7.15 releases, nothing new or fixed in the notes
- New
Allows access to request object to dynamically define
clerkMiddlewareoptions
- New
5.5.3 – 5.5.53 releases, nothing new or fixed in the notes
- Fixed
Vendor path-to-regexp
- Fixed
5.5.1nothing new or fixed in the note
- New
Remove
@clerk/elementsreliance onnextand@clerk/clerk-reactdirectly. The host router is now provided by@clerk/nextjs. - New
Add support for
basePathconfig property
- New
4 other lines we could not sort, mostly version bumps
- 5.0.0
💅 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)
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.