Skip to content

fix(deps): bump nuxt from 4.6.4 to 4.7.0 in /web - #1105

Merged
AchoArnold merged 1 commit into
mainfrom
dependabot/npm_and_yarn/web/nuxt-4.7.0
Dec 1, 2026
Merged

AchoArnold merged 1 commit into
mainfrom
dependabot/npm_and_yarn/web/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

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
nuxt [>= 3.a, < 4]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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 added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 1, 2026
@AchoArnold
AchoArnold merged commit 6b79b66 into main Dec 1, 2026
10 checks passed
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant