From 4e4061f485fb25890c286fcea0158b439ae4045d Mon Sep 17 00:00:00 2001 From: "Fred K. Bot" <108291165+fredkbot@users.noreply.github.com> Date: Fri, 5 Aug 2022 21:48:35 -0700 Subject: [PATCH] [ci] release (#4159) Co-authored-by: github-actions[bot] --- .changeset/afraid-rules-boil.md | 5 -- .changeset/cold-pens-mate.md | 5 -- .changeset/cool-crabs-trade.md | 7 -- .changeset/empty-eagles-reply.md | 5 -- .changeset/empty-sheep-march.md | 5 -- .changeset/healthy-meals-wink.md | 5 -- .changeset/hip-dancers-move.md | 6 -- .changeset/hungry-vans-deliver.md | 5 -- .changeset/large-beds-cheer.md | 5 -- .changeset/long-bees-promise.md | 5 -- .changeset/long-toys-rule.md | 5 -- .changeset/metal-dodos-sin.md | 6 -- .changeset/ninety-planets-work.md | 5 -- .changeset/pretty-bananas-refuse.md | 5 -- .changeset/purple-mirrors-smile.md | 5 -- .changeset/rude-falcons-smash.md | 5 -- .changeset/shaggy-beds-itch.md | 5 -- .changeset/six-masks-divide.md | 5 -- .changeset/strong-cars-wash.md | 5 -- .changeset/strong-hotels-cross.md | 5 -- examples/basics/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/minimal/package.json | 2 +- examples/non-html-pages/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/ssr/package.json | 2 +- examples/subpath/package.json | 4 +- examples/with-markdown-plugins/package.json | 4 +- examples/with-markdown-shiki/package.json | 4 +- examples/with-mdx/package.json | 4 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 2 +- examples/with-vite-plugin-pwa/package.json | 2 +- examples/with-vitest/package.json | 2 +- packages/astro/CHANGELOG.md | 77 ++++++++++----------- packages/astro/package.json | 4 +- packages/create-astro/CHANGELOG.md | 6 ++ packages/create-astro/package.json | 2 +- packages/integrations/image/CHANGELOG.md | 12 ++++ packages/integrations/image/package.json | 2 +- packages/integrations/mdx/CHANGELOG.md | 14 ++++ packages/integrations/mdx/package.json | 2 +- packages/integrations/react/CHANGELOG.md | 6 ++ packages/integrations/react/package.json | 2 +- packages/markdown/remark/CHANGELOG.md | 10 +++ packages/markdown/remark/package.json | 2 +- pnpm-lock.yaml | 68 +++++++++--------- 59 files changed, 157 insertions(+), 220 deletions(-) delete mode 100644 .changeset/afraid-rules-boil.md delete mode 100644 .changeset/cold-pens-mate.md delete mode 100644 .changeset/cool-crabs-trade.md delete mode 100644 .changeset/empty-eagles-reply.md delete mode 100644 .changeset/empty-sheep-march.md delete mode 100644 .changeset/healthy-meals-wink.md delete mode 100644 .changeset/hip-dancers-move.md delete mode 100644 .changeset/hungry-vans-deliver.md delete mode 100644 .changeset/large-beds-cheer.md delete mode 100644 .changeset/long-bees-promise.md delete mode 100644 .changeset/long-toys-rule.md delete mode 100644 .changeset/metal-dodos-sin.md delete mode 100644 .changeset/ninety-planets-work.md delete mode 100644 .changeset/pretty-bananas-refuse.md delete mode 100644 .changeset/purple-mirrors-smile.md delete mode 100644 .changeset/rude-falcons-smash.md delete mode 100644 .changeset/shaggy-beds-itch.md delete mode 100644 .changeset/six-masks-divide.md delete mode 100644 .changeset/strong-cars-wash.md delete mode 100644 .changeset/strong-hotels-cross.md diff --git a/.changeset/afraid-rules-boil.md b/.changeset/afraid-rules-boil.md deleted file mode 100644 index ad0e5c78e..000000000 --- a/.changeset/afraid-rules-boil.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/mdx': patch ---- - -Make collect-headings rehype plugin non-overridable diff --git a/.changeset/cold-pens-mate.md b/.changeset/cold-pens-mate.md deleted file mode 100644 index d43287c40..000000000 --- a/.changeset/cold-pens-mate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes double doctypes diff --git a/.changeset/cool-crabs-trade.md b/.changeset/cool-crabs-trade.md deleted file mode 100644 index 14f5cc990..000000000 --- a/.changeset/cool-crabs-trade.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': minor -'@astrojs/mdx': minor -'@astrojs/markdown-remark': patch ---- - -Support frontmatter injection for MD and MDX using remark and rehype plugins diff --git a/.changeset/empty-eagles-reply.md b/.changeset/empty-eagles-reply.md deleted file mode 100644 index 1a22771fb..000000000 --- a/.changeset/empty-eagles-reply.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': minor ---- - -Add `vite.build.cssTaregt` support for CSS build diff --git a/.changeset/empty-sheep-march.md b/.changeset/empty-sheep-march.md deleted file mode 100644 index 94586dab4..000000000 --- a/.changeset/empty-sheep-march.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/image': patch ---- - -Added support for GIF to Animated WEBP images diff --git a/.changeset/healthy-meals-wink.md b/.changeset/healthy-meals-wink.md deleted file mode 100644 index 4cc5e10b1..000000000 --- a/.changeset/healthy-meals-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Expose `getViteConfig` from `astro/config` to unblock usage with Vitest diff --git a/.changeset/hip-dancers-move.md b/.changeset/hip-dancers-move.md deleted file mode 100644 index bcebddf5c..000000000 --- a/.changeset/hip-dancers-move.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'astro': minor -'@astrojs/markdown-remark': patch ---- - -Speed up internal markdown builds with new vite-plugin markdown diff --git a/.changeset/hungry-vans-deliver.md b/.changeset/hungry-vans-deliver.md deleted file mode 100644 index 09640c012..000000000 --- a/.changeset/hungry-vans-deliver.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix edge case where MDX components would be escaped diff --git a/.changeset/large-beds-cheer.md b/.changeset/large-beds-cheer.md deleted file mode 100644 index 10a3aecff..000000000 --- a/.changeset/large-beds-cheer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix duplicated CSS when using HMR diff --git a/.changeset/long-bees-promise.md b/.changeset/long-bees-promise.md deleted file mode 100644 index af9b1a31f..000000000 --- a/.changeset/long-bees-promise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/image': patch ---- - -Fixes a bug related to local image files in SSR builds on Windows diff --git a/.changeset/long-toys-rule.md b/.changeset/long-toys-rule.md deleted file mode 100644 index 81580b3b7..000000000 --- a/.changeset/long-toys-rule.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Add CSS to page when child component uses Astro.glob diff --git a/.changeset/metal-dodos-sin.md b/.changeset/metal-dodos-sin.md deleted file mode 100644 index 3ff403592..000000000 --- a/.changeset/metal-dodos-sin.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@astrojs/mdx': patch -'@astrojs/react': patch ---- - -Allows using React with automatic imports alongside MDX diff --git a/.changeset/ninety-planets-work.md b/.changeset/ninety-planets-work.md deleted file mode 100644 index 42116375a..000000000 --- a/.changeset/ninety-planets-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'create-astro': minor ---- - -Add a step to configure how strict TypeScript should be diff --git a/.changeset/pretty-bananas-refuse.md b/.changeset/pretty-bananas-refuse.md deleted file mode 100644 index 5a0ddc5e1..000000000 --- a/.changeset/pretty-bananas-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improve an error message for getStaticPaths diff --git a/.changeset/purple-mirrors-smile.md b/.changeset/purple-mirrors-smile.md deleted file mode 100644 index 879c45058..000000000 --- a/.changeset/purple-mirrors-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix edge case where Astro component would render [Object object] when using MDX diff --git a/.changeset/rude-falcons-smash.md b/.changeset/rude-falcons-smash.md deleted file mode 100644 index f27922395..000000000 --- a/.changeset/rude-falcons-smash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/image': patch ---- - -Enable usage outside of vite contexts, such as the config file diff --git a/.changeset/shaggy-beds-itch.md b/.changeset/shaggy-beds-itch.md deleted file mode 100644 index 1e925b33c..000000000 --- a/.changeset/shaggy-beds-itch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/mdx': patch ---- - -Fix a missing newline bug when `layout` was set. diff --git a/.changeset/six-masks-divide.md b/.changeset/six-masks-divide.md deleted file mode 100644 index 694b2b6e0..000000000 --- a/.changeset/six-masks-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/image': patch ---- - -Export all "dist" files diff --git a/.changeset/strong-cars-wash.md b/.changeset/strong-cars-wash.md deleted file mode 100644 index 6dc8926d7..000000000 --- a/.changeset/strong-cars-wash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix issue when using Fragment inside MDX diff --git a/.changeset/strong-hotels-cross.md b/.changeset/strong-hotels-cross.md deleted file mode 100644 index 56f5789c6..000000000 --- a/.changeset/strong-hotels-cross.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/markdown-remark': patch ---- - -Fix double-escaping of non-highlighted code blocks in Astro-flavored markdown diff --git a/examples/basics/package.json b/examples/basics/package.json index 4a912696a..0b39eb646 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "devDependencies": { - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 737770dd3..5352fa700 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.5.2", - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" }, "dependencies": { "preact": "^10.7.3" diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index d5bbc3ff6..ce833805a 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -11,6 +11,6 @@ }, "devDependencies": { "@example/my-component": "workspace:*", - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" } } diff --git a/examples/component/package.json b/examples/component/package.json index 689980dd6..ba4e68bad 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -8,6 +8,6 @@ "serve": "astro --root demo preview" }, "devDependencies": { - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index 5f861e4de..221e56c06 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -20,7 +20,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.5.2", - "@astrojs/react": "^0.4.2", - "astro": "^1.0.0-rc.6" + "@astrojs/react": "^0.4.3", + "astro": "^1.0.0-rc.7" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index 58c7d8304..8776f7ba9 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "devDependencies": { - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" } } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 18cabaff4..12458f2aa 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@types/alpinejs": "^3.7.0", - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" }, "dependencies": { "alpinejs": "^3.10.2" diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 3296dcd52..8229662ee 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/lit": "^0.3.2", - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 006a231a7..b8e55d641 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,11 +11,11 @@ }, "devDependencies": { "@astrojs/preact": "^0.5.2", - "@astrojs/react": "^0.4.2", + "@astrojs/react": "^0.4.3", "@astrojs/solid-js": "^0.4.1", "@astrojs/svelte": "^0.5.1", "@astrojs/vue": "^0.5.0", - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" }, "dependencies": { "preact": "^10.7.3", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 7d27d6c90..ed377f8db 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.5.2", - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" }, "dependencies": { "preact": "^10.7.3" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index e0f9e44bc..34008c454 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -10,10 +10,10 @@ "astro": "astro" }, "devDependencies": { - "@astrojs/react": "^0.4.2", + "@astrojs/react": "^0.4.3", "@types/react": "^18.0.10", "@types/react-dom": "^18.0.5", - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" }, "dependencies": { "react": "^18.1.0", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index fe426fb66..dcf86e454 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/solid-js": "^0.4.1", - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" }, "dependencies": { "solid-js": "^1.4.3" diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index d39633b2b..41bc72131 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/svelte": "^0.5.1", - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" }, "dependencies": { "svelte": "^3.48.0" diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index cbdc03801..0a83684fb 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/vue": "^0.5.0", - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" }, "dependencies": { "vue": "^3.2.37" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index e502828c8..395fbd7c2 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "devDependencies": { - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index ad1ff179b..170afb523 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "devDependencies": { - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 79eb3bd9c..58da75427 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.5.2", - "astro": "^1.0.0-rc.6", + "astro": "^1.0.0-rc.7", "sass": "^1.52.2" }, "dependencies": { diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 2355ba26e..bcf50e8a5 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,7 +13,7 @@ "devDependencies": { "@astrojs/node": "^0.2.1", "@astrojs/svelte": "^0.5.1", - "astro": "^1.0.0-rc.6", + "astro": "^1.0.0-rc.7", "concurrently": "^7.2.1", "lightcookie": "^1.0.25", "unocss": "^0.15.6", diff --git a/examples/subpath/package.json b/examples/subpath/package.json index cc842f907..5368a3611 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -10,8 +10,8 @@ "astro": "astro" }, "devDependencies": { - "@astrojs/react": "^0.4.2", - "astro": "^1.0.0-rc.6" + "@astrojs/react": "^0.4.3", + "astro": "^1.0.0-rc.7" }, "dependencies": { "react": "^18.1.0", diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index b208ee2f0..d61dfacf3 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -10,8 +10,8 @@ "astro": "astro" }, "devDependencies": { - "@astrojs/markdown-remark": "^0.14.0", - "astro": "^1.0.0-rc.6", + "@astrojs/markdown-remark": "^0.14.1", + "astro": "^1.0.0-rc.7", "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 46201599a..85a2722a7 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "devDependencies": { - "@astrojs/markdown-remark": "^0.14.0", - "astro": "^1.0.0-rc.6" + "@astrojs/markdown-remark": "^0.14.1", + "astro": "^1.0.0-rc.7" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 7eaf81e9f..fae27f499 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -10,9 +10,9 @@ "astro": "astro" }, "devDependencies": { - "@astrojs/mdx": "^0.6.0", + "@astrojs/mdx": "^0.7.0", "@astrojs/preact": "^0.5.2", - "astro": "^1.0.0-rc.6", + "astro": "^1.0.0-rc.7", "preact": "^10.6.5" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 4944eaaaa..95f0b1008 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -16,6 +16,6 @@ }, "devDependencies": { "@astrojs/preact": "^0.5.2", - "astro": "^1.0.0-rc.6" + "astro": "^1.0.0-rc.7" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 5137ac8d7..7847e7ae8 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/tailwind": "^0.2.5", - "astro": "^1.0.0-rc.6", + "astro": "^1.0.0-rc.7", "autoprefixer": "^10.4.7", "canvas-confetti": "^1.5.1", "postcss": "^8.4.14", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index c1b3b604a..215620520 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "devDependencies": { - "astro": "^1.0.0-rc.6", + "astro": "^1.0.0-rc.7", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.3" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 4c52c99a7..68eb2d36c 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "devDependencies": { - "astro": "^1.0.0-rc.4", + "astro": "^1.0.0-rc.7", "vitest": "^0.20.3" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index ab96e75da..c8af561ba 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,36 @@ # astro +## 1.0.0-rc.7 + +### Minor Changes + +- [#4176](https://github.com/withastro/astro/pull/4176) [`2675b8633`](https://github.com/withastro/astro/commit/2675b8633c5d5c45b237ec87940d5eaf1bfb1b4b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Support frontmatter injection for MD and MDX using remark and rehype plugins + +* [#4155](https://github.com/withastro/astro/pull/4155) [`81c9ad9a6`](https://github.com/withastro/astro/commit/81c9ad9a6bdb2806f3ccb77113a0cb40459b3d70) Thanks [@kagankan](https://github.com/kagankan)! - Add `vite.build.cssTaregt` support for CSS build + +- [#4137](https://github.com/withastro/astro/pull/4137) [`471c6f784`](https://github.com/withastro/astro/commit/471c6f784e21399676c8b2002665ffdf83a1c59e) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Speed up internal markdown builds with new vite-plugin markdown + +### Patch Changes + +- [#4175](https://github.com/withastro/astro/pull/4175) [`69db0298d`](https://github.com/withastro/astro/commit/69db0298d07b560992346d1a41e85afd767ee61f) Thanks [@matthewp](https://github.com/matthewp)! - Fixes double doctypes + +* [#4154](https://github.com/withastro/astro/pull/4154) [`36223f663`](https://github.com/withastro/astro/commit/36223f663ef73ef4581c4ad93c88666d2e0190e7) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Expose `getViteConfig` from `astro/config` to unblock usage with Vitest + +- [#4158](https://github.com/withastro/astro/pull/4158) [`e569f0a5c`](https://github.com/withastro/astro/commit/e569f0a5c7b56c4cce7afe95335b0aee6ac3d298) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix edge case where MDX components would be escaped + +* [#4157](https://github.com/withastro/astro/pull/4157) [`025743849`](https://github.com/withastro/astro/commit/025743849da4a6d1fde30b49511805f41da9ff7a) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix duplicated CSS when using HMR + +- [#4156](https://github.com/withastro/astro/pull/4156) [`82a1063cc`](https://github.com/withastro/astro/commit/82a1063cc26cf6d7012d40025a6ad14812c74d1d) Thanks [@matthewp](https://github.com/matthewp)! - Add CSS to page when child component uses Astro.glob + +* [#4153](https://github.com/withastro/astro/pull/4153) [`3321aace0`](https://github.com/withastro/astro/commit/3321aace06595de40a0ee9ecac2705d7b28e1b94) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Improve an error message for getStaticPaths + +- [#4180](https://github.com/withastro/astro/pull/4180) [`c56a9227c`](https://github.com/withastro/astro/commit/c56a9227c717480ef4cf25cd50634872ef021101) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix edge case where Astro component would render [Object object] when using MDX + +* [#4136](https://github.com/withastro/astro/pull/4136) [`9afa4611c`](https://github.com/withastro/astro/commit/9afa4611cbddd14349dcad9bf0af1fb8b9585381) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix issue when using Fragment inside MDX + +* Updated dependencies [[`2675b8633`](https://github.com/withastro/astro/commit/2675b8633c5d5c45b237ec87940d5eaf1bfb1b4b), [`471c6f784`](https://github.com/withastro/astro/commit/471c6f784e21399676c8b2002665ffdf83a1c59e), [`16034f0dd`](https://github.com/withastro/astro/commit/16034f0dd5b3683e9e022dbd413e85bd18d2b031)]: + - @astrojs/markdown-remark@0.14.1 + ## 1.0.0-rc.6 ### Patch Changes @@ -371,18 +402,7 @@ The **Astro v1.0.0 Release Candidate** comes includes new features, tons of bug Astro supports streaming in its templates. Any time Astro encounters an async boundary it will stream out HTML that occurs before it. For example: ```astro - --- - import LoadTodos from '../components/LoadTodos.astro'; - --- - - - App - - - - - ``` In this arbtrary example Astro will streaming out the `` section and everything else until it encounters `` and then stop. LoadTodos, which is also an Astro component will stream its contents as well; stopping and waiting at any other asynchronous components. @@ -390,15 +410,7 @@ The **Astro v1.0.0 Release Candidate** comes includes new features, tons of bug As part of this Astro also now supports async iterables within its templates. This means you can do this: ```astro -
    - {(async function* () { - for (const number of numbers) { - await wait(1000); - yield
  • Number: {number}
  • ; - yield '\n'; - } - })()} -
+ ``` Which will stream out `
  • `s one at a time, waiting a second between each. @@ -2539,9 +2551,7 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve This change adds support for hoisted scripts, allowing you to bundle scripts together for a page and hoist them to the top (in the head): ```astro - + ``` - Updated dependencies [5d2ea578] @@ -2584,14 +2594,7 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve - efb41f22: Add `` component for JavaScript-free client-side debugging. ```astro - --- - import Debug from 'astro/debug'; - const obj = { - /* ... */ - }; - --- - ``` ## 0.19.2 @@ -2644,7 +2647,7 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve The above will be sent to the browser as-is and the browser will resolve it relative to the current **page**. If you want it to be resolved relative to the .astro file you are working in, use `Astro.resolve`: ```astro - + ``` - 239065e2: Adds support for client:only hydrator @@ -2733,7 +2736,7 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve The above will be sent to the browser as-is and the browser will resolve it relative to the current **page**. If you want it to be resolved relative to the .astro file you are working in, use `Astro.resolve`: ```astro - + ``` ## 0.19.0-next.2 @@ -3063,12 +3066,7 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve - 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 @@ -3079,12 +3077,7 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve - 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] diff --git a/packages/astro/package.json b/packages/astro/package.json index 8dab32b66..e3820b6c2 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", @@ -88,7 +88,7 @@ "dependencies": { "@astrojs/compiler": "^0.23.1", "@astrojs/language-server": "^0.20.0", - "@astrojs/markdown-remark": "^0.14.0", + "@astrojs/markdown-remark": "^0.14.1", "@astrojs/telemetry": "^0.4.1", "@astrojs/webapi": "^0.12.0", "@babel/core": "^7.18.2", diff --git a/packages/create-astro/CHANGELOG.md b/packages/create-astro/CHANGELOG.md index 7ea3f2b74..19609bc41 100644 --- a/packages/create-astro/CHANGELOG.md +++ b/packages/create-astro/CHANGELOG.md @@ -1,5 +1,11 @@ # create-astro +## 0.15.0 + +### Minor Changes + +- [#4179](https://github.com/withastro/astro/pull/4179) [`d344f9e3e`](https://github.com/withastro/astro/commit/d344f9e3ec1f69ad4d7efd433b3523ad5413b726) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Add a step to configure how strict TypeScript should be + ## 0.14.3 ### Patch Changes diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index e4bd4d1f4..54c491423 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -1,6 +1,6 @@ { "name": "create-astro", - "version": "0.14.3", + "version": "0.15.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md index 32fad5b3e..be20b3a66 100644 --- a/packages/integrations/image/CHANGELOG.md +++ b/packages/integrations/image/CHANGELOG.md @@ -1,5 +1,17 @@ # @astrojs/image +## 0.3.2 + +### Patch Changes + +- [#4140](https://github.com/withastro/astro/pull/4140) [`4678a3f35`](https://github.com/withastro/astro/commit/4678a3f358840db853db55b753b329ae592a589c) Thanks [@jackmerrill](https://github.com/jackmerrill)! - Added support for GIF to Animated WEBP images + +* [#4173](https://github.com/withastro/astro/pull/4173) [`581120818`](https://github.com/withastro/astro/commit/5811208182fb70fad730b0e495d054ba970b9353) Thanks [@tony-sull](https://github.com/tony-sull)! - Fixes a bug related to local image files in SSR builds on Windows + +- [#4147](https://github.com/withastro/astro/pull/4147) [`c039ea93a`](https://github.com/withastro/astro/commit/c039ea93a1372d954f924a1e6a019a834d1eeb7a) Thanks [@crutchcorn](https://github.com/crutchcorn)! - Enable usage outside of vite contexts, such as the config file + +* [#4146](https://github.com/withastro/astro/pull/4146) [`97cf0cd89`](https://github.com/withastro/astro/commit/97cf0cd893b950a48ffa631247528b4b4ad73109) Thanks [@crutchcorn](https://github.com/crutchcorn)! - Export all "dist" files + ## 0.3.1 ### Patch Changes diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index 60fce2e57..241777cd0 100644 --- a/packages/integrations/image/package.json +++ b/packages/integrations/image/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/image", "description": "Load and transform images in your Astro site.", - "version": "0.3.1", + "version": "0.3.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index c2827bb99..89a8fc37b 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,19 @@ # @astrojs/mdx +## 0.7.0 + +### Minor Changes + +- [#4176](https://github.com/withastro/astro/pull/4176) [`2675b8633`](https://github.com/withastro/astro/commit/2675b8633c5d5c45b237ec87940d5eaf1bfb1b4b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Support frontmatter injection for MD and MDX using remark and rehype plugins + +### Patch Changes + +- [#4181](https://github.com/withastro/astro/pull/4181) [`77cede720`](https://github.com/withastro/astro/commit/77cede720b09bce34f29c3d2d8b505311ce876b1) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Make collect-headings rehype plugin non-overridable + +* [#4174](https://github.com/withastro/astro/pull/4174) [`8eb3a8c6d`](https://github.com/withastro/astro/commit/8eb3a8c6d9554707963c3a3bc36ed8b68d3cf0fb) Thanks [@matthewp](https://github.com/matthewp)! - Allows using React with automatic imports alongside MDX + +- [#4145](https://github.com/withastro/astro/pull/4145) [`c7efcf57e`](https://github.com/withastro/astro/commit/c7efcf57e00a0fcde3bc9f813e3cc59902bd484c) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix a missing newline bug when `layout` was set. + ## 0.6.0 ### Minor Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 3b3d3dfd7..7d610777e 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/mdx", "description": "Use MDX within Astro", - "version": "0.6.0", + "version": "0.7.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index 1d6c72e7c..2c035b871 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/react +## 0.4.3 + +### Patch Changes + +- [#4174](https://github.com/withastro/astro/pull/4174) [`8eb3a8c6d`](https://github.com/withastro/astro/commit/8eb3a8c6d9554707963c3a3bc36ed8b68d3cf0fb) Thanks [@matthewp](https://github.com/matthewp)! - Allows using React with automatic imports alongside MDX + ## 0.4.2 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index cbc0e3076..b9b1ec71e 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/react", "description": "Use React components within Astro", - "version": "0.4.2", + "version": "0.4.3", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index aae23653f..7745d9a72 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,15 @@ # @astrojs/markdown-remark +## 0.14.1 + +### Patch Changes + +- [#4176](https://github.com/withastro/astro/pull/4176) [`2675b8633`](https://github.com/withastro/astro/commit/2675b8633c5d5c45b237ec87940d5eaf1bfb1b4b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Support frontmatter injection for MD and MDX using remark and rehype plugins + +* [#4137](https://github.com/withastro/astro/pull/4137) [`471c6f784`](https://github.com/withastro/astro/commit/471c6f784e21399676c8b2002665ffdf83a1c59e) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Speed up internal markdown builds with new vite-plugin markdown + +- [#4169](https://github.com/withastro/astro/pull/4169) [`16034f0dd`](https://github.com/withastro/astro/commit/16034f0dd5b3683e9e022dbd413e85bd18d2b031) Thanks [@hippotastic](https://github.com/hippotastic)! - Fix double-escaping of non-highlighted code blocks in Astro-flavored markdown + ## 0.14.0 ### Minor Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index a2ffe0d92..cd3d2414c 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "0.14.0", + "version": "0.14.1", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9f4faf835..b10ebcdc9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -61,14 +61,14 @@ importers: examples/basics: specifiers: - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 devDependencies: astro: link:../../packages/astro examples/blog: specifiers: '@astrojs/preact': ^0.5.2 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 preact: ^10.7.3 dependencies: preact: 10.10.0 @@ -78,14 +78,14 @@ importers: examples/component: specifiers: - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 devDependencies: astro: link:../../packages/astro examples/component/demo: specifiers: '@example/my-component': workspace:* - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 devDependencies: '@example/my-component': link:../packages/my-component astro: link:../../../packages/astro @@ -97,11 +97,11 @@ importers: specifiers: '@algolia/client-search': ^4.13.1 '@astrojs/preact': ^0.5.2 - '@astrojs/react': ^0.4.2 + '@astrojs/react': ^0.4.3 '@docsearch/css': ^3.1.0 '@docsearch/react': ^3.1.0 '@types/react': ^17.0.45 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -120,7 +120,7 @@ importers: examples/env-vars: specifiers: - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 devDependencies: astro: link:../../packages/astro @@ -128,7 +128,7 @@ importers: specifiers: '@types/alpinejs': ^3.7.0 alpinejs: ^3.10.2 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 dependencies: alpinejs: 3.10.3 devDependencies: @@ -139,7 +139,7 @@ importers: specifiers: '@astrojs/lit': ^0.3.2 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 lit: ^2.2.5 dependencies: '@webcomponents/template-shadowroot': 0.1.0 @@ -151,11 +151,11 @@ importers: examples/framework-multiple: specifiers: '@astrojs/preact': ^0.5.2 - '@astrojs/react': ^0.4.2 + '@astrojs/react': ^0.4.3 '@astrojs/solid-js': ^0.4.1 '@astrojs/svelte': ^0.5.1 '@astrojs/vue': ^0.5.0 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -180,7 +180,7 @@ importers: examples/framework-preact: specifiers: '@astrojs/preact': ^0.5.2 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 preact: ^10.7.3 dependencies: preact: 10.10.0 @@ -190,10 +190,10 @@ importers: examples/framework-react: specifiers: - '@astrojs/react': ^0.4.2 + '@astrojs/react': ^0.4.3 '@types/react': ^18.0.10 '@types/react-dom': ^18.0.5 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 react: ^18.1.0 react-dom: ^18.1.0 dependencies: @@ -208,7 +208,7 @@ importers: examples/framework-solid: specifiers: '@astrojs/solid-js': ^0.4.1 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 solid-js: ^1.4.3 dependencies: solid-js: 1.4.8 @@ -219,7 +219,7 @@ importers: examples/framework-svelte: specifiers: '@astrojs/svelte': ^0.5.1 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 svelte: ^3.48.0 dependencies: svelte: 3.49.0 @@ -230,7 +230,7 @@ importers: examples/framework-vue: specifiers: '@astrojs/vue': ^0.5.0 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 vue: ^3.2.37 dependencies: vue: 3.2.37 @@ -240,20 +240,20 @@ importers: examples/minimal: specifiers: - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 devDependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 devDependencies: astro: link:../../packages/astro examples/portfolio: specifiers: '@astrojs/preact': ^0.5.2 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 preact: ^10.7.3 sass: ^1.52.2 dependencies: @@ -267,7 +267,7 @@ importers: specifiers: '@astrojs/node': ^0.2.1 '@astrojs/svelte': ^0.5.1 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 concurrently: ^7.2.1 lightcookie: ^1.0.25 svelte: ^3.48.0 @@ -286,8 +286,8 @@ importers: examples/subpath: specifiers: - '@astrojs/react': ^0.4.2 - astro: ^1.0.0-rc.6 + '@astrojs/react': ^0.4.3 + astro: ^1.0.0-rc.7 react: ^18.1.0 react-dom: ^18.1.0 dependencies: @@ -299,8 +299,8 @@ importers: examples/with-markdown-plugins: specifiers: - '@astrojs/markdown-remark': ^0.14.0 - astro: ^1.0.0-rc.6 + '@astrojs/markdown-remark': ^0.14.1 + astro: ^1.0.0-rc.7 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -317,17 +317,17 @@ importers: examples/with-markdown-shiki: specifiers: - '@astrojs/markdown-remark': ^0.14.0 - astro: ^1.0.0-rc.6 + '@astrojs/markdown-remark': ^0.14.1 + astro: ^1.0.0-rc.7 devDependencies: '@astrojs/markdown-remark': link:../../packages/markdown/remark astro: link:../../packages/astro examples/with-mdx: specifiers: - '@astrojs/mdx': ^0.6.0 + '@astrojs/mdx': ^0.7.0 '@astrojs/preact': ^0.5.2 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 preact: ^10.6.5 devDependencies: '@astrojs/mdx': link:../../packages/integrations/mdx @@ -339,7 +339,7 @@ importers: specifiers: '@astrojs/preact': ^0.5.2 '@nanostores/preact': ^0.1.3 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 nanostores: ^0.5.12 preact: ^10.7.3 dependencies: @@ -353,7 +353,7 @@ importers: examples/with-tailwindcss: specifiers: '@astrojs/tailwind': ^0.2.5 - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 autoprefixer: ^10.4.7 canvas-confetti: ^1.5.1 postcss: ^8.4.14 @@ -368,7 +368,7 @@ importers: examples/with-vite-plugin-pwa: specifiers: - astro: ^1.0.0-rc.6 + astro: ^1.0.0-rc.7 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.3 devDependencies: @@ -378,7 +378,7 @@ importers: examples/with-vitest: specifiers: - astro: ^1.0.0-rc.4 + astro: ^1.0.0-rc.7 vitest: ^0.20.3 devDependencies: astro: link:../../packages/astro @@ -388,7 +388,7 @@ importers: specifiers: '@astrojs/compiler': ^0.23.1 '@astrojs/language-server': ^0.20.0 - '@astrojs/markdown-remark': ^0.14.0 + '@astrojs/markdown-remark': ^0.14.1 '@astrojs/telemetry': ^0.4.1 '@astrojs/webapi': ^0.12.0 '@babel/core': ^7.18.2