diff options
Diffstat (limited to 'packages/integrations/vercel/CHANGELOG.md')
-rw-r--r-- | packages/integrations/vercel/CHANGELOG.md | 20 |
1 files changed, 20 insertions, 0 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 |