diff --git a/.changeset/grumpy-dancers-smell.md b/.changeset/grumpy-dancers-smell.md deleted file mode 100644 index 691e935a3..000000000 --- a/.changeset/grumpy-dancers-smell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix for projects with a folder name containing a space diff --git a/.changeset/nice-tables-applaud.md b/.changeset/nice-tables-applaud.md deleted file mode 100644 index f73b31891..000000000 --- a/.changeset/nice-tables-applaud.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Update Astro.props to show object properties on console.log(Astro.props), interating over properties, and anything else outside direct key access diff --git a/.changeset/serious-guests-matter.md b/.changeset/serious-guests-matter.md deleted file mode 100644 index bfdcba398..000000000 --- a/.changeset/serious-guests-matter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improve `set:html` behavior for `null` and `undefined` values diff --git a/.changeset/tough-cherries-bathe.md b/.changeset/tough-cherries-bathe.md deleted file mode 100644 index 906d1f739..000000000 --- a/.changeset/tough-cherries-bathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improve build performance, especially on large sites diff --git a/.changeset/tough-dragons-sniff.md b/.changeset/tough-dragons-sniff.md deleted file mode 100644 index 4b7697ca7..000000000 --- a/.changeset/tough-dragons-sniff.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Surface vite warnings to the user diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index 5dbc29a52..171cdf8ee 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/renderer-preact": "^0.5.0", - "astro": "^0.24.0", + "astro": "^0.24.1", "sass": "^1.49.9" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 9b442d722..c48200d2a 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.24.0", + "astro": "^0.24.1", "@astrojs/renderer-preact": "^0.5.0" } } diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index efa65c2c5..c8c539973 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@example/my-component": "workspace:*", - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/component/package.json b/examples/component/package.json index 10b4d7466..4b62c6cfe 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -8,6 +8,6 @@ "serve": "astro --project-root demo preview" }, "devDependencies": { - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index fe62069fd..020231e10 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -19,6 +19,6 @@ "devDependencies": { "@astrojs/renderer-preact": "^0.5.0", "@astrojs/renderer-react": "^0.5.0", - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index 6661562e4..6473defcd 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index c83c4dddd..66aa4d11e 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index f1ec89755..3333395fe 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.24.0" + "astro": "^0.24.1" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 258197f06..3856d695d 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -15,6 +15,6 @@ "@astrojs/renderer-solid": "^0.4.0", "@astrojs/renderer-svelte": "^0.5.1", "@astrojs/renderer-vue": "^0.4.0", - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index dfce1f910..08827806b 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-preact": "^0.5.0", - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index c48dc74eb..0f4d77a05 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-react": "^0.5.0", - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index d662f1ecd..8069a3109 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.24.0" + "astro": "^0.24.1" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index a9cbffe08..6333d9335 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-svelte": "^0.5.1", - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 332b4be59..6eb9ea7bd 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-vue": "^0.4.0", - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index d6f53ff8f..69ea50fb6 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index d7a1651a6..d466e74a4 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 16bb86750..637ef99f6 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/renderer-preact": "^0.5.0", - "astro": "^0.24.0", + "astro": "^0.24.1", "sass": "^1.49.9" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 7d8921db0..380fa7a16 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,7 +12,7 @@ }, "devDependencies": { "@astrojs/renderer-svelte": "^0.5.1", - "astro": "^0.24.0", + "astro": "^0.24.1", "unocss": "^0.15.6", "vite-imagetools": "^4.0.3" } diff --git a/examples/starter/package.json b/examples/starter/package.json index a248940b2..157984983 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index fc209b93b..41083af49 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/renderer-react": "^0.5.0", - "astro": "^0.24.0", + "astro": "^0.24.1", "sass": "^1.49.9" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 3edcfe082..c40239e71 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^0.6.4", - "astro": "^0.24.0", + "astro": "^0.24.1", "hast-util-select": "5.0.1", "rehype-autolink-headings": "^6.1.1", "rehype-slug": "^5.0.1", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index b7326bbe8..6d3cd5a91 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^0.6.4", - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 741d59c5e..d3529fbee 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -14,6 +14,6 @@ "@astrojs/renderer-react": "^0.5.0", "@astrojs/renderer-svelte": "^0.5.1", "@astrojs/renderer-vue": "^0.4.0", - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 4550f5856..be04644fb 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -25,6 +25,6 @@ "@astrojs/renderer-solid": "^0.4.0", "@astrojs/renderer-svelte": "^0.5.1", "@astrojs/renderer-vue": "^0.4.0", - "astro": "^0.24.0" + "astro": "^0.24.1" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index a0a2a7eeb..1fc8c036e 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/renderer-preact": "^0.5.0", - "astro": "^0.24.0", + "astro": "^0.24.1", "autoprefixer": "^10.4.2", "postcss": "^8.4.8", "tailwindcss": "^3.0.23" diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index bf8dd9b66..70b889cb7 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.24.0", + "astro": "^0.24.1", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.1" } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 1cb0e6887..8997b7828 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,19 @@ # astro +## 0.24.1 + +### Patch Changes + +- [#2797](https://github.com/withastro/astro/pull/2797) [`58d8686e`](https://github.com/withastro/astro/commit/58d8686e94816da649b0210f5288173fb4b9a483) Thanks [@matthewp](https://github.com/matthewp)! - Fix for projects with a folder name containing a space + +* [#2785](https://github.com/withastro/astro/pull/2785) [`2c4fd919`](https://github.com/withastro/astro/commit/2c4fd919faa887df659d756ed3d095e0e83ed87d) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Update Astro.props to show object properties on console.log(Astro.props), interating over properties, and anything else outside direct key access + +- [#2790](https://github.com/withastro/astro/pull/2790) [`6b34840d`](https://github.com/withastro/astro/commit/6b34840d3d082d6491515ff96976f603947316d3) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Improve `set:html` behavior for `null` and `undefined` values + +* [#2772](https://github.com/withastro/astro/pull/2772) [`b4d34e2d`](https://github.com/withastro/astro/commit/b4d34e2d2c1429a9938074cd30ed13d9bb741a8b) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Improve build performance, especially on large sites + +- [#2772](https://github.com/withastro/astro/pull/2772) [`b4d34e2d`](https://github.com/withastro/astro/commit/b4d34e2d2c1429a9938074cd30ed13d9bb741a8b) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Surface vite warnings to the user + ## 0.24.0 ### Minor Changes @@ -18,9 +32,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -40,7 +54,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -124,7 +138,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -148,9 +162,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -262,12 +276,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/', + }), + }; } ``` @@ -429,12 +443,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/', + }), + }; } ``` @@ -1789,10 +1803,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' }]], + }, }; ``` @@ -1812,10 +1826,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 9c5c00c52..854c5d9fa 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.24.0", + "version": "0.24.1", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro",