Skip to content

Releases: clerk/javascript

@clerk/[email protected]

@clerk/[email protected]

@clerk/[email protected]

08 Nov 20:29
f2cb38e
Compare
Choose a tag to compare

Patch Changes

@clerk/[email protected]

08 Nov 20:30
f2cb38e
Compare
Choose a tag to compare

Minor Changes

  • Introduce support for <SignIn.Captcha /> and <SignIn.Step name='sso-callback'>. This allows rendering of a CAPTCHA widget when a sign in attempt is transferred to a sign up attempt. (#4523) by @BRKalow

  • The Legal consent feature is now stable. (#4487) by @octoper

    Removed the __experimental_ preffix.

Patch Changes

@clerk/[email protected]

@clerk/[email protected]

08 Nov 20:30
f2cb38e
Compare
Choose a tag to compare

@clerk/[email protected]

08 Nov 20:30
f2cb38e
Compare
Choose a tag to compare

Minor Changes

  • Introduce experimental support for passkeys in Expo (iOS, Android, and Web). (#4352) by @AlexNti

    To use passkeys in Expo projects, pass the __experimental_passkeys object, which can be imported from @clerk/clerk-expo/passkeys, to the ClerkProvider component:

    import { ClerkProvider } from '@clerk/clerk-expo';
    import { passkeys } from '@clerk/clerk-expo/passkeys';
    
    <ClerkProvider __experimental_passkeys={passkeys}>{/* Your app here */}</ClerkProvider>;

    The API for using passkeys in Expo projects is the same as the one used in web apps:

    // passkey creation
    const { user } = useUser();
    
    const handleCreatePasskey = async () => {
      if (!user) return;
      try {
        return await user.createPasskey();
      } catch (e: any) {
        // handle error
      }
    };
    
    // passkey authentication
    const { signIn, setActive } = useSignIn();
    
    const handlePasskeySignIn = async () => {
      try {
        const signInResponse = await signIn.authenticateWithPasskey();
        await setActive({ session: signInResponse.createdSessionId });
      } catch (err: any) {
        //handle error
      }
    };
  • The Legal consent feature is now stable. (#4487) by @octoper

    Removed the __experimental_ preffix.

  • Now sending the Frontend API version through query string params (#4457) by @jacekradko

Patch Changes

@clerk/[email protected]

08 Nov 20:30
f2cb38e
Compare
Choose a tag to compare

Minor Changes

  • Introduce experimental support for passkeys in Expo (iOS, Android, and Web). (#4352) by @AlexNti

    To use passkeys in Expo projects, pass the __experimental_passkeys object, which can be imported from @clerk/clerk-expo/passkeys, to the ClerkProvider component:

    import { ClerkProvider } from '@clerk/clerk-expo';
    import { passkeys } from '@clerk/clerk-expo/passkeys';
    
    <ClerkProvider __experimental_passkeys={passkeys}>{/* Your app here */}</ClerkProvider>;

    The API for using passkeys in Expo projects is the same as the one used in web apps:

    // passkey creation
    const { user } = useUser();
    
    const handleCreatePasskey = async () => {
      if (!user) return;
      try {
        return await user.createPasskey();
      } catch (e: any) {
        // handle error
      }
    };
    
    // passkey authentication
    const { signIn, setActive } = useSignIn();
    
    const handlePasskeySignIn = async () => {
      try {
        const signInResponse = await signIn.authenticateWithPasskey();
        await setActive({ session: signInResponse.createdSessionId });
      } catch (err: any) {
        //handle error
      }
    };

Patch Changes

@clerk/[email protected]

@clerk/[email protected]

08 Nov 20:29
f2cb38e
Compare
Choose a tag to compare

Minor Changes

  • Send API version through request headers. (#4458) by @jacekradko

  • Introduce experimental verification helpers exported from @clerk/backend/internal (#4480) by @panteliselef

    • __experimental_reverificationMismatch
    • __experimental_reverificationMismatchResponse

Patch Changes