astro@7.0.7
📦 astroView on GitHub →
🐛 5 fixes🔧 3 symbols
Summary
This patch release focuses on stability and correctness, fixing several bugs related to CSS handling in development and build, dev server memory leaks, and dynamic route matching.
🐛 Bug Fixes
- Fixes CSS module scoped-name hash mismatch in `astro dev` when using `vite.css.transformer: 'lightningcss'` with content collections, preventing styles from applying correctly.
- Fixes a dev server memory leak that caused Node.js to emit warnings in the console.
- Fixes a dev server crash when a .html or /index.html suffixed request matched a dynamic endpoint route, avoiding a `TypeError: Missing parameter` error.
- Fixes a bug where CSS @import rules could end up mid-stylesheet after inline CSS chunks were merged during build, causing browsers to ignore them.
- Fixes a build regression that could leave unresolved preload markers in inlined scripts with external dynamic imports.