@clerk/clerk-js
6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/clerk-js From 5.128.3 to 6.7.5
15 releases in betweenevery note read
- 13
- changes to make
- 0
- advisories fixed
- 29
- new
- 32
- fixes
Before you upgrade
Tick each one off as you go- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
Release by release
- Fixed
Fix an authorization bypass in
has(),auth.protect(), and related predicates when a single call combined conditions from more than one dimension (for example,{ permission, reverification }or{ feature, permission }). A dimension that should have denied the request was treated as indeterminate and ignored by the combining logic, allowing other passing dimensions to carry the result and authorize the call when it should have failed closed.
- Fixed
- Fixed
clerk-js: Prevent background token refresh from destroying sessions on mobile
- Fixed
- New
Added development runtime error when mounting
<OAuthconsent />without active session.
- New
6.7.1 – 6.7.22 releases, nothing new or fixed in the notes
- New
Add
OAuthApplicationresource andgetConsentInfo()method for retrieving OAuth consent information, enabling custom OAuth consent flows.
- New
- New
Add support for rendering the Banned badge in the organization members list.
- Fixed
Improve types for
signIn.createandsignUp.createmethods. - Fixed
Fixed API keys "Revoke" confirmation modal being stuck disabled when using a localization.
- New
- New
API keys is now generally available.
- New
- New
Add support for seat-based billing plans in Clerk Billing.
- New
Add
EnterpriseConnectionresource - New
Allow to link external accounts to enterprise accounts via
UserProfile
- New
10 other lines we could not sort, mostly version bumps
- 6.0.0
Renamed all
__unstable_*methods to__internal_*(for internal APIs) - 6.0.0
Renamed all
experimental__*andexperimental_*methods to__experimental_*(for beta features) - 6.0.0
__unstable__environment→__internal_environment - 6.0.0
__unstable__updateProps→__internal_updateProps - 6.0.0
__unstable__setEnvironment→__internal_setEnvironment - 6.0.0
__unstable__onBeforeRequest→__internal_onBeforeRequest - 6.0.0
__unstable__onAfterResponse→__internal_onAfterResponse - 6.0.0
__unstable__onBeforeSetActive→__internal_onBeforeSetActive(window global) - 6.0.0
__unstable__onAfterSetActive→__internal_onAfterSetActive(window global) - 6.0.0
getToken()now throwsClerkOfflineErrorinstead of returningnullwhen the client is offline.
13 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.