nuxt
4.6.4 · 2 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed
Upgrading nuxt From 0.7.5 to 0.10.7
31 releases in betweennotes for 30
- 7+
- changes to make
- 0
- advisories fixed
- 78+
- new
- 32+
- fixes
Counted from 30 of 31 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking0.10.0
- Breaking0.10.0
- Breaking0.10.0
- Breaking0.9.3
- Breaking0.9.3
- Breaking0.8.0
- Breaking0.8.0
Security
3 advisories still affect 0.10.7
- Nuxt: Incomplete fix for GHSA-934w-87qh-qr26: a `javascript:` URL prefixed with an ASCII control character executes from `<NuxtLink>` when `pages` is disabledlow · GHSA-jjm6-p2m9-9w4x
- Cross-site scripting via <NoScript> slot content in Nuxt's head componentslow · GHSA-m3q2-p4fw-w38m
- nuxt vulnerable to Cross-site Scripting in navigateTo if used after SSRmoderate · GHSA-vf6r-87q4-2vjf
Upgrading to 4.6.0 clears them.
Release by release
- New
Add
generate.intervalto wait X ms between every render onnuxt generate(@jroxendal via #617) - New
Add
--config-fileoption innuxt devmode (@alexmoreno via #592) - New
Add chunkNames on Webpack for code-splitted pages and layouts:
- Fixed
The bundles are now directly in the
distfolder when usingnuxt generatewithpublicPathbeing an URL (fix #612) - Fixed
Lock version for Vue ~2.2, we are working on implementing Vue 2.3 as soon as possible! (@qm3ster via #637)
- New
- New
Introduction of
injectAsproperty for the plugin. It let you inject your plugin in the root application and also in the context, see i18n example which now use vue-i18n. Also checkout the documentation about it. - New
Nuxt.js is now compatible with vue-class-component, see example.
- New
Offline usage (one step forward to PWA!) is now possible via an
offlineoption in thenuxt.config.js(thanks to @rohitpal99 via #372), it's actually a WIP, you can look at the offline example to learn more about it. - New
You now have access to
thisin thedatahook :fire: - New
Give
nuxtinstance as context (this) tobuild.extendmethod (@any35 via #488) - New
Add
storeparameter in validate method (@agoalofalife via #507) - New
Add
babel-preset-es2015in dependencies to avoid error with some external libraries
- New
- New
Nested Vuex modules are now possible via the file API (@rhwilr via #447), see the vuex-store-modules example
- New
Nuxt.js extracts
manifest.[hash].jsto bundle the webpack runtime code, improving the vendor bundle cache possibilities (see Webpack doc). The filename is customisable, see build.filenames.manifest.
- New
- New
We can now specify the watchers options for chokidar and webpack via
nuxt.config.js: - New
Show url after each build #443
- New
- New
Watch
middlewareandstorewith chokidar to avoid restarting the app when these folders are created during development. - New
Add store in context before hydrating the client (@evseevn via #442, fix #445)
- New
- Breaking
This should be the last release with a breaking change before the
1.0! - Breaking
datais nowasyncDatafor pages components, it's notasyncDatawhich receives the context and can be asynchronous, this is to respect the vue.js methods. It also fix the mixins withdata. If you used the context in yourdatamethods, please rename them toasyncDatastarting from this release. See updated documentation. - Breaking
Static Generated:
generate.routeParamsis replaced bygenerate.routeswhich has to be an array of dynamics routes called by Nuxt, see updated documentation. - New
Nuxt.js use Vue 2.2.5 and its rendering feature for CSS, no more CSS extracted, only the strict minimum CSS is now included in every page server-rendered!
- Breaking
9 other lines we could not sort, mostly version bumps
- 0.9.5
The build of Nuxt.js does not use
babel-polyfillbut directly the required polyfills - 0.9.0
100% coverage with a lot of tests because it's really important for us to deliver a reliable framework
- 0.9.0
The ability to add middleware to your routes, useful for having routes that need the user to be authenticated first
- 0.9.0
config.build.publicPath, see #25 - 0.9.0
nuxt.renderStreamandnuxt.renderRouteStream, see #26 - 0.9.0
Generate filenames with chunkName for avoid CDN caching
- 0.9.0
A complete documentation on nuxtjs.org
- 0.9.0
Real-life examples
- 0.9.0
Improvements and bug fixes
16 internal lines (docs, tests, tooling) left out.
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.