From ec5a39c299ffc5293a4964198cc3811b210d510a Mon Sep 17 00:00:00 2001 From: "Fred K. Bot" <108291165+fredkbot@users.noreply.github.com> Date: Fri, 6 Jan 2023 10:00:12 -0800 Subject: [PATCH] [ci] release (beta) (#5742) Co-authored-by: github-actions[bot] --- .changeset/pre.json | 11 ++++ examples/basics/package.json | 2 +- examples/blog/package.json | 4 +- examples/component/package.json | 2 +- examples/deno/package.json | 4 +- examples/docs/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/hackernews/package.json | 2 +- examples/integration/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/with-content/package.json | 4 +- examples/with-markdown-plugins/package.json | 4 +- examples/with-markdown-shiki/package.json | 2 +- examples/with-mdx/package.json | 4 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 6 +- examples/with-vite-plugin-pwa/package.json | 2 +- examples/with-vitest/package.json | 2 +- packages/astro/CHANGELOG.md | 61 +++++++++++++++++ packages/astro/package.json | 4 +- packages/integrations/deno/CHANGELOG.md | 6 ++ packages/integrations/deno/package.json | 2 +- packages/integrations/image/CHANGELOG.md | 6 ++ packages/integrations/image/package.json | 2 +- packages/integrations/mdx/CHANGELOG.md | 41 ++++++++++++ packages/integrations/mdx/package.json | 4 +- packages/integrations/netlify/CHANGELOG.md | 10 +++ packages/integrations/netlify/package.json | 2 +- packages/integrations/tailwind/CHANGELOG.md | 6 ++ packages/integrations/tailwind/package.json | 2 +- packages/markdown/remark/CHANGELOG.md | 34 ++++++++++ packages/markdown/remark/package.json | 2 +- pnpm-lock.yaml | 72 ++++++++++----------- 43 files changed, 254 insertions(+), 79 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index df8e641a7983..57f666dd4a6f 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -61,14 +61,25 @@ "astro-scripts": "0.0.9" }, "changesets": [ + "angry-pots-boil", "beige-pumpkins-pump", + "calm-peas-doubt", "chilled-geese-worry", + "grumpy-days-yell", + "lemon-eagles-worry", "lovely-terms-drive", + "lovely-worms-invite", + "modern-bulldogs-film", "new-lies-guess", + "pretty-planes-promise", + "quick-impalas-rush", "selfish-tigers-do", "serious-cats-jog", "shaggy-keys-turn", + "shaggy-melons-tap", + "smart-clouds-applaud", "spotty-bees-switch", + "thick-walls-smell", "tricky-rabbits-count", "two-geese-eat" ] diff --git a/examples/basics/package.json b/examples/basics/package.json index a7be9f8f3255..6a671700617f 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0" + "astro": "^2.0.0-beta.1" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 4b0732129383..b63178c2d016 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", - "@astrojs/mdx": "^0.15.0-beta.0", + "astro": "^2.0.0-beta.1", + "@astrojs/mdx": "^0.15.0-beta.1", "@astrojs/rss": "^2.0.0", "@astrojs/sitemap": "^1.0.0" } diff --git a/examples/component/package.json b/examples/component/package.json index 9d860df24514..99afee6d404a 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^2.0.0-beta.0" + "astro": "^2.0.0-beta.1" }, "peerDependencies": { "astro": "^2.0.0-beta.0" diff --git a/examples/deno/package.json b/examples/deno/package.json index 08c13c9b6bdc..d243e0c3a1a5 100644 --- a/examples/deno/package.json +++ b/examples/deno/package.json @@ -10,9 +10,9 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0" + "astro": "^2.0.0-beta.1" }, "devDependencies": { - "@astrojs/deno": "^4.0.0-beta.0" + "@astrojs/deno": "^4.0.0-beta.1" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index 64a279a61a3f..00e6c665ae29 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -12,7 +12,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "preact": "^10.7.3", "react": "^18.1.0", "react-dom": "^18.1.0", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 1d99bee3df38..8206c0a56142 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "alpinejs": "^3.10.2", "@astrojs/alpinejs": "^0.1.2", "@types/alpinejs": "^3.7.0" diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 020ee1a8d21c..bae39ad63cff 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "lit": "^2.2.5", "@astrojs/lit": "^1.0.0", "@webcomponents/template-shadowroot": "^0.1.0" diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 26e886e152ed..d91ede0458f3 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "preact": "^10.7.3", "react": "^18.1.0", "react-dom": "^18.1.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 88e49f8d6ec1..173e2ba0d8d5 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "preact": "^10.7.3", "@astrojs/preact": "^1.2.0", "@preact/signals": "^1.1.0" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 57451132c32a..135c612d1871 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "react": "^18.1.0", "react-dom": "^18.1.0", "@astrojs/react": "^1.2.2", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index b45dff2261c0..06c21fbe6469 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "solid-js": "^1.4.3", "@astrojs/solid-js": "^1.2.3" } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index f39ff727d83b..993cd3a48619 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -13,6 +13,6 @@ "dependencies": { "svelte": "^3.48.0", "@astrojs/svelte": "^2.0.0-beta.0", - "astro": "^2.0.0-beta.0" + "astro": "^2.0.0-beta.1" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index c06849fad2ea..38a5e9ed1425 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "vue": "^3.2.37", "@astrojs/vue": "^2.0.0-beta.0" } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 1fe03e589329..bbe266e4ebb8 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -13,6 +13,6 @@ }, "dependencies": { "@astrojs/node": "^5.0.0-beta.0", - "astro": "^2.0.0-beta.0" + "astro": "^2.0.0-beta.1" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 434040f25386..64c163d0feaa 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^2.0.0-beta.0" + "astro": "^2.0.0-beta.1" }, "peerDependencies": { "astro": "^2.0.0-beta.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 942154026f4e..9f5f2f2b04bb 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0" + "astro": "^2.0.0-beta.1" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 425b974aa78f..37b3e1810f45 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0" + "astro": "^2.0.0-beta.1" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 25502339d061..f2bbcf2c7663 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0" + "astro": "^2.0.0-beta.1" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 930b54edd74b..24d14aaeb497 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,7 +12,7 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "svelte": "^3.48.0", "@astrojs/svelte": "^2.0.0-beta.0", "@astrojs/node": "^5.0.0-beta.0", diff --git a/examples/with-content/package.json b/examples/with-content/package.json index c537aefdb27d..6fe1835874d5 100644 --- a/examples/with-content/package.json +++ b/examples/with-content/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", - "@astrojs/mdx": "^0.15.0-beta.0", + "astro": "^2.0.0-beta.1", + "@astrojs/mdx": "^0.15.0-beta.1", "@astrojs/sitemap": "^1.0.0" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 79c2f98417e7..2ddfe5bd052d 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", - "@astrojs/markdown-remark": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", + "@astrojs/markdown-remark": "^2.0.0-beta.1", "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 6821a6efa031..098a4e480713 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0" + "astro": "^2.0.0-beta.1" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 6a7eefbf4f23..48e01be430de 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "preact": "^10.6.5", "@astrojs/preact": "^1.2.0", - "@astrojs/mdx": "^0.15.0-beta.0" + "@astrojs/mdx": "^0.15.0-beta.1" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 21bf231874d1..e35cf746eeb4 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "preact": "^10.7.3", "@astrojs/preact": "^1.2.0", "nanostores": "^0.5.12", diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index dd058d723afe..fffd8b343f84 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^0.15.0-beta.0", - "@astrojs/tailwind": "^2.1.3", + "@astrojs/mdx": "^0.15.0-beta.1", + "@astrojs/tailwind": "^3.0.0-beta.0", "@types/canvas-confetti": "^1.4.3", - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "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 8608ad5f903b..22461438f5cd 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "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 f0ae7152f652..2c8a9389faf0 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^2.0.0-beta.0", + "astro": "^2.0.0-beta.1", "vitest": "^0.20.3" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 9ee5bd21ec3b..9a96b1446083 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,66 @@ # astro +## 2.0.0-beta.1 + +### Major Changes + +- [#5778](https://github.com/withastro/astro/pull/5778) [`49ab4f231`](https://github.com/withastro/astro/commit/49ab4f231c23b34891c3ee86f4b92bf8d6d267a3) Thanks [@bluwy](https://github.com/bluwy)! - Remove proload to load the Astro config. It will now use NodeJS and Vite to load the config only. + +- [#5771](https://github.com/withastro/astro/pull/5771) [`259a539d7`](https://github.com/withastro/astro/commit/259a539d7d70c783330c797794b15716921629cf) Thanks [@matthewp](https://github.com/matthewp)! - Removes support for astroFlavoredMarkdown + + In 1.0 Astro moved the old Astro Flavored Markdown (also sometimes called Components in Markdown) to a legacy feature. This change removes the `legacy.astroFlavoredMarkdown` option completely. + + In 2.0 this feature will not be available in Astro at all. We recommend migration to MDX for those were still using this feature in 1.x. + +- [#5584](https://github.com/withastro/astro/pull/5584) [`9963c6e4d`](https://github.com/withastro/astro/commit/9963c6e4d50c392c3d1ac4492237020f15ccb1de) Thanks [@wulinsheng123](https://github.com/wulinsheng123)! - Builds chunks into the `assets` folder. This simplifies configuring immutable caching with your adapter provider as all files are now in the same `assets` folder. + +- [#5717](https://github.com/withastro/astro/pull/5717) [`a3a7fc929`](https://github.com/withastro/astro/commit/a3a7fc9298e6d88abb4b7bee1e58f05fa9558cf1) Thanks [@bluwy](https://github.com/bluwy)! - Remove `style.postcss` Astro config. Refactor tailwind integration to configure through `vite` instead. Also disables `autoprefixer` in dev. + +### Minor Changes + +- [#5769](https://github.com/withastro/astro/pull/5769) [`93e633922`](https://github.com/withastro/astro/commit/93e633922c2e449df3bb2357b3683af1d3c0e07b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Introduce a `smartypants` flag to opt-out of Astro's default SmartyPants plugin. + + ```js + { + markdown: { + smartypants: false, + } + } + ``` + + #### Migration + + You may have disabled Astro's built-in plugins (GitHub-Flavored Markdown and Smartypants) with the `extendDefaultPlugins` option. This has now been split into 2 flags to disable each plugin individually: + + - `markdown.gfm` to disable GitHub-Flavored Markdown + - `markdown.smartypants` to disable SmartyPants + + ```diff + // astro.config.mjs + import { defineConfig } from 'astro/config'; + + export default defineConfig({ + markdown: { + - extendDefaultPlugins: false, + + smartypants: false, + + gfm: false, + } + }); + ``` + +### Patch Changes + +- [#5734](https://github.com/withastro/astro/pull/5734) [`55cea0a9d`](https://github.com/withastro/astro/commit/55cea0a9d8c8df91a46590fc04a9ac28089b3432) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix `prerender` when used with `getStaticPaths` + +- [#5756](https://github.com/withastro/astro/pull/5756) [`116d8835c`](https://github.com/withastro/astro/commit/116d8835ca9e78f8b5e477ee5a3d737b69f80706) Thanks [@matthewp](https://github.com/matthewp)! - Fix for hoisted scripts in project with spaces in the file path + +- [#5743](https://github.com/withastro/astro/pull/5743) [`2a5786419`](https://github.com/withastro/astro/commit/2a5786419599b8674473c699300172b9aacbae2e) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Add error location during build for user-generated errors + +- [#5761](https://github.com/withastro/astro/pull/5761) [`fa8c131f8`](https://github.com/withastro/astro/commit/fa8c131f88ef67d14c62f1c00c97ed74d43a80ac) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add helpful error message when the MDX integration is missing. + +- Updated dependencies [[`93e633922`](https://github.com/withastro/astro/commit/93e633922c2e449df3bb2357b3683af1d3c0e07b)]: + - @astrojs/markdown-remark@2.0.0-beta.1 + ## 2.0.0-beta.0 ### Major Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index f7ede273a9ec..7191f8488051 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "2.0.0-beta.0", + "version": "2.0.0-beta.1", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", @@ -111,7 +111,7 @@ "dependencies": { "@astrojs/compiler": "^0.31.4", "@astrojs/language-server": "^0.28.3", - "@astrojs/markdown-remark": "^2.0.0-beta.0", + "@astrojs/markdown-remark": "^2.0.0-beta.1", "@astrojs/telemetry": "^1.0.1", "@astrojs/webapi": "^1.1.1", "@babel/core": "^7.18.2", diff --git a/packages/integrations/deno/CHANGELOG.md b/packages/integrations/deno/CHANGELOG.md index bc8be12b6bd1..f6f32036e277 100644 --- a/packages/integrations/deno/CHANGELOG.md +++ b/packages/integrations/deno/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/deno +## 4.0.0-beta.1 + +### Major Changes + +- [#5584](https://github.com/withastro/astro/pull/5584) [`9963c6e4d`](https://github.com/withastro/astro/commit/9963c6e4d50c392c3d1ac4492237020f15ccb1de) Thanks [@wulinsheng123](https://github.com/wulinsheng123)! - Builds chunks into the `assets` folder. This simplifies configuring immutable caching with your adapter provider as all files are now in the same `assets` folder. + ## 4.0.0-beta.0 ### Major Changes diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json index 5178507fbfc2..2dad04ed83e8 100644 --- a/packages/integrations/deno/package.json +++ b/packages/integrations/deno/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/deno", "description": "Deploy your site to a Deno server", - "version": "4.0.0-beta.0", + "version": "4.0.0-beta.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md index 6539f1587cc8..7fbdcdea74fc 100644 --- a/packages/integrations/image/CHANGELOG.md +++ b/packages/integrations/image/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/image +## 0.13.0-beta.1 + +### Minor Changes + +- [#5584](https://github.com/withastro/astro/pull/5584) [`9963c6e4d`](https://github.com/withastro/astro/commit/9963c6e4d50c392c3d1ac4492237020f15ccb1de) Thanks [@wulinsheng123](https://github.com/wulinsheng123)! - Builds chunks into the `assets` folder. This simplifies configuring immutable caching with your adapter provider as all files are now in the same `assets` folder. + ## 0.13.0-beta.0 ### Minor Changes diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index 045ffba45610..7ca2f4eb8bb9 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.13.0-beta.0", + "version": "0.13.0-beta.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index 203e21b27c60..4604723bff0e 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,46 @@ # @astrojs/mdx +## 0.15.0-beta.1 + +### Minor Changes + +- [#5769](https://github.com/withastro/astro/pull/5769) [`93e633922`](https://github.com/withastro/astro/commit/93e633922c2e449df3bb2357b3683af1d3c0e07b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Introduce a `smartypants` flag to opt-out of Astro's default SmartyPants plugin. + + ```js + { + markdown: { + smartypants: false, + } + } + ``` + + #### Migration + + You may have disabled Astro's built-in plugins (GitHub-Flavored Markdown and Smartypants) with the `extendDefaultPlugins` option. This has now been split into 2 flags to disable each plugin individually: + + - `markdown.gfm` to disable GitHub-Flavored Markdown + - `markdown.smartypants` to disable SmartyPants + + ```diff + // astro.config.mjs + import { defineConfig } from 'astro/config'; + + export default defineConfig({ + markdown: { + - extendDefaultPlugins: false, + + smartypants: false, + + gfm: false, + } + }); + ``` + +### Patch Changes + +- [#5741](https://github.com/withastro/astro/pull/5741) [`000d3e694`](https://github.com/withastro/astro/commit/000d3e6940839c2aebba1984e6fb3b133cec6749) Thanks [@delucis](https://github.com/delucis)! - Fix broken links in README + +- Updated dependencies [[`93e633922`](https://github.com/withastro/astro/commit/93e633922c2e449df3bb2357b3683af1d3c0e07b)]: + - @astrojs/markdown-remark@2.0.0-beta.1 + ## 0.15.0-beta.0 ### Minor Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 053cb3efb13c..d9e138893f00 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.15.0-beta.0", + "version": "0.15.0-beta.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -30,7 +30,7 @@ "test:match": "mocha --timeout 20000 -g" }, "dependencies": { - "@astrojs/markdown-remark": "^2.0.0-beta.0", + "@astrojs/markdown-remark": "^2.0.0-beta.1", "@astrojs/prism": "^1.0.2", "@mdx-js/mdx": "^2.1.2", "@mdx-js/rollup": "^2.1.1", diff --git a/packages/integrations/netlify/CHANGELOG.md b/packages/integrations/netlify/CHANGELOG.md index b11c4058c66c..943ca2a18cf9 100644 --- a/packages/integrations/netlify/CHANGELOG.md +++ b/packages/integrations/netlify/CHANGELOG.md @@ -1,5 +1,15 @@ # @astrojs/netlify +## 2.0.0-beta.1 + +### Major Changes + +- [#5584](https://github.com/withastro/astro/pull/5584) [`9963c6e4d`](https://github.com/withastro/astro/commit/9963c6e4d50c392c3d1ac4492237020f15ccb1de) Thanks [@wulinsheng123](https://github.com/wulinsheng123)! - Builds chunks into the `assets` folder. This simplifies configuring immutable caching with your adapter provider as all files are now in the same `assets` folder. + +### Patch Changes + +- [#5768](https://github.com/withastro/astro/pull/5768) [`2f6745019`](https://github.com/withastro/astro/commit/2f6745019ac25785032ac3659c2433b6e224f383) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix set-cookies not working in certain cases when using Node 18+ + ## 2.0.0-beta.0 ### Major Changes diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index dcb7e7a0aecd..a569e86225b1 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/netlify", "description": "Deploy your site to Netlify", - "version": "2.0.0-beta.0", + "version": "2.0.0-beta.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/tailwind/CHANGELOG.md b/packages/integrations/tailwind/CHANGELOG.md index cead1673149f..f8238736edc4 100644 --- a/packages/integrations/tailwind/CHANGELOG.md +++ b/packages/integrations/tailwind/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/tailwind +## 3.0.0-beta.0 + +### Major Changes + +- [#5717](https://github.com/withastro/astro/pull/5717) [`a3a7fc929`](https://github.com/withastro/astro/commit/a3a7fc9298e6d88abb4b7bee1e58f05fa9558cf1) Thanks [@bluwy](https://github.com/bluwy)! - Remove `style.postcss` Astro config. Refactor tailwind integration to configure through `vite` instead. Also disables `autoprefixer` in dev. + ## 2.1.3 ### Patch Changes diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 48a194eb7e80..732f470c9da0 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/tailwind", "description": "Tailwind + Astro Integrations", - "version": "2.1.3", + "version": "3.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index 3f7ec5f78525..a6c3c85c2057 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,39 @@ # @astrojs/markdown-remark +## 2.0.0-beta.1 + +### Minor Changes + +- [#5769](https://github.com/withastro/astro/pull/5769) [`93e633922`](https://github.com/withastro/astro/commit/93e633922c2e449df3bb2357b3683af1d3c0e07b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Introduce a `smartypants` flag to opt-out of Astro's default SmartyPants plugin. + + ```js + { + markdown: { + smartypants: false, + } + } + ``` + + #### Migration + + You may have disabled Astro's built-in plugins (GitHub-Flavored Markdown and Smartypants) with the `extendDefaultPlugins` option. This has now been split into 2 flags to disable each plugin individually: + + - `markdown.gfm` to disable GitHub-Flavored Markdown + - `markdown.smartypants` to disable SmartyPants + + ```diff + // astro.config.mjs + import { defineConfig } from 'astro/config'; + + export default defineConfig({ + markdown: { + - extendDefaultPlugins: false, + + smartypants: false, + + gfm: false, + } + }); + ``` + ## 2.0.0-beta.0 ### Major Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 4368d6bdd785..8e60a06c3dbe 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "2.0.0-beta.0", + "version": "2.0.0-beta.1", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6227a240edfb..6f26b44e6742 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -63,16 +63,16 @@ importers: examples/basics: specifiers: - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 dependencies: astro: link:../../packages/astro examples/blog: specifiers: - '@astrojs/mdx': ^0.15.0-beta.0 + '@astrojs/mdx': ^0.15.0-beta.1 '@astrojs/rss': ^2.0.0 '@astrojs/sitemap': ^1.0.0 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx '@astrojs/rss': link:../../packages/astro-rss @@ -81,14 +81,14 @@ importers: examples/component: specifiers: - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 devDependencies: astro: link:../../packages/astro examples/deno: specifiers: - '@astrojs/deno': ^4.0.0-beta.0 - astro: ^2.0.0-beta.0 + '@astrojs/deno': ^4.0.0-beta.1 + astro: ^2.0.0-beta.1 dependencies: astro: link:../../packages/astro devDependencies: @@ -104,7 +104,7 @@ importers: '@types/node': ^18.0.0 '@types/react': ^17.0.45 '@types/react-dom': ^18.0.0 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 html-escaper: ^3.0.3 preact: ^10.7.3 react: ^18.1.0 @@ -130,7 +130,7 @@ importers: '@astrojs/alpinejs': ^0.1.2 '@types/alpinejs': ^3.7.0 alpinejs: ^3.10.2 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 dependencies: '@astrojs/alpinejs': link:../../packages/integrations/alpinejs '@types/alpinejs': 3.7.1 @@ -141,7 +141,7 @@ importers: specifiers: '@astrojs/lit': ^1.0.0 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 lit: ^2.2.5 dependencies: '@astrojs/lit': link:../../packages/integrations/lit @@ -156,7 +156,7 @@ importers: '@astrojs/solid-js': ^1.2.3 '@astrojs/svelte': ^2.0.0-beta.0 '@astrojs/vue': ^2.0.0-beta.0 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -181,7 +181,7 @@ importers: specifiers: '@astrojs/preact': ^1.2.0 '@preact/signals': ^1.1.0 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 preact: ^10.7.3 dependencies: '@astrojs/preact': link:../../packages/integrations/preact @@ -194,7 +194,7 @@ importers: '@astrojs/react': ^1.2.2 '@types/react': ^18.0.10 '@types/react-dom': ^18.0.5 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 react: ^18.1.0 react-dom: ^18.1.0 dependencies: @@ -208,7 +208,7 @@ importers: examples/framework-solid: specifiers: '@astrojs/solid-js': ^1.2.3 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 solid-js: ^1.4.3 dependencies: '@astrojs/solid-js': link:../../packages/integrations/solid @@ -218,7 +218,7 @@ importers: examples/framework-svelte: specifiers: '@astrojs/svelte': ^2.0.0-beta.0 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 svelte: ^3.48.0 dependencies: '@astrojs/svelte': link:../../packages/integrations/svelte @@ -228,7 +228,7 @@ importers: examples/framework-vue: specifiers: '@astrojs/vue': ^2.0.0-beta.0 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 vue: ^3.2.37 dependencies: '@astrojs/vue': link:../../packages/integrations/vue @@ -238,32 +238,32 @@ importers: examples/hackernews: specifiers: '@astrojs/node': ^5.0.0-beta.0 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 dependencies: '@astrojs/node': link:../../packages/integrations/node astro: link:../../packages/astro examples/integration: specifiers: - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 devDependencies: astro: link:../../packages/astro examples/minimal: specifiers: - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 dependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 dependencies: astro: link:../../packages/astro examples/portfolio: specifiers: - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 dependencies: astro: link:../../packages/astro @@ -271,7 +271,7 @@ importers: specifiers: '@astrojs/node': ^5.0.0-beta.0 '@astrojs/svelte': ^2.0.0-beta.0 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 concurrently: ^7.2.1 svelte: ^3.48.0 unocss: ^0.15.6 @@ -287,9 +287,9 @@ importers: examples/with-content: specifiers: - '@astrojs/mdx': ^0.15.0-beta.0 + '@astrojs/mdx': ^0.15.0-beta.1 '@astrojs/sitemap': ^1.0.0 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx '@astrojs/sitemap': link:../../packages/integrations/sitemap @@ -297,8 +297,8 @@ importers: examples/with-markdown-plugins: specifiers: - '@astrojs/markdown-remark': ^2.0.0-beta.0 - astro: ^2.0.0-beta.0 + '@astrojs/markdown-remark': ^2.0.0-beta.1 + astro: ^2.0.0-beta.1 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -315,15 +315,15 @@ importers: examples/with-markdown-shiki: specifiers: - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 dependencies: astro: link:../../packages/astro examples/with-mdx: specifiers: - '@astrojs/mdx': ^0.15.0-beta.0 + '@astrojs/mdx': ^0.15.0-beta.1 '@astrojs/preact': ^1.2.0 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 preact: ^10.6.5 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx @@ -335,7 +335,7 @@ importers: specifiers: '@astrojs/preact': ^1.2.0 '@nanostores/preact': ^0.1.3 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 nanostores: ^0.5.12 preact: ^10.7.3 dependencies: @@ -347,10 +347,10 @@ importers: examples/with-tailwindcss: specifiers: - '@astrojs/mdx': ^0.15.0-beta.0 - '@astrojs/tailwind': ^2.1.3 + '@astrojs/mdx': ^0.15.0-beta.1 + '@astrojs/tailwind': ^3.0.0-beta.0 '@types/canvas-confetti': ^1.4.3 - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 autoprefixer: ^10.4.7 canvas-confetti: ^1.5.1 postcss: ^8.4.14 @@ -367,7 +367,7 @@ importers: examples/with-vite-plugin-pwa: specifiers: - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.3 dependencies: @@ -377,7 +377,7 @@ importers: examples/with-vitest: specifiers: - astro: ^2.0.0-beta.0 + astro: ^2.0.0-beta.1 vitest: ^0.20.3 dependencies: astro: link:../../packages/astro @@ -387,7 +387,7 @@ importers: specifiers: '@astrojs/compiler': ^0.31.4 '@astrojs/language-server': ^0.28.3 - '@astrojs/markdown-remark': ^2.0.0-beta.0 + '@astrojs/markdown-remark': ^2.0.0-beta.1 '@astrojs/telemetry': ^1.0.1 '@astrojs/webapi': ^1.1.1 '@babel/core': ^7.18.2 @@ -2852,7 +2852,7 @@ importers: packages/integrations/mdx: specifiers: - '@astrojs/markdown-remark': ^2.0.0-beta.0 + '@astrojs/markdown-remark': ^2.0.0-beta.1 '@astrojs/prism': ^1.0.2 '@mdx-js/mdx': ^2.1.2 '@mdx-js/rollup': ^2.1.1