Astro: [email protected] Release

Release date:
May 29, 2025
Previous version:
[email protected] (released May 22, 2025)
Magnitude:
1,111 Diff Delta
Contributors:
5 total committers
Data confidence:
Commits:

16 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Top Contributors in [email protected]

ematipico
apatel369
yanthomasdev
nanarino
jsparkdev

Directory Browser for [email protected]

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Patch Changes

  • #13037 de2fc9b Thanks @nanarino! - Fixes rendering of the popover attribute when it has a boolean value

  • #13851 45ae95a Thanks @ascorbic! - Allows disabling default styles for responsive images

    This 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 to true, 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 type AstroSession to allow use in explicitly typed safe code.