Skip to content

feat(deps): upgrade upstream dependencies - #3600

Draft
voidzero-guard[bot] wants to merge 1 commit into
mainfrom
deps/upstream-update
Draft

voidzero-guard[bot] wants to merge 1 commit into
mainfrom
deps/upstream-update

Conversation

@voidzero-guard

Copy link
Copy Markdown
Contributor
  • Upgrade Rolldown to v1.3.4, Vite to v8.4.0, Vitest to 5.1.2, tsdown to 0.23.7, and oxc-node to v1.0.3.
  • Re-merge the Rolldown workspace, regenerate native bindings, and adapt core bundling for Yuku 0.28 and Rolldown's lazy binding loader.
  • Preserve the classic TypeScript + @typescript/native-preview tsgo path with the updated DTS plugin and migrate static config parsing to the Oxc 0.160 API.
  • Sync CLI help, tests, snapshots, and documentation with the upgraded upstream versions.

Dependency updates

Package From To
rolldown v1.2.19 (b9c75dd) v1.3.4 (7b6091d)
vite v8.3.8 (b39e6e6) v8.4.0 (841132e)
oxc-node v1.0.2 (16c0f34) v1.0.3 (9030d29)
vitest 5.1.1 5.1.2
@vitest/browser 5.1.1 5.1.2
@vitest/browser-playwright 5.1.1 5.1.2
@vitest/browser-preview 5.1.1 5.1.2
@vitest/mocker 5.1.1 5.1.2
@vitest/pretty-format 5.1.1 5.1.2
@vitest/snapshot 5.1.1 5.1.2
@vitest/spy 5.1.1 5.1.2
@vitest/utils 5.1.1 5.1.2
tsdown 0.23.4 0.23.7
@tsdown/css 0.23.4 0.23.7
@tsdown/exe 0.23.4 0.23.7
lint-staged 17.6.2 17.6.3
@oxc-node/cli 1.0.2 1.0.3
@oxc-node/core 1.0.2 1.0.3
VITEST_VERSION constant 5.1.1 5.1.2
postcss ^8.5.32 ^8.5.33
@voidzero-dev/vite-plus-core 8.3.8001 8.4.0
Unchanged dependencies
  • pnpm (installer): 10.34.9
  • lightningcss: ^1.33.0
  • oxfmt: 0.80.0
  • oxlint: 1.95.0
  • @oxlint/plugins: 1.95.0
  • tsrs: 7.1.0-beta.tsrs5
  • @oxc-project/runtime: 0.160.0
  • @oxc-project/types: 0.160.0
  • oxc-parser: 0.160.0
  • Node.js: 24.22.3
  • yuku: 0.28.1
  • fsevents: ~2.3.3

Code changes

  • Re-merged the Rolldown workspace dependency set, updated Renovate exclusions and pnpm patch/release-age metadata, and regenerated the NAPI binding exports and declarations (Cargo.toml, Cargo.lock, pnpm-workspace.yaml, .github/renovate.json, packages/cli/binding/index.cjs, packages/cli/binding/index.d.cts).
  • Switched DTS externalization and version pinning from yuku-parser to the native yuku package, with support for both plugin layouts in the upgrade script (.github/scripts/upgrade-deps-utils.ts, packages/core/build.ts, packages/core/package.json, packages/core/__tests__/build-artifacts.spec.ts).
  • Patched bundled tsdown to retain the classic TypeScript + @typescript/native-preview tsgo path and kept native-preview as an optional peer (packages/core/build.ts, packages/core/package.json, packages/core/__tests__/build-artifacts.spec.ts).
  • Updated Rolldown binding rewrites for parenthesized lazy __require() calls, adjusted the WebContainer version lookup, and adapted the WASI loader fixture (packages/core/build.ts, packages/core/build-support/rewrite-rolldown-binding.ts, packages/core/__tests__/rewrite-rolldown-binding.spec.ts, crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/rolldown_webcontainer_fallback/verify.mjs).
  • Migrated computed destructured-property handling to the Oxc 0.160 API and added a non-static config regression test (crates/vp_static_config/src/lib.rs).
  • Added Vite's --bypass-lock help entries, added explicit tsdown config typing, and refreshed the affected CLI, DTS, and build-artifact snapshots (packages/cli/src/help.ts, packages/prompts/tsdown.config.ts, crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/, packages/core/__tests__/__snapshots__/build-artifacts.spec.ts.snap).

