summaryrefslogtreecommitdiff
path: root/.changeset/sixty-teachers-tap.md
diff options
context:
space:
mode:
Diffstat (limited to '.changeset/sixty-teachers-tap.md')
-rw-r--r--.changeset/sixty-teachers-tap.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/.changeset/sixty-teachers-tap.md b/.changeset/sixty-teachers-tap.md
new file mode 100644
index 000000000..122557751
--- /dev/null
+++ b/.changeset/sixty-teachers-tap.md
@@ -0,0 +1,26 @@
+---
+'@astrojs/vercel': minor
+---
+
+Enable Vercel Speed Insights and Vercel Web Analytics individually.
+Deprecates the `analytics` property in `astro.config.mjs` in favor of `speedInsights` and `webAnalytics`.
+
+If you're using the `analytics` property, you'll need to update your config to use the new properties:
+
+```diff
+// astro.config.mjs
+export default defineConfig({
+ adapter: vercel({
+- analytics: true,
++ webAnalytics: {
++ enabled: true
++ },
++ speedInsights: {
++ enabled: true
++ }
+ })
+});
+```
+
+Allow configuration of Web Analytics with all available configuration options.
+Bumps @vercel/analytics package to the latest version.