Bump next and next-auth in /apps/functional_chat - #77
Conversation
Bumps [next](https://github.com/vercel/next.js) and [next-auth](https://github.com/nextauthjs/next-auth). These dependencies needed to be updated together. Updates `next` from 14.2.35 to 16.2.12 - [Release notes](https://github.com/vercel/next.js/releases) - [Commits](vercel/next.js@v14.2.35...v16.2.12) Updates `next-auth` from 4.24.5 to 4.24.15 - [Release notes](https://github.com/nextauthjs/next-auth/releases) - [Commits](https://github.com/nextauthjs/next-auth/compare/next-auth@4.24.5...next-auth@4.24.15) --- updated-dependencies: - dependency-name: next dependency-version: 16.2.12 dependency-type: direct:production - dependency-name: next-auth dependency-version: 4.24.15 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 9340928. Configure here.
| "form-data": "^4.0.0", | ||
| "lru-cache": "^10.2.2", | ||
| "next": "14.2.35", | ||
| "next": "16.2.12", |
There was a problem hiding this comment.
Node version below Next 16 floor
High Severity
Bumping next to 16.2.12 requires Node >=20.9.0, but engines still allows >=18.15.0 and .nvm pins v18.17.0. Installs and runs on the project’s current Node 18 setup will fail against Next’s new engine floor.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 9340928. Configure here.
| "form-data": "^4.0.0", | ||
| "lru-cache": "^10.2.2", | ||
| "next": "14.2.35", | ||
| "next": "16.2.12", |
There was a problem hiding this comment.
Webpack config breaks Turbopack default
High Severity
Next 16 defaults to Turbopack and errors when a webpack config is present without a Turbopack migration or --webpack opt-out. This app still defines a custom webpack hook and wraps config with @vanilla-extract/next-plugin@2.1.1, so next dev / next build are likely to fail after the bump.
Reviewed by Cursor Bugbot for commit 9340928. Configure here.
There was a problem hiding this comment.
Risk: high. Left a non-blocking comment — not approving: Cursor Bugbot ended in skip with 2 unresolved high-severity findings, and this Next 14→16 plus next-auth bump exceeds the low-risk auto-approve threshold (auth/runtime blast radius). Assigning reviewers for human review of the major upgrade and the failed functional-chat deploy.
Sent by Cursor Approval Agent: Pull Request Approver




Bumps next and next-auth. These dependencies needed to be updated together.
Updates
nextfrom 14.2.35 to 16.2.12Release notes
Sourced from next's releases.
... (truncated)
Commits
2234717v16.2.12957f5ed[Backport] Fixes to support TypeScript 7 (#95831)b56eb16Backport/docs fixes 16.2 - July round (#96031)9beca08v16.2.113c48c7a[16.x] Fix Turbopack middleware matcher with i18n single localeac1eff3[16.x] Improve performance of checking valid MPA form submissions9a4651e[16.x] EnforceserverActions.bodySizeLimitfor Server Actions in Edge runtimeb512063[16.x] Set correct origin for internal redirects in custom serverd303326[16.x] Ensure exotic rewrite param values are properly encoded73b9487[16.x] fix(fetch-cache): key fetch(Request, init) by the effective requestMaintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for next since your current version.
Updates
next-authfrom 4.24.5 to 4.24.15Release notes
Sourced from next-auth's releases.
Commits
d857eecchore(release): next-auth@4.24.15 [skip ci]5bca239fix(next-auth): harden getToken parsing and bind OAuth check cookies to provi...db7e27dchore(deps): use uuid ^11.1.1 to keep CommonJS support (#13466)32d874cfix(next-auth): repair red v4 CI (lint + pre-existing test drift) (#13447)fa85858chore: update uuid to v14, remove deprecated types (#13422)2a39465Merge commit from fork19d2febMerge commit from forke9a892achore(release): bump version [skip ci]0497da4fix(providers): add issuer to github (#13412)1a70ee8chore(release): bump version [skip ci]Maintainer changes
This version was pushed to npm by better-gustavo, a new releaser for next-auth since your current version.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
Note
High Risk
A two-major-version Next jump affects routing, middleware, and build/runtime behavior; next-auth 4.24.15 includes OAuth/cookie security changes that can break in-flight sign-ins once.
Overview
Upgrades Next.js in
functional_chatfrom 14.2.35 to 16.2.12 (two major versions) and refreshes the lockfile so next-auth resolves to 4.24.15. There are no application source changes—onlypackage.jsonandpackage-lock.json.The lockfile shift reflects Next 16’s stack: Node
>=20.9.0(up from 18.17), optionalsharpfor image optimization, updated@next/swc-*binaries, andstyled-jsx5.1.6. Transitive auth-related bumps includecookie0.7.x anduuid11.x under next-auth.Review note:
package.jsonstill declaresengines.node": ">=18.15.0", which is below Next 16’s requirement—CI and deploy images should run Node 20.9+.eslint-config-next/@next/eslint-plugin-nextremain on older 13.x lines while Next is 16; worth validating lint andnext buildafter merge.Reviewed by Cursor Bugbot for commit 9340928. Bugbot is set up for automated code reviews on this repo. Configure here.