summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> 2024-06-17 06:39:57 -0700
committerGravatar GitHub <noreply@github.com> 2024-06-17 15:39:57 +0200
commit83c565b36c7a5bf8fbc6cc37934109b74ed43ba5 (patch)
treea91a1b70869e3fc50a12108523f9499a26cac43f
parent7d597506615fa5a34327304e8321be7b9c4b799d (diff)
downloadastro-83c565b36c7a5bf8fbc6cc37934109b74ed43ba5.tar.gz
astro-83c565b36c7a5bf8fbc6cc37934109b74ed43ba5.tar.zst
astro-83c565b36c7a5bf8fbc6cc37934109b74ed43ba5.zip
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-rw-r--r--.changeset/clever-jars-trade.md5
-rw-r--r--.changeset/dirty-rabbits-act.md15
-rw-r--r--.changeset/dull-carpets-breathe.md42
-rw-r--r--.changeset/early-spies-bow.md5
-rw-r--r--.changeset/fair-wasps-hunt.md5
-rw-r--r--.changeset/fifty-clouds-clean.md5
-rw-r--r--.changeset/healthy-oranges-report.md5
-rw-r--r--.changeset/honest-ravens-double.md5
-rw-r--r--.changeset/nice-pillows-teach.md5
-rw-r--r--.changeset/olive-feet-eat.md9
-rw-r--r--.changeset/pink-experts-count.md5
-rw-r--r--.changeset/serious-humans-obey.md6
-rw-r--r--.changeset/shaggy-camels-dream.md5
-rw-r--r--.changeset/thin-icons-yell.md7
-rw-r--r--.changeset/three-boxes-sniff.md5
-rw-r--r--examples/basics/package.json2
-rw-r--r--examples/blog/package.json6
-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.json4
-rw-r--r--examples/integration/package.json2
-rw-r--r--examples/middleware/package.json4
-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.json6
-rw-r--r--examples/starlog/package.json2
-rw-r--r--examples/toolbar-app/package.json2
-rw-r--r--examples/view-transitions/package.json4
-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.md71
-rw-r--r--packages/astro/package.json2
-rw-r--r--packages/db/CHANGELOG.md9
-rw-r--r--packages/db/package.json2
-rw-r--r--packages/integrations/lit/CHANGELOG.md37
-rw-r--r--packages/integrations/lit/package.json2
-rw-r--r--packages/integrations/mdx/CHANGELOG.md6
-rw-r--r--packages/integrations/mdx/package.json2
-rw-r--r--packages/integrations/node/CHANGELOG.md8
-rw-r--r--packages/integrations/node/package.json2
-rw-r--r--packages/integrations/preact/CHANGELOG.md37
-rw-r--r--packages/integrations/preact/package.json2
-rw-r--r--packages/integrations/react/CHANGELOG.md37
-rw-r--r--packages/integrations/react/package.json2
-rw-r--r--packages/integrations/sitemap/CHANGELOG.md6
-rw-r--r--packages/integrations/sitemap/package.json2
-rw-r--r--packages/integrations/solid/CHANGELOG.md37
-rw-r--r--packages/integrations/solid/package.json2
-rw-r--r--packages/integrations/svelte/CHANGELOG.md37
-rw-r--r--packages/integrations/svelte/package.json2
-rw-r--r--packages/integrations/vercel/CHANGELOG.md8
-rw-r--r--packages/integrations/vercel/package.json2
-rw-r--r--packages/integrations/vue/CHANGELOG.md37
-rw-r--r--packages/integrations/vue/package.json2
-rw-r--r--pnpm-lock.yaml105
69 files changed, 446 insertions, 246 deletions
diff --git a/.changeset/clever-jars-trade.md b/.changeset/clever-jars-trade.md
deleted file mode 100644
index 8a632d3f9..000000000
--- a/.changeset/clever-jars-trade.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Removes the `PUBLIC_` prefix constraint for `astro:env` public variables
diff --git a/.changeset/dirty-rabbits-act.md b/.changeset/dirty-rabbits-act.md
deleted file mode 100644
index 65c8ab542..000000000
--- a/.changeset/dirty-rabbits-act.md
+++ /dev/null
@@ -1,15 +0,0 @@
----
-'astro': patch
----
-
-**BREAKING CHANGE to the experimental `astro:env` feature only**
-
-Server secrets specified in the schema must now be imported from `astro:env/server`. Using `getSecret()` is no longer required to use these environment variables in your schema:
-
-```diff
-- import { getSecret } from 'astro:env/server'
-- const API_SECRET = getSecret("API_SECRET")
-+ import { API_SECRET } from 'astro:env/server'
-```
-
-Note that using `getSecret()` with these keys is still possible, but no longer involves any special handling and the raw value will be returned, just like retrieving secrets not specified in your schema.
diff --git a/.changeset/dull-carpets-breathe.md b/.changeset/dull-carpets-breathe.md
deleted file mode 100644
index 1c2302286..000000000
--- a/.changeset/dull-carpets-breathe.md
+++ /dev/null
@@ -1,42 +0,0 @@
----
-'astro': patch
-'@astrojs/preact': minor
-'@astrojs/svelte': minor
-'@astrojs/react': minor
-'@astrojs/solid-js': minor
-'@astrojs/lit': minor
-'@astrojs/vue': minor
----
-
-Adds a new function called `addServerRenderer` to the Container API. Use this function to manually store renderers inside the instance of your container.
-
-This new function should be preferred when using the Container API in environments like on-demand pages:
-
-```ts
-import type {APIRoute} from "astro";
-import { experimental_AstroContainer } from "astro/container";
-import reactRenderer from '@astrojs/react/server.js';
-import vueRenderer from '@astrojs/vue/server.js';
-import ReactComponent from "../components/button.jsx"
-import VueComponent from "../components/button.vue"
-
-// MDX runtime is contained inside the Astro core
-import mdxRenderer from "astro/jsx/server.js"
-
-// In case you need to import a custom renderer
-import customRenderer from "../renderers/customRenderer.js";
-
-export const GET: APIRoute = async (ctx) => {
- const container = await experimental_AstroContainer.create();
- container.addServerRenderer({ renderer: reactRenderer });
- container.addServerRenderer({ renderer: vueRenderer });
- container.addServerRenderer({ renderer: customRenderer });
- // You can pass a custom name too
- container.addServerRenderer({
- name: "customRenderer",
- renderer: customRenderer
- })
- const vueComponent = await container.renderToString(VueComponent)
- return await container.renderToResponse(Component);
-}
-```
diff --git a/.changeset/early-spies-bow.md b/.changeset/early-spies-bow.md
deleted file mode 100644
index 8141484cc..000000000
--- a/.changeset/early-spies-bow.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes a performance issue with JSON schema generation
diff --git a/.changeset/fair-wasps-hunt.md b/.changeset/fair-wasps-hunt.md
deleted file mode 100644
index 174ce02f8..000000000
--- a/.changeset/fair-wasps-hunt.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes a case where the virtual module `astro:container` wasn't resolved
diff --git a/.changeset/fifty-clouds-clean.md b/.changeset/fifty-clouds-clean.md
deleted file mode 100644
index b79213533..000000000
--- a/.changeset/fifty-clouds-clean.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes a case where symlinked content collection directories were not correctly resolved
diff --git a/.changeset/healthy-oranges-report.md b/.changeset/healthy-oranges-report.md
deleted file mode 100644
index f7c62749c..000000000
--- a/.changeset/healthy-oranges-report.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Adds a new error `RewriteWithBodyUsed` that throws when `Astro.rewrite` is used after the request body has already been read.
diff --git a/.changeset/honest-ravens-double.md b/.changeset/honest-ravens-double.md
deleted file mode 100644
index 2b917b223..000000000
--- a/.changeset/honest-ravens-double.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": patch
----
-
-Fixes a prerendering issue for libraries in `node_modules` when a folder with an underscore is in the path.
diff --git a/.changeset/nice-pillows-teach.md b/.changeset/nice-pillows-teach.md
deleted file mode 100644
index 4a5ea7265..000000000
--- a/.changeset/nice-pillows-teach.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/db': patch
----
-
-Import type `Database` from correct file
diff --git a/.changeset/olive-feet-eat.md b/.changeset/olive-feet-eat.md
deleted file mode 100644
index 6984b2956..000000000
--- a/.changeset/olive-feet-eat.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-'astro': patch
----
-
-Improves the developer experience of the custom `500.astro` page in development mode.
-
-Before, in development, an error thrown during the rendering phase would display the default error overlay, even when users had the `500.astro` page.
-
-Now, the development server will display the `500.astro` and the original error is logged in the console.
diff --git a/.changeset/pink-experts-count.md b/.changeset/pink-experts-count.md
deleted file mode 100644
index 3ebbfc6b7..000000000
--- a/.changeset/pink-experts-count.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Ignores query strings in module identifiers when matching ".astro" file extensions in Vite plugin
diff --git a/.changeset/serious-humans-obey.md b/.changeset/serious-humans-obey.md
deleted file mode 100644
index 4cd6e4d69..000000000
--- a/.changeset/serious-humans-obey.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astrojs/vercel': patch
-'@astrojs/node': patch
----
-
-Fix backwards compat with Astro <= 4.9
diff --git a/.changeset/shaggy-camels-dream.md b/.changeset/shaggy-camels-dream.md
deleted file mode 100644
index daeaeb5ee..000000000
--- a/.changeset/shaggy-camels-dream.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/vercel': patch
----
-
-In Vercel Edge, include cookies set by Astro.cookies.set
diff --git a/.changeset/thin-icons-yell.md b/.changeset/thin-icons-yell.md
deleted file mode 100644
index af1042907..000000000
--- a/.changeset/thin-icons-yell.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astrojs/sitemap': patch
-'@astrojs/node': patch
-'@astrojs/mdx': patch
----
-
-Refactor to use Astro's integration logger for logging
diff --git a/.changeset/three-boxes-sniff.md b/.changeset/three-boxes-sniff.md
deleted file mode 100644
index 50b99c08d..000000000
--- a/.changeset/three-boxes-sniff.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": patch
----
-
-Refactors prerendering chunk handling to correctly remove unused code during the SSR runtime
diff --git a/examples/basics/package.json b/examples/basics/package.json
index 3de898e9a..e3d952e50 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.10.2"
+ "astro": "^4.10.3"
}
}
diff --git a/examples/blog/package.json b/examples/blog/package.json
index adefd958f..6db52dae2 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^3.1.0",
+ "@astrojs/mdx": "^3.1.1",
"@astrojs/rss": "^4.0.6",
- "@astrojs/sitemap": "^3.1.5",
- "astro": "^4.10.2"
+ "@astrojs/sitemap": "^3.1.6",
+ "astro": "^4.10.3"
}
}
diff --git a/examples/component/package.json b/examples/component/package.json
index 59603bbaa..0a53d80c9 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^4.10.2"
+ "astro": "^4.10.3"
},
"peerDependencies": {
"astro": "^4.0.0"
diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json
index 3227ef773..38e2543fd 100644
--- a/examples/container-with-vitest/package.json
+++ b/examples/container-with-vitest/package.json
@@ -12,8 +12,8 @@
"test": "vitest run"
},
"dependencies": {
- "astro": "^4.10.2",
- "@astrojs/react": "^3.5.0",
+ "astro": "^4.10.3",
+ "@astrojs/react": "^3.6.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 05bc7d58e..aca1189f1 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.10.2"
+ "astro": "^4.10.3"
}
}
diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json
index c465b84ab..81467a629 100644
--- a/examples/framework-lit/package.json
+++ b/examples/framework-lit/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/lit": "^4.2.0",
+ "@astrojs/lit": "^4.3.0",
"@webcomponents/template-shadowroot": "^0.2.1",
- "astro": "^4.10.2",
+ "astro": "^4.10.3",
"lit": "^3.1.4"
}
}
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index 66fd1d699..31bd9c9c9 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -11,14 +11,14 @@
"astro": "astro"
},
"dependencies": {
- "@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",
+ "@astrojs/preact": "^3.5.0",
+ "@astrojs/react": "^3.6.0",
+ "@astrojs/solid-js": "^4.4.0",
+ "@astrojs/svelte": "^5.6.0",
+ "@astrojs/vue": "^4.5.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
- "astro": "^4.10.2",
+ "astro": "^4.10.3",
"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 a59dbc6eb..1938295a7 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/preact": "^3.4.0",
+ "@astrojs/preact": "^3.5.0",
"@preact/signals": "^1.2.3",
- "astro": "^4.10.2",
+ "astro": "^4.10.3",
"preact": "^10.22.0"
}
}
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index 8756f639f..65ac56ac6 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -11,10 +11,10 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/react": "^3.5.0",
+ "@astrojs/react": "^3.6.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
- "astro": "^4.10.2",
+ "astro": "^4.10.3",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index de5973085..330c43201 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/solid-js": "^4.3.0",
- "astro": "^4.10.2",
+ "@astrojs/solid-js": "^4.4.0",
+ "astro": "^4.10.3",
"solid-js": "^1.8.17"
}
}
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index 21d1f85d5..e6d4ab8e8 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/svelte": "^5.5.0",
- "astro": "^4.10.2",
+ "@astrojs/svelte": "^5.6.0",
+ "astro": "^4.10.3",
"svelte": "^4.2.18"
}
}
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index 896ed5ab9..9b2cbbb8b 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/vue": "^4.4.0",
- "astro": "^4.10.2",
+ "@astrojs/vue": "^4.5.0",
+ "astro": "^4.10.3",
"vue": "^3.4.29"
}
}
diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json
index 29fd443a1..85221d768 100644
--- a/examples/hackernews/package.json
+++ b/examples/hackernews/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/node": "^8.3.0",
- "astro": "^4.10.2"
+ "@astrojs/node": "^8.3.1",
+ "astro": "^4.10.3"
}
}
diff --git a/examples/integration/package.json b/examples/integration/package.json
index 9a6c59d0d..d474df38c 100644
--- a/examples/integration/package.json
+++ b/examples/integration/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^4.10.2"
+ "astro": "^4.10.3"
},
"peerDependencies": {
"astro": "^4.0.0"
diff --git a/examples/middleware/package.json b/examples/middleware/package.json
index c217ba972..5c4920425 100644
--- a/examples/middleware/package.json
+++ b/examples/middleware/package.json
@@ -12,8 +12,8 @@
"server": "node dist/server/entry.mjs"
},
"dependencies": {
- "@astrojs/node": "^8.3.0",
- "astro": "^4.10.2",
+ "@astrojs/node": "^8.3.1",
+ "astro": "^4.10.3",
"html-minifier": "^4.0.0"
},
"devDependencies": {
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index fd3d6f217..f21a2648c 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.10.2"
+ "astro": "^4.10.3"
}
}
diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json
index 910adc06f..9e8b3fa0a 100644
--- a/examples/non-html-pages/package.json
+++ b/examples/non-html-pages/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.10.2"
+ "astro": "^4.10.3"
}
}
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index 9211eacac..87302014d 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.10.2"
+ "astro": "^4.10.3"
}
}
diff --git a/examples/ssr/package.json b/examples/ssr/package.json
index c7c4db63b..98e644673 100644
--- a/examples/ssr/package.json
+++ b/examples/ssr/package.json
@@ -12,9 +12,9 @@
"server": "node dist/server/entry.mjs"
},
"dependencies": {
- "@astrojs/node": "^8.3.0",
- "@astrojs/svelte": "^5.5.0",
- "astro": "^4.10.2",
+ "@astrojs/node": "^8.3.1",
+ "@astrojs/svelte": "^5.6.0",
+ "astro": "^4.10.3",
"svelte": "^4.2.18"
}
}
diff --git a/examples/starlog/package.json b/examples/starlog/package.json
index b190ede98..b3ec85eba 100644
--- a/examples/starlog/package.json
+++ b/examples/starlog/package.json
@@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.10.2",
+ "astro": "^4.10.3",
"sass": "^1.77.5",
"sharp": "^0.33.3"
}
diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json
index d6da3166c..29cbbbb5e 100644
--- a/examples/toolbar-app/package.json
+++ b/examples/toolbar-app/package.json
@@ -15,6 +15,6 @@
"./app": "./dist/app.js"
},
"devDependencies": {
- "astro": "^4.10.2"
+ "astro": "^4.10.3"
}
}
diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json
index 48c75f8dd..f9437e273 100644
--- a/examples/view-transitions/package.json
+++ b/examples/view-transitions/package.json
@@ -11,7 +11,7 @@
},
"devDependencies": {
"@astrojs/tailwind": "^5.1.0",
- "@astrojs/node": "^8.3.0",
- "astro": "^4.10.2"
+ "@astrojs/node": "^8.3.1",
+ "astro": "^4.10.3"
}
}
diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json
index 28de557fd..4c1ca16f6 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.10.2"
+ "astro": "^4.10.3"
}
}
diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json
index 85fe65e7c..519743eed 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.10.2",
+ "astro": "^4.10.3",
"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 84a86a667..51c40eee2 100644
--- a/examples/with-markdown-shiki/package.json
+++ b/examples/with-markdown-shiki/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.10.2"
+ "astro": "^4.10.3"
}
}
diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json
index 2ee456e03..0a0958837 100644
--- a/examples/with-mdx/package.json
+++ b/examples/with-mdx/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^3.1.0",
- "@astrojs/preact": "^3.4.0",
- "astro": "^4.10.2",
+ "@astrojs/mdx": "^3.1.1",
+ "@astrojs/preact": "^3.5.0",
+ "astro": "^4.10.3",
"preact": "^10.22.0"
}
}
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index 99a78eb9f..57a6581c9 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/preact": "^3.4.0",
+ "@astrojs/preact": "^3.5.0",
"@nanostores/preact": "^0.5.1",
- "astro": "^4.10.2",
+ "astro": "^4.10.3",
"nanostores": "^0.10.3",
"preact": "^10.22.0"
}
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index d3389d98c..bbb4eb46c 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -11,10 +11,10 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^3.1.0",
+ "@astrojs/mdx": "^3.1.1",
"@astrojs/tailwind": "^5.1.0",
"@types/canvas-confetti": "^1.6.4",
- "astro": "^4.10.2",
+ "astro": "^4.10.3",
"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 d935109e9..ed6a7500b 100644
--- a/examples/with-vitest/package.json
+++ b/examples/with-vitest/package.json
@@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
- "astro": "^4.10.2",
+ "astro": "^4.10.3",
"vitest": "^1.6.0"
}
}
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 9a2772607..0552d9758 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,76 @@
# astro
+## 4.10.3
+
+### Patch Changes
+
+- [#11213](https://github.com/withastro/astro/pull/11213) [`94ac7ef`](https://github.com/withastro/astro/commit/94ac7efd70fd264b10887805a02d5d1877af8701) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Removes the `PUBLIC_` prefix constraint for `astro:env` public variables
+
+- [#11213](https://github.com/withastro/astro/pull/11213) [`94ac7ef`](https://github.com/withastro/astro/commit/94ac7efd70fd264b10887805a02d5d1877af8701) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - **BREAKING CHANGE to the experimental `astro:env` feature only**
+
+ Server secrets specified in the schema must now be imported from `astro:env/server`. Using `getSecret()` is no longer required to use these environment variables in your schema:
+
+ ```diff
+ - import { getSecret } from 'astro:env/server'
+ - const API_SECRET = getSecret("API_SECRET")
+ + import { API_SECRET } from 'astro:env/server'
+ ```
+
+ Note that using `getSecret()` with these keys is still possible, but no longer involves any special handling and the raw value will be returned, just like retrieving secrets not specified in your schema.
+
+- [#11234](https://github.com/withastro/astro/pull/11234) [`4385bf7`](https://github.com/withastro/astro/commit/4385bf7a4dc9c65bff53a30c660f7a909fcabfc9) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new function called `addServerRenderer` to the Container API. Use this function to manually store renderers inside the instance of your container.
+
+ This new function should be preferred when using the Container API in environments like on-demand pages:
+
+ ```ts
+ import type { APIRoute } from 'astro';
+ import { experimental_AstroContainer } from 'astro/container';
+ import reactRenderer from '@astrojs/react/server.js';
+ import vueRenderer from '@astrojs/vue/server.js';
+ import ReactComponent from '../components/button.jsx';
+ import VueComponent from '../components/button.vue';
+
+ // MDX runtime is contained inside the Astro core
+ import mdxRenderer from 'astro/jsx/server.js';
+
+ // In case you need to import a custom renderer
+ import customRenderer from '../renderers/customRenderer.js';
+
+ export const GET: APIRoute = async (ctx) => {
+ const container = await experimental_AstroContainer.create();
+ container.addServerRenderer({ renderer: reactRenderer });
+ container.addServerRenderer({ renderer: vueRenderer });
+ container.addServerRenderer({ renderer: customRenderer });
+ // You can pass a custom name too
+ container.addServerRenderer({
+ name: 'customRenderer',
+ renderer: customRenderer,
+ });
+ const vueComponent = await container.renderToString(VueComponent);
+ return await container.renderToResponse(Component);
+ };
+ ```
+
+- [#11249](https://github.com/withastro/astro/pull/11249) [`de60c69`](https://github.com/withastro/astro/commit/de60c69aa06c41f76a5510cc1d0bee4c8a5326a5) Thanks [@markgaze](https://github.com/markgaze)! - Fixes a performance issue with JSON schema generation
+
+- [#11242](https://github.com/withastro/astro/pull/11242) [`e4fc2a0`](https://github.com/withastro/astro/commit/e4fc2a0bafb4723566552d0c5954b25447890f51) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a case where the virtual module `astro:container` wasn't resolved
+
+- [#11236](https://github.com/withastro/astro/pull/11236) [`39bc3a5`](https://github.com/withastro/astro/commit/39bc3a5e8161232d6fdc6cc52b1f246083966d8e) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes a case where symlinked content collection directories were not correctly resolved
+
+- [#11258](https://github.com/withastro/astro/pull/11258) [`d996db6`](https://github.com/withastro/astro/commit/d996db6f0bf361ebd84b23d022db7bb10fb316e6) Thanks [@ascorbic](https://github.com/ascorbic)! - Adds a new error `RewriteWithBodyUsed` that throws when `Astro.rewrite` is used after the request body has already been read.
+
+- [#11243](https://github.com/withastro/astro/pull/11243) [`ba2b14c`](https://github.com/withastro/astro/commit/ba2b14cc28bd219c241313cdf142b736e7442014) Thanks [@V3RON](https://github.com/V3RON)! - Fixes a prerendering issue for libraries in `node_modules` when a folder with an underscore is in the path.
+
+- [#11244](https://github.com/withastro/astro/pull/11244) [`d07d2f7`](https://github.com/withastro/astro/commit/d07d2f7ac9d87af907beaca700ba4116dc1d6f37) Thanks [@ematipico](https://github.com/ematipico)! - Improves the developer experience of the custom `500.astro` page in development mode.
+
+ Before, in development, an error thrown during the rendering phase would display the default error overlay, even when users had the `500.astro` page.
+
+ Now, the development server will display the `500.astro` and the original error is logged in the console.
+
+- [#11240](https://github.com/withastro/astro/pull/11240) [`2851b0a`](https://github.com/withastro/astro/commit/2851b0aa2e2abe80ea603b53c67770e94980a8d3) Thanks [@ascorbic](https://github.com/ascorbic)! - Ignores query strings in module identifiers when matching ".astro" file extensions in Vite plugin
+
+- [#11245](https://github.com/withastro/astro/pull/11245) [`e22be22`](https://github.com/withastro/astro/commit/e22be22e5729e60220726e92b52d2833c937fd1c) Thanks [@bluwy](https://github.com/bluwy)! - Refactors prerendering chunk handling to correctly remove unused code during the SSR runtime
+
## 4.10.2
### Patch Changes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 2aaa58531..7f043f296 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
- "version": "4.10.2",
+ "version": "4.10.3",
"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/db/CHANGELOG.md b/packages/db/CHANGELOG.md
index 7ee2e00ef..0d637523e 100644
--- a/packages/db/CHANGELOG.md
+++ b/packages/db/CHANGELOG.md
@@ -1,5 +1,14 @@
# @astrojs/db
+## 0.11.6
+
+### Patch Changes
+
+- [#11262](https://github.com/withastro/astro/pull/11262) [`9b03023`](https://github.com/withastro/astro/commit/9b030239cb4db4e51a8a1da638743b60837f7e1a) Thanks [@nezouse](https://github.com/nezouse)! - Import type `Database` from correct file
+
+- Updated dependencies []:
+ - @astrojs/studio@0.1.0
+
## 0.11.5
### Patch Changes
diff --git a/packages/db/package.json b/packages/db/package.json
index 21363873f..1703c812a 100644
--- a/packages/db/package.json
+++ b/packages/db/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/db",
- "version": "0.11.5",
+ "version": "0.11.6",
"description": "Add libSQL and Astro Studio support to your Astro site",
"license": "MIT",
"repository": {
diff --git a/packages/integrations/lit/CHANGELOG.md b/packages/integrations/lit/CHANGELOG.md
index e133dde5d..0aa8f4f71 100644
--- a/packages/integrations/lit/CHANGELOG.md
+++ b/packages/integrations/lit/CHANGELOG.md
@@ -1,5 +1,42 @@
# @astrojs/lit
+## 4.3.0
+
+### Minor Changes
+
+- [#11234](https://github.com/withastro/astro/pull/11234) [`4385bf7`](https://github.com/withastro/astro/commit/4385bf7a4dc9c65bff53a30c660f7a909fcabfc9) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new function called `addServerRenderer` to the Container API. Use this function to manually store renderers inside the instance of your container.
+
+ This new function should be preferred when using the Container API in environments like on-demand pages:
+
+ ```ts
+ import type { APIRoute } from 'astro';
+ import { experimental_AstroContainer } from 'astro/container';
+ import reactRenderer from '@astrojs/react/server.js';
+ import vueRenderer from '@astrojs/vue/server.js';
+ import ReactComponent from '../components/button.jsx';
+ import VueComponent from '../components/button.vue';
+
+ // MDX runtime is contained inside the Astro core
+ import mdxRenderer from 'astro/jsx/server.js';
+
+ // In case you need to import a custom renderer
+ import customRenderer from '../renderers/customRenderer.js';
+
+ export const GET: APIRoute = async (ctx) => {
+ const container = await experimental_AstroContainer.create();
+ container.addServerRenderer({ renderer: reactRenderer });
+ container.addServerRenderer({ renderer: vueRenderer });
+ container.addServerRenderer({ renderer: customRenderer });
+ // You can pass a custom name too
+ container.addServerRenderer({
+ name: 'customRenderer',
+ renderer: customRenderer,
+ });
+ const vueComponent = await container.renderToString(VueComponent);
+ return await container.renderToResponse(Component);
+ };
+ ```
+
## 4.2.0
### Minor Changes
diff --git a/packages/integrations/lit/package.json b/packages/integrations/lit/package.json
index 677cba4ea..714dbce55 100644
--- a/packages/integrations/lit/package.json
+++ b/packages/integrations/lit/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/lit",
- "version": "4.2.0",
+ "version": "4.3.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 d2b38eda2..0b12f7bc1 100644
--- a/packages/integrations/mdx/CHANGELOG.md
+++ b/packages/integrations/mdx/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/mdx
+## 3.1.1
+
+### Patch Changes
+
+- [#11263](https://github.com/withastro/astro/pull/11263) [`7d59750`](https://github.com/withastro/astro/commit/7d597506615fa5a34327304e8321be7b9c4b799d) Thanks [@wackbyte](https://github.com/wackbyte)! - Refactor to use Astro's integration logger for logging
+
## 3.1.0
### Minor Changes
diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json
index 1d11d68ff..88543ea90 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.1.0",
+ "version": "3.1.1",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md
index 67f5c1cd0..45ea01923 100644
--- a/packages/integrations/node/CHANGELOG.md
+++ b/packages/integrations/node/CHANGELOG.md
@@ -1,5 +1,13 @@
# @astrojs/node
+## 8.3.1
+
+### Patch Changes
+
+- [#11261](https://github.com/withastro/astro/pull/11261) [`f5f8ed2`](https://github.com/withastro/astro/commit/f5f8ed275b76adfb11b7c3c1e800753a25416498) Thanks [@matthewp](https://github.com/matthewp)! - Fix backwards compat with Astro <= 4.9
+
+- [#11263](https://github.com/withastro/astro/pull/11263) [`7d59750`](https://github.com/withastro/astro/commit/7d597506615fa5a34327304e8321be7b9c4b799d) Thanks [@wackbyte](https://github.com/wackbyte)! - Refactor to use Astro's integration logger for logging
+
## 8.3.0
### Minor Changes
diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json
index a15619445..53b4b5d7b 100644
--- a/packages/integrations/node/package.json
+++ b/packages/integrations/node/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/node",
"description": "Deploy your site to a Node.js server",
- "version": "8.3.0",
+ "version": "8.3.1",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/preact/CHANGELOG.md b/packages/integrations/preact/CHANGELOG.md
index 45100dd44..9f02be58d 100644
--- a/packages/integrations/preact/CHANGELOG.md
+++ b/packages/integrations/preact/CHANGELOG.md
@@ -1,5 +1,42 @@
# @astrojs/preact
+## 3.5.0
+
+### Minor Changes
+
+- [#11234](https://github.com/withastro/astro/pull/11234) [`4385bf7`](https://github.com/withastro/astro/commit/4385bf7a4dc9c65bff53a30c660f7a909fcabfc9) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new function called `addServerRenderer` to the Container API. Use this function to manually store renderers inside the instance of your container.
+
+ This new function should be preferred when using the Container API in environments like on-demand pages:
+
+ ```ts
+ import type { APIRoute } from 'astro';
+ import { experimental_AstroContainer } from 'astro/container';
+ import reactRenderer from '@astrojs/react/server.js';
+ import vueRenderer from '@astrojs/vue/server.js';
+ import ReactComponent from '../components/button.jsx';
+ import VueComponent from '../components/button.vue';
+
+ // MDX runtime is contained inside the Astro core
+ import mdxRenderer from 'astro/jsx/server.js';
+
+ // In case you need to import a custom renderer
+ import customRenderer from '../renderers/customRenderer.js';
+
+ export const GET: APIRoute = async (ctx) => {
+ const container = await experimental_AstroContainer.create();
+ container.addServerRenderer({ renderer: reactRenderer });
+ container.addServerRenderer({ renderer: vueRenderer });
+ container.addServerRenderer({ renderer: customRenderer });
+ // You can pass a custom name too
+ container.addServerRenderer({
+ name: 'customRenderer',
+ renderer: customRenderer,
+ });
+ const vueComponent = await container.renderToString(VueComponent);
+ return await container.renderToResponse(Component);
+ };
+ ```
+
## 3.4.0
### Minor Changes
diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json
index 57ea1c1fe..f791ec3f4 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.4.0",
+ "version": "3.5.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 0b76191ca..2bebccb85 100644
--- a/packages/integrations/react/CHANGELOG.md
+++ b/packages/integrations/react/CHANGELOG.md
@@ -1,5 +1,42 @@
# @astrojs/react
+## 3.6.0
+
+### Minor Changes
+
+- [#11234](https://github.com/withastro/astro/pull/11234) [`4385bf7`](https://github.com/withastro/astro/commit/4385bf7a4dc9c65bff53a30c660f7a909fcabfc9) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new function called `addServerRenderer` to the Container API. Use this function to manually store renderers inside the instance of your container.
+
+ This new function should be preferred when using the Container API in environments like on-demand pages:
+
+ ```ts
+ import type { APIRoute } from 'astro';
+ import { experimental_AstroContainer } from 'astro/container';
+ import reactRenderer from '@astrojs/react/server.js';
+ import vueRenderer from '@astrojs/vue/server.js';
+ import ReactComponent from '../components/button.jsx';
+ import VueComponent from '../components/button.vue';
+
+ // MDX runtime is contained inside the Astro core
+ import mdxRenderer from 'astro/jsx/server.js';
+
+ // In case you need to import a custom renderer
+ import customRenderer from '../renderers/customRenderer.js';
+
+ export const GET: APIRoute = async (ctx) => {
+ const container = await experimental_AstroContainer.create();
+ container.addServerRenderer({ renderer: reactRenderer });
+ container.addServerRenderer({ renderer: vueRenderer });
+ container.addServerRenderer({ renderer: customRenderer });
+ // You can pass a custom name too
+ container.addServerRenderer({
+ name: 'customRenderer',
+ renderer: customRenderer,
+ });
+ const vueComponent = await container.renderToString(VueComponent);
+ return await container.renderToResponse(Component);
+ };
+ ```
+
## 3.5.0
### Minor Changes
diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json
index 53b72421a..8f4dcf9f0 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.5.0",
+ "version": "3.6.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/sitemap/CHANGELOG.md b/packages/integrations/sitemap/CHANGELOG.md
index 2d1034564..c498b97cc 100644
--- a/packages/integrations/sitemap/CHANGELOG.md
+++ b/packages/integrations/sitemap/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/sitemap
+## 3.1.6
+
+### Patch Changes
+
+- [#11263](https://github.com/withastro/astro/pull/11263) [`7d59750`](https://github.com/withastro/astro/commit/7d597506615fa5a34327304e8321be7b9c4b799d) Thanks [@wackbyte](https://github.com/wackbyte)! - Refactor to use Astro's integration logger for logging
+
## 3.1.5
### Patch Changes
diff --git a/packages/integrations/sitemap/package.json b/packages/integrations/sitemap/package.json
index 7a137cbdc..c97800a9b 100644
--- a/packages/integrations/sitemap/package.json
+++ b/packages/integrations/sitemap/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/sitemap",
"description": "Generate a sitemap for your Astro site",
- "version": "3.1.5",
+ "version": "3.1.6",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/solid/CHANGELOG.md b/packages/integrations/solid/CHANGELOG.md
index 5ba28e4c8..33c902ab4 100644
--- a/packages/integrations/solid/CHANGELOG.md
+++ b/packages/integrations/solid/CHANGELOG.md
@@ -1,5 +1,42 @@
# @astrojs/solid-js
+## 4.4.0
+
+### Minor Changes
+
+- [#11234](https://github.com/withastro/astro/pull/11234) [`4385bf7`](https://github.com/withastro/astro/commit/4385bf7a4dc9c65bff53a30c660f7a909fcabfc9) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new function called `addServerRenderer` to the Container API. Use this function to manually store renderers inside the instance of your container.
+
+ This new function should be preferred when using the Container API in environments like on-demand pages:
+
+ ```ts
+ import type { APIRoute } from 'astro';
+ import { experimental_AstroContainer } from 'astro/container';
+ import reactRenderer from '@astrojs/react/server.js';
+ import vueRenderer from '@astrojs/vue/server.js';
+ import ReactComponent from '../components/button.jsx';
+ import VueComponent from '../components/button.vue';
+
+ // MDX runtime is contained inside the Astro core
+ import mdxRenderer from 'astro/jsx/server.js';
+
+ // In case you need to import a custom renderer
+ import customRenderer from '../renderers/customRenderer.js';
+
+ export const GET: APIRoute = async (ctx) => {
+ const container = await experimental_AstroContainer.create();
+ container.addServerRenderer({ renderer: reactRenderer });
+ container.addServerRenderer({ renderer: vueRenderer });
+ container.addServerRenderer({ renderer: customRenderer });
+ // You can pass a custom name too
+ container.addServerRenderer({
+ name: 'customRenderer',
+ renderer: customRenderer,
+ });
+ const vueComponent = await container.renderToString(VueComponent);
+ return await container.renderToResponse(Component);
+ };
+ ```
+
## 4.3.0
### Minor Changes
diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json
index d13f4f68f..023dd0d66 100644
--- a/packages/integrations/solid/package.json
+++ b/packages/integrations/solid/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/solid-js",
- "version": "4.3.0",
+ "version": "4.4.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 c68d06228..408dc3a09 100644
--- a/packages/integrations/svelte/CHANGELOG.md
+++ b/packages/integrations/svelte/CHANGELOG.md
@@ -1,5 +1,42 @@
# @astrojs/svelte
+## 5.6.0
+
+### Minor Changes
+
+- [#11234](https://github.com/withastro/astro/pull/11234) [`4385bf7`](https://github.com/withastro/astro/commit/4385bf7a4dc9c65bff53a30c660f7a909fcabfc9) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new function called `addServerRenderer` to the Container API. Use this function to manually store renderers inside the instance of your container.
+
+ This new function should be preferred when using the Container API in environments like on-demand pages:
+
+ ```ts
+ import type { APIRoute } from 'astro';
+ import { experimental_AstroContainer } from 'astro/container';
+ import reactRenderer from '@astrojs/react/server.js';
+ import vueRenderer from '@astrojs/vue/server.js';
+ import ReactComponent from '../components/button.jsx';
+ import VueComponent from '../components/button.vue';
+
+ // MDX runtime is contained inside the Astro core
+ import mdxRenderer from 'astro/jsx/server.js';
+
+ // In case you need to import a custom renderer
+ import customRenderer from '../renderers/customRenderer.js';
+
+ export const GET: APIRoute = async (ctx) => {
+ const container = await experimental_AstroContainer.create();
+ container.addServerRenderer({ renderer: reactRenderer });
+ container.addServerRenderer({ renderer: vueRenderer });
+ container.addServerRenderer({ renderer: customRenderer });
+ // You can pass a custom name too
+ container.addServerRenderer({
+ name: 'customRenderer',
+ renderer: customRenderer,
+ });
+ const vueComponent = await container.renderToString(VueComponent);
+ return await container.renderToResponse(Component);
+ };
+ ```
+
## 5.5.0
### Minor Changes
diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json
index fc472507d..dc73dd774 100644
--- a/packages/integrations/svelte/package.json
+++ b/packages/integrations/svelte/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/svelte",
- "version": "5.5.0",
+ "version": "5.6.0",
"description": "Use Svelte components within Astro",
"type": "module",
"types": "./dist/index.d.ts",
diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md
index 1c2d3358d..74733e861 100644
--- a/packages/integrations/vercel/CHANGELOG.md
+++ b/packages/integrations/vercel/CHANGELOG.md
@@ -1,5 +1,13 @@
# @astrojs/vercel
+## 7.7.1
+
+### Patch Changes
+
+- [#11261](https://github.com/withastro/astro/pull/11261) [`f5f8ed2`](https://github.com/withastro/astro/commit/f5f8ed275b76adfb11b7c3c1e800753a25416498) Thanks [@matthewp](https://github.com/matthewp)! - Fix backwards compat with Astro <= 4.9
+
+- [#11227](https://github.com/withastro/astro/pull/11227) [`24ce898`](https://github.com/withastro/astro/commit/24ce8983e1e1b3c8ebebf2ac4de7bbf21a586e2e) Thanks [@matthewp](https://github.com/matthewp)! - In Vercel Edge, include cookies set by Astro.cookies.set
+
## 7.7.0
### Minor Changes
diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json
index 81ca7dd6f..f4968b5b7 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.7.0",
+ "version": "7.7.1",
"type": "module",
"author": "withastro",
"license": "MIT",
diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md
index d509141d1..fd9c71e04 100644
--- a/packages/integrations/vue/CHANGELOG.md
+++ b/packages/integrations/vue/CHANGELOG.md
@@ -1,5 +1,42 @@
# @astrojs/vue
+## 4.5.0
+
+### Minor Changes
+
+- [#11234](https://github.com/withastro/astro/pull/11234) [`4385bf7`](https://github.com/withastro/astro/commit/4385bf7a4dc9c65bff53a30c660f7a909fcabfc9) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new function called `addServerRenderer` to the Container API. Use this function to manually store renderers inside the instance of your container.
+
+ This new function should be preferred when using the Container API in environments like on-demand pages:
+
+ ```ts
+ import type { APIRoute } from 'astro';
+ import { experimental_AstroContainer } from 'astro/container';
+ import reactRenderer from '@astrojs/react/server.js';
+ import vueRenderer from '@astrojs/vue/server.js';
+ import ReactComponent from '../components/button.jsx';
+ import VueComponent from '../components/button.vue';
+
+ // MDX runtime is contained inside the Astro core
+ import mdxRenderer from 'astro/jsx/server.js';
+
+ // In case you need to import a custom renderer
+ import customRenderer from '../renderers/customRenderer.js';
+
+ export const GET: APIRoute = async (ctx) => {
+ const container = await experimental_AstroContainer.create();
+ container.addServerRenderer({ renderer: reactRenderer });
+ container.addServerRenderer({ renderer: vueRenderer });
+ container.addServerRenderer({ renderer: customRenderer });
+ // You can pass a custom name too
+ container.addServerRenderer({
+ name: 'customRenderer',
+ renderer: customRenderer,
+ });
+ const vueComponent = await container.renderToString(VueComponent);
+ return await container.renderToResponse(Component);
+ };
+ ```
+
## 4.4.0
### Minor Changes
diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json
index f2cac8d34..5cfacf4e2 100644
--- a/packages/integrations/vue/package.json
+++ b/packages/integrations/vue/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/vue",
- "version": "4.4.0",
+ "version": "4.5.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 b5aadde6d..1b6d6f1b8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -128,37 +128,37 @@ importers:
examples/basics:
dependencies:
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
examples/blog:
dependencies:
'@astrojs/mdx':
- specifier: ^3.1.0
+ specifier: ^3.1.1
version: link:../../packages/integrations/mdx
'@astrojs/rss':
specifier: ^4.0.6
version: link:../../packages/astro-rss
'@astrojs/sitemap':
- specifier: ^3.1.5
+ specifier: ^3.1.6
version: link:../../packages/integrations/sitemap
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
examples/container-with-vitest:
dependencies:
'@astrojs/react':
- specifier: ^3.5.0
+ specifier: ^3.6.0
version: link:../../packages/integrations/react
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
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.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
examples/framework-lit:
dependencies:
'@astrojs/lit':
- specifier: ^4.2.0
+ specifier: ^4.3.0
version: link:../../packages/integrations/lit
'@webcomponents/template-shadowroot':
specifier: ^0.2.1
version: 0.2.1
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
lit:
specifier: ^3.1.4
@@ -210,19 +210,19 @@ importers:
examples/framework-multiple:
dependencies:
'@astrojs/preact':
- specifier: ^3.4.0
+ specifier: ^3.5.0
version: link:../../packages/integrations/preact
'@astrojs/react':
- specifier: ^3.5.0
+ specifier: ^3.6.0
version: link:../../packages/integrations/react
'@astrojs/solid-js':
- specifier: ^4.3.0
+ specifier: ^4.4.0
version: link:../../packages/integrations/solid
'@astrojs/svelte':
- specifier: ^5.5.0
+ specifier: ^5.6.0
version: link:../../packages/integrations/svelte
'@astrojs/vue':
- specifier: ^4.4.0
+ specifier: ^4.5.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.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
preact:
specifier: ^10.22.0
@@ -255,13 +255,13 @@ importers:
examples/framework-preact:
dependencies:
'@astrojs/preact':
- specifier: ^3.4.0
+ specifier: ^3.5.0
version: link:../../packages/integrations/preact
'@preact/signals':
specifier: ^1.2.3
version: 1.2.3(preact@10.22.0)
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
preact:
specifier: ^10.22.0
@@ -270,7 +270,7 @@ importers:
examples/framework-react:
dependencies:
'@astrojs/react':
- specifier: ^3.5.0
+ specifier: ^3.6.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.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -291,10 +291,10 @@ importers:
examples/framework-solid:
dependencies:
'@astrojs/solid-js':
- specifier: ^4.3.0
+ specifier: ^4.4.0
version: link:../../packages/integrations/solid
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
solid-js:
specifier: ^1.8.17
@@ -303,10 +303,10 @@ importers:
examples/framework-svelte:
dependencies:
'@astrojs/svelte':
- specifier: ^5.5.0
+ specifier: ^5.6.0
version: link:../../packages/integrations/svelte
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
svelte:
specifier: ^4.2.18
@@ -315,10 +315,10 @@ importers:
examples/framework-vue:
dependencies:
'@astrojs/vue':
- specifier: ^4.4.0
+ specifier: ^4.5.0
version: link:../../packages/integrations/vue
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
vue:
specifier: ^3.4.29
@@ -327,25 +327,25 @@ importers:
examples/hackernews:
dependencies:
'@astrojs/node':
- specifier: ^8.3.0
+ specifier: ^8.3.1
version: link:../../packages/integrations/node
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
examples/middleware:
dependencies:
'@astrojs/node':
- specifier: ^8.3.0
+ specifier: ^8.3.1
version: link:../../packages/integrations/node
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
html-minifier:
specifier: ^4.0.0
@@ -358,31 +358,31 @@ importers:
examples/minimal:
dependencies:
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
examples/non-html-pages:
dependencies:
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
examples/ssr:
dependencies:
'@astrojs/node':
- specifier: ^8.3.0
+ specifier: ^8.3.1
version: link:../../packages/integrations/node
'@astrojs/svelte':
- specifier: ^5.5.0
+ specifier: ^5.6.0
version: link:../../packages/integrations/svelte
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
svelte:
specifier: ^4.2.18
@@ -391,7 +391,7 @@ importers:
examples/starlog:
dependencies:
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
sass:
specifier: ^1.77.5
@@ -403,19 +403,19 @@ importers:
examples/toolbar-app:
devDependencies:
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
examples/view-transitions:
devDependencies:
'@astrojs/node':
- specifier: ^8.3.0
+ specifier: ^8.3.1
version: link:../../packages/integrations/node
'@astrojs/tailwind':
specifier: ^5.1.0
version: link:../../packages/integrations/tailwind
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
examples/with-markdoc:
@@ -424,7 +424,7 @@ importers:
specifier: ^0.11.0
version: link:../../packages/integrations/markdoc
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
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.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
hast-util-select:
specifier: ^6.0.2
@@ -454,19 +454,19 @@ importers:
examples/with-markdown-shiki:
dependencies:
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
examples/with-mdx:
dependencies:
'@astrojs/mdx':
- specifier: ^3.1.0
+ specifier: ^3.1.1
version: link:../../packages/integrations/mdx
'@astrojs/preact':
- specifier: ^3.4.0
+ specifier: ^3.5.0
version: link:../../packages/integrations/preact
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
preact:
specifier: ^10.22.0
@@ -475,13 +475,13 @@ importers:
examples/with-nanostores:
dependencies:
'@astrojs/preact':
- specifier: ^3.4.0
+ specifier: ^3.5.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.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
nanostores:
specifier: ^0.10.3
@@ -493,7 +493,7 @@ importers:
examples/with-tailwindcss:
dependencies:
'@astrojs/mdx':
- specifier: ^3.1.0
+ specifier: ^3.1.1
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.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
autoprefixer:
specifier: ^10.4.19
@@ -520,7 +520,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
- specifier: ^4.10.2
+ specifier: ^4.10.3
version: link:../../packages/astro
vitest:
specifier: ^1.6.0
@@ -9498,7 +9498,6 @@ packages:
libsql@0.3.12:
resolution: {integrity: sha512-to30hj8O3DjS97wpbKN6ERZ8k66MN1IaOfFLR6oHqd25GMiPJ/ZX0VaZ7w+TsPmxcFS3p71qArj/hiedCyvXCg==}
- cpu: [x64, arm64, wasm32]
os: [darwin, linux, win32]
lilconfig@2.1.0: