* chore: remove changesets patch * chore: add changesets * chore: version packages * chore: normalize formatting * chore: update lockfile * chore: fix codeblocks * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: fixup code samples * chore: move v0.25 message out of note Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
1.9 KiB
@astrojs/markdown-component
1.0.0
Major Changes
-
04ad44563
- > Astro v1.0 is out! Read the official announcement post.No breaking changes. This package is now officially stable and compatible with
astro@1.0.0
!
0.2.1
Patch Changes
- #4085
c15cb3663
Thanks @Princesseuh! - Fix TypeScript error when importing the component
0.2.0
Minor Changes
-
#4016
00fab4ce1
Thanks @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.
// https://astro.build/config export default defineConfig({ legacy: { astroFlavoredMarkdown: true, }, });
-
#3986
bccd88f0e
Thanks @matthewp! - Move the Markdown component to its own packageThis 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:
--- import { Markdown } from 'astro/components'; ---
Becomes:
--- import Markdown from '@astrojs/markdown-component'; ---