Skip to content

Commit

Permalink
[ci] release (#10598)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
astrobot-houston and github-actions[bot] committed Mar 28, 2024
1 parent 5d7449b commit 0ff5d72
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 50 deletions.
17 changes: 0 additions & 17 deletions .changeset/angry-lamps-cheer.md

This file was deleted.

31 changes: 0 additions & 31 deletions .changeset/blue-ghosts-rule.md

This file was deleted.

32 changes: 32 additions & 0 deletions packages/db/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@astrojs/db",
"version": "0.9.7",
"version": "0.9.8",
"description": "",
"license": "MIT",
"type": "module",
Expand Down
18 changes: 18 additions & 0 deletions packages/integrations/vercel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/vercel/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 0ff5d72

Please sign in to comment.