Skip to content

feat(deps): upgrade Vite to 8.4.1 - #3651

Merged
fengmk2 merged 1 commit into
fix/rolldown-plugin-dts-0.30.3from
deps/vite-8.4.1
Dec 2, 2026
Merged

fengmk2 merged 1 commit into
fix/rolldown-plugin-dts-0.30.3from
deps/vite-8.4.1

Conversation

@fengmk2

@fengmk2 fengmk2 commented Dec 2, 2026

Copy link
Copy Markdown
Member

Upgrade the bundled Vite from 8.4.0 to 8.4.1. Rolldown stays at 1.3.4, its latest release. It satisfies the ~1.3.4 range of Vite 8.4.1 and the range of tsdown 0.23.8.

Package From To
vite v8.4.0 (841132e) v8.4.1 (eab6b3b)
rolldown v1.3.4 v1.3.4 (unchanged)
postcss (core dependency) ^8.5.33 ^8.5.34, as Vite 8.4.1 requires
@voidzero-dev/vite-plus-core 8.4.0 8.4.1000 (Vite 8.4.1, release counter restarted)

Changes in Vite 8.4.1 that users can see:

  • In dev, this.resolve sets external: false by default (vite#24246).
  • mergeConfig merges environment-level configs correctly (vite#24229).
  • bun is a runtime builtin, not a Node.js builtin (vite#24228).
  • Vite uses the non-Wasm es-module-lexer when Wasm SIMD is not available (vite#24234).
  • The ResolvedEnvironmentOptions type is exported (vite#24285).

The Vite CLI help does not change, and all brand-vite patches apply to 8.4.1 without changes.

pnpm tool sync-remote writes Rolldown's catalog range ^0.30.0 for rolldown-plugin-dts over the root catalog. This PR keeps the ^0.30.3 from #3648.

Stacked on #3648.

🤖 Generated with Claude Code

@fengmk2
fengmk2 added this pull request to stack #3652 December 2, 2026 10:12
@socket-security

socket-security Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

@fengmk2
fengmk2 marked this pull request as ready for review December 2, 2026 10:15
@fengmk2 fengmk2 self-assigned this Dec 2, 2026
@fengmk2
fengmk2 requested review from cpojer and wan9chi December 2, 2026 10:15
Move the Vite pin from v8.4.0 (841132e) to v8.4.1 (eab6b3b). Rolldown stays at v1.3.4, its latest release, which satisfies the ~1.3.4 range of Vite 8.4.1 and the range of tsdown 0.23.8.

Core follows Vite's postcss range (^8.5.34), records Vite 8.4.1 in bundledVersions, and restarts its version counter at 8.4.1000. The root catalog keeps rolldown-plugin-dts at ^0.30.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

CLI artifact sizes (631f3d8)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.
The dist rows use the Linux build. The core total excludes .node files to match the release artifact.

Artifact Format Base PR Change
packages/cli/dist Directory total 2.52 MiB 2.52 MiB +12 B (+0.00%)
packages/core/dist Directory total 4.22 MiB 4.29 MiB +69.72 KiB (+1.61%)
Combined package dist Directory total 6.74 MiB 6.80 MiB +69.73 KiB (+1.01%)
vp (Linux x64) Binary 9.28 MiB 9.28 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 4.24 MiB 4.24 MiB 0 B (0.00%)
NAPI (Linux x64) Binary 37.96 MiB 37.96 MiB 0 B (0.00%)
NAPI (Linux x64) gzip -9 15.31 MiB 15.31 MiB 0 B (0.00%)
vp (macOS ARM64) Binary 6.11 MiB 6.11 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 3.63 MiB 3.63 MiB 0 B (0.00%)
NAPI (macOS ARM64) Binary 44.38 MiB 44.38 MiB 0 B (0.00%)
NAPI (macOS ARM64) gzip -9 19.41 MiB 19.41 MiB 0 B (0.00%)
vp (Windows x64) Binary 7.25 MiB 7.25 MiB 0 B (0.00%)
vp (Windows x64) gzip -9 3.32 MiB 3.32 MiB 0 B (0.00%)
NAPI (Windows x64) Binary 33.85 MiB 33.85 MiB 0 B (0.00%)
NAPI (Windows x64) gzip -9 14.02 MiB 14.02 MiB -4 B (-0.00%)
Trampoline (Windows x64) Binary 13.50 KiB 13.50 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 7.09 KiB 7.09 KiB 0 B (0.00%)
Installer (Windows x64) Binary 4.69 MiB 4.69 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 2.25 MiB 2.25 MiB +1 B (+0.00%)

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Cloudflare builds and deploys previews for this pull request. Learn more about Cloudflare previews.

Worker Status Deployment Commit
viteplus-dev Deployed Preview 631f3d8

Updated: Dec 2, 2026, 10:19 UTC | Dashboard

@fengmk2
fengmk2 merged commit d775e46 into main Dec 2, 2026
85 of 88 checks passed
@fengmk2
fengmk2 deleted the deps/vite-8.4.1 branch December 2, 2026 11:38
fengmk2 added a commit that referenced this pull request Dec 2, 2026
Reverts #3651 and restores Vite `8.4.0`.

Vite `8.4.1` requires an `options` argument when code calls the `load`
or `transform` hook directly. The `vinext` tests use the calls that Vite
`8.4.0` accepts. The upgrade breaks their type check in [ecosystem
CI](https://github.com/voidzero-dev/vite-plus/actions/runs/46873207678/job/143435439741).
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.

2 participants