AnalogJS 2.4: Vite 8, Vitest Snapshot Serializers, Astro v6 Support, and more!
We are excited to announce the release of Analog 2.4! This release brings Vite 8 support, significant testing improvements for Vitest w/ Angular, and an updated Astro Angular integration. Let's div...

Source: DEV Community
We are excited to announce the release of Analog 2.4! This release brings Vite 8 support, significant testing improvements for Vitest w/ Angular, and an updated Astro Angular integration. Let's dive in. Vite 8 Support β‘οΈ Analog 2.4 updates to the stable release of Vite 8.0.0. This is a major ecosystem alignment that brings several benefits: Rolldown bundler: Vite 8 introduces Rolldown, a Rust-based bundler, as an alternative to esbuild for optimization. Analog's Angular Vite plugin now detects Rolldown availability and uses OXC-based compilation when available. Vite Environment API: Analog leverages the new Environment API for managing client and server configurations, particularly in the Astro Angular integration. Backward compatibility: Analog integrations continue to support Vite 5 through 8, so you can upgrade at your own pace. Vitest DX Improvements π§ͺ Reusable Snapshot Serializers Writing snapshot tests for Angular components often produces noisy output filled with framework inte