diff options
author | 2022-07-26 06:58:38 -0700 | |
---|---|---|
committer | 2022-07-26 09:58:38 -0400 | |
commit | d790eabd986decc380088e52a4dcbff246ee736f (patch) | |
tree | f4fb19e33f32cea242349b2813551bc417f00fe9 /packages/markdown/component/CHANGELOG.md | |
parent | c7e117ce32592c9c29d24583baa10009e620bcc4 (diff) | |
download | astro-d790eabd986decc380088e52a4dcbff246ee736f.tar.gz astro-d790eabd986decc380088e52a4dcbff246ee736f.tar.zst astro-d790eabd986decc380088e52a4dcbff246ee736f.zip |
[ci] release (#3972)create-astro@0.14.2astro@1.0.0-rc.1@astrojs/vue@0.5.0@astrojs/vercel@0.3.0@astrojs/tailwind@0.2.5@astrojs/svelte@0.5.0@astrojs/sitemap@0.3.0@astrojs/prefetch@0.0.6@astrojs/partytown@0.1.9@astrojs/node@0.2.0@astrojs/netlify@0.5.0@astrojs/mdx@0.3.0@astrojs/markdown-remark@0.13.0@astrojs/markdown-component@0.2.0@astrojs/lit@0.3.2@astrojs/image@0.2.0@astrojs/deno@0.2.0@astrojs/cloudflare@0.3.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'packages/markdown/component/CHANGELOG.md')
-rw-r--r-- | packages/markdown/component/CHANGELOG.md | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/markdown/component/CHANGELOG.md b/packages/markdown/component/CHANGELOG.md new file mode 100644 index 000000000..9643d05ba --- /dev/null +++ b/packages/markdown/component/CHANGELOG.md @@ -0,0 +1,38 @@ +# @astrojs/markdown-component + +## 0.2.0 + +### Minor Changes + +- [#4016](https://github.com/withastro/astro/pull/4016) [`00fab4ce1`](https://github.com/withastro/astro/commit/00fab4ce135eb799cac69140403d7724686733d6) Thanks [@bholmesdev](https://github.com/bholmesdev)! - The use of components and JSX expressions in Markdown are no longer supported by default. + + For long term support, migrate to the `@astrojs/mdx` integration for MDX support (including `.mdx` pages!). + + Not ready to migrate to MDX? Add the legacy flag to your Astro config to re-enable the previous Markdown support. + + ```js + // https://astro.build/config + export default defineConfig({ + legacy: { + astroFlavoredMarkdown: true, + }, + }); + ``` + +* [#3986](https://github.com/withastro/astro/pull/3986) [`bccd88f0e`](https://github.com/withastro/astro/commit/bccd88f0ebe1fbf383c0cee4b27a4c24c72dea72) Thanks [@matthewp](https://github.com/matthewp)! - Move the Markdown component to its own package + + This change moves the Markdown component into its own package where it will be maintained separately. All that needs to change from a user's perspective is the import statement: + + ```astro + --- + import { Markdown } from 'astro/components'; + --- + ``` + + Becomes: + + ```astro + --- + import Markdown from '@astrojs/markdown-component'; + --- + ``` |