Change8

astro@6.0.0-alpha.4

Breaking Changes
📦 astroView on GitHub →
1 breaking1 features🔧 2 symbols

Summary

This release removes the ability to render Astro components in Vitest client environments and improves error reporting for Zod union types.

⚠️ Breaking Changes

  • Astro components can no longer be rendered in Vitest client environments. This affects tests using the Container API in browser-like environments.

Migration Steps

  1. Review Vitest tests that render Astro components in client environments and consult the v6 upgrade guidance for alternatives.

✨ New Features

  • Improved Zod union type error messages to display expected vs. received types instead of a generic 'Invalid input' message.

🔧 Affected Symbols

astro/containerVitest