Skip to content

v4.0.1 - #1598

Merged
danielroe merged 4 commits into
mainfrom
release/v4.0.1
Oct 9, 2026
Merged

v4.0.1#1598
danielroe merged 4 commits into
mainfrom
release/v4.0.1

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

v4.0.1 is the next patch release.

Timetable: to be announced.

👉 Changelog

compare changes

🩹 Fixes

💅 Refactors

  • add: use package-manager-detector workspace + deno handling (c1e0e9ee)

✅ Tests

🎉 New Contributors

❤️ Contributors

@danielroe
danielroe marked this pull request as ready for review October 9, 2026 10:41
@danielroe
danielroe self-requested a review as a code owner October 9, 2026 10:41
@pkg-pr-new

pkg-pr-new Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
  • nuxt-cli-playground

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

commit: cde58a9

@codspeed

codspeed Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 2 untouched benchmarks


Comparing release/v4.0.1 (cde58a9) with main (f2e6cde)

Open in CodSpeed

@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor Author

CLI benchmark

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

Metric baseline v4.0.0 head v4.0.1 Delta
nuxt --version wall time (median) 66 ms 67 ms +1.3%
nuxt --help wall time (median) 145 ms 143 ms -1.2%
nuxt dev --help wall time (median) 107 ms 106 ms -0.7%
nuxt --version modules loaded 35 35 0.0%
nuxt --version built-ins loaded 27 27 0.0%
nuxt --help modules loaded 135 135 0.0%
nuxt --help built-ins loaded 87 87 0.0%
nuxt dev --help modules loaded 64 64 0.0%
nuxt dev --help built-ins loaded 87 87 0.0%
Installed node_modules 2.46 MB 2.46 MB -0.0%
Published tarball (packed) 241.5 kB 241.4 kB -0.0%
Full report

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

Setting Value
Baseline ref:f2e6cdecd0b6139a3b11c1d81ca234eac8742757 (v4.0.0)
Head local packages/nuxt-cli at 67dbbc4 (v4.0.1)
Node v24.21.0
OS Linux 6.17.0 (kernel 6.17.0-1022-azure)
CPU AMD EPYC 7763 64-Core Processor x 4
Memory 15.6 GB
Load average at start 1.02, 0.30, 0.10
Run started 2026-10-09T13:50:21.634Z

Cold CLI startup

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

Command baseline v4.0.0 median head v4.0.1 median Delta baseline v4.0.0 min / p95 head v4.0.1 min / p95
nuxt --version 66 ms 67 ms +1.3% 65 ms / 70 ms 63 ms / 77 ms
nuxt --version (first output byte) 62 ms 62 ms +1.1% 60 ms / 65 ms 59 ms / 71 ms
nuxt --help 145 ms 143 ms -1.2% 139 ms / 150 ms 135 ms / 153 ms
nuxt --help (first output byte) 139 ms 136 ms -1.9% 134 ms / 145 ms 130 ms / 148 ms
nuxt dev --help 107 ms 106 ms -0.7% 103 ms / 112 ms 101 ms / 113 ms
nuxt dev --help (first output byte) 102 ms 101 ms -0.5% 98 ms / 107 ms 96 ms / 107 ms
nuxt <unknown-command> (no-op) 151 ms 154 ms +2.0% 148 ms / 163 ms 149 ms / 160 ms
nuxt <unknown-command> (no-op) (first output byte) 145 ms 148 ms +2.1% 142 ms / 157 ms 142 ms / 154 ms

Module load cost

Counted with a module.registerHooks load hook, compile cache disabled. Counts every JS module actually evaluated on that code path (native addons excluded). Built-ins loaded after bootstrap are counted separately, including the internal modules they load.

Command baseline v4.0.0 modules head v4.0.1 modules Delta baseline v4.0.0 source bytes head v4.0.1 source bytes Delta baseline v4.0.0 built-ins head v4.0.1 built-ins Delta
nuxt --version 35 35 0.0% 298.0 kB 298.0 kB 0.0% 27 27 0.0%
nuxt --help 135 135 0.0% 847.3 kB 847.3 kB 0.0% 87 87 0.0%
nuxt dev --help 64 64 0.0% 455.5 kB 455.5 kB 0.0% 87 87 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.

Metric baseline v4.0.0 head v4.0.1 Delta
Direct dependencies of @nuxt/cli 23 23 0.0%
Packages in the installed tree (unique name@version) 39 39 0.0%
Unique package names 39 39 0.0%
Package directories on disk (cross-check) 32 32 0.0%
Installed node_modules on disk 2.46 MB 2.46 MB -0.0%
Installed files 436 436 0.0%
Install wall time (warm npm cache, median of 3) 1.31 s 1.30 s -0.4%
Published tarball (packed) 241.5 kB 241.4 kB -0.0%
Published tarball (unpacked) 783.7 kB 783.7 kB 0.0%
Files in tarball 101 101 0.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.

@danielroe
danielroe merged commit 82318b2 into main Oct 9, 2026
24 of 25 checks passed
@danielroe
danielroe deleted the release/v4.0.1 branch October 9, 2026 15:31
Sign up for free to 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