summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/lazy-flowers-destroy.md5
-rw-r--r--.changeset/real-actors-jog.md5
-rw-r--r--.changeset/soft-rabbits-draw.md22
-rw-r--r--examples/basics/package.json2
-rw-r--r--examples/blog/package.json2
-rw-r--r--examples/component/package.json2
-rw-r--r--examples/container-with-vitest/package.json2
-rw-r--r--examples/framework-alpine/package.json2
-rw-r--r--examples/framework-lit/package.json2
-rw-r--r--examples/framework-multiple/package.json2
-rw-r--r--examples/framework-preact/package.json2
-rw-r--r--examples/framework-react/package.json2
-rw-r--r--examples/framework-solid/package.json2
-rw-r--r--examples/framework-svelte/package.json2
-rw-r--r--examples/framework-vue/package.json2
-rw-r--r--examples/hackernews/package.json2
-rw-r--r--examples/integration/package.json2
-rw-r--r--examples/minimal/package.json2
-rw-r--r--examples/portfolio/package.json2
-rw-r--r--examples/ssr/package.json2
-rw-r--r--examples/starlog/package.json2
-rw-r--r--examples/toolbar-app/package.json2
-rw-r--r--examples/with-markdoc/package.json2
-rw-r--r--examples/with-mdx/package.json2
-rw-r--r--examples/with-nanostores/package.json2
-rw-r--r--examples/with-tailwindcss/package.json2
-rw-r--r--examples/with-vitest/package.json2
-rw-r--r--packages/astro/CHANGELOG.md26
-rw-r--r--packages/astro/package.json2
-rw-r--r--pnpm-lock.yaml48
30 files changed, 75 insertions, 81 deletions
diff --git a/.changeset/lazy-flowers-destroy.md b/.changeset/lazy-flowers-destroy.md
deleted file mode 100644
index b08525b18..000000000
--- a/.changeset/lazy-flowers-destroy.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-fix: improve error message when inferSize is used in local images with the Image component
diff --git a/.changeset/real-actors-jog.md b/.changeset/real-actors-jog.md
deleted file mode 100644
index d2a77195f..000000000
--- a/.changeset/real-actors-jog.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes a case where environment variables would not be refreshed when using `astro:env`
diff --git a/.changeset/soft-rabbits-draw.md b/.changeset/soft-rabbits-draw.md
deleted file mode 100644
index 87094d3e1..000000000
--- a/.changeset/soft-rabbits-draw.md
+++ /dev/null
@@ -1,22 +0,0 @@
----
-"astro": patch
----
-
-**BREAKING CHANGE to the experimental Container API only**
-
-Changes the default page rendering behavior of Astro components in containers, and adds a new option `partial: false` to render full Astro pages as before.
-
-Previously, the Container API was rendering all Astro components as if they were full Astro pages containing `<!DOCTYPE html>` by default. This was not intended, and now by default, all components will render as [page partials](https://docs.astro.build/en/basics/astro-pages/#page-partials): only the contents of the components without a page shell.
-
-To render the component as a full-fledged Astro page, pass a new option called `partial: false` to `renderToString()` and `renderToResponse()`:
-
-```js
-import { experimental_AstroContainer as AstroContainer } from 'astro/container';
-import Card from "../src/components/Card.astro";
-
-const container = AstroContainer.create();
-
-await container.renderToString(Card); // the string will not contain `<!DOCTYPE html>`
-await container.renderToString(Card, { partial: false }); // the string will contain `<!DOCTYPE html>`
-```
-
diff --git a/examples/basics/package.json b/examples/basics/package.json
index 27e4b451c..557cbd291 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.16.5"
+ "astro": "^4.16.6"
}
}
diff --git a/examples/blog/package.json b/examples/blog/package.json
index 1af4f65f4..fab019063 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -14,6 +14,6 @@
"@astrojs/mdx": "^3.1.8",
"@astrojs/rss": "^4.0.9",
"@astrojs/sitemap": "^3.2.1",
- "astro": "^4.16.5"
+ "astro": "^4.16.6"
}
}
diff --git a/examples/component/package.json b/examples/component/package.json
index f46ebb32d..311e2405c 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^4.16.5"
+ "astro": "^4.16.6"
},
"peerDependencies": {
"astro": "^4.0.0"
diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json
index 576b7c85a..28892b897 100644
--- a/examples/container-with-vitest/package.json
+++ b/examples/container-with-vitest/package.json
@@ -12,7 +12,7 @@
"test": "vitest run"
},
"dependencies": {
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"@astrojs/react": "^3.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json
index 3d280064a..d63293ef0 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.1",
- "astro": "^4.16.5"
+ "astro": "^4.16.6"
}
}
diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json
index 8262577f7..402230014 100644
--- a/examples/framework-lit/package.json
+++ b/examples/framework-lit/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/lit": "^4.3.0",
"@webcomponents/template-shadowroot": "^0.2.1",
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"lit": "^3.2.1"
}
}
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index 9f9f47a99..51ed2e11d 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -18,7 +18,7 @@
"@astrojs/vue": "^4.5.2",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"preact": "^10.24.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json
index 6f427e5be..c4dfaf228 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.5.3",
"@preact/signals": "^1.3.0",
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"preact": "^10.24.3"
}
}
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index ce1d63c1a..bd21c833d 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -14,7 +14,7 @@
"@astrojs/react": "^3.6.2",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index 6256b97bd..8f8d92819 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^4.4.2",
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"solid-js": "^1.9.2"
}
}
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index b55624cd7..f02201771 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/svelte": "^5.7.2",
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"svelte": "^4.2.19"
}
}
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index b341eb34d..678445284 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/vue": "^4.5.2",
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"vue": "^3.5.12"
}
}
diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json
index 18a9ab6a3..d76b0fd29 100644
--- a/examples/hackernews/package.json
+++ b/examples/hackernews/package.json
@@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/node": "^8.3.4",
- "astro": "^4.16.5"
+ "astro": "^4.16.6"
}
}
diff --git a/examples/integration/package.json b/examples/integration/package.json
index 0438e26b8..5fe6276be 100644
--- a/examples/integration/package.json
+++ b/examples/integration/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^4.16.5"
+ "astro": "^4.16.6"
},
"peerDependencies": {
"astro": "^4.0.0"
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index edaad3564..af4a6912d 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.16.5"
+ "astro": "^4.16.6"
}
}
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index 23dff6f51..0f7a0a800 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.16.5"
+ "astro": "^4.16.6"
}
}
diff --git a/examples/ssr/package.json b/examples/ssr/package.json
index 95ae9ee64..2bdd5f528 100644
--- a/examples/ssr/package.json
+++ b/examples/ssr/package.json
@@ -14,7 +14,7 @@
"dependencies": {
"@astrojs/node": "^8.3.4",
"@astrojs/svelte": "^5.7.2",
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"svelte": "^4.2.19"
}
}
diff --git a/examples/starlog/package.json b/examples/starlog/package.json
index 8b729b3ea..0012d118d 100644
--- a/examples/starlog/package.json
+++ b/examples/starlog/package.json
@@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"sass": "^1.79.5",
"sharp": "^0.33.3"
}
diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json
index e6c015250..83c2d478a 100644
--- a/examples/toolbar-app/package.json
+++ b/examples/toolbar-app/package.json
@@ -15,6 +15,6 @@
"./app": "./dist/app.js"
},
"devDependencies": {
- "astro": "^4.16.5"
+ "astro": "^4.16.6"
}
}
diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json
index 6a76dc565..69487f756 100644
--- a/examples/with-markdoc/package.json
+++ b/examples/with-markdoc/package.json
@@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^0.11.5",
- "astro": "^4.16.5"
+ "astro": "^4.16.6"
}
}
diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json
index da711b495..d21c7e636 100644
--- a/examples/with-mdx/package.json
+++ b/examples/with-mdx/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/mdx": "^3.1.8",
"@astrojs/preact": "^3.5.3",
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"preact": "^10.24.3"
}
}
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index 21864a386..d4a4d453a 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.5.3",
"@nanostores/preact": "^0.5.2",
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"nanostores": "^0.11.3",
"preact": "^10.24.3"
}
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index 04ab56e7a..7c522d2ce 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -14,7 +14,7 @@
"@astrojs/mdx": "^3.1.8",
"@astrojs/tailwind": "^5.1.2",
"@types/canvas-confetti": "^1.6.4",
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"autoprefixer": "^10.4.20",
"canvas-confetti": "^1.9.3",
"postcss": "^8.4.47",
diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json
index 38d5e4b73..b400103f2 100644
--- a/examples/with-vitest/package.json
+++ b/examples/with-vitest/package.json
@@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
- "astro": "^4.16.5",
+ "astro": "^4.16.6",
"vitest": "^2.1.3"
}
}
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 4246713f1..1dd875b78 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,31 @@
# astro
+## 4.16.6
+
+### Patch Changes
+
+- [#11823](https://github.com/withastro/astro/pull/11823) [`a3d30a6`](https://github.com/withastro/astro/commit/a3d30a602aaa1755197c73f0b51cace61f9088b3) Thanks [@DerTimonius](https://github.com/DerTimonius)! - fix: improve error message when inferSize is used in local images with the Image component
+
+- [#12227](https://github.com/withastro/astro/pull/12227) [`8b1a641`](https://github.com/withastro/astro/commit/8b1a641be9de4baa9ae48dd0d045915fbbeffa8c) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Fixes a case where environment variables would not be refreshed when using `astro:env`
+
+- [#12239](https://github.com/withastro/astro/pull/12239) [`2b6daa5`](https://github.com/withastro/astro/commit/2b6daa5840c18729c41f6cd8b4571b88d0cba119) Thanks [@ematipico](https://github.com/ematipico)! - **BREAKING CHANGE to the experimental Container API only**
+
+ Changes the default page rendering behavior of Astro components in containers, and adds a new option `partial: false` to render full Astro pages as before.
+
+ Previously, the Container API was rendering all Astro components as if they were full Astro pages containing `<!DOCTYPE html>` by default. This was not intended, and now by default, all components will render as [page partials](https://docs.astro.build/en/basics/astro-pages/#page-partials): only the contents of the components without a page shell.
+
+ To render the component as a full-fledged Astro page, pass a new option called `partial: false` to `renderToString()` and `renderToResponse()`:
+
+ ```js
+ import { experimental_AstroContainer as AstroContainer } from 'astro/container';
+ import Card from '../src/components/Card.astro';
+
+ const container = AstroContainer.create();
+
+ await container.renderToString(Card); // the string will not contain `<!DOCTYPE html>`
+ await container.renderToString(Card, { partial: false }); // the string will contain `<!DOCTYPE html>`
+ ```
+
## 4.16.5
### Patch Changes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 0cf43e475..2b0e377d1 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
- "version": "4.16.5",
+ "version": "4.16.6",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7006b7f97..e1b860f08 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -113,7 +113,7 @@ importers:
examples/basics:
dependencies:
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
examples/blog:
@@ -128,13 +128,13 @@ importers:
specifier: ^3.2.1
version: link:../../packages/integrations/sitemap
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
examples/container-with-vitest:
@@ -143,7 +143,7 @@ importers:
specifier: ^3.6.2
version: link:../../packages/integrations/react
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -174,7 +174,7 @@ importers:
specifier: ^3.14.1
version: 3.14.1
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
examples/framework-lit:
@@ -186,7 +186,7 @@ importers:
specifier: ^0.2.1
version: 0.2.1
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
lit:
specifier: ^3.2.1
@@ -216,7 +216,7 @@ importers:
specifier: ^18.3.1
version: 18.3.1
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
preact:
specifier: ^10.24.3
@@ -246,7 +246,7 @@ importers:
specifier: ^1.3.0
version: 1.3.0(preact@10.24.3)
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
preact:
specifier: ^10.24.3
@@ -264,7 +264,7 @@ importers:
specifier: ^18.3.1
version: 18.3.1
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -279,7 +279,7 @@ importers:
specifier: ^4.4.2
version: link:../../packages/integrations/solid
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
solid-js:
specifier: ^1.9.2
@@ -291,7 +291,7 @@ importers:
specifier: ^5.7.2
version: link:../../packages/integrations/svelte
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
svelte:
specifier: ^4.2.19
@@ -303,7 +303,7 @@ importers:
specifier: ^4.5.2
version: link:../../packages/integrations/vue
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
vue:
specifier: ^3.5.12
@@ -315,25 +315,25 @@ importers:
specifier: ^8.3.4
version: 8.3.4(astro@packages+astro)
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
examples/minimal:
dependencies:
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
examples/ssr:
@@ -345,7 +345,7 @@ importers:
specifier: ^5.7.2
version: link:../../packages/integrations/svelte
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
svelte:
specifier: ^4.2.19
@@ -354,7 +354,7 @@ importers:
examples/starlog:
dependencies:
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
sass:
specifier: ^1.79.5
@@ -366,7 +366,7 @@ importers:
examples/toolbar-app:
devDependencies:
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
examples/with-markdoc:
@@ -375,7 +375,7 @@ importers:
specifier: ^0.11.5
version: link:../../packages/integrations/markdoc
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
examples/with-mdx:
@@ -387,7 +387,7 @@ importers:
specifier: ^3.5.3
version: link:../../packages/integrations/preact
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
preact:
specifier: ^10.24.3
@@ -402,7 +402,7 @@ importers:
specifier: ^0.5.2
version: 0.5.2(nanostores@0.11.3)(preact@10.24.3)
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
nanostores:
specifier: ^0.11.3
@@ -423,7 +423,7 @@ importers:
specifier: ^1.6.4
version: 1.6.4
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
autoprefixer:
specifier: ^10.4.20
@@ -441,7 +441,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
- specifier: ^4.16.5
+ specifier: ^4.16.6
version: link:../../packages/astro
vitest:
specifier: ^2.1.3