@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
Release by release
- New
Expose the loaded
@clerk/uiversion on theClerkobject via a newuiVersionproperty. It returns the version of the prebuilt UI bundle once it has loaded (for exampleClerk.uiVersionin the browser console), orundefinedif the UI has not been loaded yet.@clerk/clerk-jsand@clerk/uiare versioned and loaded independently, souiVersioncan differ fromClerk.version. - New
Make
OAuthProviderData.docsUrloptional and remove the Enstall OAuth provider docs URL. - New
Add a generic
FLOW_STEP_MOUNTEDtelemetry 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 usesrole="dialog"instead ofrole="menu". UserButton and OrganizationSwitcher popovers now receive focus when opened, and actions are logically grouped with labelledrole="group"elements for screen readers.
- New
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.