Skip to content

ci(repo): Version packages - #4754

Merged
panteliselef merged 1 commit into
mainfrom
changeset-release/main
Dec 12, 2024
Merged

panteliselef merged 1 commit into
mainfrom
changeset-release/main

Conversation

@clerk-cookie

@clerk-cookie clerk-cookie commented Dec 11, 2024 •

Copy link
Copy Markdown
Collaborator

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@clerk/clerk-js@5.42.0

Minor Changes

Patch Changes

@clerk/clerk-expo@2.6.0

Minor Changes

  • Introduce improved offline support for Expo. (#4604) by @anagstef

    We're introducing an improved offline support for the @clerk/clerk-expo package to enhance reliability and user experience. This new improvement allows apps to bootstrap without an internet connection by using cached Clerk resources, ensuring quick initialization.

    It solves issues as the following:

    • Faster resolution of the isLoaded property and the ClerkLoaded component, with only a single network fetch attempt, and if it fails, it falls back to the cached resources.
    • The getToken function of useAuth hook now returns a cached token if network errors occur.
    • Developers can now catch and handle network errors gracefully in their custom flows, as the errors are no longer muted.

    How to use it:

    1. Install the expo-secure-store package in your project by running:

      npm i expo-secure-store
    2. Use import { secureStore } from "@clerk/clerk-expo/secure-store" to import our implementation of the SecureStore API.

    3. Pass the secureStore in the __experimental_resourceCache property of the ClerkProvider to enable offline support.

    import { ClerkProvider, ClerkLoaded } from '@clerk/clerk-expo';
    import { Slot } from 'expo-router';
    import { tokenCache } from '../token-cache';
    import { secureStore } from '@clerk/clerk-expo/secure-store';
    
    export default function RootLayout() {
      const publishableKey = process.env.EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY!;
    
      if (!publishableKey) {
        throw new Error('Add EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY to your .env file');
      }
    
      return (
        <ClerkProvider
          publishableKey={publishableKey}
          tokenCache={tokenCache}
          __experimental_resourceCache={secureStore}
        >
          <ClerkLoaded>
            <Slot />
          </ClerkLoaded>
        </ClerkProvider>
      );
    }

Patch Changes

@clerk/astro@2.1.1

Patch Changes

@clerk/backend@1.21.1

Patch Changes

@clerk/chrome-extension@2.1.1

Patch Changes

@clerk/elements@0.22.1

Patch Changes

@clerk/expo-passkeys@0.1.1

Patch Changes

@clerk/express@1.3.28

Patch Changes

@clerk/fastify@2.1.1

Patch Changes

@clerk/localizations@3.9.1

Patch Changes

@clerk/nextjs@6.9.1

Patch Changes

@clerk/nuxt@0.1.1

Patch Changes

@clerk/clerk-react@5.20.1

Patch Changes

@clerk/react-router@0.1.1

Patch Changes

@clerk/remix@4.4.1

Patch Changes

@clerk/clerk-sdk-node@5.1.1

Patch Changes

@clerk/shared@2.20.1

Patch Changes

@clerk/tanstack-start@0.8.1

Patch Changes

@clerk/testing@1.4.1

Patch Changes

@clerk/themes@2.2.1

Patch Changes

@clerk/types@4.39.3

Patch Changes

  • Introduce __internal_copyInstanceKeysUrl as property in ClerkOptions. It is intented for internall usage from other Clerk SDKs and will be used in Keyless mode. (#4755) by @panteliselef

  • Add claimedAt proprty inside AuthConfig for the environment. It describes when a instance that was created from the Keyless mode was finally claimed. (#4752) by @panteliselef

  • Introduce a toJSON() function on resources. (#4604) by @anagstef

    This change also introduces two new internal methods on the Clerk resource, to be used by the expo package.

    • __internal_getCachedResources(): (Optional) This function is used to load cached Client and Environment resources if Clerk fails to load them from the Frontend API.
    • __internal_reloadInitialResources(): This funtion is used to reload the initial resources (Environment/Client) from the Frontend API.

@clerk/ui@0.3.1

Patch Changes

@clerk/vue@0.1.1

Patch Changes

@vercel

vercel Bot commented Dec 11, 2024 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 7:09pm

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 6223c80 to 2046906 Compare December 12, 2024 19:07
@panteliselef panteliselef reopened this Dec 12, 2024
@panteliselef
panteliselef merged commit 5c5f1db into main Dec 12, 2024
@panteliselef
panteliselef deleted the changeset-release/main branch December 12, 2024 19:26
jakobevangelista pushed a commit that referenced this pull request Jan 9, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
wobsoriano pushed a commit that referenced this pull request Feb 8, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
Preview — 20469060 Deployed Dec 12, 2024 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants