nuxt
4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed
2.18.1 is the newest release of 2.x.
In short
1 deprecated10 new2 faster5 fixed7 changed10 internal
- Deprecated
core: Deprecated
render:contextandrender:routeContexthooks was not being called
Security
3 advisories affect 2.12.0; 4.6.0 fixes them
- Moderatenuxt vulnerable to Cross-site Scripting in navigateTo if used after SSRGHSA-vf6r-87q4-2vjf · 5 Aug 2024Fixed in 3.12.4
- LowNuxt: Incomplete fix for GHSA-934w-87qh-qr26: a `javascript:` URL prefixed with an ASCII control character executes from `<NuxtLink>` when `pages` is disabledGHSA-jjm6-p2m9-9w4x · 22 Oct 2026Fixed in 4.6.0
- LowCross-site scripting via <NoScript> slot content in Nuxt's head componentsGHSA-m3q2-p4fw-w38m · 16 Jun 2026Fixed in 3.21.7
Release note
Features
general: Support
crossoriginattribute in SSR script andpreloadtagsgeneral: Improve programmatic usage (see docs)
general: Expose webpack config
general: Allow disabling loading-screen
webpack: Support
@importusing~assetsin css fileswebpack: Allow disabling loading-screen
vue-app: New fetch syntax (see docs)
vue-app: Pass error as param to
nuxt-loadingfail methodvue-app: Trigger
watchParamwhen param is changed in same routecli: Pass context when
nuxt.configexports a function
DX
builder: Analyze mode warning rewording
generator: Log message or full error for unhandled error without stack trace
cli: Display listening URLs after build
vue-app: Improve missing inject value error message
vue-app: Middleware not executing on double browser back navigation
core: Better module not found handling
Performance
vue-renderer: Early return
renderwhen redirect happensvue-renderer: Don't serialize session when
injectScriptsis false
Bug Fixes
- Deprecated
core: Deprecated
render:contextandrender:routeContexthooks was not being called babel-preset-app: TypeError when import cjs in webpack building
vue-app: Use child transition name when navigating to parent
vue-app: Add fallback context for errors
vue-app: Resolve leave transition on child routes
vue-app: Move head to the index to avoid global state
webpack: Provide global
URLandURLSearchParams
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.