@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/nextjs From 5.2.4 to 5.2.5
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 3
- fixes
Security
1 advisory still affects 5.2.5
- Official Clerk JavaScript SDKs: Middleware-based route protection bypasscritical · GHSA-vqx2-fgx2-5wq9
Upgrading to 5.7.6 clears it.
Release by release
- Fixed
Fixes regression on
@clerk/nextjs/server(introduced on #3758) whereserver-onlymodule was being resolved in runtimes withoutreact-serveravailable, such asgetAuthongetServerSideProps. - Fixed
Return build-time error if
authandcurrentUserserver-side helpers are imported into Client Components. - Fixed
Stop throwing "Error: Clerk: auth() was called but Clerk can't detect usage of authMiddleware()." errors when no user action is needed by removing sourcemaps for all Clerk-bundled server actions.
- Fixed
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.