Packages

@clerk/shared

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

Upgrading @clerk/shared From 4.6.0 to 4.8.3

5 releases in betweenevery note read

Other targets from 4.6.0Newest 4.x4.48.3Latest4.45.1

Security

Release by release

  1. 4.8.3

    22 Apr 20261 fix
    • Fixed

      Fix an authorization bypass in has(), auth.protect(), and related predicates when a single call combined conditions from more than one dimension (for example, { permission, reverification } or { feature, permission }). A dimension that should have denied the request was treated as indeterminate and ignored by the combining logic, allowing other passing dimensions to carry the result and authorize the call when it should have failed closed.

  2. 4.8.2

    16 Apr 20262 new
    • New

      Add emailAddress, phoneNumber, and username support to signUp.update()

    • New

      Added development runtime error when mounting <OAuthconsent /> without active session.

  3. 4.8.1

    15 Apr 20261 fix
    • Fixed

      Normalize URL paths in createPathMatcher to prevent route protection bypass

  4. 4.8.0

    14 Apr 20261 new
    • New

      Introduce internal <OAuthConsent /> component for rendering a zero-config OAuth consent screen on an OAuth authorize redirect page.

  5. 4.7.0

    13 Apr 20262 new
    • New

      Add OAuthApplication resource and getConsentInfo() method for retrieving OAuth consent information, enabling custom OAuth consent flows.

    • New

      Introduce internal useOAuthConsent() hook for fetching OAuth consent screen metadata for the signed-in user.

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.