Skip to content

v4.0.0 - #1482

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
release/v4.0.0
Draft

v4.0.0#1482
github-actions[bot] wants to merge 1 commit into
mainfrom
release/v4.0.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

v4.0.0 is the next major release.

Timetable: to be announced.

🎉 Highlights

Nuxt CLI v4 is a performance, feature and DX-focused release.

Watch this space to keep up-to-date on what's coming! 🔥

Breaking changes

We're taking the opportunity to adopt the following breaking changes:

  • we're dropping support for @nuxt/bridge (as Nuxt 2 has been EOL for some time now).
  • we now require Node v22.19+, v24.11+, or v26+

Performance

We're working to reduce the dependency count and total install size. You can track the current progress here.

image

👉 Changelog

compare changes

🩹 Fixes

  • curl: suggest a path every project serves when the URL is missing (14c16bf)
  • dev: suggest a route that exists, only where it can be read (354d42b)
  • cli: drop clack gutter framing from redirected output (39420c9)
  • dev: only draw the startup QR code in a terminal (3904632)

❤️ Contributors

@danielroedanielroe reopened this Aug 24, 2026
@pkg-pr-new

Copy link
Copy Markdown
  • nuxt-cli-playground

    npm i https://pkg.pr.new/create-nuxt@1482
    
    npm i https://pkg.pr.new/nuxi@1482
    
    npm i https://pkg.pr.new/@nuxt/cli@1482
    

commit: 489c15f

@github-actions

Copy link
Copy Markdown
ContributorAuthor

CLI benchmark

@nuxt/cli v3.37.0 (baseline) vs v4.0.0 (this PR)

Metricbaseline v3.37.0head v4.0.0Delta
nuxt --version wall time (median)66 ms63 ms-4.9%
nuxt --help wall time (median)137 ms137 ms-0.4%
nuxt dev --help wall time (median)103 ms102 ms-0.9%
nuxt --version modules loaded38380.0%
nuxt --help modules loaded1351350.0%
nuxt dev --help modules loaded80800.0%
Installed node_modules2.32 MB2.32 MB-0.0%
Published tarball (packed)264.7 kB264.7 kB0.0%
Full report

@nuxt/cli v3.37.0 (baseline) vs v4.0.0 (head)

SettingValue
Baselineref:fb86ed4b60b43603c76f6b18ff976b5440a29dbe (v3.37.0)
Headlocal packages/nuxt-cli at b736794 (v4.0.0)
Nodev24.19.0
OSLinux 6.17.0 (kernel 6.17.0-1022-azure)
CPUAMD EPYC 7763 64-Core Processor x 4
Memory15.6 GB
Load average at start1.40, 0.44, 0.15
Run started2026-08-24T07:46:08.010Z

Cold CLI startup

Median of 15 interleaved runs per command, one warmup discarded.

Commandbaseline v3.37.0 medianhead v4.0.0 medianDeltabaseline v3.37.0 min / p95head v4.0.0 min / p95
nuxt --version66 ms63 ms-4.9%62 ms / 69 ms61 ms / 66 ms
nuxt --version (first output byte)62 ms59 ms-5.2%58 ms / 65 ms57 ms / 62 ms
nuxt --help137 ms137 ms-0.4%132 ms / 139 ms133 ms / 139 ms
nuxt --help (first output byte)133 ms132 ms-0.4%127 ms / 134 ms128 ms / 133 ms
nuxt dev --help103 ms102 ms-0.9%101 ms / 107 ms100 ms / 107 ms
nuxt dev --help (first output byte)99 ms97 ms-1.2%96 ms / 102 ms96 ms / 102 ms
nuxt <unknown-command> (no-op)147 ms146 ms-0.3%144 ms / 150 ms142 ms / 148 ms
nuxt <unknown-command> (no-op) (first output byte)142 ms141 ms-0.6%139 ms / 145 ms137 ms / 143 ms

Module load cost

Counted with a module.registerHooks load hook, compile cache disabled. Counts every JS module actually evaluated on that code path (built-ins excluded, native addons excluded).

Commandbaseline v3.37.0 moduleshead v4.0.0 modulesDeltabaseline v3.37.0 source byteshead v4.0.0 source bytesDelta
nuxt --version38380.0%291.7 kB291.7 kB-0.0%
nuxt --help1351350.0%976.8 kB976.8 kB-0.0%
nuxt dev --help80800.0%586.0 kB586.0 kB-0.0%

Install footprint and published tarball

Each version installed on its own into an empty project with nothing but @nuxt/cli as a dependency, so the tree is exactly the CLI and its transitive dependencies. npm cache is warm and the registry is only consulted for metadata, so install wall time is indicative, not a network benchmark.

Metricbaseline v3.37.0head v4.0.0Delta
Direct dependencies of @nuxt/cli21210.0%
Packages in the installed tree (unique name@version)34340.0%
Unique package names34340.0%
Package directories on disk (cross-check)28280.0%
Installed node_modules on disk2.32 MB2.32 MB-0.0%
Installed files4194190.0%
Install wall time (warm npm cache, median of 3)690 ms689 ms-0.1%
Published tarball (packed)264.7 kB264.7 kB0.0%
Published tarball (unpacked)921.5 kB921.5 kB-0.0%
Files in tarball1311310.0%

Interleaved runs on a shared runner: trust the deltas, not the absolute timings. The dev, restart and build suites run locally via pnpm bench:cli.

@codspeed-hq

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 2 untouched benchmarks


Comparing release/v4.0.0 (489c15f) with main (fb86ed4)

Open in CodSpeed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@danielroe