nuxt
4.6.4 · 2 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed
Upgrading nuxt From 0.7.9 to 0.8.0
1 release in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.8.0
- Breaking0.8.0
Security
3 advisories still affect 0.8.0
- 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
- Breaking
The layouts has been moved to the layouts/ directory for better architecting. Which have to move your
pages/_app.vuetolayouts/app.vueandpages/_error.vuetolayouts/error.vue - Breaking
When used programmatically, you now have to call
nuxt.build()becausenew Nuxt(options)is not launching anymore the build automatically. - New
Add
nuxt.renderAndGetWindow(jsdom, url)method to render the url and sent back thewindowobject, useful for test purposes (see examples/with-ava/)
- Breaking
1 internal line (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.