Skip to content

feat(deps): upgrade upstream dependencies - #3617

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, oxc-node to v1.0.3, Vitest to 5.1.2, tsdown to 0.23.7, and related packages; refresh the Cargo and pnpm lockfiles.
  • Re-merge the Rolldown v1.3 workspace, regenerate the NAPI bindings, and adapt static config extraction to Oxc 0.160.
  • Adapt core/tsdown bundling for rolldown-plugin-dts 0.30 and consolidated Yuku, retain the legacy @typescript/native-preview tsgo path, and declare the tsrs peer.
  • Sync --bypass-lock help, affected snapshots and documentation, and the upgrade/Renovate automation.

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 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
tsrs 7.1.0-beta.tsrs5 7.1.0-beta.tsrs6
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
  • @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

  • Cargo.toml, Cargo.lock, .github/renovate.json: re-merge the Rolldown v1.3 dependency set, add the inject/notify entries, update Oxc crates to 0.160, refresh crate exclusions, and pin walkdir to 2.5.0 pending investigation of the Windows HMR timeout.
  • crates/vp_static_config/src/lib.rs: use Oxc 0.160's literal_name() for trusted defineConfig CJS binding keys.
  • packages/cli/binding/index.cjs, packages/cli/binding/index.d.cts: regenerate native exports and types for the updated Rolldown/Oxc APIs.
  • packages/core/build.ts, packages/core/package.json, packages/core/__tests__/build-artifacts.spec.ts, packages/core/__tests__/__snapshots__/build-artifacts.spec.ts.snap: externalize consolidated yuku, add the optional tsrs peer, retain the optional @typescript/native-preview peer and legacy tsgo fallback, and update build-artifact assertions.
  • packages/core/build-support/rewrite-rolldown-binding.ts, packages/core/build.ts: recognize napi-rs pure-annotated __require calls in binding/version rewrites.
  • .github/scripts/upgrade-deps-utils.ts, .github/scripts/upgrade-deps.ts: follow either yuku or legacy yuku-parser, migrate core's external to consolidated Yuku, and record the Rolldown release branch.
  • packages/cli/src/help.ts, crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_helper/snapshots/command_helper.md, crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/global_cli_fallback/snapshots/global_cli_fallback.md: add --bypass-lock to dev/build/preview help and snapshots.
  • crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_pack_dts_compat/snapshots/, crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_pack_monorepo/snapshots/command_pack_monorepo.md: record the new TypeScript 7.0 tsgo deprecation warning.
  • packages/prompts/tsdown.config.ts: add an explicit UserConfig annotation.
  • pnpm-workspace.yaml: add the upstream devframe@1.4.0 patch mapping and the napi-windows-process-start-time@0.1.0 release-age exception.

Build status

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

🤖 Generated with Kimi Code

- 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
- tsrs: 7.1.0-beta.tsrs5 -> 7.1.0-beta.tsrs6
- 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-merged the Rolldown v1.3 workspace, refreshed dependency rules, and pinned `walkdir` to 2.5.0 (`Cargo.toml`, `pnpm-workspace.yaml`, `.github/renovate.json`).
- Adapted static config key handling to Oxc 0.160 (`crates/vp_static_config/src/lib.rs`).
- Adapted core bundling and tests for consolidated Yuku and rolldown-plugin-dts 0.30, preserving the legacy `@typescript/native-preview` tsgo fallback (`packages/core/build.ts`, `packages/core/package.json`, `packages/core/__tests__/build-artifacts.spec.ts`, `packages/core/__tests__/__snapshots__/build-artifacts.spec.ts.snap`).
- Updated Rolldown binding/version rewrites for pure-annotated require calls (`packages/core/build-support/rewrite-rolldown-binding.ts`, `packages/core/build.ts`).
- Updated upgrade automation for the Yuku rename and Rolldown release branches (`.github/scripts/upgrade-deps-utils.ts`, `.github/scripts/upgrade-deps.ts`).
- Added `--bypass-lock` to dev/build/preview help and refreshed affected CLI/tsdown snapshots (`packages/cli/src/help.ts`, `crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/`).
- Added explicit tsdown config typing (`packages/prompts/tsdown.config.ts`).
- Regenerated native binding exports and types (`packages/cli/binding/index.cjs`, `packages/cli/binding/index.d.cts`).

Co-Authored-By: Kimi Code <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.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​playwright-chromium@​1.65.0 ⏵ 1.65.1901006699100
Updatednpm/​@​vitejs/​devtools@​0.8.2 ⏵ 0.8.398 +110072 +197 +1100
Addednpm/​@​vitest/​spy@​5.1.21001007398100
Addednpm/​@​rolldown/​notify@​0.2.0731008595100
Updatednpm/​@​tsdown/​exe@​0.23.4 ⏵ 0.23.797 +91007398 +1100
Addednpm/​@​vitest/​pretty-format@​5.1.21001007398100
Addednpm/​@​vitest/​utils@​5.1.21001007598100
Addednpm/​@​vitest/​mocker@​5.1.21001007598100
Updatednpm/​@​oxc-node/​core@​1.0.2 ⏵ 1.0.39510077 +195100
Addednpm/​@​vitest/​browser@​5.1.2991007898100
Addednpm/​vitest@​5.1.2981007998100
Updatednpm/​@​tsdown/​css@​0.23.4 ⏵ 0.23.7100 +110080 +198 +1100
Addednpm/​@​vitest/​browser-preview@​5.1.21001008498100
Addednpm/​@​vitest/​browser-playwright@​5.1.2991008698100
Updatednpm/​rollup-plugin-license@​3.7.1 ⏵ 3.7.299 +110010088 +2100
Updatednpm/​tsdown@​0.23.4 ⏵ 0.23.798 +110088 +197 +1100
Updatednpm/​tsrs@​7.1.0-beta.tsrs5 ⏵ 7.1.0-beta.tsrs6100 +1100100 +195 +190
Updatednpm/​yuku@​0.25.0 ⏵ 0.28.1100 +310092 -795 +1100
Updatednpm/​postcss-modules@​9.0.1 ⏵ 9.1.498100100 +192 +1100
Updatednpm/​glob@​13.0.7 ⏵ 14.0.6100 +1100 +299 +193100
Updatedcargo/​oxc@​0.156.0 ⏵ 0.160.010010093100100
Updatedcargo/​oxc_allocator@​0.156.0 ⏵ 0.160.010010093100100
Updatedcargo/​oxc_ast@​0.156.0 ⏵ 0.160.010010093100100
Updatedcargo/​oxc_parser@​0.156.0 ⏵ 0.160.010010093100100
Updatedcargo/​oxc_span@​0.156.0 ⏵ 0.160.010010093100100
Updatedcargo/​regex@​1.13.1 ⏵ 1.13.210010093100100
Updatednpm/​sass-embedded@​1.108.1 ⏵ 1.108.298100100 +194 +1100
Updatednpm/​lint-staged@​17.6.2 ⏵ 17.6.310010010095100
Updatednpm/​sass@​1.108.1 ⏵ 1.108.210010010096100
Updatednpm/​rolldown-plugin-dts@​0.29.0 ⏵ 0.30.299 +1100100 +196 +1100
Addednpm/​@​vitest/​snapshot@​5.1.21001009798100

View full report

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

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

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://46ce5623-viteplus-dev.voidzero-docs.workers.dev 44f1807 2026-11-30T01:34:09.161Z Visit the dashboard ↗

@github-actions

Copy link
Copy Markdown
Contributor

✅ Staging deployment successful!

Preview: https://viteplus-staging.void.app/
Commit: 44f1807

@github-actions

Copy link
Copy Markdown
Contributor

CLI artifact sizes (44f1807)

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.84 KiB (+2.47%)
Combined package dist Directory total 6.51 MiB 6.61 MiB +105.39 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.59 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.78 KiB (+3.48%)
vp (macOS ARM64) Binary 5.99 MiB 6.07 MiB +81.53 KiB (+1.33%)
vp (macOS ARM64) gzip -9 3.57 MiB 3.62 MiB +48.41 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.32 KiB (+2.46%)
vp (Windows x64) Binary 7.11 MiB 7.21 MiB +111.00 KiB (+1.53%)
vp (Windows x64) gzip -9 3.26 MiB 3.30 MiB +45.34 KiB (+1.36%)
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.13 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.56 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