@clerk/chrome-extension
3.1.113 · 20 Nov 2026MIT129.4k / weekRepositoryHomepagenpmAtom feed
3.1.113 is the newest release of 3.x.
In short
4 breaking2 removed6 new2 fixed2 changed4 internal
- Breaking
Renamed
__unstable__createClerkClienttocreateClerkClient(exported from@clerk/chrome-extension/background). - Breaking
Refactor React SDK hooks to subscribe to auth state via
useSyncExternalStore. This is a mostly internal refactor to unlock future improvements, but includes a few breaking changes and fixes. - Breaking
Require Node.js 20.9.0 in all packages
- Breaking
Introduce
<Show when={...}>as the cross-framework authorization control component and remove<Protect>,<SignedIn>, and<SignedOut>in favor of<Show>. - Removed
Removed deprecated billing-related props (
__unstable_manageBillingUrl,__unstable_manageBillingLabel,__unstable_manageBillingMembersLimit) andexperimental__forceOauthFirst - Removed
Remove
clerkJSVariantoption and headless bundle. UseprefetchUI={false}instead.
Security
1 advisory affects 3.0.0; 3.1.15 fixes them
- HighClerk has an authorization bypass when combining organization, billing, or reverification checksGHSA-w24r-5266-9c3c · 30 Apr 2026Fixed in 3.1.15
Release note
Major Changes
- Breaking
Align experimental/unstable prefixes to use consistent naming:
Renamed all
__unstable_*methods to__internal_*(for internal APIs)Renamed all
experimental__*andexperimental_*methods to__experimental_*(for beta features)Removed deprecated billing-related props (
__unstable_manageBillingUrl,__unstable_manageBillingLabel,__unstable_manageBillingMembersLimit) andexperimental__forceOauthFirst
- Breaking
Renamed
__unstable__createClerkClienttocreateClerkClient(exported from@clerk/chrome-extension/background). - Breaking
Refactor React SDK hooks to subscribe to auth state via
useSyncExternalStore. This is a mostly internal refactor to unlock future improvements, but includes a few breaking changes and fixes.Breaking changes:
Removes ability to pass in
initialAuthStatetouseAuthThis was added for internal use and is no longer needed
Instead pass in
initialStateto the<ClerkProvider>, ordynamicif using the Next packageSee your specific SDK documentation for more information on Server Rendering
Fixes:
A bug where
useAuthwould sometimes briefly return theinitialStaterather thanundefinedThis could in certain situations incorrectly lead to a brief
user: nullon the first page after signing in, indicating a signed out state
Hydration mismatches in certain rare scenarios where subtrees would suspend and hydrate only after
clerk-jshad loaded fully
- Breaking
Require Node.js 20.9.0 in all packages
- Breaking
Introduce
<Show when={...}>as the cross-framework authorization control component and remove<Protect>,<SignedIn>, and<SignedOut>in favor of<Show>.
Minor Changes
- Removed
Remove
clerkJSVariantoption and headless bundle. UseprefetchUI={false}instead. Add
uiprop toClerkProviderfor passing@clerk/uiExport
useOrganizationCreationDefaultshook to fetch suggested organization name and logo from default naming rulesAdd
/typessubpath export to re-export types from@clerk/shared/typesalong with SDK-specific types. This allows importing Clerk types directly from the SDK package (e.g.,import type { UserResource } from '@clerk/react/types') without needing to install@clerk/typesas a separate dependency.Add
HandleSSOCallbackcomponent which handles the SSO callback during custom flows, including support for sign-in-or-up.Added new
createClerkClient()export from @clerk/chrome-extension/clientimport { createClerkClient } from '@clerk/chrome-extension/client'; const publishableKey = process.env.CLERK_PUBLISHABLE_KEY; // Use createClerkClient in a popup or side panel const clerk = createClerkClient({ publishableKey }); // Use createClerkClient in a background service worker const clerk = await createClerkClient({ publishableKey: 'pk_...', background: true });createClerkClient()from @clerk/chrome-extension/background is deprecated.
Patch Changes
Rename dev browser APIs to remove JWT terminology. The dev browser identifier is now a generic ID, so internal naming has been updated to reflect this. No runtime behavior changes.
Add exports for
useWaitlisthook.Use new
@clerk/reactpackage.
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.