β¨ Major Changes
-
#8131
43140b87aThanks @matthewp! - Support Astro 3 JSX formatThis upgrades the MDX plugin to correctly work with the new JSX render API in Astro 3.
1eae2e3f7 Thanks @Princesseuh! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.
dfc2d93e3 Thanks @bluwy! - Re-orders the MDX plugin to run before Astroβs JSX plugin
631b9c410 Thanks @bluwy! - Handle components exports handling itself
Updated dependencies [1eae2e3f7, 76ddef19c, 9b4f70a62, 3fdf509b2, 2f951cd40, c022a4217, 67becaa58, bc37331d8, dfc2d93e3, 3dc1ca2fa, 1be84dfee, 35f01df79, 3fdf509b2, 78de801f2, 59d6e569f, 7723c4cc9, fb5cd6b56, 631b9c410]:
8034edd9e Thanks @bholmesdev! - Fix [Object AsyncGenerator] appearing in markup for Markdoc documents339529fc8 Thanks @bholmesdev! - Bring back improved style and script handling across content collection files. This addresses bugs found in a previous release to @astrojs/markdoc.57e65d247 Thanks @bholmesdev! - Fix: revert Markdoc asset bleed changes. Production build issues were discovered that deserve a different fix.f558a9e20 Thanks @bholmesdev! - Improve style and script handling across content collection files. This addresses style bleed present in @astrojs/markdoc v0.1.02511d58d5 Thanks @Princesseuh! - Add support for using optimized and relative images in MDX files with experimental.assets2511d58d5]:
f882bc163 Thanks @bholmesdev! - Fix sourcemap warnings when using Content Collections and MDX with the vite.build.sourcemap option#6494 a13e9d7e3 Thanks @Yan-Thomas! - Consistency improvements to several package descriptions
Updated dependencies [a13e9d7e3]:
#6344 694918a56 Thanks @Princesseuh! - Add a new experimental flag (experimental.assets) to enable our new core Assets story.
This unlocks a few features:
See Assets (Experimental) on our docs site for more information on how to use this feature!
#6213 afbbc4d5b Thanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 14
#6209 fec583909 Thanks @bholmesdev! - Introduce the (experimental) @astrojs/markdoc integration. This unlocks Markdoc inside your Content Collections, bringing support for Astro and UI components in your content. This also improves Astro core internals to make Content Collections extensible to more file types in the future.
You can install this integration using the astro add command:
astro add markdocRead the @astrojs/markdoc documentation for usage instructions, and browse the new with-markdoc starter to try for yourself.
Updated dependencies [694918a56, afbbc4d5b]:
075b87e8b Thanks @RaphaelBossek! - Update to es-module-lexer@1.1.10049fda62 Thanks @bluwy! - Support rehype plugins that inject namespaced attributes. This introduces a breaking change if you use custom components for HTML elements, where the prop passed to the component will be normal HTML casing, e.g. class instead of className, and xlink:href instead of xlinkHref.