You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,9 +113,9 @@ startup_timeout_ms = 20_000
113
113
114
114
</details>
115
115
116
-
### Next.js Runtime Integration (Recommended for Next.js >= 16 beta)
116
+
### Next.js Runtime Integration (Recommended for Next.js >= 16)
117
117
118
-
For Next.js 16 beta or later, enable the MCP server in your Next.js application to unlock powerful runtime diagnostics and integration with Claude Code:
118
+
For Next.js 16 or later, enable the MCP server in your Next.js application to unlock powerful runtime diagnostics and integration with Claude Code:
119
119
120
120
**Update `next.config.ts` or `next.config.js`:**
121
121
@@ -153,7 +153,7 @@ Help me upgrade my Next.js app to version 16
153
153
154
154
Your MCP client should provide guidance and tools for upgrading your Next.js application.
155
155
156
-
If you're on **Next.js 16 beta or later** with `experimental.mcpServer` enabled, you can also try:
156
+
If you're on **Next.js 16 or later** with `experimental.mcpServer` enabled, you can also try:
157
157
158
158
```
159
159
What's the structure of my Next.js routes?
@@ -194,7 +194,7 @@ Callable tools for automating Next.js development workflows:
194
194
195
195
### `upgrade_nextjs_16` Tool
196
196
197
-
Guides through upgrading Next.js to version 16 beta with automated codemod execution.
197
+
Guides through upgrading Next.js to version 16 with automated codemod execution.
198
198
199
199
**Capabilities:**
200
200
- Runs official Next.js codemod automatically (requires clean git state)
"Guide through upgrading Next.js to version 16 beta. CRITICAL: Runs the official codemod FIRST (requires clean git state) for automatic upgrades and fixes, then handles remaining issues manually. The codemod upgrades Next.js, React, and React DOM automatically. Covers async API changes, config moves, image defaults, parallel routes, and deprecations.",
9
+
"Guide through upgrading Next.js to version 16. CRITICAL: Runs the official codemod FIRST (requires clean git state) for automatic upgrades and fixes, then handles remaining issues manually. The codemod upgrades Next.js, React, and React DOM automatically. Covers async API changes, config moves, image defaults, parallel routes, and deprecations.",
This guide covers the specific breaking changes when migrating from **Next.js 16.0.0-beta** to **Next.js 16.0.0 stable**.
6
+
7
+
If you're already on Next.js 16 beta and upgrading to stable, you need to apply these additional config migrations that were stabilized between beta and stable releases.
8
+
9
+
## Required Config Migrations
10
+
11
+
### 1. experimental.cacheLife → cacheLife
12
+
13
+
**Status**: BREAKING - Required for beta → stable migration
14
+
15
+
The `cacheLife` configuration has been moved out of the `experimental` object and is now a top-level config option.
description: `Guide through upgrading Next.js to version 16 beta.
19
+
description: `Guide through upgrading Next.js to version 16.
20
20
21
21
CRITICAL: Runs the official codemod FIRST (requires clean git state) for automatic upgrades and fixes, then handles remaining issues manually. The codemod upgrades Next.js, React, and React DOM automatically.
0 commit comments