Skip to content

Faster manifests and reliable Vite startup

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Sep 20:04
· 2 commits to 6.x since this release
Immutable release. Only release title and notes can be modified.

Vite now starts before the AdonisJS application accepts requests. This removes the startup race where early requests could reach the application before the development server was ready. The server reference is also cleared after shutdown, keeping its lifecycle state accurate.

Asset tag generation is faster for large manifests. Chunks are now indexed once by output filename instead of scanning the entire manifest for every imported CSS file. This changes that lookup work from O(N × C) to O(N + C), where N is the manifest size and C the number of imported CSS files.

This release also fixes the Shield @viteUrl CSP keyword when assets are served from an HTTPS URL, such as a CDN.

@adonisjs/core 7.5.0 or newer is now required.