Packages

@clerk/shared

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

Your version

3.35.0

17 Nov 2025Where it was published

3.48.1 is the newest release of 3.x.

In short

5 new3 fixed

Security

2 advisories affect 3.35.0; 3.47.5 fixes them

Release note

Minor Changes

  • Introduced initial Clerk Protect dynamic loader and related types to support dynamically enabling and rolling out Protect in the environment.

  • Standardized API keys naming convention

  • Add support for sign-up via modal in signals implementation

  • Billing hooks now accept a { enabled: boolean } option, that controls the whether or not a request will fire.

  • Ensure all hooks use typedoc for clerk docs

Patch Changes

  • Update how cache keys are created in SWR/RQ hooks.

  • Support keepPreviousData behaviour in the internal React Query variant of useSubscription.

  • Relaxing requirements for RQ variant hooks to enable revalidation across different configurations of the same hook.

    const { revalidate } = useStatements({ initialPage: 1, pageSize: 10 });
    useStatements({ initialPage: 1, pageSize: 12 });
    
    // revalidate from first hook, now invalidates the second hook.
    void revalidate();

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.