Change8

astro@6.1.2

📦 astroView on GitHub →
🐛 3 fixes🔧 2 symbols

Summary

This patch release addresses several bugs, including issues with preview host configuration, static asset interception in middleware mode with the Node adapter, and improved Zod validation error formatting.

🐛 Bug Fixes

  • Fixed an issue where `astro preview` ignored `vite.preview.allowedHosts` configured in `astro.config.mjs`.
  • Resolved a bug where catch-all routes improperly intercepted requests for static assets when using the `@astrojs/node` adapter in middleware mode.
  • Fixed Zod v4 validation error formatting to display human-readable messages instead of raw

Affected Symbols