Repository navigation
Update Next.js to latest minor/patch versions - #1592
Conversation
- 15.5.10 → 15.5.19 (docs, examples/demo, examples/convex) - 16.1.5/16.1.7 → 16.2.9 (apps/backend, apps/dashboard, apps/skills, apps/mcp, apps/internal-tool) - 14.x packages already at latest (14.2.35), no changes needed Co-Authored-By: Konstantin Wohlwend <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (8)
✅ Files skipped from review due to trivial changes (2)
🚧 Files skipped from review as they are similar to previous changes (6)
📝 WalkthroughWalkthroughBump Next.js versions across apps, docs, and examples; and change the widget playground error-boundary reload button to call ChangesNext.js Dependency Updates + Widget reload fix
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Konstantin Wohlwend <[email protected]>
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
examples/convex/package.json (1)
35-35: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick winCritical:
eslint-config-nextmajor version mismatch withnext.The
eslint-config-nextis pinned to14.2.5, butnextwas upgraded to15.5.19. This is a major version incompatibility (14 vs 15). ESLint configurations are tightly coupled to their corresponding Next.js versions and contain version-specific rules, rule updates, and semantics. With a 14.x config applied to 15.x code, linting will either fail on valid Next.js 15 patterns (e.g., async cookies, headers, params) or fail to catch violations of Next.js 15 requirements. This breaks the linting contract and introduces silent rule-checking failures.🔧 Proposed fix
- "eslint-config-next": "14.2.5", + "eslint-config-next": "15.5.19",🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@examples/convex/package.json` at line 35, The package.json pins "eslint-config-next" to 14.2.5 while "next" is at 15.5.19, causing a major-version mismatch; update the "eslint-config-next" dependency in package.json to a 15.x version that matches or is compatible with "next" 15 (e.g., bump "eslint-config-next" to the corresponding 15.y.z release), then run npm/yarn install and re-run linting to verify no config-rule conflicts; ensure both "next" and "eslint-config-next" versions align going forward.
🧹 Nitpick comments (1)
docs/package.json (1)
68-68: 📐 Maintainability & Code Quality | ⚡ Quick winConsider aligning
eslint-config-nextversion withnextfor consistency.The
eslint-config-nextis pinned to15.3.2, whilenextwas just upgraded to15.5.19. Although both are within the Next.js 15.x family, ESLint configurations can diverge across minor versions (e.g., new rules, rule updates, or semantic changes). Aligning the versions ensures consistent linting behavior.📋 Proposed fix
- "eslint-config-next": "15.3.2", + "eslint-config-next": "15.5.19",🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@docs/package.json` at line 68, The eslint-config-next dependency in package.json ("eslint-config-next") is pinned to 15.3.2 while the "next" package was upgraded to 15.5.19; update the "eslint-config-next" entry to match the "next" version (15.5.19) in package.json, then reinstall dependencies (npm/yarn install) and run the linter/CI to verify no rule changes break the codebase.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In `@examples/convex/package.json`:
- Line 35: The package.json pins "eslint-config-next" to 14.2.5 while "next" is
at 15.5.19, causing a major-version mismatch; update the "eslint-config-next"
dependency in package.json to a 15.x version that matches or is compatible with
"next" 15 (e.g., bump "eslint-config-next" to the corresponding 15.y.z release),
then run npm/yarn install and re-run linting to verify no config-rule conflicts;
ensure both "next" and "eslint-config-next" versions align going forward.
---
Nitpick comments:
In `@docs/package.json`:
- Line 68: The eslint-config-next dependency in package.json
("eslint-config-next") is pinned to 15.3.2 while the "next" package was upgraded
to 15.5.19; update the "eslint-config-next" entry to match the "next" version
(15.5.19) in package.json, then reinstall dependencies (npm/yarn install) and
run the linter/CI to verify no rule changes break the codebase.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: ad4fb98b-c61e-49ed-ad7b-e681f2e8ce43
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (8)
apps/backend/package.jsonapps/dashboard/package.jsonapps/internal-tool/package.jsonapps/mcp/package.jsonapps/skills/package.jsondocs/package.jsonexamples/convex/package.jsonexamples/demo/package.json
Greptile SummaryThis PR bumps Next.js across the monorepo — five apps from 16.1.x to 16.2.9 and three projects from 15.5.10 to 15.5.19. While the
Confidence Score: 3/5The Next.js version bumps themselves are safe, but the lock file was regenerated in a way that drops the The
|
| Filename | Overview |
|---|---|
| pnpm-lock.yaml | Lock file was regenerated without the overrides, packageExtensionsChecksum, and patchedDependencies fields from pnpm-workspace.yaml — the [email protected] patch is now unapplied and @types/react version overrides are missing. |
| apps/backend/package.json | Bumps next from 16.1.7 to 16.2.9; also has a minor sharp specifier regression in the lock file (^0.34.5 → ^0.34.4) but resolved version is unchanged. |
| apps/dashboard/package.json | Bumps next from 16.1.7 to 16.2.9; straightforward version pin update. |
| apps/internal-tool/package.json | Bumps next from 16.1.5 to 16.2.9; straightforward version pin update. |
| apps/mcp/package.json | Bumps next from 16.1.7 to 16.2.9; straightforward version pin update. |
| apps/skills/package.json | Bumps next from 16.1.7 to 16.2.9; straightforward version pin update. |
| docs/package.json | Bumps next from 15.5.10 to 15.5.19; straightforward minor/patch update. |
| examples/convex/package.json | Bumps next from 15.5.10 to 15.5.19; straightforward minor/patch update. |
| examples/demo/package.json | Bumps next from 15.5.10 to 15.5.19; straightforward minor/patch update. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
WS[pnpm-workspace.yaml
overrides + patchedDependencies
openid-client patch declared] -->|should drive| LF[pnpm-lock.yaml]
LF -->|actual install| NM[node_modules]
subgraph Before PR
LF_OLD[pnpm-lock.yaml
overrides: types-react 19.2.7
patchedDependencies: openid-client] --> NM_OLD[openid-client 5.6.4
PATCHED ✓]
end
subgraph After PR
LF_NEW[pnpm-lock.yaml
no overrides
no patchedDependencies] --> NM_NEW[openid-client 5.6.4
UNPATCHED ✗]
LF_NEW --> NEXT[next 16.2.9 ✓
next 15.5.19 ✓]
end
WS -->|inconsistency| LF_NEW
style NM_NEW fill:#f99,stroke:#c00
style LF_NEW fill:#fdd,stroke:#c00
style NEXT fill:#9f9,stroke:#090
Comments Outside Diff (1)
-
pnpm-lock.yaml, line 1-6 (link)openid-clientpatch silently dropped despitepnpm-workspace.yamlstill requiring itThe lock file no longer contains the
patchedDependenciesentry for[email protected], even thoughpnpm-workspace.yamlstill declarespatchedDependencies: [email protected]: patches/[email protected](file still exists atpatches/[email protected]). As a result,openid-clientis now installed as the unpatched upstream version (the resolved specifier changed from5.6.4(patch_hash=99fe...)to5.6.4).The patch itself hardcodes
aadIssValidation = true(overriding the defaultmeta[AAD_MULTITENANT]), which was introduced in "Fix MS OAuth (Fix MS OAuth #457)". Without the patch, issuer validation for Azure AD multi-tenant flows reverts to the upstream default, which was known to break Microsoft OAuth at the time the patch was added.The lock file was apparently regenerated without respecting
pnpm-workspace.yaml— theoverrides,packageExtensionsChecksum, andpatchedDependenciesblocks are all absent from the new file header. Runningpnpm installfrom the root with the currentpnpm-workspace.yamlshould reintroduce these entries and re-apply the patch.Prompt To Fix With AI
This is a comment left during a code review. Path: pnpm-lock.yaml Line: 1-6 Comment: **`openid-client` patch silently dropped despite `pnpm-workspace.yaml` still requiring it** The lock file no longer contains the `patchedDependencies` entry for `[email protected]`, even though `pnpm-workspace.yaml` still declares `patchedDependencies: [email protected]: patches/[email protected]` (file still exists at `patches/[email protected]`). As a result, `openid-client` is now installed as the unpatched upstream version (the resolved specifier changed from `5.6.4(patch_hash=99fe...)` to `5.6.4`). The patch itself hardcodes `aadIssValidation = true` (overriding the default `meta[AAD_MULTITENANT]`), which was introduced in "Fix MS OAuth (#457)". Without the patch, issuer validation for Azure AD multi-tenant flows reverts to the upstream default, which was known to break Microsoft OAuth at the time the patch was added. The lock file was apparently regenerated without respecting `pnpm-workspace.yaml` — the `overrides`, `packageExtensionsChecksum`, and `patchedDependencies` blocks are all absent from the new file header. Running `pnpm install` from the root with the current `pnpm-workspace.yaml` should reintroduce these entries and re-apply the patch. How can I resolve this? If you propose a fix, please make it concise.
Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.
---
### Issue 1 of 1
pnpm-lock.yaml:1-6
**`openid-client` patch silently dropped despite `pnpm-workspace.yaml` still requiring it**
The lock file no longer contains the `patchedDependencies` entry for `[email protected]`, even though `pnpm-workspace.yaml` still declares `patchedDependencies: [email protected]: patches/[email protected]` (file still exists at `patches/[email protected]`). As a result, `openid-client` is now installed as the unpatched upstream version (the resolved specifier changed from `5.6.4(patch_hash=99fe...)` to `5.6.4`).
The patch itself hardcodes `aadIssValidation = true` (overriding the default `meta[AAD_MULTITENANT]`), which was introduced in "Fix MS OAuth (#457)". Without the patch, issuer validation for Azure AD multi-tenant flows reverts to the upstream default, which was known to break Microsoft OAuth at the time the patch was added.
The lock file was apparently regenerated without respecting `pnpm-workspace.yaml` — the `overrides`, `packageExtensionsChecksum`, and `patchedDependencies` blocks are all absent from the new file header. Running `pnpm install` from the root with the current `pnpm-workspace.yaml` should reintroduce these entries and re-apply the patch.
Reviews (1): Last reviewed commit: "Downgrade Next.js 16 to 16.2.7 (passes m..." | Re-trigger Greptile
…moves stale [email protected]) Co-Authored-By: Konstantin Wohlwend <[email protected]>
…on-nullable in Next.js 16.2.7) Co-Authored-By: Konstantin Wohlwend <[email protected]>
Co-Authored-By: Konstantin Wohlwend <[email protected]>
Link to Devin session: https://app.devin.ai/sessions/000f8d810c7d425580b06fd493432b33
Requested by: @N2D4
Summary by cubic
Update
nextto the latest minor/patch across the monorepo; mergeddevand regeneratedpnpm-lock.yamlwith[email protected]to restore overrides/patches and remove stale[email protected]. Includes a small dashboard lint fix for[email protected].Dependencies
[email protected]:apps/backend,apps/dashboard,apps/internal-tool,apps/mcp,apps/skills(per minimumReleaseAge).[email protected]:docs,examples/demo,examples/convex.next@14packages remain at14.2.35(no changes).Bug Fixes
props.reset()(non-nullable in[email protected]).Written for commit 77a46ea. Summary will update on new commits.
Summary by CodeRabbit