summaryrefslogtreecommitdiff
path: root/packages/integrations/vercel/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/vercel/CHANGELOG.md')
-rw-r--r--packages/integrations/vercel/CHANGELOG.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md
index 57fd93bc6..ff47e0ca6 100644
--- a/packages/integrations/vercel/CHANGELOG.md
+++ b/packages/integrations/vercel/CHANGELOG.md
@@ -1,5 +1,40 @@
# @astrojs/vercel
+## 8.1.0
+
+### Minor Changes
+
+- [#13211](https://github.com/withastro/astro/pull/13211) [`7ea0aba`](https://github.com/withastro/astro/commit/7ea0aba053a70cc572c59cef2adc7cd07becfcd2) Thanks [@slawekkolodziej](https://github.com/slawekkolodziej)! - Adds support for regular expressions in ISR exclude list
+
+ Previously, excluding a page from ISR required explicitly listing it in `isr.exclude`. As websites grew larger, maintaining this list became increasingly difficult, especially for multiple API routes and pages that needed server-side rendering.
+
+ To address this, ISR exclusions now support regular expressions, allowing for more flexible and scalable configurations.
+
+ ```js
+ // astro.config.mjs
+ import vercel from '@astrojs/vercel/serverless';
+
+ export default defineConfig({
+ output: 'server',
+ adapter: vercel({
+ isr: {
+ exclude: [
+ '/preview', // Excludes a specific route (e.g., pages/preview.astro)
+ '/auth/[page]', // Excludes a dynamic route (e.g., pages/auth/[page].astro)
+ /^\/api\/.+/, // Excludes all routes starting with /api/
+ ],
+ },
+ }),
+ });
+ ```
+
+### Patch Changes
+
+- [#13323](https://github.com/withastro/astro/pull/13323) [`80926fa`](https://github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@ematipico](https://github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`.
+
+- Updated dependencies [[`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
+ - @astrojs/internal-helpers@0.6.0
+
## 8.0.8
### Patch Changes