diff --git a/.changeset/pink-buttons-destroy.md b/.changeset/pink-buttons-destroy.md deleted file mode 100644 index f5291b456..000000000 --- a/.changeset/pink-buttons-destroy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Only show the buildOptions.site notice if not already set diff --git a/.changeset/smart-forks-search.md b/.changeset/smart-forks-search.md deleted file mode 100644 index 84b8ee024..000000000 --- a/.changeset/smart-forks-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improve error handling for unsupported Node versions diff --git a/.changeset/twelve-lions-tie.md b/.changeset/twelve-lions-tie.md deleted file mode 100644 index 2010637ca..000000000 --- a/.changeset/twelve-lions-tie.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'astro': patch ---- - -Add support for components defined in Frontmatter. Previously, the following code would throw an error. Now it is officially supported! - -```astro ---- -const { level = 1 } = Astro.props; -const Element = `h${level}`; ---- - -Hello world! -``` diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index e07843030..b239a9e4c 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1" + "astro": "^0.17.2" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/blog/package.json b/examples/blog/package.json index 012a6326c..365d640af 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1" + "astro": "^0.17.2" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/docs/package.json b/examples/docs/package.json index 67ab97380..e2c1252d8 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1" + "astro": "^0.17.2" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 1bc6ea7a3..89cb69a74 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1" + "astro": "^0.17.2" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index bb8be6f0d..77eb1e875 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1" + "astro": "^0.17.2" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index cc9176bfa..c443caf21 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1" + "astro": "^0.17.2" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 2b6153963..e2e149a90 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1" + "astro": "^0.17.2" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 53498d28a..9bdacbc8b 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1" + "astro": "^0.17.2" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 41adb2813..89e0cb393 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1" + "astro": "^0.17.2" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/snowpack/package.json b/examples/snowpack/package.json index 2405ba6da..d36abe5b5 100644 --- a/examples/snowpack/package.json +++ b/examples/snowpack/package.json @@ -11,7 +11,7 @@ "lint": "prettier --check \"src/**/*.js\"" }, "dependencies": { - "astro": "^0.17.1", + "astro": "^0.17.2", "date-fns": "^2.19.0", "deepmerge": "^4.2.2", "docsearch.js": "^2.6.3", @@ -25,7 +25,7 @@ "@11ty/eleventy-plugin-syntaxhighlight": "^3.0.4", "@contentful/rich-text-html-renderer": "^14.1.2", "@contentful/rich-text-types": "^14.1.2", - "astro": "^0.17.1", + "astro": "^0.17.2", "eleventy-plugin-nesting-toc": "^1.2.0", "luxon": "^1.25.0", "markdown-it": "^12.0.2", diff --git a/examples/starter/package.json b/examples/starter/package.json index 0a770617a..e513bc5d9 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1" + "astro": "^0.17.2" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 71e57cfa4..d21922c47 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1", + "astro": "^0.17.2", "rehype-add-classes": "^1.0.0", "rehype-toc": "^3.0.2", "remark-autolink-headings": "^6.0.1", diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 5573d6caf..cc925a789 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1" + "astro": "^0.17.2" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index fb0da4ac8..ad1287718 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1" + "astro": "^0.17.2" }, "dependencies": { "nanostores": "^0.3.3" diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index ec28db11a..b7a0ffd36 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -8,7 +8,7 @@ }, "devDependencies": { "tailwindcss": "^2.1.2", - "astro": "^0.17.1" + "astro": "^0.17.2" }, "snowpack": { "workspaceRoot": "../.." diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 2def469a9..63e19065f 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,22 @@ # astro +## 0.17.2 + +### Patch Changes + +- 1b73f95: Only show the buildOptions.site notice if not already set +- fb78b76: Improve error handling for unsupported Node versions +- d93f768: Add support for components defined in Frontmatter. Previously, the following code would throw an error. Now it is officially supported! + + ```astro + --- + const { level = 1 } = Astro.props; + const Element = `h${level}`; + --- + + Hello world! + ``` + ## 0.17.1 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 2ed044da8..6d1e95892 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.17.1", + "version": "0.17.2", "author": "Skypack", "license": "MIT", "type": "module", diff --git a/www/package.json b/www/package.json index babcf81f4..7b4ae0cb4 100644 --- a/www/package.json +++ b/www/package.json @@ -7,6 +7,6 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.1" + "astro": "^0.17.2" } }