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.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 allows for matching a user's device with a client. To try out this new feature, enable it in your <ClerkProvider /> or clerk.load() call.

    // React
    <ClerkProvider experimental={{ persistClient: true }} />;
    
    // Vanilla JS
    await clerk.load({ experimental: { persistClient: true } });
Patch Changes

v5.19.0

Compare Source

Minor Changes
  • Add new UserVerification component (experimental feature). This UI component allows for a user to "re-enter" their credentials (first factor and/or second factor) which results in them being re-verified. (#​4016) by @​panteliselef

    New methods have been added:

    • __experimental_openUserVerification()
    • __experimental_closeUserVerification()
    • __experimental_mountUserVerification(targetNode: HTMLDivElement)
    • __experimental_unmountUserVerification(targetNode: HTMLDivElement)
  • Move SessionVerification methods from UserResource to SessionResource: (#​4073) by @​panteliselef

    • user.__experimental_verifySession -> session.__experimental_startVerification
    • user.__experimental_verifySessionPrepareFirstFactor -> session.__experimental_prepareFirstFactorVerification
    • user.__experimental_verifySessionAttemptFirstFactor -> session.__experimental_attemptFirstFactorVerification
    • user.__experimental_verifySessionPrepareSecondFactor -> session.__experimental_prepareSecondFactorVerification
    • user.__experimental_verifySessionAttemptSecondFactor -> session.__experimental_attemptSecondFactorVerification
Patch Changes

v5.18.0

Compare Source

Minor Changes
  • Add support for Coinbase Wallet strategy during sign in/up flows. Users can now authenticate using their Coinbase Wallet browser extension in the same way as MetaMask (#​4052) by @​chanioxaris
Patch Changes

v5.17.0

Compare Source

Minor Changes
Patch Changes

v5.16.1

Compare Source

Patch Changes

v5.16.0

Compare Source

Minor Changes
  • Expose SessionVerification as an experimental resource. (#​4011) by @​panteliselef

    Update UserResource with 5 new experimental methods:

    • experimental_verifySession for creating a new SessionVerification record and initiating a new flow.
    • experimental_verifySessionPrepareFirstFactor for preparing a supported first factor like phone_code
    • experimental_verifySessionAttemptFirstFactor for attempting a supported first factor like password
    • experimental_verifySessionPrepareSecondFactor for preparing a supported second factor like phone_code
    • experimental_verifySessionAttemptSecondFactor for attempting a supported second factor like totp
  • Fixes a bug where multiple tabs with different active organizations would not always respect the selected organization. Going forward, when a tab is focused the active organization will immediately be updated to the tab's last active organization. (#​3786) by @​BRKalow

    Additionally, Clerk.session.getToken() now accepts an organizationId option. The provided organization ID will be used to set organization-related claims in the generated session token.

Patch Changes

v5.15.1

Compare Source

Patch Changes

v5.15.0

Compare Source

Minor Changes
Patch Changes

v5.14.1

Compare Source

Patch Changes

v5.14.0

Compare Source

Minor Changes
  • Add a nonce to clerk-js' script loading options. Also adds a nonce prop to ClerkProvider. This can be used to thread a nonce value through to the clerk-js script load to support apps using a strict-dynamic content security policy. For next.js applications, the nonce will be automatically pulled from the CSP header and threaded through without needing any props so long as the provider is server-rendered. (#​3858) by @​jescalan

  • Introduce transferable prop for <SignIn /> to disable the automatic transfer of a sign in attempt to a sign up attempt when attempting to sign in with a social provider when the account does not exist. Also adds a transferable option to Clerk.handleRedirectCallback() with the same functionality. (#​3845) by @​BRKalow

Patch Changes

v5.13.2

Compare Source

Patch Changes

v5.13.1

Compare Source

Patch Changes

v5.13.0

Compare Source

Minor Changes
  • Add createOrganizationsLimit param in @clerk/backend method User.updateUser() (#​3823) by @​NicolasLopes7

    Example:

        import { createClerkClient }  from '@&#8203;clerk/backend';
    
        const clerkClient = createClerkClient({...});
        // Update user with createOrganizationsLimit equals 10
        await clerkClient.users.updateUser('user_...', { createOrganizationsLimit: 10 })
    
        // Remove createOrganizationsLimit
        await clerkClient.users.updateUser('user_...', { createOrganizationsLimit: 0 })
Patch Changes

v5.12.0

[Compare Source](https://redirect.github.


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (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
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 218feb8 to 6166fbb Compare November 11, 2024 04:23
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