From 8b60388f366d36af3f57d57d775a596d0c42f4bb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 2 Apr 2022 18:32:48 +0000 Subject: [PATCH] [ci] release (next) --- .changeset/pre.json | 22 +++- 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 | 4 +- examples/env-vars/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-lit/package.json | 2 +- examples/framework-multiple/package.json | 4 +- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 4 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 2 +- examples/framework-vue/package.json | 2 +- examples/integrations-playground/package.json | 10 +- examples/minimal/package.json | 2 +- examples/non-html-pages/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/ssr/package.json | 2 +- examples/starter/package.json | 2 +- examples/subpath/package.json | 4 +- examples/with-markdown-plugins/package.json | 4 +- examples/with-markdown-shiki/package.json | 4 +- examples/with-markdown/package.json | 6 +- examples/with-nanostores/package.json | 4 +- examples/with-tailwindcss/package.json | 4 +- examples/with-vite-plugin-pwa/package.json | 2 +- packages/astro/CHANGELOG.md | 110 +++++++++++++----- packages/astro/package.json | 4 +- packages/integrations/deno/CHANGELOG.md | 10 ++ packages/integrations/deno/package.json | 2 +- packages/integrations/netlify/CHANGELOG.md | 8 +- packages/integrations/netlify/package.json | 2 +- packages/integrations/partytown/CHANGELOG.md | 6 + packages/integrations/partytown/package.json | 2 +- packages/integrations/react/CHANGELOG.md | 6 + packages/integrations/react/package.json | 2 +- packages/integrations/sitemap/CHANGELOG.md | 12 ++ packages/integrations/sitemap/package.json | 2 +- packages/integrations/tailwind/CHANGELOG.md | 10 ++ packages/integrations/tailwind/package.json | 2 +- packages/markdown/remark/CHANGELOG.md | 14 ++- packages/markdown/remark/package.json | 2 +- pnpm-lock.yaml | 84 ++++++------- 45 files changed, 251 insertions(+), 131 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 5b9fb8f21b5d8..6595797fe5252 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -55,7 +55,25 @@ "@astrojs/renderer-svelte": "0.5.2", "@astrojs/renderer-vue": "0.4.0", "@astrojs/webapi": "0.11.0", - "astro-scripts": "0.0.2" + "astro-scripts": "0.0.2", + "@astrojs/deno": "0.0.2-next.0" }, - "changesets": [] + "changesets": [ + "chatty-cows-attack", + "flat-radios-cheer", + "forty-coins-attend", + "happy-carrots-carry", + "light-apricots-sort", + "ninety-jars-swim", + "odd-swans-walk", + "perfect-dogs-turn", + "small-radios-remain", + "soft-avocados-turn", + "sour-eggs-wink", + "stale-walls-whisper", + "swift-trainers-suffer", + "tall-cooks-begin", + "tasty-zoos-wink", + "wicked-toes-flow" + ] } diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index 10ac77139b64e..afa23a6e68a18 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.2", - "astro": "^0.25.4", + "astro": "^0.26.0-next.0", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/blog/package.json b/examples/blog/package.json index a817c7e676bd9..99c04065d1e0f 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.4", + "astro": "^0.26.0-next.0", "@astrojs/preact": "^0.0.2" }, "dependencies": { diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index 9b54773f654d1..d9d91965853df 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@example/my-component": "workspace:*", - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" } } diff --git a/examples/component/package.json b/examples/component/package.json index 5bf96a6a07c7c..1952c6a213389 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -8,6 +8,6 @@ "serve": "astro --root demo preview" }, "devDependencies": { - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index e7cf7282a7317..290cf593bfeaf 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -19,7 +19,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.2", - "@astrojs/react": "^0.0.2", - "astro": "^0.25.4" + "@astrojs/react": "^0.1.0-next.0", + "astro": "^0.26.0-next.0" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index e0011d2df7c11..b0bd8bed5a3ed 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" } } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 41fb3eca24ff0..085c468f25a35 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 444d29ac61c5b..053f669b4b71f 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/lit": "^0.0.2", - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 4328d130efbc7..c123e61df0408 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,11 +11,11 @@ "devDependencies": { "@astrojs/lit": "^0.0.2", "@astrojs/preact": "^0.0.2", - "@astrojs/react": "^0.0.2", + "@astrojs/react": "^0.1.0-next.0", "@astrojs/solid-js": "^0.0.3", "@astrojs/svelte": "^0.0.2", "@astrojs/vue": "^0.0.2", - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 5be07dd77c825..b5c3392cf977a 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.2", - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" }, "dependencies": { "preact": "^10.6.6" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 4cdd930493f76..6fd11b52bd8a9 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/react": "^0.0.2", - "astro": "^0.25.4" + "@astrojs/react": "^0.1.0-next.0", + "astro": "^0.26.0-next.0" }, "dependencies": { "react": "^18.0.0", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 820bbee066cf4..9191539a96e5a 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/solid-js": "^0.0.3", - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" }, "dependencies": { "solid-js": "^1.3.13" diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index f7af947389c8b..101cf4aab722a 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/svelte": "^0.0.2", - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" }, "dependencies": { "svelte": "^3.46.4" diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index eeada1a5e1100..7276cc5be6dc2 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/vue": "^0.0.2", - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" }, "dependencies": { "vue": "^3.2.31" diff --git a/examples/integrations-playground/package.json b/examples/integrations-playground/package.json index 848bd2c4caaa2..89685387fdcd4 100644 --- a/examples/integrations-playground/package.json +++ b/examples/integrations-playground/package.json @@ -10,12 +10,12 @@ }, "devDependencies": { "@astrojs/lit": "^0.0.2", - "@astrojs/partytown": "^0.0.2", - "@astrojs/react": "^0.0.2", - "@astrojs/sitemap": "^0.0.2", - "@astrojs/tailwind": "^0.0.2", + "@astrojs/partytown": "^0.1.0-next.0", + "@astrojs/react": "^0.1.0-next.0", + "@astrojs/sitemap": "^0.1.0-next.0", + "@astrojs/tailwind": "^0.1.0-next.0", "@astrojs/turbolinks": "^0.0.2", - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 4adc0c8276e74..e5cf217728f8d 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 27553f811db9b..c181fdec43424 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.25.4" + "astro": "^0.26.0-next.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index ae5d523963fe3..5b8c0e1140ec8 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.2", - "astro": "^0.25.4", + "astro": "^0.26.0-next.0", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 370e79972db19..db615b590d3d5 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -11,7 +11,7 @@ "devDependencies": { "@astrojs/svelte": "^0.0.2", "@astrojs/node": "^0.0.2", - "astro": "^0.25.4", + "astro": "^0.26.0-next.0", "concurrently": "^7.0.0", "lightcookie": "^1.0.25", "unocss": "^0.15.6", diff --git a/examples/starter/package.json b/examples/starter/package.json index 65ea2b04d6787..fd2275dc919d3 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index ea792f73aadad..b686351d2bc20 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/react": "^0.0.2", - "astro": "^0.25.4", + "@astrojs/react": "^0.1.0-next.0", + "astro": "^0.26.0-next.0", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 7c02a80142580..e317e8cb31d63 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/markdown-remark": "^0.7.0", - "astro": "^0.25.4", + "@astrojs/markdown-remark": "^0.8.0-next.0", + "astro": "^0.26.0-next.0", "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 33de858306213..785b01e7da022 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/markdown-remark": "^0.7.0", - "astro": "^0.25.4" + "@astrojs/markdown-remark": "^0.8.0-next.0", + "astro": "^0.26.0-next.0" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 7f96d9ffa937b..aacfa32f004cf 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -9,12 +9,12 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/markdown-remark": "^0.7.0", + "@astrojs/markdown-remark": "^0.8.0-next.0", "@astrojs/preact": "^0.0.2", - "@astrojs/react": "^0.0.2", + "@astrojs/react": "^0.1.0-next.0", "@astrojs/svelte": "^0.0.2", "@astrojs/vue": "^0.0.2", - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" }, "dependencies": { "preact": "^10.6.6", diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 55a60cadbcf08..7374550e00a4c 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -21,10 +21,10 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.2", - "@astrojs/react": "^0.0.2", + "@astrojs/react": "^0.1.0-next.0", "@astrojs/solid-js": "^0.0.3", "@astrojs/svelte": "^0.0.2", "@astrojs/vue": "^0.0.2", - "astro": "^0.25.4" + "astro": "^0.26.0-next.0" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 04cfa92586f98..84d7d496159fd 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/tailwind": "^0.0.2", - "astro": "^0.25.4", + "@astrojs/tailwind": "^0.1.0-next.0", + "astro": "^0.26.0-next.0", "autoprefixer": "^10.4.4", "canvas-confetti": "^1.5.1", "postcss": "^8.4.12", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index 4ac16801272b7..a973aa8237a36 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.25.4", + "astro": "^0.26.0-next.0", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.2" } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 7b86e33b4452d..75573b52ca903 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,51 @@ # astro +## 0.26.0-next.0 + +### Minor Changes + +- [#2862](https://github.com/withastro/astro/pull/2862) [`4299ab30`](https://github.com/withastro/astro/commit/4299ab303b0743349fbd01f85340bea61a1c16a8) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Implement RFC [#0017](https://github.com/withastro/rfcs/blob/main/proposals/0017-markdown-content-redesign.md) + + - New Markdown API + - New `Astro.glob()` API + - **BREAKING CHANGE:** Removed `Astro.fetchContent()` (replaced by `Astro.glob()`) + + ```diff + // v0.25 + - let allPosts = Astro.fetchContent('./posts/*.md'); + // v0.26+ + + let allPosts = await Astro.glob('./posts/*.md'); + ``` + +* [#2961](https://github.com/withastro/astro/pull/2961) [`d55658f0`](https://github.com/withastro/astro/commit/d55658f061bc4d95efa53e658cfbe407d94af284) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Implement [RFC0016](https://github.com/withastro/rfcs/blob/main/proposals/0016-style-script-defaults.md) which changes the default behavior of `script`, introduces `is:inline`, and changes `