summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/angry-lamps-cheer.md17
-rw-r--r--.changeset/blue-ghosts-rule.md31
-rw-r--r--packages/db/CHANGELOG.md32
-rw-r--r--packages/db/package.json2
-rw-r--r--packages/integrations/vercel/CHANGELOG.md18
-rw-r--r--packages/integrations/vercel/package.json2
6 files changed, 52 insertions, 50 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.
diff --git a/packages/db/CHANGELOG.md b/packages/db/CHANGELOG.md
index 4b7bd72cc..e78c531be 100644
--- a/packages/db/CHANGELOG.md
+++ b/packages/db/CHANGELOG.md
@@ -1,5 +1,37 @@
# @astrojs/db
+## 0.9.8
+
+### Patch Changes
+
+- [#10589](https://github.com/withastro/astro/pull/10589) [`ed1031ba29af9a8a89ab386d772a228ba1414b4d`](https://github.com/withastro/astro/commit/ed1031ba29af9a8a89ab386d772a228ba1414b4d) Thanks [@column.text(),](<https://github.com/column.text(),>)! - 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(),
+
+ 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.
+
## 0.9.7
### Patch Changes
diff --git a/packages/db/package.json b/packages/db/package.json
index bb70df221..b1b097ad8 100644
--- a/packages/db/package.json
+++ b/packages/db/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/db",
- "version": "0.9.7",
+ "version": "0.9.8",
"description": "",
"license": "MIT",
"type": "module",
diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md
index 1adbfbe62..4bec34fa2 100644
--- a/packages/integrations/vercel/CHANGELOG.md
+++ b/packages/integrations/vercel/CHANGELOG.md
@@ -1,5 +1,23 @@
# @astrojs/vercel
+## 7.5.0
+
+### Minor Changes
+
+- [#10513](https://github.com/withastro/astro/pull/10513) [`a573cc199a00d35410197ba4117c97764a984dc0`](https://github.com/withastro/astro/commit/a573cc199a00d35410197ba4117c97764a984dc0) Thanks [@tk04](https://github.com/tk04)! - 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]",
+ ]
+ }
+ })
+ })
+ ```
+
## 7.4.1
### Patch Changes
diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json
index 1407a79e9..c97852f0d 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": "7.4.1",
+ "version": "7.5.0",
"type": "module",
"author": "withastro",
"license": "MIT",