${num}`;
- }
- })()}>
- ```
-* `Iterable`s (non-async):
- ```astro
-
${num}`;
- }
- })()}>
- ```
diff --git a/.changeset/sour-steaks-rule.md b/.changeset/sour-steaks-rule.md
deleted file mode 100644
index bd89f451b1..0000000000
--- a/.changeset/sour-steaks-rule.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Update `astro check` to latest version of the language server
diff --git a/.changeset/violet-tigers-shake.md b/.changeset/violet-tigers-shake.md
deleted file mode 100644
index 2116e7a19a..0000000000
--- a/.changeset/violet-tigers-shake.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Refactor server url logs
diff --git a/examples/basics/package.json b/examples/basics/package.json
index ae5249db5d..e48f02ac01 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8"
+ "astro": "^1.3.0"
}
}
diff --git a/examples/blog/package.json b/examples/blog/package.json
index 565435e7d5..ee2874fc15 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"@astrojs/mdx": "^0.11.1",
"@astrojs/rss": "^1.0.1",
"@astrojs/sitemap": "^1.0.0"
diff --git a/examples/component/package.json b/examples/component/package.json
index 721073e2a7..aefeef7e20 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -15,9 +15,9 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^1.2.8"
+ "astro": "^1.3.0"
},
"peerDependencies": {
- "astro": "^1.2.8"
+ "astro": "^1.3.0"
}
}
diff --git a/examples/deno/package.json b/examples/deno/package.json
index 1e2808ac0a..09ce7d1cd3 100644
--- a/examples/deno/package.json
+++ b/examples/deno/package.json
@@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8"
+ "astro": "^1.3.0"
},
"devDependencies": {
"@astrojs/deno": "^1.0.1"
diff --git a/examples/docs/package.json b/examples/docs/package.json
index 40850ebdd5..47032dfd35 100644
--- a/examples/docs/package.json
+++ b/examples/docs/package.json
@@ -12,7 +12,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"preact": "^10.7.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json
index 8a4bf04e2f..b597c3aeba 100644
--- a/examples/framework-alpine/package.json
+++ b/examples/framework-alpine/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"alpinejs": "^3.10.2",
"@astrojs/alpinejs": "^0.1.2",
"@types/alpinejs": "^3.7.0"
diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json
index dcf62e7ead..c80c0c682c 100644
--- a/examples/framework-lit/package.json
+++ b/examples/framework-lit/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"lit": "^2.2.5",
"@astrojs/lit": "^1.0.0",
"@webcomponents/template-shadowroot": "^0.1.0"
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index a6aea05cbc..821eea3447 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"preact": "^10.7.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json
index 135102a12c..158d488c57 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"preact": "^10.7.3",
"@astrojs/preact": "^1.1.0"
}
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index dfca7e57a0..6276ae73d2 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"@astrojs/react": "^1.1.4",
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index 68879f1eee..44a038c61c 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"solid-js": "^1.4.3",
"@astrojs/solid-js": "^1.1.0"
}
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index 74ce144c06..f0becc3e7c 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -13,6 +13,6 @@
"dependencies": {
"svelte": "^3.48.0",
"@astrojs/svelte": "^1.0.0",
- "astro": "^1.2.8"
+ "astro": "^1.3.0"
}
}
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index 7ee71f0569..1d17265cd5 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"vue": "^3.2.37",
"@astrojs/vue": "^1.0.2"
}
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index ae5c549825..6f58c8cd73 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8"
+ "astro": "^1.3.0"
}
}
diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json
index 073265de1b..0b0e1e1872 100644
--- a/examples/non-html-pages/package.json
+++ b/examples/non-html-pages/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8"
+ "astro": "^1.3.0"
}
}
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index c99ddc9a24..d9d1b7f6dc 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8"
+ "astro": "^1.3.0"
}
}
diff --git a/examples/ssr/package.json b/examples/ssr/package.json
index 28ae6ec5df..6a6bbd4fda 100644
--- a/examples/ssr/package.json
+++ b/examples/ssr/package.json
@@ -13,7 +13,7 @@
},
"devDependencies": {},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"svelte": "^3.48.0",
"@astrojs/svelte": "^1.0.0",
"@astrojs/node": "^1.0.1",
diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json
index 0f477ec4e9..03af37b4f7 100644
--- a/examples/with-markdown-plugins/package.json
+++ b/examples/with-markdown-plugins/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"@astrojs/markdown-remark": "^1.1.2",
"hast-util-select": "5.0.1",
"rehype-autolink-headings": "^6.1.1",
diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json
index df16276353..0b4bad1566 100644
--- a/examples/with-markdown-shiki/package.json
+++ b/examples/with-markdown-shiki/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8"
+ "astro": "^1.3.0"
}
}
diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json
index 34a6f988f2..246a5a279d 100644
--- a/examples/with-mdx/package.json
+++ b/examples/with-mdx/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"preact": "^10.6.5",
"@astrojs/preact": "^1.1.0",
"@astrojs/mdx": "^0.11.1"
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index ff2b0a9317..fc7c1f8b22 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"preact": "^10.7.3",
"@astrojs/preact": "^1.1.0",
"nanostores": "^0.5.12",
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index d57ac458dc..80af642e7d 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"@astrojs/tailwind": "^2.0.1",
"autoprefixer": "^10.4.7",
"canvas-confetti": "^1.5.1",
diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json
index d737bb3d5d..6a45647226 100644
--- a/examples/with-vite-plugin-pwa/package.json
+++ b/examples/with-vite-plugin-pwa/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"vite-plugin-pwa": "0.11.11",
"workbox-window": "^6.5.3"
}
diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json
index 7b4d6b3c29..04e42e8421 100644
--- a/examples/with-vitest/package.json
+++ b/examples/with-vitest/package.json
@@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
- "astro": "^1.2.8",
+ "astro": "^1.3.0",
"vitest": "^0.20.3"
}
}
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index c46a4367b6..9e41a5dd1d 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,77 @@
# astro
+## 1.3.0
+
+### Minor Changes
+
+- [#4775](https://github.com/withastro/astro/pull/4775) [`b0cc93996`](https://github.com/withastro/astro/commit/b0cc93996169fe8a52a7b1119ce2180ae6101e70) Thanks [@tony-sull](https://github.com/tony-sull)! - Adds a new "astro:build:generated" hook that runs after SSG builds finish but **before** build artifacts are cleaned up. This is a very specific use case, "astro:build:done" is probably what you're looking for.
+
+- [#4669](https://github.com/withastro/astro/pull/4669) [`a961aa3c2`](https://github.com/withastro/astro/commit/a961aa3c2fa946898fd209dfc70a7b5472b60817) Thanks [@aggre](https://github.com/aggre)! - astro-island now correctly passes Uint8Array/Uint16Array/Uint32Array
+
+- [#4832](https://github.com/withastro/astro/pull/4832) [`73f215df7`](https://github.com/withastro/astro/commit/73f215df76d238a5ce0cb0e64543af032f468773) Thanks [@matthewp](https://github.com/matthewp)! - Allows Responses to be passed to set:html
+
+ This expands the abilities of `set:html` to ultimate service this use-case:
+
+ ```astro
+
+ ```
+
+ This means you can take a legacy app that has been statically generated to HTML and directly consume that HTML within your templates. As is always the case with `set:html`, this should only be used on trusted content.
+
+ To make this possible, you can also pass several other types into `set:html` now:
+
+ - `Response` objects, since that is what fetch() returns:
+ ```astro
+
Hello world', {
+ headers: { 'content-type': 'text/html' },
+ })}
+ >
+
+ ```
+ - `ReadableStream`s:
+ ```astro
+
read me`);
+ controller.close();
+ },
+ })}
+ >
+
+ ```
+ - `AsyncIterable`s:
+ ```astro
+
${num}`;
+ }
+ })()}
+ >
+
+ ```
+ - `Iterable`s (non-async):
+ ```astro
+
${num}`;
+ }
+ })()}
+ >
+
+ ```
+
+### Patch Changes
+
+- [#4831](https://github.com/withastro/astro/pull/4831) [`29b29e6a8`](https://github.com/withastro/astro/commit/29b29e6a8a54f6ed764e57bb97f1799657d39be7) Thanks [@yuhang-dong](https://github.com/yuhang-dong)! - Update vite-jsx-plugin for jsx export
+
+- [#4754](https://github.com/withastro/astro/pull/4754) [`baae1b3fd`](https://github.com/withastro/astro/commit/baae1b3fd10cf0a74e880c0e0552ba8d58f24453) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Update `astro check` to latest version of the language server
+
+- [#4509](https://github.com/withastro/astro/pull/4509) [`a0619f086`](https://github.com/withastro/astro/commit/a0619f08699de34f1d4c3da8020ac9a9ad3b9ff9) Thanks [@bluwy](https://github.com/bluwy)! - Refactor server url logs
+
## 1.2.8
### Patch Changes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 67a62b5ab4..52d002b1f6 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
- "version": "1.2.8",
+ "version": "1.3.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/pnpm-lock.yaml b/pnpm-lock.yaml
index 5abbc41332..ace0a72086 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -56,7 +56,7 @@ importers:
examples/basics:
specifiers:
- astro: ^1.2.8
+ astro: ^1.3.0
dependencies:
astro: link:../../packages/astro
@@ -65,7 +65,7 @@ importers:
'@astrojs/mdx': ^0.11.1
'@astrojs/rss': ^1.0.1
'@astrojs/sitemap': ^1.0.0
- astro: ^1.2.8
+ astro: ^1.3.0
dependencies:
'@astrojs/mdx': link:../../packages/integrations/mdx
'@astrojs/rss': link:../../packages/astro-rss
@@ -74,14 +74,14 @@ importers:
examples/component:
specifiers:
- astro: ^1.2.8
+ astro: ^1.3.0
devDependencies:
astro: link:../../packages/astro
examples/deno:
specifiers:
'@astrojs/deno': ^1.0.1
- astro: ^1.2.8
+ astro: ^1.3.0
dependencies:
astro: link:../../packages/astro
devDependencies:
@@ -97,7 +97,7 @@ importers:
'@types/node': ^18.0.0
'@types/react': ^17.0.45
'@types/react-dom': ^18.0.0
- astro: ^1.2.8
+ astro: ^1.3.0
preact: ^10.7.3
react: ^18.1.0
react-dom: ^18.1.0
@@ -120,7 +120,7 @@ importers:
'@astrojs/alpinejs': ^0.1.2
'@types/alpinejs': ^3.7.0
alpinejs: ^3.10.2
- astro: ^1.2.8
+ astro: ^1.3.0
dependencies:
'@astrojs/alpinejs': link:../../packages/integrations/alpinejs
'@types/alpinejs': 3.7.0
@@ -131,7 +131,7 @@ importers:
specifiers:
'@astrojs/lit': ^1.0.0
'@webcomponents/template-shadowroot': ^0.1.0
- astro: ^1.2.8
+ astro: ^1.3.0
lit: ^2.2.5
dependencies:
'@astrojs/lit': link:../../packages/integrations/lit
@@ -146,7 +146,7 @@ importers:
'@astrojs/solid-js': ^1.1.0
'@astrojs/svelte': ^1.0.0
'@astrojs/vue': ^1.0.2
- astro: ^1.2.8
+ astro: ^1.3.0
preact: ^10.7.3
react: ^18.1.0
react-dom: ^18.1.0
@@ -170,7 +170,7 @@ importers:
examples/framework-preact:
specifiers:
'@astrojs/preact': ^1.1.0
- astro: ^1.2.8
+ astro: ^1.3.0
preact: ^10.7.3
dependencies:
'@astrojs/preact': link:../../packages/integrations/preact
@@ -182,7 +182,7 @@ importers:
'@astrojs/react': ^1.1.4
'@types/react': ^18.0.10
'@types/react-dom': ^18.0.5
- astro: ^1.2.8
+ astro: ^1.3.0
react: ^18.1.0
react-dom: ^18.1.0
dependencies:
@@ -196,7 +196,7 @@ importers:
examples/framework-solid:
specifiers:
'@astrojs/solid-js': ^1.1.0
- astro: ^1.2.8
+ astro: ^1.3.0
solid-js: ^1.4.3
dependencies:
'@astrojs/solid-js': link:../../packages/integrations/solid
@@ -206,7 +206,7 @@ importers:
examples/framework-svelte:
specifiers:
'@astrojs/svelte': ^1.0.0
- astro: ^1.2.8
+ astro: ^1.3.0
svelte: ^3.48.0
dependencies:
'@astrojs/svelte': link:../../packages/integrations/svelte
@@ -216,7 +216,7 @@ importers:
examples/framework-vue:
specifiers:
'@astrojs/vue': ^1.0.2
- astro: ^1.2.8
+ astro: ^1.3.0
vue: ^3.2.37
dependencies:
'@astrojs/vue': link:../../packages/integrations/vue
@@ -225,19 +225,19 @@ importers:
examples/minimal:
specifiers:
- astro: ^1.2.8
+ astro: ^1.3.0
dependencies:
astro: link:../../packages/astro
examples/non-html-pages:
specifiers:
- astro: ^1.2.8
+ astro: ^1.3.0
dependencies:
astro: link:../../packages/astro
examples/portfolio:
specifiers:
- astro: ^1.2.8
+ astro: ^1.3.0
dependencies:
astro: link:../../packages/astro
@@ -245,7 +245,7 @@ importers:
specifiers:
'@astrojs/node': ^1.0.1
'@astrojs/svelte': ^1.0.0
- astro: ^1.2.8
+ astro: ^1.3.0
concurrently: ^7.2.1
lightcookie: ^1.0.25
svelte: ^3.48.0
@@ -264,7 +264,7 @@ importers:
examples/with-markdown-plugins:
specifiers:
'@astrojs/markdown-remark': ^1.1.2
- astro: ^1.2.8
+ astro: ^1.3.0
hast-util-select: 5.0.1
rehype-autolink-headings: ^6.1.1
rehype-slug: ^5.0.1
@@ -281,7 +281,7 @@ importers:
examples/with-markdown-shiki:
specifiers:
- astro: ^1.2.8
+ astro: ^1.3.0
dependencies:
astro: link:../../packages/astro
@@ -289,7 +289,7 @@ importers:
specifiers:
'@astrojs/mdx': ^0.11.1
'@astrojs/preact': ^1.1.0
- astro: ^1.2.8
+ astro: ^1.3.0
preact: ^10.6.5
dependencies:
'@astrojs/mdx': link:../../packages/integrations/mdx
@@ -301,7 +301,7 @@ importers:
specifiers:
'@astrojs/preact': ^1.1.0
'@nanostores/preact': ^0.1.3
- astro: ^1.2.8
+ astro: ^1.3.0
nanostores: ^0.5.12
preact: ^10.7.3
dependencies:
@@ -314,7 +314,7 @@ importers:
examples/with-tailwindcss:
specifiers:
'@astrojs/tailwind': ^2.0.1
- astro: ^1.2.8
+ astro: ^1.3.0
autoprefixer: ^10.4.7
canvas-confetti: ^1.5.1
postcss: ^8.4.14
@@ -329,7 +329,7 @@ importers:
examples/with-vite-plugin-pwa:
specifiers:
- astro: ^1.2.8
+ astro: ^1.3.0
vite-plugin-pwa: 0.11.11
workbox-window: ^6.5.3
dependencies:
@@ -339,7 +339,7 @@ importers:
examples/with-vitest:
specifiers:
- astro: ^1.2.8
+ astro: ^1.3.0
vitest: ^0.20.3
dependencies:
astro: link:../../packages/astro