@astrojs/vercel
11.0.22 · 13 Nov 2026MIT790.2k / weekRepositoryHomepagenpmAtom feed
3.8.2 is the newest release of 3.x.
In short
3 new3 fixed1 internal
Security
1 advisory affects 3.4.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
Add
edge-lightandworkerimport condition for worker bundling
Patch Changes
Correctly handle analytics id where present
Enable experimental support for hybrid SSR with pre-rendering enabled by default
astro.config.mjs
import { defineConfig } from 'astro/config'; export defaultdefineConfig({ output: 'hybrid', experimental: { hybridOutput: true, }, })Then add
export const prerender = falseto any page or endpoint you want to opt-out of pre-rendering.src/pages/contact.astro
--- export const prerender = false; if (Astro.request.method === 'POST') { // handle form submission } --- <form method="POST"> <input type="text" name="name" /> <input type="email" name="email" /> <button type="submit">Submit</button> </form>Add missing esbuild dependency
Always build edge/worker runtime with Vite
webworkerSSR targetSpecify
"files"field to only publish necessary files
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.