Skip to content

Bump @nuxt/vite-builder and nuxt - #34

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-480efbaf6b
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-480efbaf6b

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 25, 2026

Copy link
Copy Markdown

Bumps @nuxt/vite-builder to 4.7.0 and updates ancestor dependency nuxt. These dependencies need to be updated together.

Updates @nuxt/vite-builder from 4.5.1 to 4.7.0

Release notes

Sourced from @​nuxt/vite-builder'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)
  • 38711ad fix(vite): deny dev server access to nitro server output
  • 1116c62 refactor(nuxt,vite): migrate deprecated envFile + transformInclude usage ...
  • 734e4d4 chore(deps): lock file maintenance (4.x) (#37239)
  • 1d8a59f chore(deps): update nitro (4.x) (#37237)
  • fe7063c fix(vite,kit): report missing tsconfig and vue-tsc for type checking (#37230)
  • 7ac30ef fix(vite): stop logging build progress in the serial production build (#37229)
  • 0856637 chore(deps): update all non-major dependencies (4.x) (#37219)
  • a0a9e05 fix(vite): time object-form plugin hooks in place (#37212)
  • 0c99830 feat(nuxt,schema,kit): report production builds through hooks (#37194)
  • Additional commits viewable in compare view

Updates nuxt from 4.5.1 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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [@nuxt/vite-builder](https://github.com/nuxt/nuxt/tree/HEAD/packages/vite) to 4.7.0 and updates ancestor dependency [nuxt](https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt). These dependencies need to be updated together.


Updates `@nuxt/vite-builder` from 4.5.1 to 4.7.0
- [Release notes](https://github.com/nuxt/nuxt/releases)
- [Commits](https://github.com/nuxt/nuxt/commits/v4.7.0/packages/vite)

Updates `nuxt` from 4.5.1 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/vite-builder"
  dependency-version: 4.7.0
  dependency-type: indirect
- dependency-name: nuxt
  dependency-version: 4.7.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 25, 2026

This branch has not been deployed

No deployments
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.

0 participants