{"id":"src_f8n2W7t5lZEB2SwUPeqs1","slug":"clerk-javascript-sdk","name":"JavaScript SDK","type":"github","url":"https://github.com/clerk/javascript","orgId":"org_6JdxTmhM4dqZsi_ghliSQ","org":{"slug":"clerk","name":"Clerk"},"isPrimary":false,"metadata":"{\"evaluatedMethod\":\"github\",\"evaluatedAt\":\"2026-04-07T23:42:18.084Z\",\"changelogDetectedAt\":\"2026-04-08T00:02:21.924Z\"}","releaseCount":216,"releasesLast30Days":216,"avgReleasesPerWeek":50.8,"latestVersion":"@clerk/clerk-js@6.7.4","latestDate":"2026-04-17T20:06:02.000Z","changelogUrl":null,"hasChangelogFile":false,"lastFetchedAt":"2026-04-19T07:02:09.115Z","trackingSince":"2026-03-20T12:50:07.000Z","releases":[{"id":"rel_lzHcfTlcb2G5qfxaQbfg6","version":"@clerk/clerk-js@6.7.4","title":"@clerk/clerk-js@6.7.4","summary":"### Patch Changes\n\n-   fix(clerk-js): Prevent background token refresh from destroying sessions on mobile ([#8303](https://github.com/clerk/javascript...","content":"### Patch Changes\n\n-   fix(clerk-js): Prevent background token refresh from destroying sessions on mobile ([#8303](https://github.com/clerk/javascript/pull/8303)) by [@chriscanin](https://github.com/chriscanin)\n\n    On iOS, background thread throttling can starve the JS event loop for hours (e.g., overnight audio apps). When the SDK's background refresh timer eventually fires with stale credentials, the resulting 401 would trigger `handleUnauthenticated()` and destroy the session even though it's still valid on the server.\n\n    Adds an early return in `#refreshTokenInBackground()`, gated to headless/mobile runtimes only (Expo sets `runtimeEnvironment` to `'headless'`). If the token has already expired when the refresh timer fires, bail out instead of sending a request with stale credentials. The next foreground `getToken()` call handles token acquisition through the normal path with proper retry logic.\n","publishedAt":"2026-04-17T20:06:02.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/clerk-js%406.7.4","media":[]},{"id":"rel_sGVdAvlCWjKbkxqVgDm9K","version":"@clerk/expo@3.2.1","title":"@clerk/expo@3.2.1","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`ff5bd7d`](https://github.com/clerk/javascript/commit/ff5bd7d8ccd5b60540459c771d3eafb8d77249dd)]:\n    -...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`ff5bd7d`](https://github.com/clerk/javascript/commit/ff5bd7d8ccd5b60540459c771d3eafb8d77249dd)]:\n    -   @clerk/clerk-js@6.7.4\n    -   @clerk/react@6.4.2\n","publishedAt":"2026-04-17T20:05:59.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/expo%403.2.1","media":[]},{"id":"rel_90jdI9LoKsY5HM9q-uOjJ","version":"@clerk/react-router@3.1.3","title":"@clerk/react-router@3.1.3","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -   @clerk/backend@3.2.13\n    -   @clerk/react@6.4.2\n","publishedAt":"2026-04-17T20:05:56.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/react-router%403.1.3","media":[]},{"id":"rel_kOzhjVQZcBr3LxnC9P_uz","version":"@clerk/chrome-extension@3.1.14","title":"@clerk/chrome-extension@3.1.14","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`ca46860`](https://github.com/clerk/javascript/commit/ca46860c1833026698d40f3ca8f2b8fbc85b2b39), [`ff5b...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`ca46860`](https://github.com/clerk/javascript/commit/ca46860c1833026698d40f3ca8f2b8fbc85b2b39), [`ff5bd7d`](https://github.com/clerk/javascript/commit/ff5bd7d8ccd5b60540459c771d3eafb8d77249dd), [`22f0b27`](https://github.com/clerk/javascript/commit/22f0b2714eec96d831a4ebd150ebbe4b86ecf0f8), [`0067481`](https://github.com/clerk/javascript/commit/0067481ae99bb657f3e3e67cdba90d901678172b), [`14d072a`](https://github.com/clerk/javascript/commit/14d072a3eefda43c394e503a1f5ecc919eccac98)]:\n    -   @clerk/ui@1.6.3\n    -   @clerk/clerk-js@6.7.4\n    -   @clerk/react@6.4.2\n","publishedAt":"2026-04-17T20:05:53.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/chrome-extension%403.1.14","media":[]},{"id":"rel_evtICMYk5bJSHiflmnMxn","version":"@clerk/hono@0.1.15","title":"@clerk/hono@0.1.15","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -   @clerk/backend@3.2.13\n","publishedAt":"2026-04-17T20:05:50.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/hono%400.1.15","media":[]},{"id":"rel_1soomeQjR_guT-ZN15oSH","version":"@clerk/fastify@3.1.15","title":"@clerk/fastify@3.1.15","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -   @clerk/backend@3.2.13\n","publishedAt":"2026-04-17T20:05:47.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/fastify%403.1.15","media":[]},{"id":"rel_KyHOpt3Xpr0sXiSgrMt89","version":"@clerk/testing@2.0.17","title":"@clerk/testing@2.0.17","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -   @clerk/backend@3.2.13\n","publishedAt":"2026-04-17T20:05:44.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/testing%402.0.17","media":[]},{"id":"rel_-i36i-kWnYss0-0ELgrRw","version":"@clerk/express@2.1.5","title":"@clerk/express@2.1.5","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -   @clerk/backend@3.2.13\n","publishedAt":"2026-04-17T20:05:41.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/express%402.1.5","media":[]},{"id":"rel_cXdFXjOfV-rrcKhS30aRd","version":"@clerk/nextjs@7.2.3","title":"@clerk/nextjs@7.2.3","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -   @clerk/backend@3.2.13\n    -   @clerk/react@6.4.2\n","publishedAt":"2026-04-17T20:05:38.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/nextjs%407.2.3","media":[]},{"id":"rel_hY2_c9jB3-1xLbHW-Jnui","version":"@clerk/tanstack-react-start@1.1.3","title":"@clerk/tanstack-react-start@1.1.3","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -   @clerk/backend@3.2.13\n    -   @clerk/react@6.4.2\n","publishedAt":"2026-04-17T20:05:35.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/tanstack-react-start%401.1.3","media":[]},{"id":"rel_GwrCzFKKDmn89SOvH2F0F","version":"@clerk/backend@3.2.13","title":"@clerk/backend@3.2.13","summary":"### Patch Changes\n\n-   Add path traversal protections in `joinPaths` ([#8331](https://github.com/clerk/javascript/pull/8331)) by [@dominic-clerk](http...","content":"### Patch Changes\n\n-   Add path traversal protections in `joinPaths` ([#8331](https://github.com/clerk/javascript/pull/8331)) by [@dominic-clerk](https://github.com/dominic-clerk)\n","publishedAt":"2026-04-17T20:05:32.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/backend%403.2.13","media":[]},{"id":"rel_FywcwzrYXv7OexyIgyAmZ","version":"@clerk/nuxt@2.2.4","title":"@clerk/nuxt@2.2.4","summary":"### Patch Changes\n\n-   Fixed attrs type in custom UI components. ([#8301](https://github.com/clerk/javascript/pull/8301)) by [@renovate](https://githu...","content":"### Patch Changes\n\n-   Fixed attrs type in custom UI components. ([#8301](https://github.com/clerk/javascript/pull/8301)) by [@renovate](https://github.com/apps/renovate)\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -   @clerk/backend@3.2.13\n    -   @clerk/vue@2.0.15\n","publishedAt":"2026-04-17T20:05:29.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/nuxt%402.2.4","media":[]},{"id":"rel_fofp9Oo8pKi2N7YeCY3YS","version":"@clerk/ui@1.6.3","title":"@clerk/ui@1.6.3","summary":"### Patch Changes\n\n-   Fix EnableOrganizationsPrompt in keyless mode: show \"Claim your application\" CTA instead of broken \"Sign in to continue\" when o...","content":"### Patch Changes\n\n-   Fix EnableOrganizationsPrompt in keyless mode: show \"Claim your application\" CTA instead of broken \"Sign in to continue\" when organizations are enabled on an unclaimed keyless app with no signed-in user. ([#8341](https://github.com/clerk/javascript/pull/8341)) by [@mwickett](https://github.com/mwickett)\n\n-   Use `user.organizationMemberships` from the already-loaded user object to populate the org select in the OAuth consent screen, avoiding a redundant memberships fetch. ([#8350](https://github.com/clerk/javascript/pull/8350)) by [@wobsoriano](https://github.com/wobsoriano)\n\n-   Correctly display IP redirect URIs in OAuth consent. ([#8342](https://github.com/clerk/javascript/pull/8342)) by [@wobsoriano](https://github.com/wobsoriano)\n\n-   Add scroll-driven fade overlays to `ListGroupContent` in the OAuthConsent component so overflowing scope lists visually indicate more content above and below. ([#8339](https://github.com/clerk/javascript/pull/8339)) by [@alexcarpenter](https://github.com/alexcarpenter)\n","publishedAt":"2026-04-17T20:05:26.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/ui%401.6.3","media":[]},{"id":"rel_zPCYJIIWw8umXyTaFn6Jp","version":"@clerk/astro@3.0.17","title":"@clerk/astro@3.0.17","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`fcc6c0c`](https://github.com/clerk/javascript/commit/fcc6c0c511a37da912577864cc12f2039c52e654)]:\n    -   @clerk/backend@3.2.13\n","publishedAt":"2026-04-17T20:05:23.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/astro%403.0.17","media":[]},{"id":"rel_QK0GTy33Y3Nu_InARXo55","version":"@clerk/testing@2.0.16","title":"@clerk/testing@2.0.16","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`f800b4f`](https://github.com/clerk/javascript/commit/f800b4fdfce37884c800070116af6d11627831d7), [`8ee6...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`f800b4f`](https://github.com/clerk/javascript/commit/f800b4fdfce37884c800070116af6d11627831d7), [`8ee6a32`](https://github.com/clerk/javascript/commit/8ee6a32977afbb0d1e9393b17ec541c29decf785), [`c7b0f47`](https://github.com/clerk/javascript/commit/c7b0f4789c47d4d7eeed767a06d3b257a24a50dd), [`34762e8`](https://github.com/clerk/javascript/commit/34762e8f2772034e6abb5f4f4daec902f74b30b6)]:\n    -   @clerk/backend@3.2.12\n    -   @clerk/shared@4.8.2\n","publishedAt":"2026-04-16T17:47:33.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/testing%402.0.16","media":[]},{"id":"rel_biT-EKmU8ECgY2sMatO9M","version":"@clerk/ui@1.6.2","title":"@clerk/ui@1.6.2","summary":"### Patch Changes\n\n-   Add infinite loading to organization selection in `<OAuthConsent />`. ([#8309](https://github.com/clerk/javascript/pull/8309)) ...","content":"### Patch Changes\n\n-   Add infinite loading to organization selection in `<OAuthConsent />`. ([#8309](https://github.com/clerk/javascript/pull/8309)) by [@wobsoriano](https://github.com/wobsoriano)\n\n-   Fix OAuthConsent always redirecting to sign-in by adopting the `AuthenticatedRoutes` pattern used by other full-page components ([#8327](https://github.com/clerk/javascript/pull/8327)) by [@alexcarpenter](https://github.com/alexcarpenter)\n\n-   Updated dependencies \\[[`c7b0f47`](https://github.com/clerk/javascript/commit/c7b0f4789c47d4d7eeed767a06d3b257a24a50dd), [`34762e8`](https://github.com/clerk/javascript/commit/34762e8f2772034e6abb5f4f4daec902f74b30b6)]:\n    -   @clerk/shared@4.8.2\n    -   @clerk/localizations@4.5.2\n","publishedAt":"2026-04-16T17:47:30.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/ui%401.6.2","media":[]},{"id":"rel_qgyKfMcvOncSU02iHhUeI","version":"@clerk/tanstack-react-start@1.1.2","title":"@clerk/tanstack-react-start@1.1.2","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`f800b4f`](https://github.com/clerk/javascript/commit/f800b4fdfce37884c800070116af6d11627831d7), [`8ee6...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`f800b4f`](https://github.com/clerk/javascript/commit/f800b4fdfce37884c800070116af6d11627831d7), [`8ee6a32`](https://github.com/clerk/javascript/commit/8ee6a32977afbb0d1e9393b17ec541c29decf785), [`c7b0f47`](https://github.com/clerk/javascript/commit/c7b0f4789c47d4d7eeed767a06d3b257a24a50dd), [`34762e8`](https://github.com/clerk/javascript/commit/34762e8f2772034e6abb5f4f4daec902f74b30b6)]:\n    -   @clerk/backend@3.2.12\n    -   @clerk/shared@4.8.2\n    -   @clerk/react@6.4.2\n","publishedAt":"2026-04-16T17:47:27.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/tanstack-react-start%401.1.2","media":[]},{"id":"rel_li9OqUlnS9chAHiYK12SY","version":"@clerk/backend@3.2.12","title":"@clerk/backend@3.2.12","summary":"### Patch Changes\n\n-   Introduce `samlConnection` and `oauthConfig` into the `EnterpriseConnection` resource. ([#8326](https://github.com/clerk/javasc...","content":"### Patch Changes\n\n-   Introduce `samlConnection` and `oauthConfig` into the `EnterpriseConnection` resource. ([#8326](https://github.com/clerk/javascript/pull/8326)) by [@LauraBeatris](https://github.com/LauraBeatris)\n\n-   The JWT claims are verified after the signature to avoid leaking information through error messages on forged tokens. ([#8332](https://github.com/clerk/javascript/pull/8332)) by [@dominic-clerk](https://github.com/dominic-clerk)\n\n-   Updated dependencies \\[[`c7b0f47`](https://github.com/clerk/javascript/commit/c7b0f4789c47d4d7eeed767a06d3b257a24a50dd), [`34762e8`](https://github.com/clerk/javascript/commit/34762e8f2772034e6abb5f4f4daec902f74b30b6)]:\n    -   @clerk/shared@4.8.2\n","publishedAt":"2026-04-16T17:47:24.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/backend%403.2.12","media":[]},{"id":"rel_xRxhzPWffg42wcgZ9n2pr","version":"@clerk/nuxt@2.2.3","title":"@clerk/nuxt@2.2.3","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`f800b4f`](https://github.com/clerk/javascript/commit/f800b4fdfce37884c800070116af6d11627831d7), [`8ee6...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`f800b4f`](https://github.com/clerk/javascript/commit/f800b4fdfce37884c800070116af6d11627831d7), [`8ee6a32`](https://github.com/clerk/javascript/commit/8ee6a32977afbb0d1e9393b17ec541c29decf785), [`c7b0f47`](https://github.com/clerk/javascript/commit/c7b0f4789c47d4d7eeed767a06d3b257a24a50dd), [`34762e8`](https://github.com/clerk/javascript/commit/34762e8f2772034e6abb5f4f4daec902f74b30b6)]:\n    -   @clerk/backend@3.2.12\n    -   @clerk/shared@4.8.2\n    -   @clerk/vue@2.0.15\n","publishedAt":"2026-04-16T17:47:21.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/nuxt%402.2.3","media":[]},{"id":"rel_1Jl3uRiQtQDQRJXMc1BkF","version":"@clerk/react-router@3.1.2","title":"@clerk/react-router@3.1.2","summary":"### Patch Changes\n\n-   Updated dependencies \\[[`f800b4f`](https://github.com/clerk/javascript/commit/f800b4fdfce37884c800070116af6d11627831d7), [`8ee6...","content":"### Patch Changes\n\n-   Updated dependencies \\[[`f800b4f`](https://github.com/clerk/javascript/commit/f800b4fdfce37884c800070116af6d11627831d7), [`8ee6a32`](https://github.com/clerk/javascript/commit/8ee6a32977afbb0d1e9393b17ec541c29decf785), [`c7b0f47`](https://github.com/clerk/javascript/commit/c7b0f4789c47d4d7eeed767a06d3b257a24a50dd), [`34762e8`](https://github.com/clerk/javascript/commit/34762e8f2772034e6abb5f4f4daec902f74b30b6)]:\n    -   @clerk/backend@3.2.12\n    -   @clerk/shared@4.8.2\n    -   @clerk/react@6.4.2\n","publishedAt":"2026-04-16T17:47:18.000Z","url":"https://github.com/clerk/javascript/releases/tag/%40clerk/react-router%403.1.2","media":[]}],"pagination":{"page":1,"pageSize":20,"totalPages":11,"totalItems":216},"summaries":{"rolling":null,"monthly":[]}}