summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/brave-pots-listen.md5
-rw-r--r--.changeset/dull-lizards-jog.md5
-rw-r--r--.changeset/fair-singers-reflect.md30
-rw-r--r--.changeset/gold-mayflies-beam.md36
-rw-r--r--.changeset/nervous-pens-retire.md7
-rw-r--r--.changeset/poor-berries-occur.md70
-rw-r--r--.changeset/sweet-trainers-eat.md5
-rw-r--r--.changeset/swift-phones-rhyme.md5
-rw-r--r--.changeset/tidy-days-decide.md5
-rw-r--r--examples/basics/package.json2
-rw-r--r--examples/blog/package.json4
-rw-r--r--examples/component/package.json2
-rw-r--r--examples/container-with-vitest/package.json4
-rw-r--r--examples/framework-alpine/package.json2
-rw-r--r--examples/framework-lit/package.json4
-rw-r--r--examples/framework-multiple/package.json12
-rw-r--r--examples/framework-preact/package.json4
-rw-r--r--examples/framework-react/package.json4
-rw-r--r--examples/framework-solid/package.json4
-rw-r--r--examples/framework-svelte/package.json4
-rw-r--r--examples/framework-vue/package.json4
-rw-r--r--examples/hackernews/package.json2
-rw-r--r--examples/integration/package.json2
-rw-r--r--examples/middleware/package.json2
-rw-r--r--examples/minimal/package.json2
-rw-r--r--examples/non-html-pages/package.json2
-rw-r--r--examples/portfolio/package.json2
-rw-r--r--examples/ssr/package.json4
-rw-r--r--examples/starlog/package.json2
-rw-r--r--examples/toolbar-app/package.json2
-rw-r--r--examples/view-transitions/package.json2
-rw-r--r--examples/with-markdoc/package.json2
-rw-r--r--examples/with-markdown-plugins/package.json2
-rw-r--r--examples/with-markdown-shiki/package.json2
-rw-r--r--examples/with-mdx/package.json6
-rw-r--r--examples/with-nanostores/package.json4
-rw-r--r--examples/with-tailwindcss/package.json4
-rw-r--r--examples/with-vitest/package.json2
-rw-r--r--packages/astro/CHANGELOG.md140
-rw-r--r--packages/astro/package.json2
-rw-r--r--packages/integrations/lit/CHANGELOG.md24
-rw-r--r--packages/integrations/lit/package.json2
-rw-r--r--packages/integrations/mdx/CHANGELOG.md24
-rw-r--r--packages/integrations/mdx/package.json2
-rw-r--r--packages/integrations/preact/CHANGELOG.md24
-rw-r--r--packages/integrations/preact/package.json2
-rw-r--r--packages/integrations/react/CHANGELOG.md24
-rw-r--r--packages/integrations/react/package.json2
-rw-r--r--packages/integrations/solid/CHANGELOG.md24
-rw-r--r--packages/integrations/solid/package.json2
-rw-r--r--packages/integrations/svelte/CHANGELOG.md24
-rw-r--r--packages/integrations/svelte/package.json2
-rw-r--r--packages/integrations/vue/CHANGELOG.md24
-rw-r--r--packages/integrations/vue/package.json2
-rw-r--r--pnpm-lock.yaml94
55 files changed, 410 insertions, 270 deletions
diff --git a/.changeset/brave-pots-listen.md b/.changeset/brave-pots-listen.md
deleted file mode 100644
index bc6d58963..000000000
--- a/.changeset/brave-pots-listen.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": patch
----
-
-Improves DX by throwing the original `AstroUserError` when an error is thrown inside a `.mdx` file.
diff --git a/.changeset/dull-lizards-jog.md b/.changeset/dull-lizards-jog.md
deleted file mode 100644
index 9f5d7bdb2..000000000
--- a/.changeset/dull-lizards-jog.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": patch
----
-
-Errors that are emitted during a rewrite are now bubbled up and shown to the user. A 404 response is not returned anymore.
diff --git a/.changeset/fair-singers-reflect.md b/.changeset/fair-singers-reflect.md
deleted file mode 100644
index e18ec42f9..000000000
--- a/.changeset/fair-singers-reflect.md
+++ /dev/null
@@ -1,30 +0,0 @@
----
-"@astrojs/preact": minor
-"@astrojs/svelte": minor
-"@astrojs/react": minor
-"@astrojs/solid-js": minor
-"@astrojs/lit": minor
-"@astrojs/mdx": minor
-"@astrojs/vue": minor
-"astro": patch
----
-
-The integration now exposes a function called `getContainerRenderer`, that can be used inside the Container APIs to load the relative renderer.
-
-```js
-import { experimental_AstroContainer as AstroContainer } from 'astro/container';
-import ReactWrapper from '../src/components/ReactWrapper.astro';
-import { loadRenderers } from "astro:container";
-import { getContainerRenderer } from "@astrojs/react";
-
-test('ReactWrapper with react renderer', async () => {
- const renderers = await loadRenderers([getContainerRenderer()])
- const container = await AstroContainer.create({
- renderers,
- });
- const result = await container.renderToString(ReactWrapper);
-
- expect(result).toContain('Counter');
- expect(result).toContain('Count: <!-- -->5');
-});
-```
diff --git a/.changeset/gold-mayflies-beam.md b/.changeset/gold-mayflies-beam.md
deleted file mode 100644
index d500b30b4..000000000
--- a/.changeset/gold-mayflies-beam.md
+++ /dev/null
@@ -1,36 +0,0 @@
----
-"astro": patch
----
-
-**BREAKING CHANGE to the experimental Container API only**
-
-Changes the **type** of the `renderers` option of the `AstroContainer::create` function and adds a dedicated function `loadRenderers()` to load the rendering scripts from renderer integration packages (`@astrojs/react`, `@astrojs/preact`, `@astrojs/solid-js`, `@astrojs/svelte`, `@astrojs/vue`, `@astrojs/lit`, and `@astrojs/mdx`).
-
-You no longer need to know the individual, direct file paths to the client and server rendering scripts for each renderer integration package. Now, there is a dedicated function to load the renderer from each package, which is available from `getContainerRenderer()`:
-
-```diff
-import { experimental_AstroContainer as AstroContainer } from 'astro/container';
-import ReactWrapper from '../src/components/ReactWrapper.astro';
-import { loadRenderers } from "astro:container";
-import { getContainerRenderer } from "@astrojs/react";
-
-test('ReactWrapper with react renderer', async () => {
-+ const renderers = await loadRenderers([getContainerRenderer()])
-- const renderers = [
-- {
-- name: '@astrojs/react',
-- clientEntrypoint: '@astrojs/react/client.js',
-- serverEntrypoint: '@astrojs/react/server.js',
-- },
-- ];
- const container = await AstroContainer.create({
- renderers,
- });
- const result = await container.renderToString(ReactWrapper);
-
- expect(result).toContain('Counter');
- expect(result).toContain('Count: <!-- -->5');
-});
-```
-
-The new `loadRenderers()` helper function is available from `astro:container`, a virtual module that can be used when running the Astro container inside `vite`.
diff --git a/.changeset/nervous-pens-retire.md b/.changeset/nervous-pens-retire.md
deleted file mode 100644
index 7815d37ad..000000000
--- a/.changeset/nervous-pens-retire.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-"astro": patch
----
-
-It's not possible anymore to use `Astro.rewrite("/404")` inside static pages. This isn't counterproductive because Astro will end-up emitting a page that contains the HTML of 404 error page.
-
-It's still possible to use `Astro.rewrite("/404")` inside on-demand pages, or pages that opt-out from prerendering.
diff --git a/.changeset/poor-berries-occur.md b/.changeset/poor-berries-occur.md
deleted file mode 100644
index 49b3c75ec..000000000
--- a/.changeset/poor-berries-occur.md
+++ /dev/null
@@ -1,70 +0,0 @@
----
-"astro": minor
----
-
-Adds experimental support for the `astro:env` API.
-
-The `astro:env` API lets you configure a type-safe schema for your environment variables, and indicate whether they should be available on the server or the client. Import and use your defined variables from the appropriate `/client` or `/server` module:
-
-```astro
----
-import { PUBLIC_APP_ID } from "astro:env/client"
-import { PUBLIC_API_URL, getSecret } from "astro:env/server"
-const API_TOKEN = getSecret("API_TOKEN")
-
-const data = await fetch(`${PUBLIC_API_URL}/users`, {
- method: "POST",
- headers: {
- "Content-Type": "application/json",
- "Authorization": `Bearer ${API_TOKEN}`
- },
- body: JSON.stringify({ appId: PUBLIC_APP_ID })
-})
----
-```
-
-To define the data type and properties of your environment variables, declare a schema in your Astro config in `experimental.env.schema`. The `envField` helper allows you define your variable as a string, number, or boolean and pass properties in an object:
-
-```js
-// astro.config.mjs
-import { defineConfig, envField } from "astro/config"
-
-export default defineConfig({
- experimental: {
- env: {
- schema: {
- PUBLIC_API_URL: envField.string({ context: "client", access: "public", optional: true }),
- PUBLIC_PORT: envField.number({ context: "server", access: "public", default: 4321 }),
- API_SECRET: envField.string({ context: "server", access: "secret" }),
- }
- }
- }
-})
-```
-
-There are three kinds of environment variables, determined by the combination of `context` (`client` or `server`) and `access` (`private` or `public`) settings defined in your [`env.schema`](#experimentalenvschema):
-
-- **Public client variables**: These variables end up in both your final client and server bundles, and can be accessed from both client and server through the `astro:env/client` module:
-
- ```js
- import { PUBLIC_API_URL } from "astro:env/client"
- ```
-
-- **Public server variables**: These variables end up in your final server bundle and can be accessed on the server through the `astro:env/server` module:
-
- ```js
- import { PUBLIC_PORT } from "astro:env/server"
- ```
-
-- **Secret server variables**: These variables are not part of your final bundle and can be accessed on the server through the `getSecret()` helper function available from the `astro:env/server` module:
-
- ```js
- import { getSecret } from "astro:env/server"
-
- const API_SECRET = getSecret("API_SECRET") // typed
- const SECRET_NOT_IN_SCHEMA = getSecret("SECRET_NOT_IN_SCHEMA") // string | undefined
- ```
-
-**Note:** Secret client variables are not supported because there is no safe way to send this data to the client. Therefore, it is not possible to configure both `context: "client"` and `access: "secret"` in your schema.
-
-To learn more, check out [the documentation](https://docs.astro.build/en/reference/configuration-reference/#experimentalenv). \ No newline at end of file
diff --git a/.changeset/sweet-trainers-eat.md b/.changeset/sweet-trainers-eat.md
deleted file mode 100644
index 7a094fc48..000000000
--- a/.changeset/sweet-trainers-eat.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": patch
----
-
-Fixes a case where `Astro.url` would be incorrect when having `build.format` set to `'preserve'` in the Astro config
diff --git a/.changeset/swift-phones-rhyme.md b/.changeset/swift-phones-rhyme.md
deleted file mode 100644
index 3675fac14..000000000
--- a/.changeset/swift-phones-rhyme.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes an issue where `Astro.rewrite` wasn't carrying over the body of a `Request` in on-demand pages.
diff --git a/.changeset/tidy-days-decide.md b/.changeset/tidy-days-decide.md
deleted file mode 100644
index 53398e057..000000000
--- a/.changeset/tidy-days-decide.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes an issue where the function `getViteConfig` wasn't returning the correct merged Astro configuration
diff --git a/examples/basics/package.json b/examples/basics/package.json
index 49ba9ebfc..58f9736c9 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.9.3"
+ "astro": "^4.10.0"
}
}
diff --git a/examples/blog/package.json b/examples/blog/package.json
index ea2124124..165307c74 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^3.0.1",
+ "@astrojs/mdx": "^3.1.0",
"@astrojs/rss": "^4.0.6",
"@astrojs/sitemap": "^3.1.5",
- "astro": "^4.9.3"
+ "astro": "^4.10.0"
}
}
diff --git a/examples/component/package.json b/examples/component/package.json
index a070ba39e..6e2198c01 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^4.9.3"
+ "astro": "^4.10.0"
},
"peerDependencies": {
"astro": "^4.0.0"
diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json
index e8cb1536a..0af9d580a 100644
--- a/examples/container-with-vitest/package.json
+++ b/examples/container-with-vitest/package.json
@@ -12,8 +12,8 @@
"test": "vitest run"
},
"dependencies": {
- "astro": "experimental--container",
- "@astrojs/react": "experimental--container",
+ "astro": "^4.10.0",
+ "@astrojs/react": "^3.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vitest": "^1.6.0"
diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json
index ae436efbd..ce91b78d5 100644
--- a/examples/framework-alpine/package.json
+++ b/examples/framework-alpine/package.json
@@ -14,6 +14,6 @@
"@astrojs/alpinejs": "^0.4.0",
"@types/alpinejs": "^3.13.10",
"alpinejs": "^3.14.0",
- "astro": "^4.9.3"
+ "astro": "^4.10.0"
}
}
diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json
index 2a3f5de0b..6b3aa5fd7 100644
--- a/examples/framework-lit/package.json
+++ b/examples/framework-lit/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/lit": "^4.1.0",
+ "@astrojs/lit": "^4.2.0",
"@webcomponents/template-shadowroot": "^0.2.1",
- "astro": "^4.9.3",
+ "astro": "^4.10.0",
"lit": "^3.1.3"
}
}
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index c0dfa0d10..7444cc9db 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -11,14 +11,14 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/preact": "^3.3.0",
- "@astrojs/react": "^3.4.0",
- "@astrojs/solid-js": "^4.2.0",
- "@astrojs/svelte": "^5.4.0",
- "@astrojs/vue": "^4.3.0",
+ "@astrojs/preact": "^3.4.0",
+ "@astrojs/react": "^3.5.0",
+ "@astrojs/solid-js": "^4.3.0",
+ "@astrojs/svelte": "^5.5.0",
+ "@astrojs/vue": "^4.4.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
- "astro": "^4.9.3",
+ "astro": "^4.10.0",
"preact": "^10.22.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json
index e24ab9ecc..1d889b1da 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/preact": "^3.3.0",
+ "@astrojs/preact": "^3.4.0",
"@preact/signals": "^1.2.3",
- "astro": "^4.9.3",
+ "astro": "^4.10.0",
"preact": "^10.22.0"
}
}
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index 903956eff..478c9382d 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -11,10 +11,10 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/react": "^3.4.0",
+ "@astrojs/react": "^3.5.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
- "astro": "^4.9.3",
+ "astro": "^4.10.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index 90025d189..71f661133 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/solid-js": "^4.2.0",
- "astro": "^4.9.3",
+ "@astrojs/solid-js": "^4.3.0",
+ "astro": "^4.10.0",
"solid-js": "^1.8.17"
}
}
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index da9437fbe..81c5086a6 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/svelte": "^5.4.0",
- "astro": "^4.9.3",
+ "@astrojs/svelte": "^5.5.0",
+ "astro": "^4.10.0",
"svelte": "^4.2.17"
}
}
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index aa001bd41..6809a6821 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/vue": "^4.3.0",
- "astro": "^4.9.3",
+ "@astrojs/vue": "^4.4.0",
+ "astro": "^4.10.0",
"vue": "^3.4.27"
}
}
diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json
index 315ec7349..b925f797e 100644
--- a/examples/hackernews/package.json
+++ b/examples/hackernews/package.json
@@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/node": "^8.2.5",
- "astro": "^4.9.3"
+ "astro": "^4.10.0"
}
}
diff --git a/examples/integration/package.json b/examples/integration/package.json
index 7fe8b5265..457b15a93 100644
--- a/examples/integration/package.json
+++ b/examples/integration/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^4.9.3"
+ "astro": "^4.10.0"
},
"peerDependencies": {
"astro": "^4.0.0"
diff --git a/examples/middleware/package.json b/examples/middleware/package.json
index e28abd8bd..630802b4b 100644
--- a/examples/middleware/package.json
+++ b/examples/middleware/package.json
@@ -13,7 +13,7 @@
},
"dependencies": {
"@astrojs/node": "^8.2.5",
- "astro": "^4.9.3",
+ "astro": "^4.10.0",
"html-minifier": "^4.0.0"
},
"devDependencies": {
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index 83287fd16..26364aeb6 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.9.3"
+ "astro": "^4.10.0"
}
}
diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json
index 89a5a0c4c..0175b0e46 100644
--- a/examples/non-html-pages/package.json
+++ b/examples/non-html-pages/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.9.3"
+ "astro": "^4.10.0"
}
}
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index 4a9fc19ff..8d4596277 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.9.3"
+ "astro": "^4.10.0"
}
}
diff --git a/examples/ssr/package.json b/examples/ssr/package.json
index 101d8bf41..3dd8c20a3 100644
--- a/examples/ssr/package.json
+++ b/examples/ssr/package.json
@@ -13,8 +13,8 @@
},
"dependencies": {
"@astrojs/node": "^8.2.5",
- "@astrojs/svelte": "^5.4.0",
- "astro": "^4.9.3",
+ "@astrojs/svelte": "^5.5.0",
+ "astro": "^4.10.0",
"svelte": "^4.2.17"
}
}
diff --git a/examples/starlog/package.json b/examples/starlog/package.json
index 9ecdb568f..a13f6c3f6 100644
--- a/examples/starlog/package.json
+++ b/examples/starlog/package.json
@@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.9.3",
+ "astro": "^4.10.0",
"sass": "^1.77.3",
"sharp": "^0.33.3"
}
diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json
index 664491e50..5390ad6f8 100644
--- a/examples/toolbar-app/package.json
+++ b/examples/toolbar-app/package.json
@@ -15,6 +15,6 @@
"./app": "./dist/app.js"
},
"devDependencies": {
- "astro": "^4.9.3"
+ "astro": "^4.10.0"
}
}
diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json
index fb10ef7ac..9f58bf4aa 100644
--- a/examples/view-transitions/package.json
+++ b/examples/view-transitions/package.json
@@ -12,6 +12,6 @@
"devDependencies": {
"@astrojs/tailwind": "^5.1.0",
"@astrojs/node": "^8.2.5",
- "astro": "^4.9.3"
+ "astro": "^4.10.0"
}
}
diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json
index 0bd9241cd..642796a2e 100644
--- a/examples/with-markdoc/package.json
+++ b/examples/with-markdoc/package.json
@@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^0.11.0",
- "astro": "^4.9.3"
+ "astro": "^4.10.0"
}
}
diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json
index 8d68ac1a7..8ddb5d75d 100644
--- a/examples/with-markdown-plugins/package.json
+++ b/examples/with-markdown-plugins/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/markdown-remark": "^5.1.0",
- "astro": "^4.9.3",
+ "astro": "^4.10.0",
"hast-util-select": "^6.0.2",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json
index ba442d305..606682919 100644
--- a/examples/with-markdown-shiki/package.json
+++ b/examples/with-markdown-shiki/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.9.3"
+ "astro": "^4.10.0"
}
}
diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json
index 25b387a71..7811abe11 100644
--- a/examples/with-mdx/package.json
+++ b/examples/with-mdx/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^3.0.1",
- "@astrojs/preact": "^3.3.0",
- "astro": "^4.9.3",
+ "@astrojs/mdx": "^3.1.0",
+ "@astrojs/preact": "^3.4.0",
+ "astro": "^4.10.0",
"preact": "^10.22.0"
}
}
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index 147fbe0ca..adae5b01d 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/preact": "^3.3.0",
+ "@astrojs/preact": "^3.4.0",
"@nanostores/preact": "^0.5.1",
- "astro": "^4.9.3",
+ "astro": "^4.10.0",
"nanostores": "^0.10.3",
"preact": "^10.22.0"
}
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index 471147a0b..19e695fe9 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -11,10 +11,10 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^3.0.1",
+ "@astrojs/mdx": "^3.1.0",
"@astrojs/tailwind": "^5.1.0",
"@types/canvas-confetti": "^1.6.4",
- "astro": "^4.9.3",
+ "astro": "^4.10.0",
"autoprefixer": "^10.4.19",
"canvas-confetti": "^1.9.3",
"postcss": "^8.4.38",
diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json
index e04fcc3db..4c92bae80 100644
--- a/examples/with-vitest/package.json
+++ b/examples/with-vitest/package.json
@@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
- "astro": "^4.9.3",
+ "astro": "^4.10.0",
"vitest": "^1.6.0"
}
}
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index c212b6636..c8e2d8cf1 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,145 @@
# astro
+## 4.10.0
+
+### Minor Changes
+
+- [#10974](https://github.com/withastro/astro/pull/10974) [`2668ef9`](https://github.com/withastro/astro/commit/2668ef984104574f25f29ef75e2572a0745d1666) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Adds experimental support for the `astro:env` API.
+
+ The `astro:env` API lets you configure a type-safe schema for your environment variables, and indicate whether they should be available on the server or the client. Import and use your defined variables from the appropriate `/client` or `/server` module:
+
+ ```astro
+ ---
+ import { PUBLIC_APP_ID } from 'astro:env/client';
+ import { PUBLIC_API_URL, getSecret } from 'astro:env/server';
+ const API_TOKEN = getSecret('API_TOKEN');
+
+ const data = await fetch(`${PUBLIC_API_URL}/users`, {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ Authorization: `Bearer ${API_TOKEN}`,
+ },
+ body: JSON.stringify({ appId: PUBLIC_APP_ID }),
+ });
+ ---
+ ```
+
+ To define the data type and properties of your environment variables, declare a schema in your Astro config in `experimental.env.schema`. The `envField` helper allows you define your variable as a string, number, or boolean and pass properties in an object:
+
+ ```js
+ // astro.config.mjs
+ import { defineConfig, envField } from 'astro/config';
+
+ export default defineConfig({
+ experimental: {
+ env: {
+ schema: {
+ PUBLIC_API_URL: envField.string({ context: 'client', access: 'public', optional: true }),
+ PUBLIC_PORT: envField.number({ context: 'server', access: 'public', default: 4321 }),
+ API_SECRET: envField.string({ context: 'server', access: 'secret' }),
+ },
+ },
+ },
+ });
+ ```
+
+ There are three kinds of environment variables, determined by the combination of `context` (`client` or `server`) and `access` (`private` or `public`) settings defined in your [`env.schema`](#experimentalenvschema):
+
+ - **Public client variables**: These variables end up in both your final client and server bundles, and can be accessed from both client and server through the `astro:env/client` module:
+
+ ```js
+ import { PUBLIC_API_URL } from 'astro:env/client';
+ ```
+
+ - **Public server variables**: These variables end up in your final server bundle and can be accessed on the server through the `astro:env/server` module:
+
+ ```js
+ import { PUBLIC_PORT } from 'astro:env/server';
+ ```
+
+ - **Secret server variables**: These variables are not part of your final bundle and can be accessed on the server through the `getSecret()` helper function available from the `astro:env/server` module:
+
+ ```js
+ import { getSecret } from 'astro:env/server';
+
+ const API_SECRET = getSecret('API_SECRET'); // typed
+ const SECRET_NOT_IN_SCHEMA = getSecret('SECRET_NOT_IN_SCHEMA'); // string | undefined
+ ```
+
+ **Note:** Secret client variables are not supported because there is no safe way to send this data to the client. Therefore, it is not possible to configure both `context: "client"` and `access: "secret"` in your schema.
+
+ To learn more, check out [the documentation](https://docs.astro.build/en/reference/configuration-reference/#experimentalenv).
+
+### Patch Changes
+
+- [#11192](https://github.com/withastro/astro/pull/11192) [`58b10a0`](https://github.com/withastro/astro/commit/58b10a073192030a251cff8ad706ab5b015180c9) Thanks [@liruifengv](https://github.com/liruifengv)! - Improves DX by throwing the original `AstroUserError` when an error is thrown inside a `.mdx` file.
+
+- [#11136](https://github.com/withastro/astro/pull/11136) [`35ef53c`](https://github.com/withastro/astro/commit/35ef53c0897c0d360efc086a71c5f4406721d2fe) Thanks [@ematipico](https://github.com/ematipico)! - Errors that are emitted during a rewrite are now bubbled up and shown to the user. A 404 response is not returned anymore.
+
+- [#11144](https://github.com/withastro/astro/pull/11144) [`803dd80`](https://github.com/withastro/astro/commit/803dd8061df02138b4928442bcb76e77dcf6f5e7) Thanks [@ematipico](https://github.com/ematipico)! - The integration now exposes a function called `getContainerRenderer`, that can be used inside the Container APIs to load the relative renderer.
+
+ ```js
+ import { experimental_AstroContainer as AstroContainer } from 'astro/container';
+ import ReactWrapper from '../src/components/ReactWrapper.astro';
+ import { loadRenderers } from 'astro:container';
+ import { getContainerRenderer } from '@astrojs/react';
+
+ test('ReactWrapper with react renderer', async () => {
+ const renderers = await loadRenderers([getContainerRenderer()]);
+ const container = await AstroContainer.create({
+ renderers,
+ });
+ const result = await container.renderToString(ReactWrapper);
+
+ expect(result).toContain('Counter');
+ expect(result).toContain('Count: <!-- -->5');
+ });
+ ```
+
+- [#11144](https://github.com/withastro/astro/pull/11144) [`803dd80`](https://github.com/withastro/astro/commit/803dd8061df02138b4928442bcb76e77dcf6f5e7) Thanks [@ematipico](https://github.com/ematipico)! - **BREAKING CHANGE to the experimental Container API only**
+
+ Changes the **type** of the `renderers` option of the `AstroContainer::create` function and adds a dedicated function `loadRenderers()` to load the rendering scripts from renderer integration packages (`@astrojs/react`, `@astrojs/preact`, `@astrojs/solid-js`, `@astrojs/svelte`, `@astrojs/vue`, `@astrojs/lit`, and `@astrojs/mdx`).
+
+ You no longer need to know the individual, direct file paths to the client and server rendering scripts for each renderer integration package. Now, there is a dedicated function to load the renderer from each package, which is available from `getContainerRenderer()`:
+
+ ```diff
+ import { experimental_AstroContainer as AstroContainer } from 'astro/container';
+ import ReactWrapper from '../src/components/ReactWrapper.astro';
+ import { loadRenderers } from "astro:container";
+ import { getContainerRenderer } from "@astrojs/react";
+
+ test('ReactWrapper with react renderer', async () => {
+ + const renderers = await loadRenderers([getContainerRenderer()])
+ - const renderers = [
+ - {
+ - name: '@astrojs/react',
+ - clientEntrypoint: '@astrojs/react/client.js',
+ - serverEntrypoint: '@astrojs/react/server.js',
+ - },
+ - ];
+ const container = await AstroContainer.create({
+ renderers,
+ });
+ const result = await container.renderToString(ReactWrapper);
+
+ expect(result).toContain('Counter');
+ expect(result).toContain('Count: <!-- -->5');
+ });
+ ```
+
+ The new `loadRenderers()` helper function is available from `astro:container`, a virtual module that can be used when running the Astro container inside `vite`.
+
+- [#11136](https://github.com/withastro/astro/pull/11136) [`35ef53c`](https://github.com/withastro/astro/commit/35ef53c0897c0d360efc086a71c5f4406721d2fe) Thanks [@ematipico](https://github.com/ematipico)! - It's not possible anymore to use `Astro.rewrite("/404")` inside static pages. This isn't counterproductive because Astro will end-up emitting a page that contains the HTML of 404 error page.
+
+ It's still possible to use `Astro.rewrite("/404")` inside on-demand pages, or pages that opt-out from prerendering.
+
+- [#11191](https://github.com/withastro/astro/pull/11191) [`6e29a17`](https://github.com/withastro/astro/commit/6e29a172f153d15fac07320488fae01dece71748) Thanks [@matthewp](https://github.com/matthewp)! - Fixes a case where `Astro.url` would be incorrect when having `build.format` set to `'preserve'` in the Astro config
+
+- [#11182](https://github.com/withastro/astro/pull/11182) [`40b0b4d`](https://github.com/withastro/astro/commit/40b0b4d1e4ef1aa95d5e9011652444b855ab0b9c) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where `Astro.rewrite` wasn't carrying over the body of a `Request` in on-demand pages.
+
+- [#11194](https://github.com/withastro/astro/pull/11194) [`97fbe93`](https://github.com/withastro/astro/commit/97fbe938a9b07d52d61011da4bd5a8b5ad85a700) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where the function `getViteConfig` wasn't returning the correct merged Astro configuration
+
## 4.9.3
### Patch Changes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index aaace9469..fca84cc51 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
- "version": "4.9.3",
+ "version": "4.10.0",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
diff --git a/packages/integrations/lit/CHANGELOG.md b/packages/integrations/lit/CHANGELOG.md
index 4f3dced39..e133dde5d 100644
--- a/packages/integrations/lit/CHANGELOG.md
+++ b/packages/integrations/lit/CHANGELOG.md
@@ -1,5 +1,29 @@
# @astrojs/lit
+## 4.2.0
+
+### Minor Changes
+
+- [#11144](https://github.com/withastro/astro/pull/11144) [`803dd80`](https://github.com/withastro/astro/commit/803dd8061df02138b4928442bcb76e77dcf6f5e7) Thanks [@ematipico](https://github.com/ematipico)! - The integration now exposes a function called `getContainerRenderer`, that can be used inside the Container APIs to load the relative renderer.
+
+ ```js
+ import { experimental_AstroContainer as AstroContainer } from 'astro/container';
+ import ReactWrapper from '../src/components/ReactWrapper.astro';
+ import { loadRenderers } from 'astro:container';
+ import { getContainerRenderer } from '@astrojs/react';
+
+ test('ReactWrapper with react renderer', async () => {
+ const renderers = await loadRenderers([getContainerRenderer()]);
+ const container = await AstroContainer.create({
+ renderers,
+ });
+ const result = await container.renderToString(ReactWrapper);
+
+ expect(result).toContain('Counter');
+ expect(result).toContain('Count: <!-- -->5');
+ });
+ ```
+
## 4.1.0
### Minor Changes
diff --git a/packages/integrations/lit/package.json b/packages/integrations/lit/package.json
index 51e38a690..fc6444bad 100644
--- a/packages/integrations/lit/package.json
+++ b/packages/integrations/lit/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/lit",
- "version": "4.1.0",
+ "version": "4.2.0",
"description": "Use Lit components within Astro",
"type": "module",
"types": "./dist/index.d.ts",
diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md
index 060c391bd..d2b38eda2 100644
--- a/packages/integrations/mdx/CHANGELOG.md
+++ b/packages/integrations/mdx/CHANGELOG.md
@@ -1,5 +1,29 @@
# @astrojs/mdx
+## 3.1.0
+
+### Minor Changes
+
+- [#11144](https://github.com/withastro/astro/pull/11144) [`803dd80`](https://github.com/withastro/astro/commit/803dd8061df02138b4928442bcb76e77dcf6f5e7) Thanks [@ematipico](https://github.com/ematipico)! - The integration now exposes a function called `getContainerRenderer`, that can be used inside the Container APIs to load the relative renderer.
+
+ ```js
+ import { experimental_AstroContainer as AstroContainer } from 'astro/container';
+ import ReactWrapper from '../src/components/ReactWrapper.astro';
+ import { loadRenderers } from 'astro:container';
+ import { getContainerRenderer } from '@astrojs/react';
+
+ test('ReactWrapper with react renderer', async () => {
+ const renderers = await loadRenderers([getContainerRenderer()]);
+ const container = await AstroContainer.create({
+ renderers,
+ });
+ const result = await container.renderToString(ReactWrapper);
+
+ expect(result).toContain('Counter');
+ expect(result).toContain('Count: <!-- -->5');
+ });
+ ```
+
## 3.0.1
### Patch Changes
diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json
index 6c358b9f4..2ce572423 100644
--- a/packages/integrations/mdx/package.json
+++ b/packages/integrations/mdx/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/mdx",
"description": "Add support for MDX pages in your Astro site",
- "version": "3.0.1",
+ "version": "3.1.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/preact/CHANGELOG.md b/packages/integrations/preact/CHANGELOG.md
index 9c9298db4..45100dd44 100644
--- a/packages/integrations/preact/CHANGELOG.md
+++ b/packages/integrations/preact/CHANGELOG.md
@@ -1,5 +1,29 @@
# @astrojs/preact
+## 3.4.0
+
+### Minor Changes
+
+- [#11144](https://github.com/withastro/astro/pull/11144) [`803dd80`](https://github.com/withastro/astro/commit/803dd8061df02138b4928442bcb76e77dcf6f5e7) Thanks [@ematipico](https://github.com/ematipico)! - The integration now exposes a function called `getContainerRenderer`, that can be used inside the Container APIs to load the relative renderer.
+
+ ```js
+ import { experimental_AstroContainer as AstroContainer } from 'astro/container';
+ import ReactWrapper from '../src/components/ReactWrapper.astro';
+ import { loadRenderers } from 'astro:container';
+ import { getContainerRenderer } from '@astrojs/react';
+
+ test('ReactWrapper with react renderer', async () => {
+ const renderers = await loadRenderers([getContainerRenderer()]);
+ const container = await AstroContainer.create({
+ renderers,
+ });
+ const result = await container.renderToString(ReactWrapper);
+
+ expect(result).toContain('Counter');
+ expect(result).toContain('Count: <!-- -->5');
+ });
+ ```
+
## 3.3.0
### Minor Changes
diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json
index 951df6a4a..917351c75 100644
--- a/packages/integrations/preact/package.json
+++ b/packages/integrations/preact/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/preact",
"description": "Use Preact components within Astro",
- "version": "3.3.0",
+ "version": "3.4.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md
index 707cbe033..0b76191ca 100644
--- a/packages/integrations/react/CHANGELOG.md
+++ b/packages/integrations/react/CHANGELOG.md
@@ -1,5 +1,29 @@
# @astrojs/react
+## 3.5.0
+
+### Minor Changes
+
+- [#11144](https://github.com/withastro/astro/pull/11144) [`803dd80`](https://github.com/withastro/astro/commit/803dd8061df02138b4928442bcb76e77dcf6f5e7) Thanks [@ematipico](https://github.com/ematipico)! - The integration now exposes a function called `getContainerRenderer`, that can be used inside the Container APIs to load the relative renderer.
+
+ ```js
+ import { experimental_AstroContainer as AstroContainer } from 'astro/container';
+ import ReactWrapper from '../src/components/ReactWrapper.astro';
+ import { loadRenderers } from 'astro:container';
+ import { getContainerRenderer } from '@astrojs/react';
+
+ test('ReactWrapper with react renderer', async () => {
+ const renderers = await loadRenderers([getContainerRenderer()]);
+ const container = await AstroContainer.create({
+ renderers,
+ });
+ const result = await container.renderToString(ReactWrapper);
+
+ expect(result).toContain('Counter');
+ expect(result).toContain('Count: <!-- -->5');
+ });
+ ```
+
## 3.4.0
### Minor Changes
diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json
index f62b6ebe0..b6dc82f10 100644
--- a/packages/integrations/react/package.json
+++ b/packages/integrations/react/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/react",
"description": "Use React components within Astro",
- "version": "3.4.0",
+ "version": "3.5.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/solid/CHANGELOG.md b/packages/integrations/solid/CHANGELOG.md
index 5643e2163..5ba28e4c8 100644
--- a/packages/integrations/solid/CHANGELOG.md
+++ b/packages/integrations/solid/CHANGELOG.md
@@ -1,5 +1,29 @@
# @astrojs/solid-js
+## 4.3.0
+
+### Minor Changes
+
+- [#11144](https://github.com/withastro/astro/pull/11144) [`803dd80`](https://github.com/withastro/astro/commit/803dd8061df02138b4928442bcb76e77dcf6f5e7) Thanks [@ematipico](https://github.com/ematipico)! - The integration now exposes a function called `getContainerRenderer`, that can be used inside the Container APIs to load the relative renderer.
+
+ ```js
+ import { experimental_AstroContainer as AstroContainer } from 'astro/container';
+ import ReactWrapper from '../src/components/ReactWrapper.astro';
+ import { loadRenderers } from 'astro:container';
+ import { getContainerRenderer } from '@astrojs/react';
+
+ test('ReactWrapper with react renderer', async () => {
+ const renderers = await loadRenderers([getContainerRenderer()]);
+ const container = await AstroContainer.create({
+ renderers,
+ });
+ const result = await container.renderToString(ReactWrapper);
+
+ expect(result).toContain('Counter');
+ expect(result).toContain('Count: <!-- -->5');
+ });
+ ```
+
## 4.2.0
### Minor Changes
diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json
index c3add4f2d..71519582a 100644
--- a/packages/integrations/solid/package.json
+++ b/packages/integrations/solid/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/solid-js",
- "version": "4.2.0",
+ "version": "4.3.0",
"description": "Use Solid components within Astro",
"type": "module",
"types": "./dist/index.d.ts",
diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md
index 1a033face..c68d06228 100644
--- a/packages/integrations/svelte/CHANGELOG.md
+++ b/packages/integrations/svelte/CHANGELOG.md
@@ -1,5 +1,29 @@
# @astrojs/svelte
+## 5.5.0
+
+### Minor Changes
+
+- [#11144](https://github.com/withastro/astro/pull/11144) [`803dd80`](https://github.com/withastro/astro/commit/803dd8061df02138b4928442bcb76e77dcf6f5e7) Thanks [@ematipico](https://github.com/ematipico)! - The integration now exposes a function called `getContainerRenderer`, that can be used inside the Container APIs to load the relative renderer.
+
+ ```js
+ import { experimental_AstroContainer as AstroContainer } from 'astro/container';
+ import ReactWrapper from '../src/components/ReactWrapper.astro';
+ import { loadRenderers } from 'astro:container';
+ import { getContainerRenderer } from '@astrojs/react';
+
+ test('ReactWrapper with react renderer', async () => {
+ const renderers = await loadRenderers([getContainerRenderer()]);
+ const container = await AstroContainer.create({
+ renderers,
+ });
+ const result = await container.renderToString(ReactWrapper);
+
+ expect(result).toContain('Counter');
+ expect(result).toContain('Count: <!-- -->5');
+ });
+ ```
+
## 5.4.0
### Minor Changes
diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json
index b654dcef9..8295b6ed9 100644
--- a/packages/integrations/svelte/package.json
+++ b/packages/integrations/svelte/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/svelte",
- "version": "5.4.0",
+ "version": "5.5.0",
"description": "Use Svelte components within Astro",
"type": "module",
"types": "./dist/index.d.ts",
diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md
index acef2a55e..d509141d1 100644
--- a/packages/integrations/vue/CHANGELOG.md
+++ b/packages/integrations/vue/CHANGELOG.md
@@ -1,5 +1,29 @@
# @astrojs/vue
+## 4.4.0
+
+### Minor Changes
+
+- [#11144](https://github.com/withastro/astro/pull/11144) [`803dd80`](https://github.com/withastro/astro/commit/803dd8061df02138b4928442bcb76e77dcf6f5e7) Thanks [@ematipico](https://github.com/ematipico)! - The integration now exposes a function called `getContainerRenderer`, that can be used inside the Container APIs to load the relative renderer.
+
+ ```js
+ import { experimental_AstroContainer as AstroContainer } from 'astro/container';
+ import ReactWrapper from '../src/components/ReactWrapper.astro';
+ import { loadRenderers } from 'astro:container';
+ import { getContainerRenderer } from '@astrojs/react';
+
+ test('ReactWrapper with react renderer', async () => {
+ const renderers = await loadRenderers([getContainerRenderer()]);
+ const container = await AstroContainer.create({
+ renderers,
+ });
+ const result = await container.renderToString(ReactWrapper);
+
+ expect(result).toContain('Counter');
+ expect(result).toContain('Count: <!-- -->5');
+ });
+ ```
+
## 4.3.0
### Minor Changes
diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json
index f38d767a9..73dc6376c 100644
--- a/packages/integrations/vue/package.json
+++ b/packages/integrations/vue/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/vue",
- "version": "4.3.0",
+ "version": "4.4.0",
"description": "Use Vue components within Astro",
"type": "module",
"types": "./dist/index.d.ts",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 02bc89d0d..0dd872519 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -128,13 +128,13 @@ importers:
examples/basics:
dependencies:
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
examples/blog:
dependencies:
'@astrojs/mdx':
- specifier: ^3.0.1
+ specifier: ^3.1.0
version: link:../../packages/integrations/mdx
'@astrojs/rss':
specifier: ^4.0.6
@@ -143,22 +143,22 @@ importers:
specifier: ^3.1.5
version: link:../../packages/integrations/sitemap
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
examples/container-with-vitest:
dependencies:
'@astrojs/react':
- specifier: experimental--container
+ specifier: ^3.5.0
version: link:../../packages/integrations/react
astro:
- specifier: experimental--container
+ specifier: ^4.10.0
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -189,19 +189,19 @@ importers:
specifier: ^3.14.0
version: 3.14.0
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
examples/framework-lit:
dependencies:
'@astrojs/lit':
- specifier: ^4.1.0
+ specifier: ^4.2.0
version: link:../../packages/integrations/lit
'@webcomponents/template-shadowroot':
specifier: ^0.2.1
version: 0.2.1
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
lit:
specifier: ^3.1.3
@@ -210,19 +210,19 @@ importers:
examples/framework-multiple:
dependencies:
'@astrojs/preact':
- specifier: ^3.3.0
+ specifier: ^3.4.0
version: link:../../packages/integrations/preact
'@astrojs/react':
- specifier: ^3.4.0
+ specifier: ^3.5.0
version: link:../../packages/integrations/react
'@astrojs/solid-js':
- specifier: ^4.2.0
+ specifier: ^4.3.0
version: link:../../packages/integrations/solid
'@astrojs/svelte':
- specifier: ^5.4.0
+ specifier: ^5.5.0
version: link:../../packages/integrations/svelte
'@astrojs/vue':
- specifier: ^4.3.0
+ specifier: ^4.4.0
version: link:../../packages/integrations/vue
'@types/react':
specifier: ^18.3.3
@@ -231,7 +231,7 @@ importers:
specifier: ^18.3.0
version: 18.3.0
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
preact:
specifier: ^10.22.0
@@ -255,13 +255,13 @@ importers:
examples/framework-preact:
dependencies:
'@astrojs/preact':
- specifier: ^3.3.0
+ specifier: ^3.4.0
version: link:../../packages/integrations/preact
'@preact/signals':
specifier: ^1.2.3
version: 1.2.3(preact@10.22.0)
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
preact:
specifier: ^10.22.0
@@ -270,7 +270,7 @@ importers:
examples/framework-react:
dependencies:
'@astrojs/react':
- specifier: ^3.4.0
+ specifier: ^3.5.0
version: link:../../packages/integrations/react
'@types/react':
specifier: ^18.3.3
@@ -279,7 +279,7 @@ importers:
specifier: ^18.3.0
version: 18.3.0
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -291,10 +291,10 @@ importers:
examples/framework-solid:
dependencies:
'@astrojs/solid-js':
- specifier: ^4.2.0
+ specifier: ^4.3.0
version: link:../../packages/integrations/solid
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
solid-js:
specifier: ^1.8.17
@@ -303,10 +303,10 @@ importers:
examples/framework-svelte:
dependencies:
'@astrojs/svelte':
- specifier: ^5.4.0
+ specifier: ^5.5.0
version: link:../../packages/integrations/svelte
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
svelte:
specifier: ^4.2.17
@@ -315,10 +315,10 @@ importers:
examples/framework-vue:
dependencies:
'@astrojs/vue':
- specifier: ^4.3.0
+ specifier: ^4.4.0
version: link:../../packages/integrations/vue
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
vue:
specifier: ^3.4.27
@@ -330,13 +330,13 @@ importers:
specifier: ^8.2.5
version: link:../../packages/integrations/node
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
examples/middleware:
@@ -345,7 +345,7 @@ importers:
specifier: ^8.2.5
version: link:../../packages/integrations/node
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
html-minifier:
specifier: ^4.0.0
@@ -358,19 +358,19 @@ importers:
examples/minimal:
dependencies:
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
examples/non-html-pages:
dependencies:
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
examples/ssr:
@@ -379,10 +379,10 @@ importers:
specifier: ^8.2.5
version: link:../../packages/integrations/node
'@astrojs/svelte':
- specifier: ^5.4.0
+ specifier: ^5.5.0
version: link:../../packages/integrations/svelte
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
svelte:
specifier: ^4.2.17
@@ -391,7 +391,7 @@ importers:
examples/starlog:
dependencies:
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
sass:
specifier: ^1.77.3
@@ -403,7 +403,7 @@ importers:
examples/toolbar-app:
devDependencies:
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
examples/view-transitions:
@@ -415,7 +415,7 @@ importers:
specifier: ^5.1.0
version: link:../../packages/integrations/tailwind
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
examples/with-markdoc:
@@ -424,7 +424,7 @@ importers:
specifier: ^0.11.0
version: link:../../packages/integrations/markdoc
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
examples/with-markdown-plugins:
@@ -433,7 +433,7 @@ importers:
specifier: ^5.1.0
version: link:../../packages/markdown/remark
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
hast-util-select:
specifier: ^6.0.2
@@ -454,19 +454,19 @@ importers:
examples/with-markdown-shiki:
dependencies:
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
examples/with-mdx:
dependencies:
'@astrojs/mdx':
- specifier: ^3.0.1
+ specifier: ^3.1.0
version: link:../../packages/integrations/mdx
'@astrojs/preact':
- specifier: ^3.3.0
+ specifier: ^3.4.0
version: link:../../packages/integrations/preact
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
preact:
specifier: ^10.22.0
@@ -475,13 +475,13 @@ importers:
examples/with-nanostores:
dependencies:
'@astrojs/preact':
- specifier: ^3.3.0
+ specifier: ^3.4.0
version: link:../../packages/integrations/preact
'@nanostores/preact':
specifier: ^0.5.1
version: 0.5.1(nanostores@0.10.3)(preact@10.22.0)
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
nanostores:
specifier: ^0.10.3
@@ -493,7 +493,7 @@ importers:
examples/with-tailwindcss:
dependencies:
'@astrojs/mdx':
- specifier: ^3.0.1
+ specifier: ^3.1.0
version: link:../../packages/integrations/mdx
'@astrojs/tailwind':
specifier: ^5.1.0
@@ -502,7 +502,7 @@ importers:
specifier: ^1.6.4
version: 1.6.4
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
autoprefixer:
specifier: ^10.4.19
@@ -520,7 +520,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
- specifier: ^4.9.3
+ specifier: ^4.10.0
version: link:../../packages/astro
vitest:
specifier: ^1.6.0