@nuxt/rspack-builder
4.6.4 · 2 Nov 2026MIT590 / weekRepositoryHomepagenpmAtom feed
In short
2 fixed5 changed16 internal
Release note
The section about @nuxt/rspack-builder of a note shared by several packages.
4.6.4 is a security release. It fixes eight advisories in Nuxt and pulls in
nitropack2.13.6, which fixes three more in Nitro. We recommend upgrading as soon as you can.
Behaviour changes
These probably won't affect most apps, but it's worth flagging anyway:
Error details in production. When a page fails to render on the server, the error page and the payload now only carry message and data of errors you create with
createError. Everything else is stripped.Dev server
Hostchecks. Webpack and rspack dev servers now reject requests with an unexpectedHostheader, as Vite already does. If you use a custom hostname or tunnel, you'll need to add it to the newdevServer.allowedHostsoption.workspaceDirdetection. WhenworkspaceDirisn't set, Nuxt now only widens it pastrootDirto an explicit workspace root or the closest git repository.Nitropack cached routes.
cache,swrandisrroute rules now only cacheGETandHEADrequests, and no longer store responses that set a cookie or sendCache-Control: privateorno-store. Wildcardproxyandredirectrules also reject requests whose resolved target would leave the rule's scope.Route rules and encoded slashes. Route rules now match paths that contain encoded slashes, so
/api%2Fadminis covered by a/api/**rule.
Changelog
Fixes
rspack,webpack: reject unexpected Host headers in dev middleware
nitro,vite: remove windows + virtual dev ssr css links after hydration
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.