Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 13, 2026

Upgrades the project from Next.js 15.5.9 to 16.1.1 and React 19.1.0 to 19.2.3 using the official upgrade toolchain and migration guide.

Version Updates

  • Next.js: 15.5.9 → 16.1.1
  • React & React DOM: 19.1.0 → 19.2.3
  • @types/react: ^19 → 19.2.8 (with npm overrides for version consistency)
  • eslint-config-next: 15.5.4 → 16.1.1

Configuration Changes

next.config.ts

  • Removed eslint configuration object (no longer supported; ESLint config now lives in eslint.config.mjs)

package.json

  • Removed --turbopack flags from dev/build scripts (Turbopack is default in v16)
  • Added npm overrides for React type definitions to prevent version conflicts

tsconfig.json

  • Added .next/dev/types/**/*.ts to include array (Next.js 16 requirement)
  • Updated jsx from preserve to react-jsx (React 19 automatic runtime)

Next.js 16 Features Now Available

  • Turbopack as default bundler (no flag needed)
  • React 19 with automatic JSX runtime
  • Cache Components (opt-in via cacheComponents: true)
  • Activity component for navigation state preservation
  • Improved error messages and build output

Migration Notes

  • No breaking changes detected in existing codebase
  • All 21 routes build successfully as static exports
  • No deprecated features (AMP, runtime config, PPR flags) in use
  • No middleware requiring proxy migration

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel
Copy link
Contributor

vercel bot commented Jan 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
code-storm Ready Ready Preview, Comment Jan 13, 2026 11:08am

Co-authored-by: rezwana-karim <126201034+rezwana-karim@users.noreply.github.com>
Co-authored-by: rezwana-karim <126201034+rezwana-karim@users.noreply.github.com>
Copilot AI changed the title [WIP] Bump npm_and_yarn group with two updates Upgrade to Next.js 16.1.1 with React 19.2.3 Jan 13, 2026
Copilot AI requested a review from rezwana-karim January 13, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants