

Note: This changelog entry is historical. Edge Functions are deprecated for new projects. Use Vercel Functions with the Node.js runtime and Fluid compute. Use Routing Middleware for request-time routing before a response completes.
You now have more flexible access and improved limits for environment variables from functions using the Edge Runtime and Routing Middleware:
The max environment variable size is now 64KB instead of 5KB, same as Vercel Functions.
Other than the reserved names, there are no additional restrictions to name environment variables.
Accessing
process.envis no longer restricted to be statically analyzable. This means that, for example, you can now compute variable names such asprocess.env[${PREFIX}_SECRET].
Check out the documentation to learn more.