🐞 Patch Changes
-
#13037
de2fc9b
Thanks @nanarino! - Fixes rendering of thepopover
attribute when it has a boolean value -
#13851
45ae95a
Thanks @ascorbic! - Allows disabling default styles for responsive imagesThis change adds a new
image.experimentalDefaultStyles
option 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.experimentalDefaultStyles
is 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
cb1a168
Thanks @florian-lefebvre! - Fixes the warning shown when client directives are used on Astro components -
#12574
da266d0
Thanks @apatel369! - Allows using server islands in mdx files -
#13843
fbcfa68
Thanks @z1haze! - Export typeAstroSession
to allow use in explicitly typed safe code.