diff --git a/.changeset/pink-buttons-destroy.md b/.changeset/pink-buttons-destroy.md deleted file mode 100644 index f5291b456d..0000000000 --- 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 84b8ee0246..0000000000 --- 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 2010637cab..0000000000 --- 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 e07843030d..b239a9e4cd 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 012a6326c0..365d640af2 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 67ab973804..e2c1252d8b 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 1bc6ea7a33..89cb69a747 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 bb8be6f0dd..77eb1e8757 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 cc9176bfac..c443caf213 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 2b61539637..e2e149a90a 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 53498d28ae..9bdacbc8b4 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 41adb28133..89e0cb3930 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 2405ba6da8..d36abe5b5e 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 0a770617aa..e513bc5d9a 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 71e57cfa48..d21922c47f 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 5573d6cafb..cc925a7891 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 fb0da4ac85..ad12877188 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 ec28db11a8..b7a0ffd36a 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 2def469a93..63e19065f6 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 2ed044da8d..6d1e958922 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 babcf81f42..7b4ae0cb4b 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" } }