Change8

@astrojs/mdx@5.0.0-beta.8

Breaking Changes
📦 astroView on GitHub →
1 breaking🔧 1 symbols

Summary

This release updates dependencies and introduces a significant change in how styles for code blocks are emitted to improve Content Security Policy (CSP) support.

⚠️ Breaking Changes

  • The way styles applied to code blocks are emitted has changed to better support CSP. Consult the v6 upgrade guidance for details on potential impact.

Migration Steps

  1. Review the v6 upgrade guidance regarding changes to how Shiki code block styles are emitted: https://v6.docs.astro.build/en/guides/upgrade-to/v6/#changed-how-shiki-code-block-styles-are-emitted

Affected Symbols