megachangelog
Improvement

Improved Node.js compatibility for Edge Middleware and Edge Functions

Vercel Routing Middleware and Edge Functions now support additional Node.js APIs including AsyncLocalStorage, EventEmitter, Buffer, assert, util.promisify, util.callbackify, and util.types, expanding compatibility with existing npm packages.

This changelog entry is historical. Edge Functions are deprecated for new projects. Use with the Node.js runtime and . Use for request-time routing before a response completes.Note:Vercel FunctionsFluid computeRouting Middleware

Vercel and now support more Node.js modules. You may want to make use of these modules directly, but many of these low-level are pieces of core functionality that other modules depend on. Adding support for these APIs expands the compatibility of existing npm packages.Routing MiddlewareEdge FunctionsAPIs

The following APIs are now supported:

You can take advantage of these additional APIs in Routing Middleware and Edge Functions with your next deployment. For current projects, use with the Node.js runtime by default. Existing Edge Runtime projects can use the .Vercel FunctionsEdge Runtime reference

Read more

  • **AsyncLocalStorage: **Support for maintaining data for an invocation between different asynchronous execution contexts, which allows you to pass state to the context even when the function is hot and module context is preserved.

  • **EventEmitter: **API to build event-driven systems that serves as a core building block for communication between libraries that control I/O and listeners that process data when events occur.A flexible

  • **Buffer: **The most common way of handling binary data in Node.js, available globally or importable from .buffer

  • **assert: **A set of assertion functions to validate invariants and logical rules that are very useful to explicitly test assumptions in your code path that need to run in Edge Functions.

  • and **util.callbackify: **A helper function to convert a callback-style function signature into one that returns a , and a helper function to convert a function that returns a into one that accepts a callback.util.promisifyPromisePromise

  • **util.types: **A set of functions to validate that objects are of a given type.

edge-functionsmiddlewarenodejscompatibilityapi

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Announcement2026.10.19

Updates to Hobby and Pro Terms of Service

Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.

termsbillingcreditspolicylegal
Announcement

Mercury 3 now available on AI Gateway

Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.

ai-gatewaymodelsinferencellmlaunch
Announcement

MiniMax M3.1 Flash now available on AI Gateway for free

MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.

ai-gatewaymodelscodingagentsapi
See all Vercel changes →