●Change8

@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

  1. 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.