nuxt
4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed
2.18.1 is the newest release of 2.x.
In short
1 breaking3 deprecated13 new13 fixed2 changed15 internal
- Breaking
👉 Minimum required node version is
8.9.0 - Deprecated
👉
scrollBehavioroption is deprecated in favor ofapp/router.scrollBehavior.js - Deprecated
👉
devModulesoption is deprecated in favor ofbuildModules - Deprecated
vue-app: Support
app/router.scrollBehavior.jsand deprecatescrollBehavior
Security
3 advisories affect 2.9.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
Important Notes
- Breaking
👉 Minimum required node version is
8.9.0 👉 Typescript support is now externalized. Refer to official docs and migration guide.
👉
vue-metaupgraded to 2.0.0. Please refer to the changelog to review notable changes.- Deprecated
👉
scrollBehavioroption is deprecated in favor ofapp/router.scrollBehavior.js - Deprecated
👉
devModulesoption is deprecated in favor ofbuildModules
Bug Fixes
general: Fix
modulepreloadwarningsgeneral: Throw error when building failed in quiet mode
general: Support babel corejs config for modern mode
general: Babel polyfill can not be disabled
renderer: Correctly load
nomodulescripts in safari 10cli: Prevent both
nuxt&nuxt-edgebeing installedvue-app: Emit
triggerScrollto support hash navigationvue-app: Fix font-size and make width bigger
vue-app: Always finish
transition.leaveasynchronouslyvue-app: Fix position of the build indicator when page scrolled
vue-renderer: Call
render:resourcesLoadedhook beforecreateRenderervue-renderer: Clone SPA meta to prevent cache modification
webpack: Extract css breaks hmr and source-maps
Features
cli: Export options
server: Allow passing
loadingTimeoutand other arguments torenderAndGetWindowwebpack: Allow function entries for
build.transpilevue-app: Add
$nuxt.refreshvue-app: Use EventSource instead of WebSocket for build indicator
- Deprecated
vue-app: Support
app/router.scrollBehavior.jsand deprecatescrollBehavior vue-app: Add
<client-only> alias for<no-ssr>vue-app: Allow customizing loading indicator
vue-app: Add
$nuxt.refresh()method or refresh the actual pageasyncDataandfetchvue-app: Export router options
vue-app: Support functional
watchQueryvue-renderer: Add csp option for csp v1 compatibility
vue-renderer: Support prepend/append body tags during ssr for all allowed tag types
typescript: Externalize typescript support
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.