vue-clerk

Community Vue SDK for Clerk.

MIT License

Downloads
7.7K
Stars
141
Committers
9

Bot releases are hidden (Show)

vue-clerk - v0.6.0

Published by wobsoriano about 2 months ago

Minor changes

  • 6c77ccb: Introduce Nuxt module

    Usage:

    export default defineNuxtConfig({
      modules: ["vue-clerk/nuxt"],
    });
    
    <script setup>
      const { data: user } = await useCurrentUser()
    </script>
    
    <template>
      <SignedIn>
        <h1>Hello, {{ user?.fullName }}</h1>
        <UserButton />
      </SignedIn>
      <SignedOut>
        <SignInButton mode="modal" />
      </SignedOut>
    </template>
    
    // server/api/me.ts
    import { clerkClient, getAuth } from '#clerk'
    
    export default eventHandler((event) => {
      const { userId } = getAuth(event);
    
      if (!userId) {
        setResponseStatus(event, 403);
        return;
      }
    
      return clerkClient(event).users.getUser(userId);
    });
    
vue-clerk - v0.4.3

Published by wobsoriano 4 months ago

compare changes

🏡 Chore

  • Minify build and remove unused files (3791178)

❤️ Contributors

vue-clerk - v0.4.2

Published by wobsoriano 4 months ago

compare changes

🏡 Chore

❤️ Contributors

vue-clerk - v0.4.1

Published by wobsoriano 4 months ago

compare changes

📖 Documentation

🏡 Chore

  • Remove vueuse (9e8e597)
  • Remove redundant type (ad10082)
  • Bump all non-major dependencies (860ef5d)
  • Update initial state values (86d8668)
  • Use getOrCreateInstance method when instantiating clerk (2752281)

❤️ Contributors

vue-clerk - v0.4.0

Published by wobsoriano 4 months ago

compare changes

🚀 Enhancements

  • Add telemetry calls for auth composables (e1bff03)
  • Add SignInWithMetamaskButton (3d7e51d)

📖 Documentation

  • Add redirect to sign in and sign up props (c4e0462)
  • Add links to initialValues (e5b784d)
  • Update plugin usage (20b7467)
  • Update plugin options (a1c11ed)

🏡 Chore

  • Hot load clerk from CDN (e62b9c9)
  • ⚠️ Migrate to isomorphic clerk (e721f16)
  • Export IsomorphicClerkOptions (88514d3)
  • provideClerkToApp: Rename to provideClerkToVueApp (74bbf98)
  • Bump @clerk/shared to 2.2.2 (ee93a88)
  • Bump @clerk/types to 4.6.0 (926f9ef)
  • Bump @vueuse/core to 10.10.0 (5540309)
  • Bump all non-major dependencies (37638d6)
  • Use typed injection key with Symbol (9e7912b)

⚠️ Breaking Changes

  • ⚠️ Migrate to isomorphic clerk (e721f16)

❤️ Contributors

vue-clerk - v0.3.8

Published by wobsoriano 5 months ago

compare changes

🏡 Chore

  • Export injection key (e8a8388)
  • Deprecate provideClerkToApp in favor of provideClerkToVueApp (0751426)
  • Bump @clerk/clerk-js to 5.5.3 (7af45cc)
  • Bump @clerk/types to 4.5.1 (eb576f9)
  • Bump @vueuse/core to 10.10.0 (c8ab9cf)
  • Bump all non-major dependencies (3dc38c8)

❤️ Contributors

vue-clerk - v0.3.7

Published by wobsoriano 5 months ago

compare changes

🏡 Chore

  • Fix condition for redirecting to sign-in page after sign-out (02e224e)

❤️ Contributors

vue-clerk - v0.3.6

Published by wobsoriano 5 months ago

compare changes

🏡 Chore

  • Rename internal clerk provider (c55ad64)
  • Stricter composable type returns (4fe35e0)
  • Stricter composable type returns (cd9e0b3)
  • Add internal initialState support (ee84ece)
  • Update provided values (16dd0b4)
  • Bump @clerk/clerk-js to 5.2.4 (6c5c54b)
  • Bump @clerk/types to 4.2.1 (fc2d1d8)

❤️ Contributors

vue-clerk - v0.3.0

Published by wobsoriano 5 months ago

compare changes

📖 Documentation

  • Fix plugin usage warning block (4a8e5fb)
  • New UI design screenshots (8da2cf4)

🏡 Chore

  • Bump @clerk/clerk-js to 5.2.1 (1be0864)
  • Bump @clerk/types to 4.2.0 (b885e3a)
  • ⚠️ Remove setSession function from useSessionList (422b242)
  • ⚠️ Remove setSession function from useSignIn (dd8f112)
  • Export Clerk class (704619a)

