Middleware now supports Node.js
Vercel releases Node.js runtime support for Next.js Middleware in v15.2, enabling authentication and personalisation via familiar APIs as an experimental canary feature.
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 and enable the experimental flag in your config to use it:next@canarynodejs You must also specify the Node.js runtime in your middleware file: with Next.js 15.2.Deploy now Read more
- vercel.comMiddleware now supports Node.jsprimary