Skip to content

feat(upgrade): add v3, v4, v3-nightly and v4-nightly channel - #1019

Merged
danielroe merged 2 commits into
nuxt:mainfrom
OrbisK:feat/upgrade-channel
Sep 8, 2025
Merged

feat(upgrade): add v3, v4, v3-nightly and v4-nightly channel#1019
danielroe merged 2 commits into
nuxt:mainfrom
OrbisK:feat/upgrade-channel

Conversation

@OrbisK

@OrbisKOrbisK commented Aug 26, 2025

Copy link
Copy Markdown
Member

🔗 Linked issue

resolves#484

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

This PR introduces the following new channels: v3, v4, v3-nightly and v4-nightly.

This should allow nuxt upgrade to be used to upgrade minor versions of v3

pnpx nuxt@latest upgrade --dedupe --channel=v3

@OrbisK
OrbisK requested a review from danielroe as a code ownerAugust 26, 2025 12:41
@github-actions

github-actionsBot commented Aug 26, 2025

Copy link
Copy Markdown
Contributor

Bundle Stats — nuxt-cli size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files countTotal bundle size% Changed
3397.25 kB → 97.89 kB (+654 B)+0.66%
Changeset
FileΔSize
home/runner/work/cli/cli/packages/nuxi/src/commands/upgrade.ts📈 +654 B (+10.62%)6.01 kB → 6.65 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

AssetFile Size% Changed
chunks/upgrade.mjs6.01 kB → 6.65 kB (+654 B)+10.62%

Smaller

No assets were smaller

Unchanged

AssetFile Size% Changed
dev/index.mjs0 B0%
index.mjs236 B0%
chunks/index.mjs14.44 kB0%
chunks/analyze.mjs3.35 kB0%
chunks/cleanup.mjs471 B0%
chunks/dev-child.mjs815 B0%
chunks/dev.mjs11.31 kB0%
chunks/devtools.mjs763 B0%
chunks/generate.mjs492 B0%
chunks/build.mjs2.04 kB0%
chunks/info.mjs4.44 kB0%
chunks/index2.mjs273 B0%
chunks/add.mjs10.17 kB0%
chunks/search.mjs2.96 kB0%
chunks/prepare.mjs1.04 kB0%
chunks/preview.mjs3.58 kB0%
chunks/test.mjs1.16 kB0%
chunks/typecheck.mjs2.06 kB0%
chunks/init.mjs12.15 kB0%
chunks/add2.mjs6.89 kB0%
shared/cli.B9AmABr3.mjs39 B0%
shared/cli.Dz2be-Ai.mjs792 B0%
shared/cli.BEUGgaW4.mjs294 B0%
shared/cli.BSm0_9Hr.mjs107 B0%
shared/cli.At9IMXtr.mjs1.23 kB0%
shared/cli.pLQ0oPGc.mjs836 B0%
shared/cli.qKvs7FJ2.mjs945 B0%
shared/cli.DhJ3cH8w.mjs78 B0%
shared/cli.Cr-OCgdO.mjs727 B0%
shared/cli.DHenkA1C.mjs351 B0%
shared/cli.vXg4eLNu.mjs1.8 kB0%
shared/cli.CTXRG5Cu.mjs5.57 kB0%

@github-actions

github-actionsBot commented Aug 26, 2025

Copy link
Copy Markdown
Contributor

Bundle Stats — create-nuxt size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files countTotal bundle size% Changed
505.9 MB → 5.9 MB (+654 B)+0.01%
Changeset
FileΔSize
home/runner/work/cli/cli/packages/nuxi/src/commands/upgrade.ts📈 +654 B (+10.62%)6.01 kB → 6.65 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

AssetFile Size% Changed
chunks/upgrade.mjs6.01 kB → 6.65 kB (+654 B)+10.62%

Smaller

No assets were smaller

Unchanged

