Your AdonisJS ecosystem, in the loop.
All insights
release

Fix handling of aborted requests in Vite middleware

· Developer impact : medium

Vite middleware in @adonisjs/vite version 6.0.4 now properly settles requests aborted by the client, such as when a browser closes a page while loading assets. Previously, aborted requests could remain in flight indefinitely, potentially blocking process shutdown. Additionally, requests passed on by Vite are no longer handled if the client connection is already closed. A known limitation affects early Node 24 releases with pipelined HTTP/1.1 requests.

What this means for your code

Developers using @adonisjs/vite may experience more reliable shutdowns and fewer hanging requests when clients abort requests. No breaking changes or required code modifications are indicated. Awareness of a Node.js version limitation is advised.

  • Upgrade @adonisjs/vite to version 6.0.4 to benefit from the fix.
  • Test application behavior when clients abort requests, especially if using early Node 24 versions.

Original sources

AI-generated analysis based on the linked sources. Check the original documentation before changing your application.

Independent ecosystem watch. Sources linked in every insight.Built with AdonisJS · AI-assisted summariesBy Jérémy Chaufourier · chaufourier.fr