Astro: @astrojs/[email protected] Release

Release date:
July 3, 2025
Previous version:
@astrojs/[email protected] (released May 21, 2025)
Magnitude:
10,647 Diff Delta
Contributors:
6 total committers
Data confidence:
Commits:

86 Commits in this Release

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

Authored June 4, 2025
Authored June 19, 2025
Authored June 27, 2025
Authored June 9, 2025
Authored May 22, 2025
Authored June 17, 2025
Authored July 3, 2025
Authored May 29, 2025
Authored June 23, 2025
Authored June 4, 2025
Authored June 7, 2025
Authored July 1, 2025
Authored June 19, 2025
Authored June 13, 2025
Authored June 19, 2025
Authored June 9, 2025

Top Contributors in @astrojs/[email protected]

ematipico
apatel369
alexanderniebuhr
nanarino
feelixe
sarah11918

Directory Browser for @astrojs/[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

Minor Changes

  • #14012 a125a14 Thanks @florian-lefebvre! - Adds a new experimental configuration option experimentalDisableStreaming to allow you to opt out of Astro's default HTML streaming for pages rendered on demand.

    HTML streaming helps with performance and generally provides a better visitor experience. In most cases, disabling streaming is not recommended.

    However, when you need to disable HTML streaming (e.g. your host only supports non-streamed HTML caching at the CDN level), you can now opt out of the default behavior:

    import { defineConfig } from 'astro/config';
    import node from '@astrojs/node';
    
    export default defineConfig({
      adapter: node({
        mode: 'standalone',
    +    experimentalDisableStreaming: true,
      }),
    });
    
  • #13972 db8f8be Thanks @ematipico! - Adds support for the experimental static headers Astro feature.

    When the feature is enabled via the option experimentalStaticHeaders, and experimental Content Security Policy is enabled, the adapter will generate Response headers for static pages, which allows support for CSP directives that are not supported inside a <meta> tag (e.g. frame-ancestors).

    import { defineConfig } from 'astro/config';
    import node from '@astrojs/node';
    
    export default defineConfig({
      adapter: node({
        mode: 'standalone',
        experimentalStaticHeaders: true,
      }),
      experimental: {
        cps: true,
      },
    });