✅ Tests

⚠️ Breaking Changes

  • ⚠️ Remove setSession function from useSessionList (422b242)
  • ⚠️ Remove setSession function from useSignIn (dd8f112)

❤️ Contributors

vue-clerk - v0.2.3

Published by wobsoriano 5 months ago

compare changes

📦 Build

  • deps: Bump @clerk/clerk-js to 4.72.1
  • deps: Bump @clerk/types to 3.64.1
vue-clerk - v0.2.2

Published by wobsoriano 6 months ago

compare changes

🏡 Chore

  • Export plugin options type (7845379)

❤️ Contributors

vue-clerk - v0.2.1

Published by wobsoriano 7 months ago

compare changes

📦 Build

  • deps: Bump @clerk/clerk-js to 4.71.2 (049f068)
  • deps: Bump @clerk/types to 3.63.0 (a1dec6f)
  • deps: Bump @vueuse/core to 10.9.0 (5e22dbc)

🏡 Chore

  • Remove unused ts-expect-error (6636af6)
  • Update vitest config extension (fed00e7)

🎨 Styles

❤️ Contributors

vue-clerk - v0.2.0

Published by wobsoriano 8 months ago

compare changes

📖 Documentation

🏡 Chore

  • ⚠️ Update plugin options to match react provider (345b93e)
  • ⚠️ Update plugin options to match react provider (8868e0e)

⚠️ Breaking Changes

  • ⚠️ Update plugin options to match react provider (345b93e)
  • ⚠️ Update plugin options to match react provider (8868e0e)

❤️ Contributors

vue-clerk - v0.1.7

Published by wobsoriano 8 months ago

compare changes

🚀 Enhancements

  • Add RedirectToCreateOrganization component (54457e3)
  • Add RedirectToOrganizationProfile component (54bb999)

📖 Documentation

  • Add more control component docs (d1bd60e)
  • Add links to more control components (834d806)
  • Add sponsor link (9995014)

📦 Build

  • deps: Bump @clerk/clerk-js to 4.69.0 (5fdb922)

🏡 Chore

  • Remove unused import (908ceab)
  • Convert properties to computed refs (7c0e719)

❤️ Contributors

vue-clerk - v0.1.6

Published by wobsoriano 9 months ago

compare changes

🚀 Enhancements

  • Initial organization composable impl (e710d2d)

🩹 Fixes

  • Export missing components (76e6655)

❤️ Contributors

vue-clerk - v0.1.3

Published by wobsoriano 9 months ago

compare changes

🚀 Enhancements

  • Add <OrganizationList /> component (e5a156f)
  • Add <Protect /> component (a0b2077)

📦 Build

  • deps: Bump @clerk/clerk-js to 4.68.6 (4878cde)

❤️ Contributors

vue-clerk - v0.1.0

Published by wobsoriano 12 months ago

compare changes

🚀 Enhancements

  • ⚠️ Add headless support for lesser build size (3b6d82c)

📖 Documentation

📦 Build

  • deps: Set vue peer dep to ^3.2.0 (a02d4b0)
  • deps: Bump @clerk/clerk-js to 4.64.2 (ced81d9)
  • deps: Bump @clerk/types to 3.57.1 (98c814d)

🎨 Styles

⚠️ Breaking Changes

  • ⚠️ Add headless support for lesser build size (3b6d82c)

❤️ Contributors

vue-clerk - v0.0.12

Published by wobsoriano about 1 year ago

compare changes

📖 Documentation

📦 Build

  • deps: Bump @clerk/clerk-js to 4.62.1 (1c282b9)
  • deps: Bump @clerk/types to 3.56.1 (a25efdd)
  • deps: Bump @vueuse/core to 10.5.0 (b0f466c)

🏡 Chore

🤖 CI

❤️ Contributors

vue-clerk - v0.0.11

Published by wobsoriano about 1 year ago

compare changes

🚀 Enhancements

  • deps: Bump @clerk/clerk-js to 4.56.1 (34f8a60)
  • deps: Bump @clerk/types to 3.50.0 (401345d)
  • deps: Bump @vueuse/core to 10.4.1 (6304803)

💅 Refactors

  • Reuse provider composable in control components (723eccf)

📖 Documentation

  • Add control component docs (8fe2771)

❤️ Contributors

vue-clerk - v0.0.10

Published by wobsoriano about 1 year ago

compare changes

🚀 Enhancements

  • Add Organization components (33a6388)

💅 Refactors

  • Pass mount and unmount functions to mount composable instead (e088ef6)

❤️ Contributors