Packages

@clerk/vue

2.5.22 · 17 Nov 2026MIT65.9k / weekRepositoryHomepagenpmAtom feed

Your version

1.5.0

7 Apr 2025Where it was published

1.17.27 is the newest release of 1.x.

In short

3 new2 internal

Security

1 advisory affects 1.5.0; 1.17.21 fixes them

Release note

Minor Changes

  • Update useSession to handle pending sessions as signed-out by default, with opt-out via useSession({ treatPendingAsSignedOut: false }) or app.use(clerkPlugin, { treatPendingAsSignedOut: false })

  • Update useAuth to handle pending sessions as signed-out by default, with opt-out via useAuth({ treatPendingAsSignedOut: false }) or app.use(clerkPlugin, { treatPendingAsSignedOut: false })

Patch Changes

  • Introduce treatPendingAsSignedOut prop to client control components

    // Children node only mounts when session is active
    // Example: Organization selection must be completed if enforced
    <SignedIn>
      <p>You have selected an organization!</p>
    </SignedIn>
    // Children node mounts for both active and pending session
    <SignedIn treatPendingAsSignedOut={false}>
      <p>You might not have an organization selected</p>
    </SignedIn>
    // Children node only mounts when session is active
    // Example: Organization selection must be completed if enforced
    <Protect>
      <p>You have selected an organization!</p>
    </Protect>
    // Children node mounts for both active and pending session
    <Protect treatPendingAsSignedOut={false}>
      <p>You might not have an organization selected</p>
    </Protect>

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.