From 9cb5cb19ebc0d5cbb59f101837344db11058a13d Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Thu, 10 Aug 2023 12:56:42 -0400 Subject: [PATCH] Update .changeset/plenty-keys-add.md Co-authored-by: Sarah Rainsberger --- .changeset/plenty-keys-add.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.changeset/plenty-keys-add.md b/.changeset/plenty-keys-add.md index fe9b47b165f9..d026e5a9a939 100644 --- a/.changeset/plenty-keys-add.md +++ b/.changeset/plenty-keys-add.md @@ -4,4 +4,18 @@ Remove the Vercel Edge adapter -With the Vercel adapter now supporting Edge middleware, there's no longer a need for an adapter for Edge itself (deploying your entire app to the edge). This adapter had several known limitations and compatibility issues that prevented very many people from using it in production. To reduce maintenance costs and because we have a better story with Serveless + Edge Middleware, we are removing the Edge adapter. + `@astrojs/vercel/serverless` now supports Edge middleware, so a separate adapter for Edge itself (deploying your entire app to the edge) is no longer necessary. Please update your Astro config to reflect this change: + + ```diff + // astro.config.mjs +import { defineConfig } from 'astro/config'; +- import vercel from '@astrojs/vercel/edge'; ++ import vercel from '@astrojs/vercel/serverless'; + +export default defineConfig({ + output: 'server', + adapter: vercel(), +}); +``` + +This adapter had several known limitations and compatibility issues that prevented many people from using it in production. To reduce maintenance costs and because we have a better story with Serveless + Edge Middleware, we are removing the Edge adapter.