Skip to content

chore(deps): bump nuxt from 4.6.4 to 4.7.0 - #54

Merged
sagar-kap merged 1 commit into
mainfrom
dependabot/npm_and_yarn/nuxt-4.7.0
Dec 3, 2026
Merged

sagar-kap merged 1 commit into
mainfrom
dependabot/npm_and_yarn/nuxt-4.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps nuxt from 4.6.4 to 4.7.0.

Release notes

Sourced from nuxt's releases.

v4.7.0

v4.7.0 is the next minor release.

📣 Some news

🧪 Try Nitro v3 today

You can now build your Nuxt 4 app with Nitro v3 (#37101). Nitro v3 is what Nuxt 5 is built on, so this is a way to move your server code (and your modules) over before you upgrade Nuxt itself.

There's no config to change. Just add nitro to your dependencies:

npm install nitro

If nitro is in your package.json, Nuxt builds with Nitro v3. To go back, just remove it.

[!CAUTION] This is highly experimental. Nitro v3 is still a release candidate, and there are no guarantees. Please try it on a branch, not in production. 🙏

Do give Nitro v3 a try! On our benchmark app with about 170 pages, the same app on 4.7 served 33% more requests per second on its home page with Nitro v3 than with Nitro v2 (926 to 1,236), and 44% more on a page with 1,000 links (219 to 316), with identical HTML.

On Nuxt 4, Nitro v3 runs with a compatibility layer, nitroLegacy, which keeps imports from h3, nitropack and #imports resolving, keeps the Nitro v2 auto-imports, useRuntimeConfig(event), event.node and the Nitro v2 hooks working, and keeps a long list of h3 v1 behaviours. Once things work, set nitroLegacy: false to find the code that still depends on it.

A few things change with Nitro v3 regardless. The main one is route rules: /blog/* now also applies to /blog/2026/hello. Nuxt warns about each rule whose meaning changes (NUXT_B4029), and stops on a rule with more than one wildcard, like /api/*/items/**, which you can rewrite with a named parameter (/api/:id/items/**). Your app matches route rules the same way as the server, so Nuxt-only rules like appMiddleware and ssr apply to the same paths on both.

The other is imports. If your server code imported a package your app didn't depend on, Nitro v2 fell back to Nuxt's own dependencies. Nitro v3 doesn't, so nuxt dev fails with something like Cannot find package 'ufo'. Make sure every package your server code imports is in your package.json. The upgrade guide has the full list.

If something breaks for you (and it might), please open an issue and mention Nitro v3. ❤️

🖥️ Nuxt CLI 4.1

Nuxt 4.7 also comes with Nuxt CLI 4.1. The most visible change is that the CLI now renders the whole production build itself, from a set of new build hooks, with every builder and server builder (thanks to @​atinux, nuxt/cli#1662, #37194):

nuxt generate shows the prerendered routes in the same way, and ends by suggesting where to deploy. Logs from Nuxt and modules stay inside the build output rather than breaking out of it (nuxt/cli#1705), and with nitropack v2.14 a route that fails to prerender is listed with the pages that link to it (#37245).

There's more:

  • nuxt dev --https serves over HTTP/2 (thanks to @​ProgramRipper, nuxt/cli#1694)
  • you can click and scroll inside the panes of the dev panel (thanks to @​Flo0806, nuxt/cli#1665)
  • copying a URL or an error works without a system clipboard, for example over SSH or in a container (nuxt/cli#1693)
  • new nuxt module build and nuxt module prepare commands for module authors (nuxt/cli#1687), paving the way for @nuxt/module-builder v2, built on tsdown with support for TypeScript 7.1 (watch this space!)

👀 Highlights

🤖 WebMCP (experimental)

... (truncated)

Commits
  • 444b852 v4.7.0 (#37177)
  • b5a243d fix(nuxt,nitro,vite): match route rules for paths with repeated slashes
  • 2bcefcc fix(nitro): apply route rules to payload urls
  • f9f9af2 fix(nuxt): reject undeclared hasOwnProperty island prop with `inheritAttrs:...
  • 64b35c8 fix(nuxt): extend reserved island root prop keys
  • c5b105a perf(nuxt): defer unhead for default error pages until an error renders (#37243)
  • 1116c62 refactor(nuxt,vite): migrate deprecated envFile + transformInclude usage ...
  • 734e4d4 chore(deps): lock file maintenance (4.x) (#37239)
  • a571c73 fix(nuxt): leave an object with a writeOnly property out of webmcp tool s...
  • f501b73 fix(kit): resolve vue from the app rather than from nuxt (#37235)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Label for keeping a track of dependency updates label Dec 1, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/nuxt-4.7.0 branch 3 times, most recently from dcee1ee to a6d762b Compare December 3, 2026 09:53
Bumps [nuxt](https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt) from 4.6.4 to 4.7.0.
- [Release notes](https://github.com/nuxt/nuxt/releases)
- [Commits](https://github.com/nuxt/nuxt/commits/v4.7.0/packages/nuxt)

---
updated-dependencies:
- dependency-name: nuxt
  dependency-version: 4.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/nuxt-4.7.0 branch from a6d762b to 7425b23 Compare December 3, 2026 09:59
@sagar-kap
sagar-kap merged commit 63429a1 into main Dec 3, 2026
1 check passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/nuxt-4.7.0 branch December 3, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Label for keeping a track of dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant