@clerk/clerk-js
6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed
5.128.3 is the newest release of 5.x.
In short
2 new7 fixed3 internal
Security
2 advisories affect 5.61.0; 5.125.10 fixes them
- HighClerk has an authorization bypass when combining organization, billing, or reverification checksGHSA-w24r-5266-9c3c · 30 Apr 2026Fixed in 5.125.10
- ModerateClerk-js vulnerable to bypass of OAuth authentication flow by manipulating request at OTP verification stageGHSA-3mm3-wfpv-q85g · 20 Nov 2025Fixed in 5.89.0
Release note
Minor Changes
Add support for feature or plan based authorization
Plan
- `Clerk.session.checkAuthorization({ plan: "my-plan" })`Feature
- `Clerk.session.checkAuthorization({ feature: "my-feature" })`Scoped per user or per org
- `Clerk.session.checkAuthorization({ feature: "org:my-feature" })`
- `Clerk.session.checkAuthorization({ feature: "user:my-feature" })`
- `Clerk.session.checkAuthorization({ plan: "user:my-plan" })`
- `Clerk.session.checkAuthorization({ plan: "org:my-plan" })`Patch Changes
Nest existing commerce settings under
billing.Rename the
sendCaptchaTokento__internal_sendCaptchaToken.Ensure Organization slugs contain at least one alphanumeric character
Ensure Stripe dependencies aren't bundled for non-RHC environments
Fix issue where truncated text was wraping within line items.
Fully strip @stripe/stripe-js from non-RHC builds
Add
PaymentSourceRowfor displaying payment sourcesBug fix: Invalidate cached checkout on checkout drawer unmount
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.