Packages

@astrojs/runtime

0.1.2 · 18 Nov 2026MIT2.6M / weekRepositoryHomepagenpmAtom feed

Upgrading @astrojs/runtime From 0.0.0 to 0.1.2

3 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 0.0.0yours
  2. 0.1.0major
  3. 0.1.1
  4. 0.1.2target
0
changes to make
0
advisories fixed
3
new
4
fixes

Release by release

  1. 0.1.2

    18 Nov 20261 fix
    • Fixed

      Fixes hydration of framework components receiving sparse array props by serializing holes as undefined

  2. 0.1.1

    11 Nov 20261 fix
    • Fixed

      Fixes spreading an object onto an element with scoped styles changing that object. When the same object was spread on every render, for example a constant imported from another module, its class grew with every request.

  3. 0.1.0

    10 Nov 20263 new · 2 fixes
    • New

      Initial release

    • New

      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

    • New

      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

    • Fixed

      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>.

    • Fixed

      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

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.