Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(repo): Version packages #4633

Merged
merged 1 commit into from
Nov 22, 2024
Merged

ci(repo): Version packages #4633

merged 1 commit into from
Nov 22, 2024

Conversation

clerk-cookie
Copy link
Collaborator

@clerk-cookie clerk-cookie commented Nov 22, 2024

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/chrome-extension@2.0.0

Major Changes

  • Consume packages with remotely hosted code removed as required by Manifest v3. (#4133) by @tmilewski

  • Permission Updates (BREAKING) (#4133) by @tmilewski

    The storage entry in host_permissions is now required for all extensions.
    While it's likely that this is already enabled in your extension, this change is to ensure that Clerk can store the necessary data for the extension to function properly.

    How to Update: Add the following to your manifest.json file:

    {
      "host_permissions": ["storage"]
    }

    Introducing syncHost (BREAKING)

    In an effort to make the handling of sync hosts more deterministic, we have introduced a new parameter syncHost to <ClerkProvider>

    How to Update: Replace syncSessionWithTab with syncHost in the <ClerkProvider> component and set syncHost to the host that you intend to synchronize with.

    Service Workers createClerkClient

    We've introduced a new method createClerkClient to handle background tasks in your extension!

    import { createClerkClient } from '@clerk/chrome-extension/background';
    
    // Create a new Clerk instance and get a fresh token for the user
    async function getToken() {
      const clerk = await createClerkClient({
        publishableKey: process.env.PLASMO_PUBLIC_CLERK_PUBLISHABLE_KEY,
      });
      return await clerk.session?.getToken();
    }
    
    // Create a listener to listen for messages from content scripts
    // NOTE: A runtime listener cannot be async.
    //       It must return true, in order to keep the connection open and send a response later.
    chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
      // You can use the token in the listener to perform actions on behalf of the user
      // OR send the token back to the content script
      getToken().then(token => sendResponse({ token }));
      return true;
    });

Patch Changes

@clerk/backend@1.18.0

Minor Changes

  • Update AuthObject property from __experimental_factorVerificationAge to factorVerificationAge. (#4536) by @panteliselef

    Also replaces the following APIs:

    • __experimental_reverificationError -> __reverificationError
    • __experimental_reverificationErrorResponse -> reverificationErrorResponse

Patch Changes

@clerk/clerk-js@5.35.0

Minor Changes

  • Drop experimental tag related to reverification. (#4536) by @panteliselef

    Properties of Clerk class:

    • __experimental_openUserVerification -> __internal_openReverification
    • __experimental_closeUserVerification -> __internal_closeReverification
    • __experimental_UserVerificationProps -> __internal_ReverificationProps
    • __experimental_UserVerificationModalProps -> __internal_ReverificationModalProps

    Properties of Session:

    • __experimental_factorVerificationAge -> factorVerificationAge
    • __experimental_startVerification -> startVerification
    • __experimental_prepareFirstFactorVerification -> prepareFirstFactorVerification
    • __experimental_attemptFirstFactorVerification -> attemptFirstFactorVerification
    • __experimental_prepareSecondFactorVerification -> prepareSecondFactorVerification
    • __experimental_attemptSecondFactorVerification -> attemptSecondFactorVerification
  • If a nonce is provided, it is now made available to Clerk's internal components. This allows the nonce to be passed in to style-src in CSPs and work correctly. (#4509) by @jescalan

Patch Changes

@clerk/localizations@3.7.0

Minor Changes

  • Moves all properties under __experimental_userVerification to reverification. This affects all languages. (#4536) by @panteliselef

Patch Changes

@clerk/nextjs@6.5.0

Minor Changes

  • Introduce the useReverification() hook that handles the session reverification flow: (#4536) by @panteliselef

    • Replaces __experimental_useReverification with useReverification
      Also replaces the following APIs:
    • ____experimental_reverificationError -> __reverificationError
    • __experimental_reverificationErrorResponse -> reverificationErrorResponse

Patch Changes

@clerk/clerk-react@5.17.0

Minor Changes

  • Introduce the useReverification() hook that handles the session reverification flow: (#4536) by @panteliselef

    • Replaces __experimental_useReverification with useReverification

Patch Changes

@clerk/shared@2.17.0

Minor Changes

  • Introduce the useReverification() hook that handles the session reverification flow: (#4536) by @panteliselef

    • __experimental_useReverification -> useReverification
      Also replaces the following APIs:
    • __experimental_reverificationError -> reverificationError
    • __experimental_reverificationErrorResponse -> reverificationErrorResponse
    • __experimental_isReverificationHint -> isReverificationHint

Patch Changes

@clerk/types@4.35.0

Minor Changes

  • Drop experimental tag related to reverification. (#4536) by @panteliselef

    Properties of Clerk class:

    • __experimental_openUserVerification -> __internal_openReverification
    • __experimental_closeUserVerification -> __internal_closeReverification
    • __experimental_UserVerificationProps -> __internal_ReverificationProps
    • __experimental_UserVerificationModalProps -> __internal_ReverificationModalProps

    Properties of Session:

    • __experimental_factorVerificationAge -> factorVerificationAge
    • __experimental_startVerification -> startVerification
    • __experimental_prepareFirstFactorVerification -> prepareFirstFactorVerification
    • __experimental_attemptFirstFactorVerification -> attemptFirstFactorVerification
    • __experimental_prepareSecondFactorVerification -> prepareSecondFactorVerification
    • __experimental_attemptSecondFactorVerification -> attemptSecondFactorVerification

    Renaming

    • __experimental_SessionVerificationResource -> SessionVerificationResource
    • __experimental_SessionVerificationStatus -> SessionVerificationStatus
    • __experimental_SessionVerificationLevel -> SessionVerificationLevel
    • __experimental_ReverificationConfig -> ReverificationConfig

    CheckAuthorizationParamsWithCustomPermissions and CheckAuthorizationParams now include reverification?: ReverificationConfig;

    Properties of IntialState:

    • __experimental_factorVerificationAge -> factorVerificationAge

    Localization types:
    All properties of __experimental_userVerification are moved to reverification

Patch Changes

  • Rename userVerification to reverification to align with the feature name. (#4634) by @BRKalow

@clerk/astro@1.4.16

Patch Changes

@clerk/elements@0.19.7

Patch Changes

@clerk/clerk-expo@2.3.10

Patch Changes

@clerk/expo-passkeys@0.0.9

Patch Changes

@clerk/express@1.3.18

Patch Changes

@clerk/fastify@2.0.20

Patch Changes

@clerk/nuxt@0.0.4

Patch Changes

@clerk/remix@4.2.56

Patch Changes

@clerk/clerk-sdk-node@5.0.69

Patch Changes

@clerk/tanstack-start@0.5.3

Patch Changes

@clerk/testing@1.3.30

Patch Changes

@clerk/themes@2.1.48

Patch Changes

@clerk/ui@0.1.24

Patch Changes

@clerk/vue@0.0.8

Patch Changes

Copy link

vercel bot commented Nov 22, 2024

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 Nov 22, 2024 8:24pm

@tmilewski tmilewski merged commit efde0ef into main Nov 22, 2024
29 checks passed
@tmilewski tmilewski deleted the changeset-release/main branch November 22, 2024 20:54
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