Skip to content

Commit dcf11d1

Browse files
authored
docs: clarify that next upgrade is for 16.1.x+ (#90435)
Closes: #90425
1 parent c61d96e commit dcf11d1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docs/01-app/01-getting-started/18-upgrading.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ yarn next upgrade
3030
bunx next upgrade
3131
```
3232

33-
Next.js 15 and earlier do not support the `upgrade` command and need to use a separate package instead:
33+
Versions before Next.js 16.1.0 do not support the `upgrade` command and need to use a separate package instead:
3434

3535
```bash filename="Terminal"
3636
npx @next/codemod@canary upgrade latest

docs/01-app/03-api-reference/06-cli/next.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ The generated `.cpuprofile` files can be opened in Chrome DevTools (Performance
409409
410410
| Version | Changes |
411411
| --------- | ------------------------------------------------------------------------------- |
412+
| `v16.1.0` | Add the `next upgrade` command |
412413
| `v16.1.0` | Add the `next experimental-analyze` command |
413414
| `v16.0.0` | The JS bundle size metrics have been removed from `next build` |
414415
| `v15.5.0` | Add the `next typegen` command |

0 commit comments

Comments
 (0)