nuxt
4.6.4 · 2 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed
1.4.5 is the newest release of 1.x.
In short
24 new11 fixed1 internal
Security
3 advisories affect 1.0.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
1.0.0 is out! :tada
It's been a long run and we are really proud to announce the official 1.0 release. Thank you so much for your support and we are looking forward to hear your feedback :heart:
Medium article: medium.com/@nuxt_js/nuxt-js-1-0-is-out-bab1af45…
Breaking changes
:warning: Minimum Node.js version required for Nuxt.js is also increased to 8.0.0 (Current LTS). This allows notable security and performance improvements for both Nuxt and SSR rendering by using native async/awaits and making development easier. So don't forget to upgrade Node to the latest version in both server and your local environment ;)
We have a new internal hook system now, some modules can be broken with 1.0 if they were relying on this.nuxt.plugin(), instead, they will have to use this.hook(), see module hooks documentation.
We removed the internal extensions for .ts, if you want to use TypeScript into Nuxt.js, we recommend you to check out our typescript example.
Deprecation
For the below depreciation, it will still work but you will get a warning to tell you to change your code to the new value.
For better bundling experience for server-side and client-side, we deprecated context.isClient and context.isServer in flavor of process.client and process.server. Since these variables comes from our webpack configuration, it will optimize your client-side and server-side bundles magically :nail_care:
We also deprecated dev property inside build.extend() in flavour of isDev.
Features
We are now ignoring files starting with a
-in front of its filename (example:pages/-ignored.vue) (PR #2417)Layout transitions #1620
Add
route.meta(array of matched page.meta) into context, useful for middleware (see details)Middleware: You can now define middleware as a function, see example
Store: you now have access to
this.$routerandthis.appinside your store actions!You can set
body: true, in yourhead.scriptto move your scripts at the end of<body>(see example)nuxt generate --no-build: Useful for conditions when just dynamic routes are being changed. This makes incremental builds much faster.Hooks: You can extend even further Nuxt by using hooks now, the documentation is coming soon.
New configuration: build.styleResources, check out our style-resources example.
Improvements
Upgrade to Vue-Router & Vuex to 3.0
No more babel warning #1698
Adds support for folders in /layouts #1865
Mode
spa: Respect mounted hook on first render (fix #1629)Add
--version&-vflag tonuxtbinary (you can donpx nuxt -vto know which version of nuxt.js you are using in your project) #1840Improve error message when a plugin is not found #1846
Add
ENVvariable intoapp.html, corresponds toenvfrom yournuxt.config.jsContext is shared across plugins and pages (useful for axios interceptor with
redirect), it also improves perfs!Improved plugins system
Better
nuxt devexperience with faster and more stable reloadsSSR performance improvements thanks to node async/awaits
Allow redirects to external URL
Support
options.modulesDiras ArrayUpgraded uglifyjs with parrallel options as default for faster builds
Fixes
Fix error handler if error message is readonly #1673
Update
.gitignore#1860Generate: Don't assume
/index.htmlexists when copying to 200.html #1937head.titleTemplatewith function is now working (fix #1886)Fix nuxt-start dependencies
Fix Memory leak with
inject: #1695Fix unexpected state resetting on nested views (fix #1408 via #1914)
Fix layouts in SPA mode
Improve Webpack rebuilding without reason (6dfe660)
Update
no-ssrto v0.2.1 #2181
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.