Skip to content

chore(deps): bump @clerk/nextjs from 5.7.5 to 7.0.2#74

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/clerk/nextjs-7.0.2
Open

chore(deps): bump @clerk/nextjs from 5.7.5 to 7.0.2#74
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/clerk/nextjs-7.0.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 9, 2026

Bumps @clerk/nextjs from 5.7.5 to 7.0.2.

Release notes

Sourced from @​clerk/nextjs's releases.

@​clerk/nextjs@​7.0.1

Patch Changes

  • Update README prerequisites to match actual package.json engine and peer dependency constraints. (#7972) by @​jacekradko

  • Updated dependencies [55ece85]:

    • @​clerk/backend@​3.0.1
    • @​clerk/react@​6.0.1

@​clerk/nextjs@​7.0.0

Major Changes

  • Align experimental/unstable prefixes to use consistent naming: (#7361) by @​brkalow

    • Renamed all __unstable_* methods to __internal_* (for internal APIs)
    • Renamed all experimental__* and experimental_* methods to __experimental_* (for beta features)
    • Removed deprecated billing-related props (__unstable_manageBillingUrl, __unstable_manageBillingLabel, __unstable_manageBillingMembersLimit) and experimental__forceOauthFirst
  • Renamed __unstable_invokeMiddlewareOnAuthStateChange to __internal_invokeMiddlewareOnAuthStateChange. (#7925) by @​jacekradko

  • useAuth().getToken is no longer undefined during server-side rendering, it is a function and calling it will throw. (#7730) by @​Ephem

    • If you are only using getToken in useEffect, event handlers or with non-suspenseful data fetching libraries, no change is necessary as these only trigger on the client.
    • If you are using suspenseful data fetching libraries that do trigger during SSR, you likely have strategies in place to avoid calling getToken already, since this has never been possible.
    • If you are using getToken === undefined checks to avoid calling it, know that it will now throw instead and you should catch and handle the error.
    async function doThingWithToken(getToken: GetToken) {
      try {
        const token = await getToken();
    // Use token
    
    } catch (error) {
    if (isClerkRuntimeError(error) && error.code === 'clerk_runtime_not_browser') {
    // Handle error
    }
    }
    }

    To access auth data server-side, see the Auth object reference doc.

  • Refactor React SDK hooks to subscribe to auth state via useSyncExternalStore. This is a mostly internal refactor to unlock future improvements, but includes a few breaking changes and fixes. (#7411) by @​Ephem

    Breaking changes:

    • Removes ability to pass in initialAuthState to useAuth
      • This was added for internal use and is no longer needed
      • Instead pass in initialState to the <ClerkProvider>, or dynamic if using the Next package
      • See your specific SDK documentation for more information on Server Rendering

... (truncated)

Changelog

Sourced from @​clerk/nextjs's changelog.

7.0.2

Patch Changes

7.0.1

Patch Changes

  • Update README prerequisites to match actual package.json engine and peer dependency constraints. (#7972) by @​jacekradko

  • Updated dependencies [55ece85]:

    • @​clerk/backend@​3.0.1
    • @​clerk/react@​6.0.1

7.0.0

Major Changes

  • Align experimental/unstable prefixes to use consistent naming: (#7361) by @​brkalow

    • Renamed all __unstable_* methods to __internal_* (for internal APIs)
    • Renamed all experimental__* and experimental_* methods to __experimental_* (for beta features)
    • Removed deprecated billing-related props (__unstable_manageBillingUrl, __unstable_manageBillingLabel, __unstable_manageBillingMembersLimit) and experimental__forceOauthFirst
  • Renamed __unstable_invokeMiddlewareOnAuthStateChange to __internal_invokeMiddlewareOnAuthStateChange. (#7925) by @​jacekradko

  • useAuth().getToken is no longer undefined during server-side rendering, it is a function and calling it will throw. (#7730) by @​Ephem

    • If you are only using getToken in useEffect, event handlers or with non-suspenseful data fetching libraries, no change is necessary as these only trigger on the client.
    • If you are using suspenseful data fetching libraries that do trigger during SSR, you likely have strategies in place to avoid calling getToken already, since this has never been possible.
    • If you are using getToken === undefined checks to avoid calling it, know that it will now throw instead and you should catch and handle the error.
    async function doThingWithToken(getToken: GetToken) {
      try {
        const token = await getToken();
    // Use token
    
    } catch (error) {
    if (isClerkRuntimeError(error) && error.code === 'clerk_runtime_not_browser') {
    // Handle error
    }
    }
    }

... (truncated)

Commits
  • f319ea6 ci(repo): Version packages (#7984)
  • 79d0ecf test(nextjs): Add tests for useInternalNavFun navigation promise resolution (...
  • 3157c25 fix(nextjs): Remove usePathname from navigation hook for cacheComponents comp...
  • dd322cf ci(repo): Version packages (#7974)
  • 55ece85 docs(repo): update README prerequisites to match package.json (#7972)
  • 5f2e3dd ci(repo): Version packages (Core 3) (#7412)
  • 551fcc8 chore: sync changelogs and versions from release/core-2 (#7964)
  • cd1973e feat(backend,nextjs): Add support for M2M JWT creation and verification (#7955)
  • c694433 chore(repo): Backport Core 2 changelogs and remove consumed changesets (#7952)
  • 5ef4a77 refactor(shared): Rename dev browser APIs to remove JWT terminology (#7930)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​clerk/nextjs since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@clerk/nextjs](https://github.com/clerk/javascript/tree/HEAD/packages/nextjs) from 5.7.5 to 7.0.2.
- [Release notes](https://github.com/clerk/javascript/releases)
- [Changelog](https://github.com/clerk/javascript/blob/main/packages/nextjs/CHANGELOG.md)
- [Commits](https://github.com/clerk/javascript/commits/@clerk/nextjs@7.0.2/packages/nextjs)

---
updated-dependencies:
- dependency-name: "@clerk/nextjs"
  dependency-version: 7.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 9, 2026
@vercel
Copy link

vercel bot commented Mar 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chat Error Error Mar 9, 2026 10:23pm

@dependabot dependabot bot added the javascript Pull requests that update javascript code label Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant