github withastro/astro astro@1.0.0-beta.54

latest releases: astro@4.8.2, astro@4.8.1, @astrojs/react@3.3.4...
pre-release22 months ago

Patch Changes

  • #3652 7373d61c Thanks @natemoo-re! - Add renderer support for passing named slots to framework components.

    BREAKING: integrations using the addRenderer() API are now passed all named slots via Record<string, string> rather than string. Previously only the default slot was passed.

  • #3649 446f8c4f Thanks @dc7290! - Added test for dir parameter in astro:build:done

  • #3679 fa7ed3f3 Thanks @matthewp! - Moves head injection to happen during rendering

    This change makes it so that head injection; to insert component stylesheets, hoisted scripts, for example, to happen during rendering than as a post-rendering step.

    This is to enable streaming. This change will only be noticeable if you are rendering your <head> element inside of a framework component. If that is the case then the head items will be injected before the first non-head element in an Astro file instead.

    In the future we may offer a <Astro.Head> component as a way to control where these scripts/styles are inserted.

Don't miss a new astro release

NewReleases is sending notifications on new releases.