Build status

  • upgrade-and-sync: failure
  • build-upstream: failure
  • kimi-fixups: success

🤖 Generated with Kimi

- rolldown: b9c75dd -> v1.3.4 (7b6091d)
- vite: b39e6e6 -> v8.4.0 (841132e)
- oxc-node: 16c0f34 -> v1.0.3 (9030d29)
- vitest: 5.1.1 -> 5.1.2
- @vitest/browser: 5.1.1 -> 5.1.2
- @vitest/browser-playwright: 5.1.1 -> 5.1.2
- @vitest/browser-preview: 5.1.1 -> 5.1.2
- @vitest/mocker: 5.1.1 -> 5.1.2
- @vitest/pretty-format: 5.1.1 -> 5.1.2
- @vitest/snapshot: 5.1.1 -> 5.1.2
- @vitest/spy: 5.1.1 -> 5.1.2
- @vitest/utils: 5.1.1 -> 5.1.2
- tsdown: 0.23.4 -> 0.23.7
- @tsdown/css: 0.23.4 -> 0.23.7
- @tsdown/exe: 0.23.4 -> 0.23.7
- lint-staged: 17.6.2 -> 17.6.3
- @oxc-node/cli: 1.0.2 -> 1.0.3
- @oxc-node/core: 1.0.2 -> 1.0.3
- VITEST_VERSION constant: 5.1.1 -> 5.1.2
- postcss: ^8.5.32 -> ^8.5.33
- @voidzero-dev/vite-plus-core: 8.3.8001 -> 8.4.0

Code changes:
- Re-merge upstream workspace metadata and refresh generated bindings (Cargo.toml, Cargo.lock, pnpm-workspace.yaml, .github/renovate.json, packages/cli/binding/index.cjs, packages/cli/binding/index.d.cts).
- Switch DTS externalization from yuku-parser to yuku and retain native-preview tsgo compatibility (.github/scripts/upgrade-deps-utils.ts, packages/core/build.ts, packages/core/package.json, packages/core/__tests__/build-artifacts.spec.ts).
- Handle Rolldown lazy binding requires and update WebContainer coverage (packages/core/build.ts, packages/core/build-support/rewrite-rolldown-binding.ts, packages/core/__tests__/rewrite-rolldown-binding.spec.ts, crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/rolldown_webcontainer_fallback/verify.mjs).
- Migrate computed-key handling to the Oxc 0.160 API (crates/vp_static_config/src/lib.rs).
- Sync --bypass-lock help, tsdown config typing, and affected snapshots (packages/cli/src/help.ts, packages/prompts/tsdown.config.ts, crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/, packages/core/__tests__/__snapshots__/build-artifacts.spec.ts.snap).

Co-Authored-By: Kimi <noreply@anthropic.com>
@voidzero-guard

Copy link
Copy Markdown
Contributor Author

⚠️ Upstream CLI help changes detected

Compared normalized --help output for the upstream CLIs mirrored by Vite+.

⚠️ Vite: CLI help changed (8.3.8 → 8.4.0)
--- vite@8.3.8
+++ vite@8.4.0
@@ -28,11 +28,12 @@ Options:
   --base <path>            [string] public base path (default: /)
   -l, --logLevel <level>   [string] info | warn | error | silent
   --clearScreen            [boolean] allow/disable clear screen when logging
-  --configLoader <loader>  [string] use 'bundle' to bundle the config with Rolldown, or 'runner' (experimental) to process it on the fly, or 'native' (experimental) to load using the native runtime (default: bundle)
+  --configLoader <loader>  [string] use 'bundle' to bundle the config with Rolldown, or 'native' to load using the native runtime (default: bundle)
   --profile [name]         [boolean | string] start built-in Node.js inspector
   -d, --debug [feat]       [string | boolean] show debug logs
   -f, --filter <filter>    [string] filter debug logs
   -m, --mode <mode>        [string] set env mode
+  --bypass-lock            [boolean] disable process locks
   -h, --help               Display this message
   -v, --version            Display version number
 
@@ -59,11 +60,12 @@ Options:
   --base <path>                 [string] public base path (default: /)
   -l, --logLevel <level>        [string] info | warn | error | silent
   --clearScreen                 [boolean] allow/disable clear screen when logging
