# Astro astro@6.2.0 — Release & Upgrade Intelligence
- **Product:** Astro (https://astro.build)
- **Version:** astro@6.2.0
- **Released:** Apr 30, 2026
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/astro/updates/astro-6.2.0/

## Executive Summary (TL;DR)
Astro astro@6.2.0. Source highlight: Adds a `waitUntil` option to the `RenderOptions` so that adapters can forward runtime background-task hooks to Astro.

## New Features
- Adds a `waitUntil` option to the `RenderOptions` so that adapters can forward runtime background-task hooks to Astro.
- 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.
- Adds experimental support for configurable log handlers.
- 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.
- Adds a new `experimental_getFontFileURL()` method to resolve font file URLs when using the Fonts API

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

## Bug Fixes
- Prevents script deduplication inside `

## Upgrade Command
```bash
npm install --save-exact astro@6.2.0
```
