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

Update dependency @clerk/nextjs to v6 #1374

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 30, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@clerk/nextjs (source) ^4.31.6 -> ^6.0.0 age adoption passing confidence

Release Notes

clerk/javascript (@​clerk/nextjs)

v6.9.6

Compare Source

Patch Changes

v6.9.5

Compare Source

Patch Changes

v6.9.4

Compare Source

Patch Changes

v6.9.3

Compare Source

Patch Changes

v6.9.2

Compare Source

Patch Changes

v6.9.1

Compare Source

Patch Changes

v6.9.0

Compare Source

Minor Changes
  • Switching to use ^ for semver ranges of internal @​clerk/ production dependencies. (#​4664) by @​jacekradko
Patch Changes

v6.8.3

Compare Source

Patch Changes

v6.8.2

Compare Source

Patch Changes

v6.8.1

Compare Source

Patch Changes

v6.8.0

Compare Source

Minor Changes
  • A new experimental feature is available: "Keyless mode" (#​4602) by @​panteliselef

    Normally, in order to start a Clerk + Next.js application you need to provide a publishable key and secret key. With "Keyless mode" activated you no longer need to provide these two keys to start your Clerk application. These keys will be automatically generated and the application can be claimed with your account either through a UI prompt or with a URL in your terminal.

    Requirements:

    • You need to use Next.js 14.2.0 or later
    • You need to set the environment variable NEXT_PUBLIC_CLERK_ENABLE_KEYLESS=true
Patch Changes

v6.7.1

Compare Source

Patch Changes

v6.7.0

Compare Source

Minor Changes
Patch Changes

v6.6.0

Compare Source

Minor Changes
Patch Changes

v6.5.2

Compare Source

Patch Changes

v6.5.1

Compare Source

Patch Changes

v6.5.0

Compare Source

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

v6.4.2

Compare Source

Patch Changes

v6.4.1

Compare Source

Patch Changes

v6.4.0

Compare Source

Minor Changes
Patch Changes

v6.3.4

Compare Source

Patch Changes

v6.3.3

Compare Source

Patch Changes

v6.3.2

Compare Source

Patch Changes

v6.3.1

Compare Source

Patch Changes

v6.3.0

Compare Source

Minor Changes
  • Introduce experimental verification helpers exported from @clerk/nextjs/server (#​4480) by @​panteliselef

    • __experimental_reverificationMismatch
    • __experimental_reverificationMismatchResponse
Patch Changes

v6.2.1

Compare Source

Patch Changes

v6.2.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

v6.1.3

Compare Source

Patch Changes

v6.1.2

Compare Source

v6.1.1

Compare Source

v6.1.0

Compare Source

Minor Changes
  • Bug fix: For next>=14 applications resolve __unstable__onBeforeSetActive once invalidateCacheAction resolves. (#​4362) by @​panteliselef

  • Introduce a new experimental hook called useReverification that makes it easy to handle reverification errors. (#​4362) by @​panteliselef

    It returns a high order function (HOF) and allows developers to wrap any function that triggers a fetch request which might fail due to a user's session verification status.
    When such error is returned, the recommended UX is to offer a way to the user to recover by re-verifying their credentials.
    This helper will automatically handle this flow in the developer's behalf, by displaying a modal the end-user can interact with.
    Upon completion, the original request that previously failed, will be retried (only once).

    Example with clerk-js methods.

    import { __experimental_useReverification as useReverification } from '@&#8203;clerk/nextjs';
    
    function DeleteAccount() {
      const { user } = useUser();
      const [deleteUserAccount] = useReverification(() => {
        if (!user) return;
        return user.delete();
      });
    
      return (
        <>
          <button
            onClick={async () => {
              await deleteUserAccount();
            }}
          >
            Delete account
          </button>
        </>
      );
    }
  • Replace next/headers with ezheaders (#​4392) by @​panteliselef

Patch Changes

v6.0.2

Compare Source

Patch Changes

v6.0.1

Compare Source

Patch Changes

v6.0.0

Compare Source

Major Changes
  • Stop <ClerkProvider> from opting applications into dynamic rendering. A new prop, <ClerkProvider dynamic> can be used to opt-in to dynamic rendering and make auth data available during server-side rendering. The RSC auth() helper should be preferred for accessing auth data during dynamic rendering. (#​4366) by @​jacekradko

  • @​clerk/nextjs: Converting auth() and clerkClient() interfaces to be async (#​4366) by @​jacekradko

    @​clerk/upgrade: Adding required codemod for @​clerk/nextjs breaking changes

v5.7.5

Compare Source

Patch Changes

v5.7.4

Compare Source

Patch Changes

v5.7.3

Compare Source

Patch Changes

v5.7.2

Compare Source

Patch Changes

v5.7.1

Compare Source

Patch Changes

v5.6.4

Compare Source

Patch Changes

v5.6.3

Compare Source

Patch Changes

v5.6.2

Compare Source

Patch Changes

v5.6.1

Compare Source

Patch Changes

v5.6.0

Compare Source

Minor Changes
Patch Changes

v5.5.5

Compare Source

Patch Changes

v5.5.4

Compare Source

Patch Changes

v5.5.3

Compare Source

Patch Changes

v5.5.2

Compare Source

Patch Changes

v5.5.1

Compare Source

Patch Changes

v5.5.0

Compare Source

Minor Changes
  • Remove @clerk/elements reliance on next and @clerk/clerk-react directly. The host router is now provided by @clerk/nextjs. (#​4064) by @​BRKalow
Patch Changes
  • Add support for basePath config property (#​4063) by @​dstaley

  • Updated dependencies [[`c63a5


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.

Copy link

vercel bot commented Oct 30, 2024

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

Name Status Preview Comments Updated (UTC)
earthdoom-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 5:41am
earthdoom-game ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 5:41am

@renovate renovate bot force-pushed the renovate/clerk-nextjs-6.x branch from 2f48e5c to 297c39b Compare November 2, 2024 05:11
@renovate renovate bot force-pushed the renovate/clerk-nextjs-6.x branch from 297c39b to 05306de Compare November 4, 2024 01:07
@renovate renovate bot force-pushed the renovate/clerk-nextjs-6.x branch from 05306de to 3ed7684 Compare November 17, 2024 05:17
@renovate renovate bot force-pushed the renovate/clerk-nextjs-6.x branch from 3ed7684 to 8417dc5 Compare December 2, 2024 22:19
@renovate renovate bot force-pushed the renovate/clerk-nextjs-6.x branch from 8417dc5 to f3c9b21 Compare December 3, 2024 05:18
@renovate renovate bot force-pushed the renovate/clerk-nextjs-6.x branch from f3c9b21 to b4057a9 Compare December 3, 2024 05:37
@renovate renovate bot force-pushed the renovate/clerk-nextjs-6.x branch from b4057a9 to 1d0ce26 Compare December 3, 2024 05:58
@renovate renovate bot force-pushed the renovate/clerk-nextjs-6.x branch from 1d0ce26 to 6c2c485 Compare December 3, 2024 06:08
Copy link

vercel bot commented Dec 3, 2024

Deployment failed with the following error:

Resource is limited - try again in 4 hours (more than 100, code: "api-deployments-free-per-day").

Copy link

vercel bot commented Dec 21, 2024

Deployment failed with the following error:

Resource is limited - try again in 2 hours (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/clerk-nextjs-6.x branch from e70b055 to 7cb5fda Compare December 21, 2024 06:34
Copy link

vercel bot commented Dec 21, 2024

Deployment failed with the following error:

Resource is limited - try again in 1 hour (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/clerk-nextjs-6.x branch from 7cb5fda to ce4d263 Compare December 21, 2024 17:17
Copy link

vercel bot commented Dec 21, 2024

Deployment failed with the following error:

Resource is limited - try again in 3 hours (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/clerk-nextjs-6.x branch 2 times, most recently from e44bcb6 to 3b45f9c Compare December 21, 2024 18:20
@renovate renovate bot force-pushed the renovate/clerk-nextjs-6.x branch from 3b45f9c to 40d2dc8 Compare December 22, 2024 00:49
Copy link

vercel bot commented Dec 22, 2024

Deployment failed with the following error:

Resource is limited - try again in 7 minutes (more than 100, code: "api-deployments-free-per-day").

Copy link
Contributor Author

renovate bot commented Dec 23, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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.

1 participant