@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/nextjs From 4.19.1 to 4.20.0
1 release in betweenevery note read
Security
1 advisory still affects 4.20.0
- @clerk/nextjs auth() and getAuth() methods vulnerable to insecure direct object reference (IDOR) critical · GHSA-q6w5-jg5q-47vg
Upgrading to 4.29.3 clears it.
Release by release
- New
Add support for NextJS applications hosted on AWS Amplify
- New
Tweaked the default
authMiddlewarebehavior for protected API routes. An unauthenticated request for a protected API route will no longer return a307 Redirect- a401 Unauthorizedresponse will be returned instead. - New
Add support for NextJS applications hosted on Railway
- Fixed
Improve debug logs in NextJS by adding AuthStatusObject.debug data
- New
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.