mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
97496b2078
Stacked on #98637. This PR adds `next upgrade --ai="latest"` flag, which is targeted to help users leverage agents to upgrade their app to the latest major version when available. Just like security upgrade, it covers running codemods and a migration checklist for major-to-major upgrades to support breaking changes more reliably.