diff --git a/.changeset/fix-custom-element-slot-attribute.md b/.changeset/fix-custom-element-slot-attribute.md new file mode 100644 index 000000000000..d38023b498e1 --- /dev/null +++ b/.changeset/fix-custom-element-slot-attribute.md @@ -0,0 +1,7 @@ +--- +'astro': patch +--- + +Fixes custom elements in MDX having their children's `slot` attribute stripped by the JSX runtime + +When custom elements (tags with hyphens like ``) are used in MDX files, the `slot` HTML attribute on their children is now correctly preserved. Previously, the shared JSX runtime would treat `slot` as an Astro slot assignment and remove it from the output, breaking Shadow DOM named slot distribution for web components. diff --git a/.changeset/fix-stale-css-hmr-16780.md b/.changeset/fix-stale-css-hmr-16780.md new file mode 100644 index 000000000000..aa2bd8a09012 --- /dev/null +++ b/.changeset/fix-stale-css-hmr-16780.md @@ -0,0 +1,9 @@ +--- +'astro': patch +--- + +Fixes stale inline CSS in server-rendered HTML after CSS file edits during dev + +When editing a CSS file (`.css`, `.scss`, etc.) during development, the inline `