diff --git a/.changeset/afraid-phones-peel.md b/.changeset/afraid-phones-peel.md deleted file mode 100644 index 7a242303b..000000000 --- a/.changeset/afraid-phones-peel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fix issue with Non-HTML pages in static build for dev diff --git a/.changeset/great-hotels-breathe.md b/.changeset/great-hotels-breathe.md deleted file mode 100644 index 19b6ae685..000000000 --- a/.changeset/great-hotels-breathe.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'astro': patch -'@astrojs/markdown-remark': patch ---- - -Fixed shiki to work with `{ "type": "module" }` diff --git a/.changeset/grumpy-tigers-melt.md b/.changeset/grumpy-tigers-melt.md deleted file mode 100644 index 7a5c1e3f8..000000000 --- a/.changeset/grumpy-tigers-melt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixed incorrect types and imports diff --git a/.changeset/lazy-parents-turn.md b/.changeset/lazy-parents-turn.md deleted file mode 100644 index b404331a7..000000000 --- a/.changeset/lazy-parents-turn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Update `@astrojs/compiler`, fixing a bug with self-closing tags that need special consideration like `` and `<script />` diff --git a/.changeset/spicy-tomatoes-act.md b/.changeset/spicy-tomatoes-act.md deleted file mode 100644 index f4af5e96c..000000000 --- a/.changeset/spicy-tomatoes-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fix an issue where utf8 encoding was skipped in the dev server. diff --git a/.changeset/tasty-tigers-flow.md b/.changeset/tasty-tigers-flow.md deleted file mode 100644 index e7a67c8d0..000000000 --- a/.changeset/tasty-tigers-flow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Add fine-grained HMR support for Astro files diff --git a/.changeset/twelve-eggs-join.md b/.changeset/twelve-eggs-join.md deleted file mode 100644 index d1df23f5f..000000000 --- a/.changeset/twelve-eggs-join.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix issue when process.env.LANG was longer than 5 characters diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index a6cc292ed..db5abe216 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0", + "astro": "^0.23.1", "sass": "^1.49.8" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 5b94d6e3c..a2c5539bd 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0" + "astro": "^0.23.1" } } diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index ce2ed7e32..89c43e89d 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" + "astro": "^0.23.1" } } diff --git a/examples/component/package.json b/examples/component/package.json index b503c0c08..f16dbc36e 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" + "astro": "^0.23.1" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index 0b47675a5..aa1f2a501 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" + "astro": "^0.23.1" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index 553c7deba..f4f8e3391 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0" + "astro": "^0.23.1" } } diff --git a/examples/fast-build/package.json b/examples/fast-build/package.json index ac85a9a70..26cc49b9b 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", + "astro": "^0.23.1", "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 3e09b77d9..791e9a7f0 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" + "astro": "^0.23.1" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 8fff750d6..c372512b0 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-lit": "^0.4.0", - "astro": "^0.23.0" + "astro": "^0.23.1" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index b54bb9553..d49e60724 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.4.0", - "astro": "^0.23.0" + "astro": "^0.23.1" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 216b39064..3e362780f 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" + "astro": "^0.23.1" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index aabb2e074..1e84e84e5 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" + "astro": "^0.23.1" } } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 888514c0b..60ad3d511 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.4.0", - "astro": "^0.23.0" + "astro": "^0.23.1" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index aefca5602..824c0c309 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" + "astro": "^0.23.1" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index d810012fd..39e8d4151 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" + "astro": "^0.23.1" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 0ba1688e4..39539e6ee 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0" + "astro": "^0.23.1" } } diff --git a/examples/portfolio-svelte/package.json b/examples/portfolio-svelte/package.json index 6ca896ff1..960a7a9bc 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" + "astro": "^0.23.1" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index c130c9232..cc895bfde 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0" + "astro": "^0.23.1" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 58294c847..440ab7c26 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", + "astro": "^0.23.1", "unocss": "^0.15.5", "vite-imagetools": "^4.0.1" }, diff --git a/examples/starter/package.json b/examples/starter/package.json index 389dae883..182f7c8b0 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0" + "astro": "^0.23.1" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index 10f97d497..f766370db 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0" + "astro": "^0.23.1" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 70ffaba7c..4eabf234d 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", + "astro": "^0.23.1", "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 c10a04282..6a4c85b9c 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" + "astro": "^0.23.1" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 66594e35f..597e95b9c 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" + "astro": "^0.23.1" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 67c5bf87d..de1e15d9e 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -17,6 +17,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.4.0", - "astro": "^0.23.0" + "astro": "^0.23.1" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 3a24b8007..f214dc981 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", + "astro": "^0.23.1", "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 8651c91ee..bb06172b6 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", + "astro": "^0.23.1", "vite-plugin-pwa": "0.11.5" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 1babbd2b6..9749a8afe 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,26 @@ # astro +## 0.23.1 + +### Patch Changes + +- [`ac6d2e8c`](https://github.com/withastro/astro/commit/ac6d2e8c645e7f6821ace02067ceb4d5402f66ae) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix issue with Non-HTML pages in static build for dev + +* [#2628](https://github.com/withastro/astro/pull/2628) [`9b7e2ab2`](https://github.com/withastro/astro/commit/9b7e2ab2516cd36520364490df8e3482008292e3) Thanks [@JuanM04](https://github.com/JuanM04)! - Fixed shiki to work with `{ "type": "module" }` + +- [#2630](https://github.com/withastro/astro/pull/2630) [`a2128f8e`](https://github.com/withastro/astro/commit/a2128f8e478cec8f60292206d3d22760c46f4aa9) Thanks [@JuanM04](https://github.com/JuanM04)! - Fixed incorrect types and imports + +* [#2653](https://github.com/withastro/astro/pull/2653) [`17032cd0`](https://github.com/withastro/astro/commit/17032cd064ecb4233b66e30b49ca0a12a8afc476) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update `@astrojs/compiler`, fixing a bug with self-closing tags that need special consideration like `<title />` and `<script />` + +- [#2654](https://github.com/withastro/astro/pull/2654) [`a0fc5cb5`](https://github.com/withastro/astro/commit/a0fc5cb5ff0003e9bb4b54cbf98035b1e0a6b113) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix an issue where utf8 encoding was skipped in the dev server. + +* [#2649](https://github.com/withastro/astro/pull/2649) [`5091d788`](https://github.com/withastro/astro/commit/5091d788f624060756d04488506b4f1f4eadcf8e) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Add fine-grained HMR support for Astro files + +- [#2645](https://github.com/withastro/astro/pull/2645) [`2e5c3b51`](https://github.com/withastro/astro/commit/2e5c3b512638bf06c7eb896fcf5cd8179fe91ca8) Thanks [@xavikortes](https://github.com/xavikortes)! - Fix issue when process.env.LANG was longer than 5 characters + +- Updated dependencies [[`9b7e2ab2`](https://github.com/withastro/astro/commit/9b7e2ab2516cd36520364490df8e3482008292e3)]: + - @astrojs/markdown-remark@0.6.2 + ## 0.23.0 ### Minor Changes @@ -25,12 +46,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/', + }), + }; } ``` @@ -192,12 +213,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/', + }), + }; } ``` @@ -1552,10 +1573,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' }]], + }, }; ``` @@ -1575,10 +1596,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 acd1e4496..24261742c 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.23.0", + "version": "0.23.1", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", @@ -58,7 +58,7 @@ "dependencies": { "@astrojs/compiler": "^0.11.4", "@astrojs/language-server": "^0.8.6", - "@astrojs/markdown-remark": "^0.6.1", + "@astrojs/markdown-remark": "^0.6.2", "@astrojs/prism": "0.4.0", "@astrojs/renderer-preact": "^0.5.0", "@astrojs/renderer-react": "0.5.0", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index f91e42bcf..236a127c4 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/markdown-remark +## 0.6.2 + +### Patch Changes + +- [#2628](https://github.com/withastro/astro/pull/2628) [`9b7e2ab2`](https://github.com/withastro/astro/commit/9b7e2ab2516cd36520364490df8e3482008292e3) Thanks [@JuanM04](https://github.com/JuanM04)! - Fixed shiki to work with `{ "type": "module" }` + ## 0.6.1 ### Patch Changes @@ -141,10 +147,10 @@ ```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' }]], + }, }; ``` diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 74015416a..a86857cb3 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "0.6.1", + "version": "0.6.2", "type": "module", "author": "withastro", "license": "MIT",