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

fix(deps): update dependency @clerk/clerk-js to v5 #96

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 22, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@clerk/clerk-js (source) ^4.54.2 -> ^5.0.0 age adoption passing confidence

Release Notes

clerk/javascript (@​clerk/clerk-js)

v5.36.0

Compare Source

Minor Changes
    • Update the supported API version to 2024-10-01 that includes the following changes (#​4596) by @​Nikpolik

      • Notification for new sign ins to users' accounts feature becomes available.
      • The response for Sign Ins with an email address that matches a SAML connection is updated. Instead of responding with a status of needs_identifier the API will now return a status of needs_first_factor and the email address that matched will be returned in the identifier field. the only strategy that will be included in supported first factors is enterprise_sso

      Read more in the API Version docs

    • Update components to use the new enterprise_sso strategy for sign ins / sign ups that match an enterprise connection and handle the new API response.

      This strategy supersedes SAML to provide a single strategy as the entry point for Enterprise SSO regardless of the underlying protocol used to authenticate the user.

      For now there are two new types of connections that are supported in addition to SAML, Custom OAuth and EASIE (multi-tenant OAuth).

Patch Changes

v5.35.1

Compare Source

Patch Changes
  • Fix a bug where the the Clerk event listener was not emitting updates when a Session's user data changes. (#​4661) by @​BRKalow

  • Bug fix: Being able to revoke a session from UserProfile. (#​4653) by @​panteliselef

v5.35.0

Compare Source

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

v5.34.6

Compare Source

Patch Changes

v5.34.5

Compare Source

Patch Changes

v5.34.4

Compare Source

Patch Changes

v5.34.3

Compare Source

Patch Changes

v5.34.2

Compare Source

Patch Changes

v5.34.1

Compare Source

Patch Changes

v5.34.0

Compare Source

Minor Changes
  • Surface enterprise accounts in UserProfile, allowing to display more protocols besides SAML (#​4518) by @​LauraBeatris

  • Introduce the experimental.rethrowOfflineNetworkErrors option to the ClerkProvider component. (#​4525) by @​anagstef

    When set to true, Clerk will rethrow network errors that occur while the user is offline.

Patch Changes

v5.33.1

Compare Source

Patch Changes

v5.33.0

Compare Source

Minor Changes
Patch Changes

v5.32.0

Compare Source

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

v5.31.2

Compare Source

Patch Changes

v5.31.1

Compare Source

Patch Changes

v5.31.0

Compare Source

Minor Changes
  • New Feature: Introduce the <Waitlist /> component and the waitlist sign up mode. (#​4376) by @​nikospapcom

    • Allow users to request access with an email address via the new <Waitlist /> component.
    • Show Join waitlist prompt from <SignIn /> component when mode is waitlist.
    • Appropriate the text in the Sign Up component when mode is waitlist.
    • Added joinWaitlist() method in Clerk singleton.
    • Added redirectToWaitlist() method in Clerk singleton to allow user to redirect to waitlist page.
Patch Changes

v5.30.3

Compare Source

Patch Changes

v5.30.2

Compare Source

v5.30.1

Compare Source

v5.30.0

Compare Source

Minor Changes
    • Introduce redirectUrl property on setActive as a replacement for beforeEmit. (#​4312) by @​issuedat

    • Deprecates beforeEmit property on setActive.

Patch Changes

v5.29.1

Compare Source

Patch Changes

v5.29.0

Compare Source

Minor Changes
  • Adding experimental support for legal consent for <SignUp/> component (#​4337) by @​octoper
Patch Changes

v5.28.0

Compare Source

Minor Changes
Patch Changes

v5.27.0

Compare Source

Minor Changes
  • Drop maxAgeMinutes from __experimental_startVerification. (#​4338) by @​panteliselef

    Drop types __experimental_SessionVerificationConfig and __experimental_SessionVerificationMaxAgeMinutes.

  • The "Restricted access" screen has been improved for visual consistency and the ability to contact support. The displayed texts have been made more clear and the sign-in button has been moved to the bottom. (#​4335) by @​nikospapcom

  • Add experimental standalone mode for <UserButton /> and <OrganizationSwitcher />. (#​4042) by @​panteliselef

    When __experimental_asStandalone: true the component will not render its trigger, and instead it will render only the contents of the popover in place.

    APIs that changed:

    • (For internal usage) Added __experimental_prefetchOrganizationSwitcher as a way to mount an internal component that will render the useOrganizationList() hook and prefetch the necessary data for the popover of <OrganizationSwitcher />. This enhances the UX since no loading state will be visible and keeps CLS to the minimum.
    • New property for mountOrganizationSwitcher(node, { __experimental_asStandalone: true })
    • New property for mountUserButton(node, { __experimental_asStandalone: true })
  • Use EIP-4361 message spec for Web3 wallets sign in signature requests (#​4334) by @​chanioxaris

Patch Changes

v5.26.5

Compare Source

Patch Changes

v5.26.4

Compare Source

Patch Changes
  • Correctly handle malformed or protocol-relative URLs before navigating to cross-origin URLs (#​4317) by @​nikosdouvlis

v5.26.3

Compare Source

Patch Changes

v5.26.2

Compare Source

Patch Changes

v5.26.1

Compare Source

Patch Changes

v5.26.0

Compare Source

Minor Changes
  • Rename __experimental_assurance to __experimental_reverification. (#​4268) by @​panteliselef

    • Supported levels are now are firstFactor, secondFactor, multiFactor.
    • Support maxAge is now replaced by maxAgeMinutes and afterMinutes depending on usage.
    • Introduced ____experimental_SessionVerificationTypes that abstracts away the level and maxAge
      • Allowed values 'veryStrict' | 'strict' | 'moderate' | 'lax'
Patch Changes

v5.24.1

Compare Source

Patch Changes

v5.24.0

Compare Source

Minor Changes
  • Handle sign_up_mode_restricted error encountered in an oauth flow (#​4232) by @​nikospapcom

  • Render "Restricted access" screen in <SignUp /> component when signup.mode in userSettings is restricted (#​4220) by @​nikospapcom

Patch Changes

v5.23.0

Compare Source

Minor Changes
Patch Changes

v5.22.4

Compare Source

Patch Changes

v5.22.3

Compare Source

Patch Changes
  • Restore behavior of MetaMask compatible Web3 wallets. Before, even if a user didn't use the MetaMask browser extension but a compatible one, such as Rabby Wallet, it was possible to use it as they share the same API to authenticate themselves. This behavior stopped working when we added support for EIP6963 regarding handling multiple injected providers. This commit restores the previous behavior by using the existing injected provider if there is a single one (#​4185) by @​chanioxaris

  • Updated dependencies [5dde18f6b]:

v5.22.2

Compare Source

Patch Changes

v5.22.1

Compare Source

Patch Changes

v5.22.0

Compare Source

Minor Changes
  • Experimental support for has() with assurance. (#​4118) by @​panteliselef

    Example usage:

    has({
      __experimental_assurance: {
        level: 'L2.secondFactor',
        maxAge: 'A1.10min',
      },
    });

    Created a shared utility called createCheckAuthorization exported from @clerk/shared

Patch Changes

v5.21.2

Compare Source

Patch Changes

v5.21.1

Compare Source

Patch Changes

v5.21.0

Compare Source

Minor Changes
  • Experimental support: Expect a new sessionClaim called fva that tracks the age of verified factor groups. (#​4061) by @​panteliselef
Server side

This can be applied to any helper that returns the auth object

Nextjs example

auth().__experimental_factorVerificationAge;
Client side

React example

const { session } = useSession();
session?.__experimental_factorVerificationAge;
Patch Changes

v5.20.0

Compare Source

Minor Changes
  • Add support for the Coinbase Wallet web3 provider and authentication strategy. The Coinbase Wallet provider handles both Coinbase Wallet extension and Smart Wallet (#​4082) by @​chanioxaris

  • Experimental: Persist the Clerk client after signing out a user. (#​3941) by @​panteliselef

    This all


Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - "after 9am and before 5pm Monday" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch from ebe6af9 to 0ce7bd4 Compare April 22, 2024 04:36
@renovate renovate bot changed the title fix(deps): update dependency @clerk/clerk-js to v5 fix(deps): update dependency @clerk/clerk-js to v5 - autoclosed May 1, 2024
@renovate renovate bot closed this May 1, 2024
@renovate renovate bot deleted the renovate/clerk-clerk-js-5.x branch May 1, 2024 09:05
@renovate renovate bot changed the title fix(deps): update dependency @clerk/clerk-js to v5 - autoclosed fix(deps): update dependency @clerk/clerk-js to v5 May 1, 2024
@renovate renovate bot reopened this May 1, 2024
@renovate renovate bot restored the renovate/clerk-clerk-js-5.x branch May 1, 2024 13:36
@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch from 0ce7bd4 to d9c726f Compare May 6, 2024 04:17
@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch from d9c726f to 6cb8ff6 Compare May 13, 2024 04:36
@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch from 6cb8ff6 to 8fd7499 Compare May 27, 2024 03:30
@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch 2 times, most recently from 8fb6ddf to 73727ca Compare June 10, 2024 04:08
@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch from 73727ca to 1c9705e Compare July 29, 2024 05:14
@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch from 1c9705e to 7bdf8c4 Compare August 19, 2024 03:15
@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch from 7bdf8c4 to a5bbd7d Compare September 2, 2024 04:12
@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch from a5bbd7d to 042428e Compare September 23, 2024 03:21
@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch 2 times, most recently from 492c095 to b2a9bf1 Compare October 7, 2024 03:32
@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch from b2a9bf1 to c762031 Compare October 14, 2024 03:31
@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch from c762031 to 218feb8 Compare October 21, 2024 03:51
@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch from 218feb8 to 6166fbb Compare November 11, 2024 04:23
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/clerk-clerk-js-5.x branch from 6166fbb to 7d76545 Compare December 2, 2024 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants