summaryrefslogtreecommitdiff
path: root/.changeset
diff options
context:
space:
mode:
authorGravatar Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> 2024-03-28 11:20:53 -0700
committerGravatar GitHub <noreply@github.com> 2024-03-28 14:20:53 -0400
commit0ff5d72c7841e10065d37b43322358f4a48b7e95 (patch)
tree5a0589f8f7612bb3ae98a31d3fed9482ee4866ba /.changeset
parent5d7449bd73b5730faf808e8c9911ca1d97547b3c (diff)
downloadastro-@astrojs/vercel@7.5.0.tar.gz
astro-@astrojs/vercel@7.5.0.tar.zst
astro-@astrojs/vercel@7.5.0.zip
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to '.changeset')
-rw-r--r--.changeset/angry-lamps-cheer.md17
-rw-r--r--.changeset/blue-ghosts-rule.md31
2 files changed, 0 insertions, 48 deletions
diff --git a/.changeset/angry-lamps-cheer.md b/.changeset/angry-lamps-cheer.md
deleted file mode 100644
index d8bdee813..000000000
--- a/.changeset/angry-lamps-cheer.md
+++ /dev/null
@@ -1,17 +0,0 @@
----
-"@astrojs/vercel": minor
----
-
-The `isr.exclude` configuration can now include routes with dynamic and spread parameters.
-```ts
-export default defineConfig({
- adapter: vercel({
- isr: {
- exclude: [
- "/blog/[title]"
- "/api/[...slug]",
- ]
- }
- })
-})
-```
diff --git a/.changeset/blue-ghosts-rule.md b/.changeset/blue-ghosts-rule.md
deleted file mode 100644
index ea06089c6..000000000
--- a/.changeset/blue-ghosts-rule.md
+++ /dev/null
@@ -1,31 +0,0 @@
----
-"@astrojs/db": patch
----
-
-Update the table indexes configuration to allow generated index names. The `indexes` object syntax is now deprecated in favor of an array.
-
-## Migration
-
-You can update your `indexes` configuration object to an array like so:
-
-```diff
-import { defineDb, defineTable, column } from 'astro:db';
-
-const Comment = defineTable({
- columns: {
- postId: column.number(),
- author: column.text(),
- body: column.text(),
- },
-- indexes: {
-- postIdIdx: { on: 'postId' },
-- authorPostIdIdx: { on: ['author, postId'], unique: true },
-- },
-+ indexes: [
-+ { on: 'postId' /* 'name' is optional */ },
-+ { on: ['author, postId'], unique: true },
-+ ]
-})
-```
-
-This example will generate indexes with the names `Comment_postId_idx` and `Comment_author_postId_idx`, respectively. You can specify a name manually by adding the `name` attribute to a given object. This name will be **global,** so ensure index names do not conflict between tables.