Releases · clerk/javascript
@clerk/vue@2.4.3
Patch Changes
-
Align the
HeadlessBrowserClerk.load()parameter type with the runtime behavior by accepting the fullClerkOptions, includingisSatellite. The clerk-js implementation has always accepted and usedisSatellitefromload()options — it's the only way to configure a satellite app when using@clerk/clerk-jsdirectly — but the type previously excluded it, producing a contradictory generated API reference and type errors for direct consumers. (#8846) by @manovotny -
Updated dependencies [
f4167ec,17e4164,ed2cf75,67c04a4,51c8fdc,c2ba971,8744728,d9b5c7d]:- @clerk/shared@4.18.0
@clerk/ui@1.17.0
Minor Changes
- Add internal OAuth transport support for native desktop SDK wrappers to run Clerk's prebuilt OAuth flows through a system browser. (#8831) by @wobsoriano
Patch Changes
-
Add an overview to the organization profile Security page. The page now lands on a summary of the SSO connection — a status badge (Unconfigured, In Progress, Active, Inactive), the configuration details framed in a card (provider, domain, sign-on URL, issuer, certificate), and an actions menu with Edit, Activate / Deactivate, and Remove — and switches into the existing configuration flow on Start, Continue, or Edit. (#8813) by @iagodahlem
-
Rename the
<OrganizationProfile />SSO page to "Security". The navbar entry is now labeled "Security" with a shield icon, its route path changed fromorganization-self-serve-ssotoorganization-security, and a neworganizationProfile.navbar.securitylocalization key replacesorganizationProfile.navbar.selfServeSSO. (#8796) by @iagodahlem -
Upgrade build tooling to Rspack 2 (No user-facing API changes). (#8382) by @jacekradko
-
Updated dependencies [
f4167ec,17e4164,ed2cf75,67c04a4,51c8fdc,c2ba971,8744728,d9b5c7d]:- @clerk/shared@4.18.0
- @clerk/localizations@4.8.2
@clerk/testing@2.1.2
Patch Changes
-
When a Frontend API request exhausts its retries in the Playwright
setupClerkTestingTokenhelper, the warning now includes response diagnostics (cf-ray,retry-after,content-type, and a truncated response body) so rate-limit responses can be attributed to their source. Network-error retry exhaustion now includes the error message in the warning as well. (#8848) by @jacekradko -
Preserve the
/// <reference types="cypress" />directive in the published@clerk/testing/cypresstype declarations. TypeScript's declaration emit previously dropped it, so the shipped types relied on the globalCypressnamespace without declaring the dependency and failed to type-check underskipLibCheck: false. (#8841) by @jacekradko -
Updated dependencies [
f4167ec,17e4164,ed2cf75,67c04a4,51c8fdc,c2ba971,8744728,d9b5c7d]:- @clerk/shared@4.18.0
- @clerk/backend@3.7.1
@clerk/tanstack-react-start@1.4.3
@clerk/shared@4.18.0
Minor Changes
- Add internal OAuth transport support for native desktop SDK wrappers to run Clerk's prebuilt OAuth flows through a system browser. (#8831) by @wobsoriano
Patch Changes
-
Align the
HeadlessBrowserClerk.load()parameter type with the runtime behavior by accepting the fullClerkOptions, includingisSatellite. The clerk-js implementation has always accepted and usedisSatellitefromload()options — it's the only way to configure a satellite app when using@clerk/clerk-jsdirectly — but the type previously excluded it, producing a contradictory generated API reference and type errors for direct consumers. (#8846) by @manovotny -
Add an overview to the organization profile Security page. The page now lands on a summary of the SSO connection — a status badge (Unconfigured, In Progress, Active, Inactive), the configuration details framed in a card (provider, domain, sign-on URL, issuer, certificate), and an actions menu with Edit, Activate / Deactivate, and Remove — and switches into the existing configuration flow on Start, Continue, or Edit. (#8813) by @iagodahlem
-
Rename the
<OrganizationProfile />SSO page to "Security". The navbar entry is now labeled "Security" with a shield icon, its route path changed fromorganization-self-serve-ssotoorganization-security, and a neworganizationProfile.navbar.securitylocalization key replacesorganizationProfile.navbar.selfServeSSO. (#8796) by @iagodahlem -
Ship a self-contained
CookieAttributesinterface from@clerk/shared/cookieand use it increateCookieHandler'sset/removesignatures. The published declarations previously referencedCookies.CookieAttributesfrom js-cookie, which consumers could never resolve (the import was dropped from the declaration output and js-cookie ships no types), causing TS2503 errors underskipLibCheck: falseand silently degrading the option types toanyotherwise. (#8841) by @jacekradko -
Resolve the browser connectivity heuristics (
isValidBrowser,isBrowserOnline, and thereforeisValidBrowserOnline) from the worker'snavigatorwhenwindowis unavailable but the code runs inside aWorkerGlobalScope. In a Web/Service Worker — most notably an MV3 extension background service worker (where@clerk/chrome-extensionloads the background client) — there is nowindow, so these checks previously always reported "invalid/offline". That causedgetToken()failures to be re-thrown as a misleadingclerk_offlineerror and capped network retries lower than intended. The checks now read real connectivity from the worker'snavigator. Server-side rendering continues to reportfalse(the fallback requires a real worker scope, so a bareglobalThis.navigatorsuch as the one modern Node exposes is not treated as a browser), and behavior in standard browsers and React Native is unchanged. (#8827) by @royanger -
Exclude self-identified server runtimes (
Cloudflare-Workers,Node.js,Deno,Bunuser agents) from the worker-scopenavigatorfallback used byisValidBrowser,isBrowserOnline, andisValidBrowserOnline. Today Cloudflare's workerd is excluded only because itsselfdoes not satisfyinstanceof WorkerGlobalScope; this guard keeps the checks returningfalseon server-side worker runtimes even if that implementation detail changes, while real browser web/service workers (such as MV3 extension background workers) are unaffected. (#8840) by @jacekradko -
Clarify the
isSatelliteJSDoc to note it must be set inload(), unlikedomain, which is set in theClerkconstructor. This corrects the generated API reference for direct@clerk/clerk-jsand<script>consumers, whereload()is the only way to configure a satellite app. (#8845) by @SarahSoutoul
@clerk/react@6.10.0
@clerk/react-router@3.4.3
@clerk/nuxt@2.6.3
@clerk/nextjs@7.5.3
@clerk/localizations@4.8.2
Patch Changes
-
Add an overview to the organization profile Security page. The page now lands on a summary of the SSO connection — a status badge (Unconfigured, In Progress, Active, Inactive), the configuration details framed in a card (provider, domain, sign-on URL, issuer, certificate), and an actions menu with Edit, Activate / Deactivate, and Remove — and switches into the existing configuration flow on Start, Continue, or Edit. (#8813) by @iagodahlem
-
Rename the
<OrganizationProfile />SSO page to "Security". The navbar entry is now labeled "Security" with a shield icon, its route path changed fromorganization-self-serve-ssotoorganization-security, and a neworganizationProfile.navbar.securitylocalization key replacesorganizationProfile.navbar.selfServeSSO. (#8796) by @iagodahlem -
Updated dependencies [
f4167ec,17e4164,ed2cf75,67c04a4,51c8fdc,c2ba971,8744728,d9b5c7d]:- @clerk/shared@4.18.0