✨ Major Changes
-
#12231
90ae100Thanks @bluwy! - Handles the breaking change in Astro where content pages (including.mdxpages located withinsrc/pages/) no longer respond withcharset=utf-8in theContent-Typeheader.For MDX pages without layouts,
@astrojs/mdxwill automatically add the<meta charset="utf-8">tag to the page by default. This reduces the boilerplate needed to write with non-ASCII characters. If your MDX pages have a layout, the layout component should include the<meta charset="utf-8">tag.If you require
charset=utf-8to render your page correctly, make sure that your layout components have the<meta charset="utf-8">tag added. -
#12008
5608338Thanks @Princesseuh! - Welcome to the Astro 5 beta! This release has no changes from the latest alpha of this package, but it does bring us one step closer to the final, stable release.Starting from this release, no breaking changes will be introduced unless absolutely necessary.
To learn how to upgrade, check out the Astro v5.0 upgrade guide in our beta docs site.
🍿 Minor Changes
-
#11741
6617491Thanks @bluwy! - Updates adapter server entrypoint to use@astrojs/mdx/server.jsThis is an internal change. Handling JSX in your
.mdxfiles has been moved from Astro internals and is now the responsibility of this integration. You should not notice a change in your project, and no update to your code is required.
🐞 Patch Changes
-
#12075
a19530eThanks @bluwy! - Parses frontmatter ourselves -
#11861
3ab3b4eThanks @bluwy! - Updates@astrojs/markdown-remarkand handle its breaking changes -
#12533
1b61fdfThanks @ematipico! - Fixes a case where the MDX renderer couldn’t be loaded when used as a direct dependency of an Astro integration. -
Updated dependencies [
3ab3b4e,5608338,560ef15,83a2a64,3ab3b4e,a19530e]:- @astrojs/markdown-remark@6.0.0