-  --configLoader <loader>       [string] use 'bundle' to bundle the config with Rolldown, or 'runner' (experimental) to process it on the fly, or 'native' (experimental) to load using the native runtime (default: bundle)
+  --configLoader <loader>       [string] use 'bundle' to bundle the config with Rolldown, or 'native' to load using the native runtime (default: bundle)
   --profile [name]              [boolean | string] start built-in Node.js inspector
   -d, --debug [feat]            [string | boolean] show debug logs
   -f, --filter <filter>         [string] filter debug logs
   -m, --mode <mode>             [string] set env mode
+  --bypass-lock                 [boolean] disable process locks
   -h, --help                    Display this message
 
 $ vite preview --help
@@ -82,9 +84,10 @@ Options:
   --base <path>            [string] public base path (default: /)
   -l, --logLevel <level>   [string] info | warn | error | silent
   --clearScreen            [boolean] allow/disable clear screen when logging
-  --configLoader <loader>  [string] use 'bundle' to bundle the config with Rolldown, or 'runner' (experimental) to process it on the fly, or 'native' (experimental) to load using the native runtime (default: bundle)
+  --configLoader <loader>  [string] use 'bundle' to bundle the config with Rolldown, or 'native' to load using the native runtime (default: bundle)
   --profile [name]         [boolean | string] start built-in Node.js inspector
   -d, --debug [feat]       [string | boolean] show debug logs
   -f, --filter <filter>    [string] filter debug logs
   -m, --mode <mode>        [string] set env mode
+  --bypass-lock            [boolean] disable process locks
   -h, --help               Display this message
✅ Vitest: no CLI help changes (5.1.1 → 5.1.2)

The version was updated, but the normalized CLI help output has no differences.

➖ Oxlint: no version update (1.95.0)

No version update was detected, so there is no CLI help diff.

➖ Oxfmt: no version update (0.80.0)

No version update was detected, so there is no CLI help diff.

✅ tsdown: no CLI help changes (0.23.4 → 0.23.7)

The version was updated, but the normalized CLI help output has no differences.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://deps-upstream-update-viteplus-dev.voidzero-docs.workers.dev (commit d7d77ec)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://9694d256-viteplus-dev.voidzero-docs.workers.dev d7d77ec 2026-11-29T01:29:52.834Z Visit the dashboard ↗

@socket-security

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

✅ Staging deployment successful!

Preview: https://viteplus-staging.void.app/
Commit: d7d77ec

@github-actions

Copy link
Copy Markdown
Contributor

CLI artifact sizes (d7d77ec)

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.40 MiB 2.40 MiB +1.55 KiB (+0.06%)
packages/core/dist Directory total 4.11 MiB 4.21 MiB +103.92 KiB (+2.47%)
Combined package dist Directory total 6.51 MiB 6.61 MiB +105.47 KiB (+1.58%)
vp (Linux x64) Binary 9.11 MiB 9.25 MiB +139.98 KiB (+1.50%)
vp (Linux x64) gzip -9 4.18 MiB 4.23 MiB +52.54 KiB (+1.23%)
NAPI (Linux x64) Binary 37.34 MiB 38.33 MiB +1012.38 KiB (+2.65%)
NAPI (Linux x64) gzip -9 14.93 MiB 15.45 MiB +531.83 KiB (+3.48%)
vp (macOS ARM64) Binary 5.99 MiB 6.07 MiB +81.52 KiB (+1.33%)
vp (macOS ARM64) gzip -9 3.57 MiB 3.62 MiB +48.33 KiB (+1.32%)
NAPI (macOS ARM64) Binary 43.86 MiB 44.65 MiB +807.45 KiB (+1.80%)
NAPI (macOS ARM64) gzip -9 19.06 MiB 19.52 MiB +479.50 KiB (+2.46%)
vp (Windows x64) Binary 7.11 MiB 7.21 MiB +110.50 KiB (+1.52%)
vp (Windows x64) gzip -9 3.26 MiB 3.30 MiB +45.17 KiB (+1.35%)
NAPI (Windows x64) Binary 33.28 MiB 34.19 MiB +935.00 KiB (+2.74%)
NAPI (Windows x64) gzip -9 13.65 MiB 14.15 MiB +512.29 KiB (+3.66%)
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.70 MiB +6.00 KiB (+0.12%)
Installer (Windows x64) gzip -9 2.25 MiB 2.25 MiB +1.55 KiB (+0.07%)

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants