Skip to content

Commit b6e6fa4

Browse files
committed
Merge branch 'feat/environment-api' into env-api/framework-components2
2 parents 15a135e + 22b9c33 commit b6e6fa4

File tree

141 files changed

+2321
-804
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+2321
-804
lines changed

.changeset/angry-eels-unite.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/eleven-geckos-ring.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
Adds Vite version & integration versions to output of `astro info`

.changeset/few-parrots-cover.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
Fixes support for declarative Shadow DOM when using the `<ClientRouter>` component

.changeset/full-dingos-repeat.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
'@astrojs/db': minor
3+
---
4+
5+
Adds a new libSQL web driver to support environments that require a non-Node.js libSQL client such as Cloudflare or Deno. Also adds a new `mode` configuration option to allow you to set your client connection type: `node` (default) or `web`.
6+
7+
The default db `node` driver mode is identical to the previous AstroDB functionality. No changes have been made to how AstroDB works in Node.js environments, and this is still the integration's default behavior. If you are currently using AstroDB, no changes to your project code are required and setting a `mode` is not required.
8+
9+
However, if you have previously been unable to use AstroDB because you required a non-Node.js libSQL client, you can now install and configure the libSQL web driver by setting `mode: 'web'` in your `db` configuration:
10+
11+
```ts
12+
import db from '@astrojs/db';
13+
import { defineConfig } from 'astro/config';
14+
15+
// https://astro.build/config
16+
export default defineConfig({
17+
integrations: [db({ mode: 'web' })],
18+
});
19+
```
20+
21+
For more information, see the [`@astrojs/db` documentation](https://docs.astro.build/en/guides/integrations-guide/db/#mode).

.changeset/kind-snakes-grow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
Improves error reporting for content collections by adding logging for configuration errors that had previously been silently ignored. Also adds a new error that is thrown if a live collection is used in `content.config.ts` rather than `live.config.ts`.

.changeset/lemon-tires-yell.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/many-symbols-arrive.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
Fixes a regression in non node runtimes

.github/renovate.json5

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,5 @@
8383
// follow vite deps version
8484
"postcss-load-config",
8585
"esbuild",
86-
// TODO: follow https://github.com/withastro/astro/pull/13478
87-
"@vitejs/plugin-vue"
8886
],
8987
}

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929

3030
# https://github.com/actions/checkout/issues/331#issuecomment-1438220926
31-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
3232
with:
3333
persist-credentials: false
3434
ref: refs/pull/${{ github.event.issue.number }}/head
@@ -70,7 +70,7 @@ jobs:
7070
shell: bash
7171

7272
# main benchmark
73-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
73+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
7474
with:
7575
persist-credentials: false
7676
ref: "main"

.github/workflows/check-merge.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- name: Check if there is already a block on this PR
1515
id: blocked
16-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
16+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
1717
env:
1818
issue_number: ${{ github.event.number }}
1919
with:
@@ -32,7 +32,7 @@ jobs:
3232
return 'false'
3333
result-encoding: string
3434

35-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
35+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
3636
if: steps.blocked.outputs.result != 'true'
3737
with:
3838
repository: ${{ github.event.pull_request.head.repo.full_name }}
@@ -67,7 +67,7 @@ jobs:
6767
done
6868
6969
- name: Add label
70-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
70+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
7171
if: steps.check.outputs.found == 'true'
7272
env:
7373
issue_number: ${{ github.event.number }}
@@ -81,7 +81,7 @@ jobs:
8181
});
8282
8383
- name: Change PR Status
84-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
84+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
8585
if: steps.check.outputs.found == 'true'
8686
env:
8787
issue_number: ${{ github.event.number }}

0 commit comments

Comments
 (0)