nuxt
4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed
2.18.1 is the newest release of 2.x.
In short
1 deprecated5 new13 fixed8 internal
- Deprecated
vue-app: rename
transitiontopageTransitionand deprecate it
Security
3 advisories affect 2.7.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
DX Improvements
SSR logs in your browser
We all know the console.log debugging method, but when working with universal applications, you have to remember that sometimes, your logs are in your terminal and not in your browser console.
This can be really annoying when developing a Nuxt.js application, starting with this version and running nuxt dev, the ssr logs are now reported to your browser console:
nuxt-logs-ssr
Detecting store/ creation
Nuxt.js now detects when you created a store/ directory and will reload himself auto-magically so you don't have to restart it anymore.
nuxt-store-watch
PS: We also improved the serverMiddleware watch to restart Nuxt.js and clean their cache
Fixes
builder: corretly detect mode of hashed plugins
builder: call
watch:restartafterwatch:fileChangedhookutils: node v8 not support dotAll in regex
vue-app: properly catch component loading error (#5687)
vue-app: consider
watchQueryoption inrouterViewKeyvue-renderer: await on
spa:templateParamshookwebpack: set log level to warn for
HardSourcePluginvue-app: properly catch loading error in component prefetching
vue-app: avoid using aliases in templates
builder: watch store dir and
serverMiddlewarepaths
Features
- Deprecated
vue-app: rename
transitiontopageTransitionand deprecate it vue-renderer/vue-app: report SSR console logs to the browser with consola
webpack: suppress not found typescript warnings
webpack: extendable
babel.presetsand babelenvNameConfigurable aliases
Typescript
Only for typescript users, Nuxt.js v2.7 dropped support for node < 8.6 relate to ts-loader v6
Add babel config types
Fix
context.apptypeFix
extendRoutesmethod typePrevent
ts-nodeto register twice
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.