Packages

astro

7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed

Upgrading astro From 6.1.10 to 6.2.0

1 release in betweenevery note read

Other targets from 6.1.10Newest 6.x6.4.8Clears its 11 advisories7.4.7Latest7.4.13
  1. 6.1.10yours
  2. 6.2.0target
0
changes to make
0
advisories fixed
6
new
1
fix

Security

Release by release

  1. 6.2.0

    30 Apr 20266 new · 1 fix
    • New

      Adds a waitUntil option to the RenderOptions so that adapters can forward runtime background-task hooks to Astro.

    • New

      Ensures that server.allowedHosts (and vite.preview.allowedHosts) configuration is respected when using astro preview with the @astrojs/cloudflare adapter. This improves security by preventing DNS rebinding attacks when previewing Cloudflare builds locally.

    • New

      Adds support for a new 'jsx' value for the compressHTML option. When set, whitespace is stripped using JSX whitespace rules instead of the default HTML compression strategy.

    • New

      Adds experimental support for configurable log handlers.

    • New

      Adds an experimental flag svgOptimizer that enables automatic optimization of your SVG components using the provided optimizer. This supersedes the svgo experimental flag, which is now removed.

    • New

      Adds a new experimental_getFontFileURL() method to resolve font file URLs when using the Fonts API

    • Fixed

      Prevents script deduplication inside <template> elements

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.