#1804498c07e1 Thanks @astro-factory! - Fixes a rare issue where ISR pages on Vercel could intermittently be served a cached redirect to a nonsense URL (such as /$0/) instead of the page itself. Pages now render correctly, and requests that canβt be resolved to a valid path return a 404 instead of a redirect.
#18008a09b328 Thanks @yanthomasdev! - Fixes the immutable Cache-Control rule for hashed assets (/_astro/*) being emitted after the filesystem route handle in .vercel/output/config.json.
#17818c0b6581 Thanks @florian-lefebvre! - Updates the development image service to forward every argument it receives to Astroβs Sharp service, including the new logger parameter
#1745019dae21 Thanks @ocavue! - Updates dependency @vercel/analytics to v2. See the changelog for more details.
Updates dependency @vercel/routing-utils to v6. See the changelog for more details.
#17794dd29ce8 Thanks @astro-factory! - Fixes a bug where @vercel/nft file tracing silently dropped all dependency files when outDir was configured outside root, causing deployed functions to crash with ERR_MODULE_NOT_FOUND
#176870a22ff5 Thanks @asmyshlyaev177! - Fixes middlewareMode: 'edge' not running your middleware when isr is also enabled
Previously, enabling both options deployed the edge middleware but never reached it: requests went straight to the ISR function, which skips rendering entirely on a cache hit. Middleware now runs at the edge for ISR-backed routes before the cached response is served, and query strings are preserved when it forwards the request.
#17569d1bb7fa Thanks @lazerg! - Prevents astro build from crashing with EEXIST when .vercel/output/server/ already exists by creating it with { recursive: true }, matching the sibling static/ directory call
Use Astro.cache.set() in your pages and API routes to cache responses on Vercelβs edge network. The provider sets Vercel-CDN-Cache-Control and Vercel-Cache-Tag headers on responses.
Both tag-based and path-based invalidation are supported. Tag invalidation is a soft invalidation, marking cached responses as stale so they can be revalidated in the background via stale-while-revalidate.
π Patch Changes
#17027241250b Thanks @ocavue! - Triggers beta prereleases for packages that are still on alpha
#16170d0fe1ec Thanks @bittoby! - Fixes edge middleware next() dropping the HTTP method and body when forwarding requests to the serverless function, which caused non-GET API routes (POST, PUT, PATCH, DELETE) to return 404