Latest in branch 2
2.4.9
Released 28 Jul 2017
(8 years ago)
SoftwareNext.js
Version2
Status
End of life
Initial release2.0.0
27 Mar 2017
(9 years ago)
Latest release2.4.9
28 Jul 2017
(8 years ago)
End of lifeUnavailable
Release noteshttps://nextjs.org/blog/next-2
Source codehttps://github.com/vercel/next.js/tree/2.4.9
Downloadhttps://www.npmjs.com/package/next/v/2.4.9
Next.js 2 ReleasesView full list

What Is New in Next.js 2

Next.js 2 is a significant update focused on improving the core developer experience and performance. It introduces a new bundling system and several key optimizations that make building applications faster and more efficient.

Category Key Changes
New Features New Webpack-based bundling system, improved HMR, enhanced error reporting
Improvements Faster builds, reduced bundle size, better CSS support
Bug Fixes Fixes for routing, HMR, and various build-time issues

How did the bundling system change in Next.js 2?

Next.js 2 replaced its internal bundling setup with a standard Webpack configuration. This shift gives developers more control and transparency over the build process. In practice, this means you can now directly customize Webpack loaders and plugins for advanced use cases. The new system is also more stable and benefits from the wider Webpack ecosystem.

What performance improvements were made?

This release delivered substantial performance gains through faster build times and smaller bundle sizes. The improved Hot Module Replacement (HMR) makes development feel much more responsive. These optimizations matter because they directly reduce wait times during both development and production builds.

How was the developer experience enhanced?

Developer experience got a major boost with clearer, more helpful error messages. The improved HMR ensures that CSS and component changes are reflected instantly without a full page reload. This creates a smoother, more intuitive workflow that helps you stay focused on coding.

FAQ

Is the move to Webpack a breaking change?
For most projects, no. The new Webpack setup maintains backward compatibility for standard configurations. The change is mostly internal but unlocks new customization possibilities.

Does this affect how I write CSS in Next.js?
Yes, CSS support was improved. The new bundling system handles CSS imports more reliably, which fixes several edge cases from the previous version.

Will my existing Next.js 1.x project still work?
Generally, yes. You should be able to upgrade without major refactoring. Always check the release notes for any specific deprecated APIs you might be using.

How significant are the build speed improvements?
They are very noticeable, especially on larger projects. The combination of a more efficient bundler and various optimizations leads to significantly faster development and production builds.

Can I now use any Webpack plugin with Next.js?
Yes, the new system exposes the Webpack config, allowing you to extend it with custom plugins and loaders. This was a major limitation in the previous architecture.

Releases In Branch 2

VersionRelease date
2.4.928 Jul 2017
(8 years ago)
2.4.827 Jul 2017
(8 years ago)
2.4.709 Jul 2017
(8 years ago)
2.4.628 Jun 2017
(8 years ago)
2.4.526 Jun 2017
(8 years ago)
2.4.416 Jun 2017
(8 years ago)
2.4.307 Jun 2017
(8 years ago)
2.4.206 Jun 2017
(8 years ago)
2.4.102 Jun 2017
(9 years ago)
2.4.017 May 2017
(9 years ago)
2.3.004 May 2017
(9 years ago)
2.3.104 May 2017
(9 years ago)
2.3.0-alpha128 Apr 2017
(9 years ago)
2.2.023 Apr 2017
(9 years ago)
2.1.107 Apr 2017
(9 years ago)
2.1.006 Apr 2017
(9 years ago)
2.0.130 Mar 2017
(9 years ago)
2.0.0-beta.4227 Mar 2017
(9 years ago)
2.0.027 Mar 2017
(9 years ago)
2.0.0-beta.4126 Mar 2017
(9 years ago)
2.0.0-beta.4025 Mar 2017
(9 years ago)
2.0.0-beta.3916 Mar 2017
(9 years ago)
2.0.0-beta.3814 Mar 2017
(9 years ago)
2.0.0-beta.3713 Mar 2017
(9 years ago)
2.0.0-beta.3601 Mar 2017
(9 years ago)
2.0.0-beta.3428 Feb 2017
(9 years ago)
2.0.0-beta.3528 Feb 2017
(9 years ago)
2.0.0-beta.3326 Feb 2017
(9 years ago)
2.0.0-beta.3221 Feb 2017
(9 years ago)
2.0.0-beta.3017 Feb 2017
(9 years ago)
2.0.0-beta.3117 Feb 2017
(9 years ago)
2.0.0-beta.2816 Feb 2017
(9 years ago)
2.0.0-beta.2916 Feb 2017
(9 years ago)
2.0.0-beta.2715 Feb 2017
(9 years ago)
2.0.0-beta.2614 Feb 2017
(9 years ago)
2.0.0-beta.2513 Feb 2017
(9 years ago)
2.0.0-beta.2406 Feb 2017
(9 years ago)
2.0.0-beta.2304 Feb 2017
(9 years ago)
2.0.0-beta.2203 Feb 2017
(9 years ago)
2.0.0-beta.2102 Feb 2017
(9 years ago)
2.0.0-beta.2027 Jan 2017
(9 years ago)
2.0.0-beta.1926 Jan 2017
(9 years ago)
2.0.0-beta.1821 Jan 2017
(9 years ago)
2.0.0-beta.1713 Jan 2017
(9 years ago)
2.0.0-beta.1506 Jan 2017
(9 years ago)
2.0.0-beta.1606 Jan 2017
(9 years ago)
2.0.0-beta.1405 Jan 2017
(9 years ago)
2.0.0-beta.1303 Jan 2017
(9 years ago)
2.0.0-beta.1001 Jan 2017
(9 years ago)
2.0.0-beta.1101 Jan 2017
(9 years ago)
2.0.0-beta.1201 Jan 2017
(9 years ago)
2.0.0-beta.631 Dec 2016
(9 years ago)
2.0.0-beta.731 Dec 2016
(9 years ago)
2.0.0-beta.831 Dec 2016
(9 years ago)
2.0.0-beta.931 Dec 2016
(9 years ago)
2.0.0-beta.428 Dec 2016
(9 years ago)
2.0.0-beta.528 Dec 2016
(9 years ago)
2.0.0-beta.326 Dec 2016
(9 years ago)
2.0.0-beta.224 Dec 2016
(9 years ago)
2.0.0-beta.122 Dec 2016
(9 years ago)
2.0.0-beta.021 Dec 2016
(9 years ago)