summaryrefslogtreecommitdiff
path: root/packages/integrations/vercel
diff options
context:
space:
mode:
authorGravatar github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 2022-05-12 14:48:58 -0600
committerGravatar GitHub <noreply@github.com> 2022-05-12 14:48:58 -0600
commitcedb9a2105cc673c574668f586879bf94fac0d52 (patch)
tree76aad62dfb18d14e8ff403180fb5f3b31efa56ac /packages/integrations/vercel
parent4ac792a02dacddb042fb911b90cbfa8f407812b5 (diff)
downloadastro-create-astro@0.12.1.tar.gz
astro-create-astro@0.12.1.tar.zst
astro-create-astro@0.12.1.zip
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'packages/integrations/vercel')
-rw-r--r--packages/integrations/vercel/CHANGELOG.md20
-rw-r--r--packages/integrations/vercel/package.json2
2 files changed, 21 insertions, 1 deletions
diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md
index 4fb3a7577..f3570fdcd 100644
--- a/packages/integrations/vercel/CHANGELOG.md
+++ b/packages/integrations/vercel/CHANGELOG.md
@@ -1,5 +1,25 @@
# @astrojs/vercel
+## 0.2.0
+
+### Minor Changes
+
+- [#3216](https://github.com/withastro/astro/pull/3216) [`114bf63e`](https://github.com/withastro/astro/commit/114bf63e11f28299b13178ef1a412eed37ab7909) Thanks [@JuanM04](https://github.com/JuanM04)! - **[BREAKING]** Now with Build Output API (v3)! [See the README to get started](https://github.com/withastro/astro/tree/main/packages/integrations/vercel#readme).
+
+ - `trailingSlash` redirects works without a `vercel.json` file: just configure them inside your `astro.config.mjs`
+ - Multiple deploy targets: `edge`, `serverless` and `static`!
+ - When building to `serverless`, your code isn't transpiled to CJS anymore.
+
+ **Migrate from v0.1**
+
+ 1. Change the import inside `astro.config.mjs`:
+ ```diff
+ - import vercel from '@astrojs/vercel';
+ + import vercel from '@astrojs/vercel/serverless';
+ ```
+ 2. Rename the `ENABLE_FILE_SYSTEM_API` environment variable to `ENABLE_VC_BUILD`, as Vercel changed it.
+ 3. The output folder changed from `.output` to `.vercel/output` — you may need to update your `.gitignore`.
+
## 0.1.4
### Patch Changes
diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json
index e7f98b77e..a7ca9361b 100644
--- a/packages/integrations/vercel/package.json
+++ b/packages/integrations/vercel/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/vercel",
"description": "Deploy your site to Vercel",
- "version": "0.1.4",
+ "version": "0.2.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",