Packages

@clerk/clerk-js

6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed

Your version

4.63.0

24 Oct 2023Where it was published

4.73.14 is the newest release of 4.x.

In short

1 new4 fixed3 internal

Security

1 advisory affects 4.63.0; 5.89.0 fixes them

Release note

Minor Changes

  • Introduce customization in UserProfile and OrganizationProfile

    The <UserProfile /> component now allows the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the <UserProfile.Page> component, and external links can be added using the <UserProfile.Link> component. The default routes, such as Account and Security, can be reordered.

    Example React API usage:

    <UserProfile>
      <UserProfile.Page
        label='Custom Page'
        url='custom'
        labelIcon={<CustomIcon />}
      >
        <MyCustomPageContent />
      </UserProfile.Page>
      <UserProfile.Link
        label='External'
        url='/home'
        labelIcon={<Icon />}
      />
      <UserProfile.Page label='account' />
      <UserProfile.Page label='security' />
    </UserProfile>

    Custom pages and links should be provided as children using the <UserButton.UserProfilePage> and <UserButton.UserProfileLink> components when using the UserButton component.

    The <OrganizationProfile /> component now supports the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the <OrganizationProfile.Page> component, and external links can be added using the <OrganizationProfile.Link> component. The default routes, such as Members and Settings, can be reordered.

    Example React API usage:

    <OrganizationProfile>
      <OrganizationProfile.Page
        label='Custom Page'
        url='custom'
        labelIcon={<CustomIcon />}
      >
        <MyCustomPageContent />
      </OrganizationProfile.Page>
      <OrganizationProfile.Link
        label='External'
        url='/home'
        labelIcon={<Icon />}
      />
      <OrganizationProfile.Page label='members' />
      <OrganizationProfile.Page label='settings' />
    </OrganizationProfile>

    Custom pages and links should be provided as children using the <OrganizationSwitcher.OrganizationProfilePage> and <OrganizationSwitcher.OrganizationProfileLink> components when using the OrganizationSwitcher component.

Patch Changes

  • Publish packages with npm provenance enabled

  • Keep CreateOrganizationForm disabled in case of an uploaded avatar and organization name is empty.

  • Drop experimental_force_oauth_first & experimental__forceOauthFirst from DisplayConfig

  • Consider Clerk.setActive as stable.

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.