From 5d79bd7e93cda57e85f2d1fc9c4d7e700fc2b195 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 19 Jan 2022 22:12:32 -0500 Subject: [PATCH] [ci] release (#2420) Co-authored-by: github-actions[bot] --- .changeset/five-crabs-sparkle.md | 5 --- .changeset/proud-buses-destroy.md | 5 --- .changeset/ten-cougars-knock.md | 15 --------- examples/blog-multiple-authors/package.json | 2 +- examples/blog/package.json | 2 +- examples/component/demo/package.json | 2 +- examples/component/package.json | 2 +- examples/docs/package.json | 2 +- examples/fast-build/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-lit/package.json | 2 +- examples/framework-multiple/package.json | 2 +- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 2 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 2 +- examples/framework-vue/package.json | 2 +- examples/minimal/package.json | 2 +- examples/portfolio-svelte/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/starter/package.json | 2 +- examples/subpath/package.json | 2 +- examples/with-markdown-plugins/package.json | 2 +- examples/with-markdown/package.json | 2 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 2 +- examples/with-vite-plugin-pwa/package.json | 2 +- packages/astro/CHANGELOG.md | 37 ++++++++++++++++----- packages/astro/package.json | 2 +- 29 files changed, 54 insertions(+), 58 deletions(-) delete mode 100644 .changeset/five-crabs-sparkle.md delete mode 100644 .changeset/proud-buses-destroy.md delete mode 100644 .changeset/ten-cougars-knock.md diff --git a/.changeset/five-crabs-sparkle.md b/.changeset/five-crabs-sparkle.md deleted file mode 100644 index 00b79c699..000000000 --- a/.changeset/five-crabs-sparkle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Add support for styled RSS feeds using the new `stylesheet` option diff --git a/.changeset/proud-buses-destroy.md b/.changeset/proud-buses-destroy.md deleted file mode 100644 index 2d354a498..000000000 --- a/.changeset/proud-buses-destroy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Adds Astro.resolve deprecation for the static build diff --git a/.changeset/ten-cougars-knock.md b/.changeset/ten-cougars-knock.md deleted file mode 100644 index 613616304..000000000 --- a/.changeset/ten-cougars-knock.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -'astro': patch ---- - -Support markdown draft pages. -Markdown draft pages are markdown pages which have `draft` set in their frontmatter. By default, these will not be built by Astro while running `astro build`. To disable this behavior, you need to set `buildOptions.drafts` to `true` or pass the `--drafts` flag while running `astro build`. An exaple of a markdown draft page is: -```markdown ---- -# src/pages/blog-post.md -title: My Blog Post -draft: true ---- - -This is my blog post which is currently incomplete. -``` diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index e0e42ceef..633e95e66 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 229924a38..6b62687a5 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index f730b046f..79c5d58b3 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/component/package.json b/examples/component/package.json index 9bb9309c9..727a54d94 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -12,6 +12,6 @@ "serve": "astro --project-root demo preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index 0920da3d4..d0d85d21f 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.22.14" + "astro": "^0.22.15" } } diff --git a/examples/fast-build/package.json b/examples/fast-build/package.json index ee46943a2..3ab23b154 100644 --- a/examples/fast-build/package.json +++ b/examples/fast-build/package.json @@ -10,7 +10,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14", + "astro": "^0.22.15", "unocss": "^0.15.5", "vite-imagetools": "^4.0.1" } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 806bc4e42..6d6709230 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 2e72dbf20..9c70821a3 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-lit": "^0.3.1", - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 2cbfb3ec5..dae795d1c 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.3.1", - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 66e47459d..4c8074b59 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 385a39331..5a917d2e0 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index fef3c526d..0c4cf73c7 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.3.1", - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index c2f07c62e..55f433c12 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index a8ed41802..095b17b0c 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index e1cd1c2d8..b0b8a40ab 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/portfolio-svelte/package.json b/examples/portfolio-svelte/package.json index f9bdcdf0e..642c2a79d 100644 --- a/examples/portfolio-svelte/package.json +++ b/examples/portfolio-svelte/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index a779ac6fa..6c9f5f843 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/starter/package.json b/examples/starter/package.json index 1c9090b2d..f269f396c 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index b568e91be..5db368c3e 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 993ea782a..5a7ac3f91 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.22.14", + "astro": "^0.22.15", "hast-util-select": "5.0.1", "rehype-autolink-headings": "^6.1.0", "rehype-slug": "^5.0.0", diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 5fa94b6d0..f89022563 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 8533ac3cf..dea02806c 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -17,6 +17,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.3.1", - "astro": "^0.22.14" + "astro": "^0.22.15" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index e28d6fe8a..5d876c7e9 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.22.14", + "astro": "^0.22.15", "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 2a806db39..dbfaadc79 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.22.14", + "astro": "^0.22.15", "vite-plugin-pwa": "0.11.5" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index deadeae94..e9a6f3443 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,26 @@ # astro +## 0.22.15 + +### Patch Changes + +- [#2371](https://github.com/withastro/astro/pull/2371) [`85ad1aab`](https://github.com/withastro/astro/commit/85ad1aab67b9f1b9214db3200458ac37675b9afb) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Add support for styled RSS feeds using the new `stylesheet` option + +* [#2416](https://github.com/withastro/astro/pull/2416) [`5208c88a`](https://github.com/withastro/astro/commit/5208c88aeb512250f2a443edede574710dbccffa) Thanks [@matthewp](https://github.com/matthewp)! - Adds Astro.resolve deprecation for the static build + +- [#2392](https://github.com/withastro/astro/pull/2392) [`24aa3245`](https://github.com/withastro/astro/commit/24aa3245aef4e12a80946c6d56f731b14aed6220) Thanks [@obnoxiousnerd](https://github.com/obnoxiousnerd)! - Support markdown draft pages. + Markdown draft pages are markdown pages which have `draft` set in their frontmatter. By default, these will not be built by Astro while running `astro build`. To disable this behavior, you need to set `buildOptions.drafts` to `true` or pass the `--drafts` flag while running `astro build`. An exaple of a markdown draft page is: + + ```markdown + --- + # src/pages/blog-post.md + title: My Blog Post + draft: true + --- + + This is my blog post which is currently incomplete. + ``` + ## 0.22.14 ### Patch Changes @@ -1139,10 +1160,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' }]], + }, }; ``` @@ -1162,10 +1183,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 ce56979e3..b1573d0f0 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.22.14", + "version": "0.22.15", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro",