Packages

@clerk/shared

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

Upgrading @clerk/shared From 4.20.0 to 4.21.0

1 release in betweenevery note read

Other targets from 4.20.0Newest 4.x4.48.3Latest4.45.1
  1. 4.20.0yours
  2. 4.21.0target
0
changes to make
0
advisories fixed
5
new
2
fixes

Release by release

  1. 4.21.0

    23 Jun 20265 new · 2 fixes
    • New

      Expose the loaded @clerk/ui version on the Clerk object via a new uiVersion property. It returns the version of the prebuilt UI bundle once it has loaded (for example Clerk.uiVersion in the browser console), or undefined if the UI has not been loaded yet. @clerk/clerk-js and @clerk/ui are versioned and loaded independently, so uiVersion can differ from Clerk.version.

    • New

      Make OAuthProviderData.docsUrl optional and remove the Enstall OAuth provider docs URL.

    • New

      Add a generic FLOW_STEP_MOUNTED telemetry event (eventFlowStepMounted) for measuring multi-step flow funnels, and wire it into the self-serve SSO flow

    • New

      Add localization support for OAuth access denied errors.

    • New

      Allow changing enterprise connection provider between self-serve SSO steps

    • Fixed

      Condense the OrganizationProfile Security page SSO overview to a single summary row (one-line description, domains as chips, status badge, actions under the overflow menu) and remove the now-unused ssoSection provider/sign-on URL/issuer/descriptionLine2 localization keys.

    • Fixed

      Improve UserButton and OrganizationSwitcher accessibility. The trigger button now announces itself as a dialog trigger (aria-haspopup="dialog") and the popover uses role="dialog" instead of role="menu". UserButton and OrganizationSwitcher popovers now receive focus when opened, and actions are logically grouped with labelled role="group" elements for screen readers.

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.