@astrojs/mdx@7.0.0
π¦ astroView on GitHub β
β¨ 2 featuresπ 1 fixesβ‘ 1 deprecationsπ§ 2 symbols
Summary
This release upgrades Astro to Vite v8 and introduces new functionality for programmatically modifying frontmatter in Markdown/MDX content. It also updates the Container API entrypoints for several integrations.
Migration Steps
- If using the Container API in React, Preact, Svelte, SolidJS, Vue, or MDX integrations, update import statements from `import { getContainerRenderer } from '@astrojs/integration';` to `import { getContainerRenderer } from '@astrojs/integration/container-renderer';`.
β¨ New Features
- Upgrade to Vite v8.
- Added support for modifying frontmatter programmatically with the default Markdown processor via SΓ€tteri plugins mutating `ctx.data.astro.frontmatter`.
π Bug Fixes
- Triggered beta prereleases for packages that were still on alpha.
Affected Symbols
β‘ Deprecations
- Importing `getContainerRenderer()` from the package root of React, Preact, Svelte, SolidJS, Vue, and MDX integrations is deprecated and will log a warning.