Yesterday's Top Poster

[VERCEL] Middleware now supports Node.js

  • Thread starter Thread starter Gal Schlezinger, JJ Kasper, Seiya Nuta, Mariano
  • Start date Start date
Middleware support for the Node.js runtime is now available, providing full Node.js support for authentication, personalization, and more—using familiar APIs.

Middleware continues to be deployed globally on Vercel, regardless of the runtime used. We are first releasing support for Node.js Middleware in Next.js 15.2.

This experimental feature requires the Next.js canary channel. Upgrade to next@canary and enable the nodejs experimental flag in your config to use it:


You must also specify the Node.js runtime in your middleware file:


Deploy now with Next.js 15.2.

Read more

Continue reading...
 
Back
Top