megachangelog
Improvement

More flexible Environment Variables in Edge Functions and Middleware

Environment variable limits have been increased to 64KB (up from 5KB) and variable names are now more flexible with dynamic name computation support. Environment variables are now more accessible in Edge Functions and Routing Middleware with fewer restrictions on naming and access patterns.

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

You now have more flexible access and improved limits for environment variables from and :functions using the Edge RuntimeRouting Middleware

to learn more.Check out the documentation

Read more

  • The max environment variable size is now 64KB instead of 5KB, .same as Vercel Functions

  • Other than the , there are no additional restrictions to name environment variables.reserved names

  • Accessing is no longer restricted to be statically analyzable. This means that, for example, you can now compute variable names such as ${PREFIX}_SECRET.process.envprocess.env[]

edge-functionsmiddlewareenvironment-variablesconfiguration

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 →