New for Next.js: Next.js Runtime

We are excited to announce that, as of today, a new Next.js Runtime is now available on Netlify! :netliconfetti:

Moving forward, any Next.js project that is deployed to Netlify will automatically build using the new Next.js Runtime. Additionally, Next.js Advanced Middleware will be available to use by downloading the @netlify/next package.

Already have your Next.js project on Netlify? Not a problem! All current Next.js projects that are on Netlify using the plugin version 4.18 will pick up Next.js Runtime automatically in their next builds. :netlisparkles:

What benefits does Next.js Runtime have?

  1. Next.js Runtime is designed to run Next.js with zero extra configuration. This will make it easier than ever to deploy your site.
  2. Next.js Advanced Middleware supports HTML rewrites, page data transforms, and gives you full access to the response body. This will make customizations such as localization and authentication simpler than ever to integrate into your projects.

Where can you learn more?

You can read the full announcement for getting started with Next.js Advanced Middleware on our blog! All of the technical details of the Next.js Runtime are in Netlify’s Next.js documentation. Lastly, we have a step-by-step video tutorial to show you how to get up and running!

Let us know your thoughts in the comments below. As always, happy building :rocket: