diff --git a/.changeset/pre.json b/.changeset/pre.json index c9393227f..022c3da4f 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -53,6 +53,7 @@ "calm-suns-give", "chatty-spies-wink", "curly-wasps-sin", + "eighty-cows-wink", "empty-snails-allow", "few-coats-warn", "four-mirrors-wonder", diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index 098765259..3c01694a5 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index e0775ae3e..579d35733 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index e0713afef..2cc25c23b 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/component/package.json b/examples/component/package.json index e8471fbbf..2ceeccad8 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -12,6 +12,6 @@ "serve": "astro --project-root demo preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index fa2c53ad8..708652e9f 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -12,6 +12,6 @@ "@docsearch/react": "^1.0.0-alpha.28" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/fast-build/package.json b/examples/fast-build/package.json index 7829146db..d848d8697 100644 --- a/examples/fast-build/package.json +++ b/examples/fast-build/package.json @@ -10,7 +10,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8", + "astro": "^0.23.0-next.9", "preact": "~10.6.5", "unocss": "^0.15.5", "vite-imagetools": "^4.0.1" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 4b90cb604..d9b299555 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index c4735ce19..f97c70f26 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-lit": "^0.4.0-next.0", - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 382736917..a89bf2261 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.4.0-next.0", - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 6bed6f4a7..6471c94c1 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 638af0326..3c82c8998 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index de26c3ffc..060f358c5 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.4.0-next.0", - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 8afd27c77..2a6868dd9 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index a7ae1b281..2aa343afd 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 7c64a0c6d..d7a7731d3 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/portfolio-svelte/package.json b/examples/portfolio-svelte/package.json index b514c894c..0b2a83cf9 100644 --- a/examples/portfolio-svelte/package.json +++ b/examples/portfolio-svelte/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 0088e5c88..7a5fcd0b1 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 497745906..9e41ff5b8 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -11,7 +11,7 @@ "server": "node server/server.mjs" }, "devDependencies": { - "astro": "^0.23.0-next.8", + "astro": "^0.23.0-next.9", "unocss": "^0.15.5", "vite-imagetools": "^4.0.1" }, diff --git a/examples/starter/package.json b/examples/starter/package.json index b8b4c2c02..57b6dfca1 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index 0e3eb260b..c863a12e0 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index ec2a31cb9..8586e8b4b 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8", + "astro": "^0.23.0-next.9", "hast-util-select": "5.0.1", "rehype-autolink-headings": "^6.1.0", "rehype-slug": "^5.0.0", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index 8a30fd40c..338c0cbda 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 13440968b..b02e4b456 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index b754904be..2c1150c10 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -17,6 +17,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.4.0-next.0", - "astro": "^0.23.0-next.8" + "astro": "^0.23.0-next.9" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index cf037a0d5..c548f24fe 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8", + "astro": "^0.23.0-next.9", "autoprefixer": "^10.4.0", "tailwindcss": "^3.0.5" } diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index 71ca5941e..068b44d52 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.8", + "astro": "^0.23.0-next.9", "vite-plugin-pwa": "0.11.5" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index c7fbf64b1..4b1013226 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,11 @@ # astro +## 0.23.0-next.9 + +### Patch Changes + +- [#2599](https://github.com/withastro/astro/pull/2599) [`929fae68`](https://github.com/withastro/astro/commit/929fae684f2e375bfae2dd2b69d440abcf944378) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update `@astrojs/compiler` to [`v0.11.0`](https://github.com/withastro/compiler/blob/main/lib/compiler/CHANGELOG.md#0110), which moves from TinyGo to Go's built-in WASM output. This will be a significant improvement for stability and memory safety. + ## 0.23.0-next.8 ### Patch Changes @@ -25,12 +31,12 @@ ```typescript // src/pages/company.json.ts export async function get() { - return { - body: JSON.stringify({ - name: 'Astro Technology Company', - url: 'https://astro.build/', - }), - }; + return { + body: JSON.stringify({ + name: 'Astro Technology Company', + url: 'https://astro.build/', + }), + }; } ``` @@ -1385,10 +1391,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve ```js export default { - markdownOptions: { - remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], - rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], - }, + markdownOptions: { + remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], + rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], + }, }; ``` @@ -1408,10 +1414,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve ```js export default { - name: '@matthewp/my-renderer', - server: './server.js', - client: './client.js', - hydrationPolyfills: ['./my-polyfill.js'], + name: '@matthewp/my-renderer', + server: './server.js', + client: './client.js', + hydrationPolyfills: ['./my-polyfill.js'], }; ``` diff --git a/packages/astro/package.json b/packages/astro/package.json index 6c683f5cb..9e4e6edc6 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.23.0-next.8", + "version": "0.23.0-next.9", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro",