@astrojs/vercel
11.0.22 · 13 Nov 2026MIT790.2k / weekRepositoryHomepagenpmAtom feed
7.8.2 is the newest release of 7.x.
In short
1 deprecated1 fixed
- Deprecated
Deprecates the
functionPerRouteoption
Security
1 advisory affects 7.8.0; 10.0.2 fixes them
- ModerateAstro: Unauthenticated Path Override via `x-astro-path` / `x_astro_path`GHSA-mr6q-rp88-fx84 · 26 Mar 2026Fixed in 10.0.2
Release note
Minor Changes
- Deprecated
Deprecates the
functionPerRouteoptionThis 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
cryptoglobal 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.