Packages

@clerk/shared

4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed

Your version

4.10.0

5 May 2026Where it was published

4.48.3 is the newest release of 4.x.

In short

1 new3 fixed

Release note

Minor Changes

  • Add experimental <ConfigureSSO /> component. Not ready for usage yet.

Patch Changes

  • Localize API keys table headers

  • Avoid referencing process.env when auto-proxy detection runs in runtimes where process is unavailable.

  • Move ownership of the clerk-rq QueryClient from @clerk/clerk-js into @clerk/shared. The QueryObserver (constructed in @clerk/shared) and the Query objects it observes now always come from a single @tanstack/query-core resolution — the cross-bundle API contract that produced #8428 (Query.isFetched is not a function) no longer exists.

    This removes the undocumented clerk.__internal_queryClient getter from both @clerk/clerk-js and @clerk/react's IsomorphicClerk. The QueryClient is owned by an internal singleton in @clerk/shared, lazily instantiated on the browser only — server renders return undefined, preserving SSR safety and avoiding cross-request cache sharing.

    @tanstack/query-core is no longer a direct dependency of @clerk/clerk-js; it remains a dep of @clerk/shared and resolves consumer-side as before.

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.