AssetFile Size% Changed
index.mjs1.07 kB0%
chunks/multipart-parser.mjs5.11 kB0%
chunks/multipart-parser2.mjs4.58 kB0%
chunks/add.mjs6.89 kB0%
chunks/analyze.mjs3.35 kB0%
chunks/build.mjs2.04 kB0%
chunks/cleanup.mjs471 B0%
chunks/dev-child.mjs811 B0%
chunks/dev.mjs28.45 kB0%
chunks/devtools.mjs764 B0%
chunks/generate.mjs492 B0%
chunks/info.mjs4.43 kB0%
chunks/index.mjs274 B0%
chunks/prepare.mjs1.04 kB0%
chunks/preview.mjs3.58 kB0%
chunks/test.mjs1.16 kB0%
chunks/typecheck.mjs2.06 kB0%
chunks/prompt.mjs42.91 kB0%
chunks/satisfies.mjs116 B0%
chunks/index2.mjs199.51 kB0%
chunks/jiti.mjs305 B0%
chunks/index3.mjs71.97 kB0%
chunks/add2.mjs12.08 kB0%
chunks/search.mjs45.85 kB0%
chunks/xdg-open.mjs25.32 kB0%
chunks/node.mjs145.67 kB0%
chunks/index4.mjs1.23 kB0%
chunks/index5.mjs5.85 kB0%
chunks/index6.mjs6.24 kB0%
chunks/index7.mjs50.51 kB0%
chunks/index8.mjs904.13 kB0%
shared/create-nuxt.CkJ60qh5.mjs961.8 kB0%
shared/create-nuxt.BzNI4KXA.mjs792 B0%
shared/create-nuxt.J61-oqMw.mjs294 B0%
shared/create-nuxt.CqSv4Z6n.mjs3.9 kB0%
shared/create-nuxt.BSm0_9Hr.mjs107 B0%
shared/create-nuxt.DfBCJRML.mjs108.11 kB0%
shared/create-nuxt.ao2qXyPo.mjs18.91 kB0%
shared/create-nuxt.CyYgLMzh.mjs1.17 MB0%
shared/create-nuxt.BWi-EyWq.mjs4.07 kB0%
shared/create-nuxt.DwzIj1oE.mjs836 B0%
shared/create-nuxt.BAfQQ5-S.mjs945 B0%
shared/create-nuxt.CDgijwVs.mjs18.08 kB0%
shared/create-nuxt.DntvLY1e.mjs2.02 MB0%
shared/create-nuxt.BjhZEm2-.mjs1.75 kB0%
shared/create-nuxt.Oe74eRkY.mjs3.72 kB0%
shared/create-nuxt.RN-lsnBz.mjs365 B0%
shared/create-nuxt.Vk1IrVtB.mjs26.96 kB0%
shared/create-nuxt.4t9faemh.mjs43.64 kB0%

@github-actions

github-actionsBot commented Aug 26, 2025

Copy link
Copy Markdown
Contributor

Bundle Stats — nuxi size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files countTotal bundle size% Changed
595.47 MB → 5.47 MB (+654 B)+0.01%
Changeset
FileΔSize
src/commands/upgrade.ts📈 +654 B (+10.62%)6.01 kB → 6.65 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

AssetFile Size% Changed
chunks/upgrade.mjs6.01 kB → 6.65 kB (+654 B)+10.62%

Smaller

No assets were smaller

Unchanged

AssetFile Size% Changed
index.mjs247 B0%
dev/index.mjs925 B0%
chunks/add.mjs6.89 kB0%
chunks/analyze.mjs3.35 kB0%
chunks/build.mjs2.04 kB0%
chunks/cleanup.mjs471 B0%
chunks/dev-child.mjs780 B0%
chunks/dev.mjs28.45 kB0%
chunks/devtools.mjs764 B0%
chunks/generate.mjs492 B0%
chunks/info.mjs4.43 kB0%
chunks/init.mjs675.77 kB0%
chunks/index.mjs274 B0%
chunks/prepare.mjs1.04 kB0%
chunks/preview.mjs3.58 kB0%
chunks/test.mjs1.16 kB0%
chunks/typecheck.mjs2.06 kB0%
chunks/satisfies.mjs116 B0%
chunks/main.mjs15.3 kB0%
chunks/prompt.mjs42.91 kB0%
chunks/index2.mjs199.51 kB0%
chunks/jiti.mjs305 B0%
chunks/index3.mjs71.97 kB0%
chunks/multipart-parser.mjs5.11 kB0%
chunks/add2.mjs12.08 kB0%
chunks/search.mjs45.85 kB0%
chunks/xdg-open.mjs25.32 kB0%
chunks/node.mjs145.67 kB0%
chunks/index4.mjs1.23 kB0%
chunks/index5.mjs5.85 kB0%
chunks/multipart-parser2.mjs4.58 kB0%
chunks/index6.mjs904.13 kB0%
shared/nuxi.GLC40kEn.mjs19.33 kB0%
shared/nuxi.DQjfoGl0.mjs57.22 kB0%
shared/nuxi.CTyTlDmo.mjs18.91 kB0%
shared/nuxi.BXGZ9qFF.mjs792 B0%
shared/nuxi.C_u-rG9b.mjs294 B0%
shared/nuxi.DUZ_WukQ.mjs2.57 kB0%
shared/nuxi.8mhVoXwa.mjs916.43 kB0%
shared/nuxi.D2_bzAv0.mjs1.54 kB0%
shared/nuxi.DQbQuzNE.mjs4.07 kB0%
shared/nuxi.BSm0_9Hr.mjs107 B0%
shared/nuxi.CrvQqJcE.mjs836 B0%
shared/nuxi.BiWTNJI4.mjs945 B0%
shared/nuxi.B_dnsClP.mjs18.08 kB0%
shared/nuxi.CSWGOxQ4.mjs10.56 kB0%
shared/nuxi.BAGoDD49.mjs1.05 kB0%
shared/nuxi.BEiAYiRs.mjs2.02 MB0%
shared/nuxi.BjhZEm2-.mjs1.75 kB0%
shared/nuxi.DQsdVvIb.mjs3.72 kB0%
shared/nuxi.DcfbSbTx.mjs124.55 kB0%
shared/nuxi.QWnQy_ku.mjs5.75 kB0%
shared/nuxi.BcK1uW4h.mjs365 B0%
shared/nuxi.DU9QXUOf.mjs26.96 kB0%
shared/nuxi.D3mADRf9.mjs14.73 kB0%
shared/nuxi.BLb4POFS.mjs42.47 kB0%
shared/nuxi.Do0aYBCO.mjs5.46 kB0%
shared/nuxi.4t9faemh.mjs43.64 kB0%

@pkg-pr-new

pkg-pr-newBot commented Aug 26, 2025

Copy link
Copy Markdown

nuxt-cli-playground

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

commit: a3c12c5

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 23 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@77b6817). Learn more about missing BASE report.

Files with missing linesPatch %Lines
packages/nuxi/src/commands/upgrade.ts0.00%23 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@## main #1019 +/- ##
=======================================
Coverage ? 26.84% =======================================
Files ? 75 Lines ? 3974 Branches ? 215 =======================================
Hits ? 1067 Misses ? 2878 Partials ? 29 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq

codspeed-hqBot commented Aug 26, 2025

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #1019 will not alter performance

Comparing OrbisK:feat/upgrade-channel (a3c12c5) with main (140d767)

Summary

✅ 2 untouched benchmarks

@danielroedanielroe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks good to me! only question is about 4.x vs 4x vs v4 vs 4 as channel name

also, thinking about forward compatibility - I think we should maybe start releasing v4 as 4x and latest so we do not need to hard-code latest in here for v4 channel

(creating PR to do so in Nuxt)

@OrbisK

Copy link
Copy Markdown
MemberAuthor

this looks good to me! only question is about 4.x vs 4x vs v4 vs 4 as channel name

I think 4x and 4.x are too similar to the dist tags from npm. One might think that tags can be specified.
image

also, thinking about forward compatibility - I think we should maybe start releasing v4 as 4x and latest so we do not need to hard-code latest in here for v4 channel

I think we could use @4 (semver) instead of latest there. So we dont need the 4x tag

Comment threadpackages/nuxi/src/commands/upgrade.ts Outdated

@danielroedanielroe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! ❤️

@danielroe
danielroe merged commit 2365e23 into nuxt:mainSep 8, 2025
14 checks passed
@github-actionsgithub-actionsBot mentioned this pull request Sep 8, 2025
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.

feat(upgrade): implement to argument for precise version control

3 participants

@OrbisK@codecov-commenter@danielroe