Packages

@astrojs/vercel

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

Your version

7.8.0

20 Aug 2024Where it was published

7.8.2 is the newest release of 7.x.

In short

1 deprecated1 fixed

  • Deprecated

    Deprecates the functionPerRoute option

Security

1 advisory affects 7.8.0; 10.0.2 fixes them

Release note

Minor Changes

  • Deprecated

    Deprecates the functionPerRoute option

    This option is now deprecated, and will be removed entirely in Astro v5.0. We suggest removing this option from your configuration as soon as you are able to:

    import { defineConfig } from 'astro/config';
    import vercel from '@astrojs/vercel/serverless';
    
    export default defineConfig({
      // ...
      output: 'server',
      adapter: vercel({
    -     functionPerRoute: true,
      }),
    });

Patch Changes

  • Prevent race condition with Node 18

    Using Node 18 there can be a race condition where polyfill for the crypto global is not applied in time. This change ensures the polyfills run first.

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.