logoNext.js
DocumentationBlogLearnGithub
Getting Started
Installation
Project Structure
Layouts and Pages
Images
Fonts
CSS
Server and Client Components
Fetching Data
Caching and Revalidating
Updating Data
Error Handling
Partial Prerendering
Metadata and OG images
Deploying
Upgrading
Guides
Analytics
Authentication
CI Build Caching
Content Security Policy
CSS-in-JS
Custom Server
Debugging
Draft Mode
Environment Variables
Forms
ISR
Instrumentation
Internationalization
JSON-LD
Lazy Loading
Development Environment
MDX
Memory Usage
Multi-tenant
Multi-zones
OpenTelemetry
Package Bundling
Production
PWAs
Redirecting
Sass
Scripts
Self-Hosting
SPAs
Static Exports
Tailwind CSS
Third Party Libraries
Videos
Migrating
Testing
Upgrading
Codemods
Version 14
Version 15
Building Your Application
Deep Dive
API Reference
Architecture
Community
logoNext.js
DocumentationBlogLearn
Introduction/Guides/Upgrading

Upgrade Guides

Learn how to upgrade to the latest versions of Next.js following the versions-specific guides:

Codemods

Use codemods to upgrade your Next.js codebase when new features are released.

Version 14

Upgrade your Next.js Application from Version 13 to 14.

Version 15

Upgrade your Next.js Application from Version 14 to 15.

Vitest

Learn how to set up Vitest with Next.js for Unit Testing.

Codemods

Use codemods to upgrade your Next.js codebase when new features are released.