Vercel Blog

Edge Middleware and Edge Functions are now powered by Vercel Functions

thumbnail

Table of Contents

  1. Edge Middleware to Vercel Routing Middleware
  2. Edge Functions to Vercel Functions using the Edge Runtime
  3. Unified Vercel Functions Infrastructure
  4. Key Features of Vercel Functions

Edge Middleware to Vercel Routing Middleware

Formerly known as Edge Middleware, Vercel Routing Middleware is now a new infrastructure primitive that runs full Vercel Functions with Fluid compute before the cache.

Edge Functions to Vercel Functions using the Edge Runtime

Edge Functions have transitioned to Vercel Functions using the Edge Runtime after the cache. This change brings consistency and better performance to functions leveraging the Edge runtime.

Unified Vercel Functions Infrastructure

All functions, including those running the Edge runtime, now run on the unified Vercel Functions infrastructure. This infrastructure offers fluid compute, multi-runtime support, framework-driven deployments, and consistent pricing based on Active CPU time.

Key Features of Vercel Functions

  • Fluid compute-ready: Runs on Fluid compute for better performance and cost efficiency.
  • Multi-runtime: Supports Node.js and Edge runtimes.
  • Framework-driven: Automatically deployed from supported framework code.
  • Consistent pricing: Unified Vercel Functions pricing based on Active CPU time across all compute types.

Vercel Routing Middleware is now generally available to all users, providing enhanced functionality for managing routing and middleware logic.