Packages

@clerk/shared

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

Your version

4.15.0

3 Jun 2026Where it was published

4.48.3 is the newest release of 4.x.

In short

3 new4 fixed

Release note

Minor Changes

  • Internal <ConfigureSSO /> refactor to call new org-scoped enterprise connections FAPI endpoints, replacing the /me/ deprecated scope.

Patch Changes

  • Add support for Google Workspace SAML provider to self-serve SSO

  • Layer architecture for configure steps per IdP and protocol on <ConfigureSSO />

  • Prevent keyless mode from activating in CI and other automated environments in framework SDKs.

  • Add support for Microsoft Entra SAML provider to self-serve SSO

  • Replace the telemetry postinstall script with a one-time runtime notice, printed once per process on server runtimes (Node, excluding CI) when the telemetry collector boots against a development instance. Drops the std-env dependency.

    Removing postinstall improves the package's supply-chain posture: @clerk/shared no longer executes arbitrary code at install time, aligning with package-manager defaults that increasingly disable install scripts.

    Browser-only applications with no server-side Clerk runtime (e.g. a Vite SPA) will not surface an in-band notice. Telemetry behavior and opt-out (telemetry={false} or *_CLERK_TELEMETRY_DISABLED) are unchanged; disclosure for these setups is provided at clerk.com/docs/telemetry.

  • Nest rolldown's shared build chunks under dist/runtime/_chunks/ instead of emitting them flat next to the entry points. The package exposes "./*", which resolves to dist/runtime/*, so the content-hashed internal chunks were being picked up by API-diff tooling whenever a chunk hash shifted. Entry and type resolution are unchanged; the chunks are still referenced by relative path, and external ./_chunks/* package subpaths are blocked.

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.