We originally planned Nuxt 4 for June 2024, but things don't always go according to plan. I think it's appropriate to take a different approach:
👉 Nuxt 4 entered Release Candidate (RC) stage on July 8, 2025, with a stable release coming soon. Nuxt 5 will come later once Nitro v3 is ready.
Honestly, in hindsight I think we should have shipped Nuxt v4 last year. It would have aligned better with our once-a-year plan for careful major releases.
On the other hand, it has allowed time for testing across countless projects, by opting in to Nuxt 4 breaking changes with a single flag. I think that we should go ahead and ship these changes as Nuxt v4 for two reasons:
compatibilityVersion: 4 in production. This option was intended only for testing, but it has proven solid enough for production use. We want to make it official, and give these teams the protection of a stable release.What's more, going forward we're going to do our best to decouple Nuxt releases from our key dependencies, like Vite or Nitro.
Nuxt 4 includes all the features you've been testing with compatibilityVersion: 4:
app/,结构更清晰,IDE 性能更佳useAsyncData 和 useFetch,具备更好的缓存和清理机制<KeepAlive> 现在显示与 Nuxt 自动导入相同的名称…以及许多其他改进,详见升级指南。我们还将发布若干额外改动,包括:
我们不会延迟 Nitro v3 的采用。我们计划 Nuxt 5 与 Nitro v3 同时发布,时间与我们最初计划一致,即使那是在 Nuxt v4 发布几个月之后。
尽管过去一年经历了延迟,Nitro 的进展非常惊人。作为整个团队,我们对 Nitro v3 和 h3 v2 的规划感到非常兴奋。
虽然 Nuxt 4 初期不会包含这些升级,但 Nuxt v4 和 Nitro v3 同步发布,将使我们在 Nuxt 5 推出时能够更彻底地测试 Nuxt 和 Nitro 在整个生态系统中的表现。
Nuxt 4 稳定版本首次发布后,我们会继续维护和支持 Nuxt 3 —— 并且在 Nuxt 5 发布后仍同时支持 Nuxt 3 和 Nuxt 4。我们有意将这些版本的支持周期设为 六个月,因为我们相信升级路径会很顺利。
(我发布 Nuxt 4 升级版本的主要目标是保证升级尽可能顺畅。)
不过,我会密切关注生态系统升级的速度和成效。如果出现问题,我肯定会延长那六个月的维护支持期。我们绝不希望抛弃任何用户。
这一段时间内,意味着我们会在三个版本之间积极回溯特性和修复。但我认为这很值得。毕竟——过去一年我们就是这样为 Nuxt 4 做准备的。
| Nuxt 3 | 持续更新直至 2025 年底 |
| Nuxt 4 | 支持至 2026 年中(预计) |
| Nuxt 5 | 按照我们通常的模式提供长期支持 |
Nuxt v4 现在处于 候选发布 (RC) 阶段!我们希望早期采用者进行测试。请向 Nuxt 或您可能使用的任何模块报告问题。
接下来几周你可以期待以下内容:
3.x、4.x 和(即将)5.x 文档之间切换。main 分支分离到 4.x,以采用 h3 和 nitro 的边缘版本,并开始开发 Nuxt 5。我对这个时间表感到非常兴奋 —— 感谢你们过去一年以来的耐心和信任!