nuxt
4.6.4 · 2 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed
Upgrading nuxt From 0.10.4 to 0.10.7
3 releases in betweenevery note read
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
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.