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
Security
11 advisories still affect 6.2.0
- Astro: Remote code execution through AVIF image optimizationcritical · GHSA-26w7-cxv4-gfx2
- Astro: Host header SSRF in prerendered error page fetchhigh · GHSA-2pvr-wf23-7pc7
- Astro: Authorization bypass from missing path-segment boundary check when stripping the configured basemoderate · GHSA-376h-93r7-7g6f
Upgrading to 7.4.7 clears them.
Release by release
- New
Adds a
waitUntiloption to theRenderOptionsso that adapters can forward runtime background-task hooks to Astro. - New
Ensures that
server.allowedHosts(andvite.preview.allowedHosts) configuration is respected when usingastro previewwith the@astrojs/cloudflareadapter. This improves security by preventing DNS rebinding attacks when previewing Cloudflare builds locally. - New
Adds support for a new
'jsx'value for thecompressHTMLoption. 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
svgOptimizerthat enables automatic optimization of your SVG components using the provided optimizer. This supersedes thesvgoexperimental 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
- New
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.