-
Notifications
You must be signed in to change notification settings - Fork 3.2k
chore(deps): upgrade to nextjs 16 #2203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile OverviewGreptile SummaryThis PR successfully upgrades the codebase from Next.js 15.4.8 to 16.0.7, along with React 19.1.0 to 19.2.1. The upgrade includes all necessary breaking change adaptations required by Next.js 16. Key Changes
Testing Recommendations
Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant Dev as Developer
participant NextJS as Next.js 16
participant Routes as API Routes
participant Middleware as Middleware/Proxy
participant TSConfig as TypeScript Config
Dev->>NextJS: Upgrade from 15.4.8 to 16.0.7
NextJS->>Routes: params now Promise-based
Routes->>Routes: Update withMcpAuth HOC signature
Routes->>Routes: Add generic type TParams support
Routes->>Routes: Change params access to await params
NextJS->>Middleware: Rename middleware.ts to proxy.ts
Middleware->>Middleware: Rename default export from middleware to proxy
NextJS->>TSConfig: Update jsx compiler option
TSConfig->>TSConfig: Change "preserve" to "react-jsx"
TSConfig->>TSConfig: Add .next/dev/types/**/*.ts
NextJS->>NextJS: TurboPack now default bundler
NextJS->>Dev: Remove --turbo and --turbopack flags
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
13 files reviewed, no comments
d35aa6d to
95b8b6c
Compare
Summary
Type of Change
Testing
Tested manually
Checklist