Change8

astro@6.4.5

📦 astroView on GitHub →
🐛 3 fixes🔧 6 symbols

Summary

This patch release addresses several bugs, including issues with logger destination usage on startup and incorrect URL reflection behind proxies. It also reverts a change that caused build time regressions for certain users.

🐛 Bug Fixes

  • Fixes the issue where the destination configured in `experimental.logger` was not used for the "Server listening on..." startup message by resolving the logger before the server starts and ensuring `adapterLogger` updates when the underlying logger changes.
  • Fixes `Astro.request.url` not reflecting validated `X-Forwarded-Proto`/`X-Forwarded-Host` headers when `security.allowedDomains` is configured, ensuring it matches `Astro.url` behind TLS-terminating proxies.
  • Reverts a change to `isNode` runtime detection that caused a significant build time regression for Cloudflare adapter users with large prerendered sites.

Affected Symbols