Astro: @astrojs/[email protected] Release

Release date:
February 24, 2026
Previous version:
@astrojs/[email protected] (released February 16, 2026)
Magnitude:
12,230 Diff Delta
Contributors:
5 total committers
Data confidence:
Commits:

49 Commits in this Release

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

Authored February 24, 2026
Authored February 23, 2026
Authored February 20, 2026
Authored February 24, 2026
Authored February 24, 2026
Authored February 18, 2026
Authored February 23, 2026
Authored February 16, 2026
Authored February 17, 2026
Authored February 17, 2026
Authored February 23, 2026
Authored February 17, 2026
Authored February 19, 2026
Authored February 20, 2026
Authored February 16, 2026
Authored February 24, 2026
Authored February 24, 2026
Authored February 24, 2026
Authored February 24, 2026

Top Contributors in @astrojs/[email protected]

ematipico
florian-lefebvre
rururux
renovate-bot
Princesseuh

Directory Browser for @astrojs/[email protected]

All files are compared to previous version, @astrojs/[email protected]. Click here to browse diffs between other versions.

Loading File Browser...

Release Notes Published

Major Changes

  • #15435 957b9fe Thanks @rururux! - Changes the default image service from compile to cloudflare-binding. Image services options that resulted in broken images in development due to Node JS incompatiblities have now been updated to use the noop passthrough image service in dev mode. - (Cloudflare v13 and Astro6 upgrade guidance)

Minor Changes

  • #15435 957b9fe Thanks @rururux! - Adds support for configuring the image service as an object with separate build and runtime options

    It is now possible to set both a build-time and runtime service independently. Currently, 'compile' is the only available build time option. The supported runtime options are 'passthrough' (default) and 'cloudflare-binding':

    ```js title="astro.config.mjs" ins={6} import { defineConfig } from 'astro/config'; import cloudflare from '@astrojs/cloudflare';

    export default defineConfig({ adapter: cloudflare({ imageService: { build: 'compile', runtime: 'cloudflare-binding' }, }), }); ```

    See the Cloudflare adapter imageService docs for more information about configuring your image service.

  • #15556 8fb329b Thanks @florian-lefebvre! - Adds support for more @cloudflare/vite-plugin options

    The adapter now accepts the following options from Cloudflare's Vite plugin:

    • auxiliaryWorkers
    • configPath
    • inspectorPort
    • persistState
    • remoteBindings
    • experimental.headersAndRedirectsDevModeSupport

    For example, you can now set inspectorPort to provide a custom port for debugging your Workers:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import cloudflare from '@astrojs/cloudflare';
    
    export default defineConfig({
      adapter: cloudflare({
        inspectorPort: 3456,
      }),
    });
    

Patch Changes

  • #15565 30cd6db Thanks @ematipico! - Fixes an issue where the use of the Code component would result in an unexpected error.

  • #15588 425ea16 Thanks @rururux! - Fixes an issue where esbuild would throw a "Top-level return cannot be used inside an ECMAScript module" error during dependency scanning in certain environments.

  • #15636 5ecd04c Thanks @florian-lefebvre! - Adds an error when running on Stackblitz, since workerd doesn't support it

  • Updated dependencies []: