github withastro/astro @astrojs/runtime@0.1.0

latest releases: @astrojs/vue@7.1.3, @astrojs/svelte@9.1.3, @astrojs/solid-js@7.1.3...
one hour ago

Minor Changes

  • #18610 5083c65 Thanks @matthewp! - Initial release

  • #18611 f98e8a8 Thanks @matthewp! - Adds standalone rendering: astro() compiles .astro files in a plain Vite project, and renderToString() / renderToResponse() from @astrojs/runtime render a component tree with its stylesheets, scripts and framework islands in dev and in builds

  • #18611 f98e8a8 Thanks @matthewp! - Adds declarative renderer fields: an AstroRenderer can carry options (passed to its server entrypoint as this.options), optimizeDeps, dedupe, noExternal (a list, or a function of the project root for lists found by crawling dependencies), a dev-only devHeadScript and an appEntrypoint that its entrypoints import, which astro() applies, so a renderer is plain data next to the framework's own Vite plugin

Patch Changes

  • #18630 c904827 Thanks @astro-factory! - Fixes bundled scripts and hydrated islands being blocked when security.csp.scriptDirective.strictDynamic is enabled. Astro now adds the hash of every bundled script to script-src and renders an import map with their integrity in the <head>.

  • #18688 1999c84 Thanks @astro-factory! - Fixes errors thrown after a page has started streaming bypassing the configured logger. They are now reported once through it, as one error record, in both production and astro dev

Don't miss a new astro release

NewReleases is sending notifications on new releases.