Packages

@clerk/clerk-js

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

Your version

5.73.0

15 Jul 2025Where it was published

5.128.3 is the newest release of 5.x.

In short

3 new1 fixed3 internal

Security

Release note

Minor Changes

  • Expose Clerk CSS variables as an option for theming Clerk's components. This change introduces CSS custom properties that allow developers to customize Clerk's appearance using standard CSS variables, providing a more flexible theming approach.

    :root {
      --clerk-color-primary: #6d47ff;
      --clerk-color-primary-foreground: #ffffff;
    }

Deprecated variables

| Deprecated | New |  
| ------------------------------ | ------------------------ |  
| `colorText` | `colorForeground` |  
| `colorTextOnPrimaryBackground` | `colorPrimaryForeground` |  
| `colorTextSecondary` | `colorMutedForeground` |  
| `spacingUnit` | `spacing` |  
| `colorInputText` | `colorInputForeground` |  
| `colorInputBackground` | `colorInput` |

Deprecated variables will continue to work but will be removed in the next major version.

New variables

-   `colorRing` - The color of the ring when an interactive element is focused.  
-   `colorMuted` - The background color for elements of lower importance, eg: a muted background.  
-   `colorShadow` - The base shadow color used in the components.  
-   `colorBorder` - The base border color used in the components.  
-   `colorModalBackdrop` - The background color of the modal backdrop.
  • Display past due subscriptions properly.

  • Extract SubscriptionDetails, into its own internal component, out of existing (also internal) PlanDetails component.

Patch Changes

  • Enhanced detection of password manangers

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.