Astro: [email protected] Release

Release date:
February 11, 2026
Previous version:
[email protected] (released February 9, 2026)
Magnitude:
744 Diff Delta
Contributors:
2 total committers
Data confidence:
Commits:

Top Contributors in [email protected]

ematipico
Princesseuh

Directory Browser for [email protected]

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

Loading File Browser...

Release Notes Published

Major Changes

Minor Changes

  • #15460 ee7e53f Thanks @florian-lefebvre! - Updates the Adapter API to allow providing a serverEntrypoint when using entryType: 'self'

    Astro 6 introduced a new powerful yet simple Adapter API for defining custom server entrypoints. You can now call setAdapter() with the entryType: 'self' option and specify your custom serverEntrypoint:

    export function myAdapter() {
      return {
        name: 'my-adapter',
        hooks: {
          'astro:config:done': ({ setAdapter }) => {
            setAdapter({
              name: 'my-adapter',
              entryType: 'self',
              serverEntrypoint: 'my-adapter/server.js',
              supportedAstroFeatures: {
                // ...
              },
            });
          },
        },
      };
    }
    

    If you need further customization at the Vite level, you can omit serverEntrypoint and instead specify your custom server entrypoint with vite.build.rollupOptions.input.

Patch Changes

  • #15454 b47a4e1 Thanks @Fryuni! - Fixes a race condition in the content layer which could result in dropped content collection entries.

  • #15450 50c9129 Thanks @florian-lefebvre! - Fixes a case where build.serverEntry would not be respected when using the new Adapter API

  • #15473 d653b86 Thanks @matthewp! - Improves Host header handling for SSR deployments behind proxies