diff --git a/.changeset/rude-deers-know.md b/.changeset/rude-deers-know.md deleted file mode 100644 index c09b381fac..0000000000 --- a/.changeset/rude-deers-know.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'astro': patch -'@astrojs/renderer-react': patch ---- - -Fixes bug with React renderer that would not hydrate correctly 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 d391849b1a..e07843030d 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.0" + "astro": "^0.17.1" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/blog/package.json b/examples/blog/package.json index 760d12eed6..012a6326c0 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.0" + "astro": "^0.17.1" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/docs/package.json b/examples/docs/package.json index 8ef94f8da9..67ab973804 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.0" + "astro": "^0.17.1" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 86a92fc75f..1bc6ea7a33 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.0" + "astro": "^0.17.1" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 3492b823f3..bb8be6f0dd 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.0" + "astro": "^0.17.1" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 46663f1141..cc9176bfac 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.0" + "astro": "^0.17.1" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index bf2f9b1cf5..2b61539637 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.0" + "astro": "^0.17.1" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index d6ea6a1f66..53498d28ae 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.0" + "astro": "^0.17.1" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index e09a796623..41adb28133 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.0" + "astro": "^0.17.1" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/snowpack/package.json b/examples/snowpack/package.json index 15567602b9..2405ba6da8 100644 --- a/examples/snowpack/package.json +++ b/examples/snowpack/package.json @@ -11,7 +11,7 @@ "lint": "prettier --check \"src/**/*.js\"" }, "dependencies": { - "astro": "^0.17.0", + "astro": "^0.17.1", "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.0", + "astro": "^0.17.1", "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 34d4ce4703..0a770617aa 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.0" + "astro": "^0.17.1" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 1bb39d6d45..71e57cfa48 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.0", + "astro": "^0.17.1", "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 dabc523583..5573d6cafb 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.0" + "astro": "^0.17.1" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 3fa3aea086..fb0da4ac85 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.0" + "astro": "^0.17.1" }, "dependencies": { "nanostores": "^0.3.3" diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 52d947ad84..ec28db11a8 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.0" + "astro": "^0.17.1" }, "snowpack": { "workspaceRoot": "../.." diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 660669acb0..2def469a93 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,24 @@ # astro +## 0.17.1 + +### Patch Changes + +- 1e01251: Fixes bug with React renderer that would not hydrate correctly +- 42a6ace: 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! + ``` + +- Updated dependencies [1e01251] + - @astrojs/renderer-react@0.1.5 + ## 0.17.0 ### Minor Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 7af5c3065d..4b379ec0a4 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.17.0", + "version": "0.17.1", "author": "Skypack", "license": "MIT", "type": "module", @@ -45,7 +45,7 @@ "@astrojs/parser": "0.15.4", "@astrojs/prism": "0.2.2", "@astrojs/renderer-preact": "0.1.3", - "@astrojs/renderer-react": "0.1.4", + "@astrojs/renderer-react": "0.1.5", "@astrojs/renderer-svelte": "0.1.1", "@astrojs/renderer-vue": "0.1.3", "@babel/code-frame": "^7.12.13", diff --git a/packages/renderers/renderer-react/CHANGELOG.md b/packages/renderers/renderer-react/CHANGELOG.md index 14ce9a64f5..36eb010890 100644 --- a/packages/renderers/renderer-react/CHANGELOG.md +++ b/packages/renderers/renderer-react/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/renderer-react +## 0.1.5 + +### Patch Changes + +- 1e01251: Fixes bug with React renderer that would not hydrate correctly + ## 0.1.4 ### Patch Changes diff --git a/packages/renderers/renderer-react/package.json b/packages/renderers/renderer-react/package.json index 16383d2f29..20c7595fee 100644 --- a/packages/renderers/renderer-react/package.json +++ b/packages/renderers/renderer-react/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/renderer-react", - "version": "0.1.4", + "version": "0.1.5", "type": "module", "exports": { ".": "./index.js", diff --git a/www/package.json b/www/package.json index 9b5b6c73a3..babcf81f42 100644 --- a/www/package.json +++ b/www/package.json @@ -7,6 +7,6 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.17.0" + "astro": "^0.17.1" } }