nuxt
4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed
Upgrading nuxt From 3.21.11 to 4.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 25
- changes to make
- 0
- advisories fixed
- 31
- new
- 31
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
Security
21 advisories still affect 4.0.0
- Nuxt: Unauthorized Component Instantiation via Server Island Propsmoderate · GHSA-48hr-524c-v5w3
- Nuxt dev server vite-node IPC socket is world-connectable on Linuxmoderate · GHSA-534h-c3cw-v3h9
- Nuxt: Route rules are matched against the raw request path, so a percent-encoded segment can bypass `appMiddleware` on dynamic and catch-all routesmoderate · GHSA-6gq8-jgmh-3ffp
No published version clears them all yet.
Release by release
- Breaking
This is a stability-focused major release, introducing a few thoughtful breaking changes in order to improve development experience.
- Breaking
Although any major release brings breaking changes, one of our main aims for this release is to ensure that the upgrade path is as smooth as possible.
- Breaking
nuxt: ⚠️ Don't call
render:htmlfor server islands - Breaking
schema,vite: ⚠️ Do not allow configuring vite dev bundler
- Breaking
4 other lines we could not sort, mostly version bumps
- 4.0.0
Nuxt 2 compatibility has been removed from
@nuxt/kit. (This will particularly affect module authors.) - 4.0.0
Some legacy utilities and deprecated features have been cleaned up.
- 4.0.0
The new TypeScript setup might surface some type issues that were hidden before.
- 4.0.0
A few modules might need further updates for full Nuxt 4 compatibility.
50 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.