Packages

@clerk/vue

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

Your version

1.3.0

26 Feb 2025Where it was published

1.17.27 is the newest release of 1.x.

In short

2 new1 fixed2 internal

Security

1 advisory affects 1.3.0; 1.17.21 fixes them

Release note

Minor Changes

  • Introduce updateClerkOptions() utility function to update Clerk options on the fly.

    Usage:

    <script setup>
    import { updateClerkOptions } from '@clerk/vue';
    import { dark } from '@clerk/themes';
    import { frFR } from '@clerk/localizations';
    
    function enableDarkTheme() {
      updateClerkOptions({
        appearance: {
          baseTheme: dark,
        },
      });
    }
    
    function changeToFrench() {
      updateClerkOptions({
        localization: frFR,
      });
    }
    </script>
    
    <template>
      <button @click="enableDarkTheme">Enable Dark Theme</button>
      <button @click="changeToFrench">Change to French</button>
    </template>
  • Surface new pending session as a signed-in state

Patch Changes

  • The exports map inside package.json has been slightly adjusted to allow for require(esm) to work correctly. The "import" conditions have been changed to "default".

    You shouldn't see any change in behavior/functionality on your end.

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.