Astro @astrojs/vercel@11.0.7

@astrojs/vercel@11.0.7
Fixed 1
  • Fix middlewareMode: 'edge' not running middleware when isr is also enabled by ensuring middleware runs at the edge for ISR-backed routes before the cached response is served and preserving query strings when forwarding the request

From Astro

Patch Changes
  • #17687 0a22ff5 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.

  • Updated dependencies [05763a0]:

    • @astrojs/internal-helpers@0.10.4
View original

Upgraded? How did it go?

Discussion