CONTACT US

Next.js 15.2 Lowers Compile Times by 57.6%

 

Next.js 15.2 update, released on February 26, 2025, focuses on debugging improvements, such as:

  • The error overlay has been re-designed to highlight essential error details: messages, relevant code frames, and call stacks. Noise from external libraries is reduced as well.
  • The generateMetadata function supports asynchronous operations without delaying initial page rendering or client-side transitions. Initial paints are faster, even when dynamic data fetching is required for metadata generation.
  • Turbopack went through considerable improvements, resulting in up to a 57.6% reduction in compile times and a 30% decrease in memory usage during local development.

The update includes some experimental features as well:

  • Next.js offers experimental support for React’s View Transitions API, allowing developers to animate transitions between different views and components seamlessly.
  • Using the Node.js runtime in Middleware is now possible, which provides more flexibility for server-side operations.

Next.js team teased some upcoming changes, mainly stabilizing use cache as a standalone feature and releasing persistent caching at Vercel for testing.

Read the full release notes here.

To stay on top of the latest tech news, subscribe to Frictionless, a newsletter by our CEO, Chris Lojniewski.

Article link copied

Close button