Packages

@astrojs/vercel

11.0.22 · 13 Nov 2026MIT790.2k / weekRepositoryHomepagenpmAtom feed

Your version

169 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 11.x · latest line
  2. 11.0.22

    13 Nov 2026
    • Unpins @astrojs/* dependencies to allow versions matching the ^ range to be installed

  3. 11.0.21

    10 Nov 2026
    • Prevents server function traces from including the entire project when a dependency uses paths the tracer cannot resolve.

  4. 11.0.20

    5 Nov 2026

    Only updates a dependency:@astrojs/internal-helpers 0.13.1

  5. 11.0.19

    5 Nov 2026
    • Fixes Vercel builds that crash on unrecognized NFT dependency-resolution warnings

  6. 11.0.18

    2 Nov 2026
    • Fixes NFT tracing so dynamic path segments no longer glob the whole workspace, which could include unrelated files in function bundles for monorepo projects

  7. 11.0.17

    28 Oct 2026
    • Fix redirects never matching on Vercel when trailingSlash: 'always' is set. Redirect sources now include the trailing slash so they match the normalized request path. Sources whose last segment contains a dot are left unslashed, and dynamic or spread sources emit both the slashed and unslashed form, because Vercel only normalizes paths without a dot.

  8. 11.0.16

    19 Oct 2026
    • Uses the Vercel Bun runtime for serverless functions when the project is built with Bun (e.g. bunx --bun astro build)

  9. 11.0.15

    15 Oct 2026

    Only updates a dependency:@astrojs/internal-helpers 0.13.0

  10. 11.0.14

    12 Oct 2026
    • Fixes on-demand routes failing with "Cannot find native binding" on Vercel, caused by the serverless function loading rolldown at runtime

  11. 11.0.13

    8 Oct 2026
    • Refactors internal bundling and code transforms to use Vite's Oxc-based transformWithOxc and Rolldown instead of esbuild. These packages no longer depend on esbuild directly.

  12. 11.0.12

    6 Oct 2026
    • Fixes middleware rewrites returning 404 instead of 200 when the 404 page is server-rendered

  13. 11.0.11

    22 Sep 2026
    • 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.

    • Fixes the immutable Cache-Control rule for hashed assets (/_astro/*) being emitted after the filesystem route handle in .vercel/output/config.json.

  14. 11.0.10

    3 Sep 2026
    • Updates the development image service to forward every argument it receives to Astro's Sharp service, including the new logger parameter

  15. 11.0.9

    31 Aug 2026
  16. 11.0.8

    24 Aug 2026
    • 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

  17. 11.0.7

    19 Aug 2026
    • 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.

  18. 11.0.6

    18 Aug 2026
    • Fixes server islands returning 404 responses in Vercel deployments using output: "static"

  19. 11.0.5

    6 Aug 2026
    • 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

  20. 11.0.4

    28 Jul 2026

    Only updates a dependency:@astrojs/internal-helpers 0.10.2

  21. 11.0.3

    13 Jul 2026
    • Improves internal ISR route handling

  22. 11.0.2

    2 Jul 2026

    Only updates a dependency:@astrojs/internal-helpers 0.10.1

  23. 11.0.1

    1 Jul 2026
    • Fixes an issue where the peerDependencies field used incorrect dependencies.

  24. 11.0.0

    22 Jun 2026
    • Breaking

      Upgrade to Vite v8

    • Adds a CDN cache provider for Astro route caching on Vercel

    • Triggers beta prereleases for packages that are still on alpha

  25. 10.x
  26. 10.0.7 – 10.0.82 releases that only update dependencies@astrojs/internal-helpers 0.10.0Show each
  27. 10.0.6

    28 Apr 2026
    • Fix forwarded serverless requests with streamed bodies by preserving the required duplex: 'half' option when rewriting middleware paths.

  28. 10.0.5

    22 Apr 2026

    Only updates a dependency:@astrojs/internal-helpers 0.9.0

  29. 10.0.4

    1 Apr 2026
    • 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

  30. 10.0.3

    26 Mar 2026
    • Fix vercel ISR path rewrite

  31. 10.0.2

    19 Mar 2026
    • Fix Vercel serverless path override handling so override values are only applied when the trusted middleware secret is present.

  32. 10.0.1

    16 Mar 2026
    • Updates the Astro peerDependencies#astro to be 6.0.0.

  33. 10.0.0

    10 Mar 2026
    • Breaking

      Removes the deprecated @astrojs/vercel/serverless and @astrojs/vercel/static exports. Use the @astrojs/vercel export instead

    • Deprecated

      Adds new middlewareMode adapter feature and deprecates edgeMiddleware option

      The edgeMiddleware option is now deprecated and will be removed in a future release, so users should transition to using the new middlewareMode feature as soon as possible.

      export default defineConfig({
        adapter: vercel({
      -    edgeMiddleware: true
      +    middlewareMode: 'edge'
        })
      })
    • Stabilizes the adapter feature experimentalStatiHeaders. If you were using this feature in any of the supported adapters, you'll need to change the name of the flag:

      export default defineConfig({
        adapter: netlify({
      -    experimentalStaticHeaders: true
      +    staticHeaders: true
        })
      })
  34. 9.x
  35. 9.0.5

    10 Mar 2026

    Only updates a dependency:@astrojs/internal-helpers 0.7.6

  36. 9.0.4

    16 Jan 2026
    • Improves error message when using Node builtins inside Edge middlewares

  37. 9.0.3

    7 Jan 2026
    • Updates Node versions data to account for v24 as the default

  38. 9.0.2

    26 Nov 2025
    • Allow "node:" prefix for Node builtins

  39. 9.0.1

    17 Nov 2025

    Only updates a dependency:@astrojs/internal-helpers 0.7.5

  40. 9.0.0

    23 Oct 2025
    • Breaking

      Updates Node v18 'retiring' notice to 'deprecated' for Vercel adapter.

    • Enables skew protection for Astro sites deployed on Vercel. Skew protection ensures that your site's client and server versions stay synchronized during deployments, preventing issues where users might load assets from a newer deployment while the server is still running the older version.

      Skew protection is automatically enabled on Vercel deployments when the VERCEL_SKEW_PROTECTION_ENABLED environment variable is set to 1. The deployment ID is automatically included in both asset requests and API calls, allowing Vercel to serve the correct version to every user.

  41. 8.x
  42. 8.2.11

    21 Oct 2025
    • Fix regression in 8.2.7: validate densities-based srcset widths against configured sizes

      When using densities with the Vercel image adapter, calculated widths were not being validated against Vercel's configured sizes list. This caused images to fail when using densities, as Vercel would reject the invalid widths.

      This fix ensures densities-calculated widths are mapped to valid configured sizes, matching the behavior already implemented for the widths prop.

  43. 8.2.10

    14 Oct 2025
    • Fixes a bug that caused too many files to be bundled in SSR

  44. 8.2.9

    9 Oct 2025
    • Fixes a bug that caused too many files to be bundled in SSR

  45. 8.2.8

    22 Sep 2025

    Only updates a dependency:@astrojs/internal-helpers 0.7.3

  46. 8.2.7

    29 Aug 2025
    • Fixes a bug where experimentalStaticHeaders did not work as expected.

    • Fixes a bug that caused invalid image sizes to be generated when the requested widths were larger than the source image

  47. 8.2.4 – 8.2.63 releases that only update dependencies@astrojs/internal-helpers 0.7.2Show each
  48. 8.2.3

    21 Jul 2025
    • Changes the default Node.js version of Vercel functions to 22

  49. 8.2.2

    14 Jul 2025
    • Allow setting domains to undefined in imagesConfig so that remotePatterns can be better utilized for images from a variety of domains.

  50. 8.2.1

    3 Jul 2025
    • Fixes the internal implementation of the new feature experimentalStaticHeaders, where dynamic routes
      were mapped to use always the same header.

  51. 8.2.0

    19 Jun 2025
    • Adds support for the experimental static headers Astro feature.

      When the feature is enabled via option experimentalStaticHeaders, and experimental Content Security Policy is enabled, the adapter will generate Response headers for static pages, which allows support for CSP directives that are not supported inside a <meta> tag (e.g. frame-ancestors).

      import { defineConfig } from 'astro/config';
      import vercel from '@astrojs/vercel';
      
      export default defineConfig({
        adapter: vercel({
          experimentalStaticHeaders: true,
        }),
        experimental: {
          cps: true,
        },
      });
    • The responsive images feature introduced behind a flag in v5.0.0 is no longer experimental and is available for general use.

      The new responsive images feature in Astro automatically generates optimized images for different screen sizes and resolutions, and applies the correct attributes to ensure that images are displayed correctly on all devices.

      Enable the image.responsiveStyles option in your Astro config. Then, set a layout attribute on any <Image /> or <Picture /> component, or configure a default image.layout, for instantly responsive images with automatically generated srcset and sizes attributes based on the image's dimensions and the layout type.

      Displaying images correctly on the web can be challenging, and is one of the most common performance issues seen in sites. This new feature simplifies the most challenging part of the process: serving your site visitor an image optimized for their viewing experience, and for your website's performance.

      For full details, see the updated Image guide.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.