Astro @astrojs/mdx@8.0.0

@astrojs/mdx@8.0.0
Added 1
  • Add a warning when deprecated remarkPlugins, rehypePlugins, recmaPlugins and remarkRehype options are ignored because the Markdown processor does not run them
Changed 1
  • Move MDX file processing to the Markdown processors
Fixed 1
  • Fix .mdx files still using markdown.processor when extendMarkdownConfig is false to use a clean default processor instead

From Astro

Major Changes
  • #17262 f8e9458 Thanks @Princesseuh! - Moves MDX file processing to the Markdown processors.

    '@astrojs/mdx' is still required to add MDX support to your project. However, it now delegates the MDX files processing to Markdown processors.

    What should I do?

    If you haven't explicitly installed a Markdown processor, you don't need to do anything.

    Otherwise, ensure that your configured Markdown processor uses the following version:

    • @astrojs/markdown-satteri 0.4.0 or later if you use satteri()
    • @astrojs/markdown-remark 7.3.0 or later if you use unified()
Patch Changes
  • #17262 f8e9458 Thanks @Princesseuh! - Fixes .mdx files still using markdown.processor when extendMarkdownConfig is false. They now use a clean default processor instead; pass mdx({ processor }) to choose one explicitly.

  • #17262 f8e9458 Thanks @Princesseuh! - Adds a warning when the deprecated remarkPlugins, rehypePlugins, recmaPlugins and remarkRehype options are ignored because your Markdown processor does not run them. They still apply when your processor is unified(), and were previously dropped silently otherwise.

  • Updated dependencies [f8e9458, f8e9458]:

    • @astrojs/internal-helpers@0.11.0
    • @astrojs/markdown-satteri@0.4.0
View original

Upgraded? How did it go?

Discussion