nuxt
4.6.4 · 2 Nov 2026MIT3.2M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgradeLatest releases
All 282 releases- 4.x · latest line
4.6.4
2 Nov 2026- breaking
nitro,nuxt: require unrouting 0.3.2
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.
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
- breaking
nitro,nuxt: require unrouting 0.3.2
nuxt: use unambiguous encoding for island hash
nuxt: do not expose details of untrusted thrown errors
nuxt: strip trailing slashes in linear time
nitro,nuxt: match route rules for paths with encoded slashes
nitro,vite: remove windows + virtual dev ssr css links after hydration
nuxt: avoid hoisting setup-only values from
definePageMetanuxt: only match hydration modifiers after lazy prefix
kit,nitro,nuxt: make emitted tsconfig/types stable across reruns
nuxt: render inlined component styles after stylesheet links
4.6.3
27 Oct 2026- security
vite: do not read files named in client error reports (
63299e13c) - GHSA-x287-wcfc-q46c - security
vite: deny dev server access to nitro dev output (
c7e204ec6) - GHSA-648h-gw55-m2g7 - security
vite: deny serving generated app secret in dev (
16dfdc2a9) - GHSA-3xf4-9g3c-4h4w
v4.6.3 is the next patch release.
Changelog
Security fixes
- security
vite: do not read files named in client error reports (
63299e13c) - GHSA-x287-wcfc-q46c - security
vite: deny dev server access to nitro dev output (
c7e204ec6) - GHSA-648h-gw55-m2g7 - security
vite: deny serving generated app secret in dev (
16dfdc2a9) - GHSA-3xf4-9g3c-4h4w - security
nitro,nuxt: handle dot segments in request paths (
440250d97) - GHSA-9v7c-q64q-vv33 - security
nuxt: apply redirect route rules to page islands (
b20372dbe) - GHSA-2fxj-c3j7-rr69
Performance
nitro,nuxt,rspack,webpack: bundle esm vue + reuse caches
nuxt: server render internal custom links without RouterLink
nuxt: skip unneeded typed routes generation
Fixes
nuxt: defer app scope cleanup on external navigation
nuxt: prevent useCookie CookieStore sync from rewriting with refresh
nuxt: only return redirects from
navigateTowhile middleware runsnuxt: remove purged entries from
_asyncDatanuxt: hide RouteLocationRaw from navigateTo's public return type
nuxt: tree-shake auto-imported
#appcomposablesnuxt: don't treat constrained route rules as covering dynamic pages
nuxt: include
shared/in build cache hashnuxt: hash keyed function ids + page import names relative to
rootDirnuxt: encode page paths before matching route rule keys
nuxt: handle rejected
updateCallbackDoneof aborted view transitionnuxt: reject case-dependent route rule constraints w/
sensitive: falsenuxt: don't case-fold regex constraints in route rule keys
nuxt: normalise page prefix when finding route rule exceptions
nuxt: avoid self-referencing
nuxt/schemaaugmentationnuxt: let nightly runtime resolve its own
nuxt/*importsnuxt: don't warn for vite+
vite.configfilesnuxt: clamp numeric
v-forsources in island renders at render timedeps: update nitropack to 2.13.5 + drop obsolete workarounds
4.6.2
16 Oct 2026nuxt: resolve rooted paths through the URL parser
nuxt: resolve empty route types in shared context
nuxt: fix scroll offset for IDs starting with numbers
v4.6.2 is the next patch release.
Changelog
Fixes
nuxt: resolve rooted paths through the URL parser
nuxt: resolve empty route types in shared context
nuxt: fix scroll offset for IDs starting with numbers
nuxt: detect vapor slots with
rawVaporSlotKeyfrom vuenuxt: keep middleware layout when restoring deferred prerendered route
nuxt: re-export
AnyFetchPathfor emitted server route typesnuxt: resolve
nuxt/appto the app's runtimenuxt,nitro: normalise string/array
appMiddlewarenuxt: don't start a page transition with no page to leave
nuxt: preserve error state on aborted or cancelled navigation
Dependency tracking · free for 3 projects
Know when your own dependencies move
nuxt had 21 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 6 Nov 2026. Releases and advisories last read 6 Nov 2026.