🐞 Patch Changes
-
#13037
de2fc9bThanks @nanarino! - Fixes rendering of thepopoverattribute when it has a boolean value -
#13851
45ae95aThanks @ascorbic! - Allows disabling default styles for responsive imagesThis change adds a new
image.experimentalDefaultStylesoption that allows you to disable the default styles applied to responsive images.When using experimental responsive images, Astro applies default styles to ensure the images resize correctly. In most cases this is what you want – and they are applied with low specificity so your own styles override them. However in some cases you may want to disable these default styles entirely. This is particularly useful when using Tailwind 4, because it uses CSS cascade layers to apply styles, making it difficult to override the default styles.
image.experimentalDefaultStylesis a boolean option that defaults totrue, so you can change it in your Astro config file like this:export default {image: {experimentalDefaultStyles: false,},experimental: {responsiveImages: true,},}; -
#13858
cb1a168Thanks @florian-lefebvre! - Fixes the warning shown when client directives are used on Astro components -
#12574
da266d0Thanks @apatel369! - Allows using server islands in mdx files -
#13843
fbcfa68Thanks @z1haze! - Export typeAstroSessionto allow use in explicitly typed safe code.