Skip to content

feat(deps): upgrade upstream dependencies - #2504

Merged
fengmk2 merged 2 commits into
mainfrom
deps/upstream-update
Aug 20, 2026
Merged

feat(deps): upgrade upstream dependencies#2504
fengmk2 merged 2 commits into
mainfrom
deps/upstream-update

Conversation

@voidzero-guard

Copy link
Copy Markdown
Contributor

Summary

  • Automated upgrade of upstream dependencies: rolldown 483c648 -> v1.2.5 (84c904b), and the oxc toolchain (npm 0.145.0 -> 0.146.0, Rust crates 0.144.0 -> 0.146.0).
  • vite (v8.2.1), vitest (4.1.11), tsdown (0.22.14), oxlint (1.79.0), and oxfmt (0.64.0) are unchanged.
  • Rolldown added the rolldown_tracking_allocator crate, which required a workspace path entry in Cargo.toml; the generated NAPI binding picked up the new getNativeMemoryStats/resetNativeMemoryStats functions and oxc-minify's mangleProps options.
  • PTY snapshots were re-recorded for upstream output changes (transforming... line break, new oxc parse-error wording).

Dependency updates

Package From To
rolldown 483c648 v1.2.5 (84c904b)
oxc Rust crates 0.144.0 0.146.0
@oxc-project/runtime 0.145.0 0.146.0
@oxc-project/types 0.145.0 0.146.0
oxc-minify 0.145.0 0.146.0
oxc-parser 0.145.0 0.146.0
oxc-transform 0.145.0 0.146.0
Unchanged dependencies
  • vite: v8.2.1 (4216158)
  • vitest: 4.1.11
  • @vitest/browser: 4.1.11
  • @vitest/browser-playwright: 4.1.11
  • @vitest/browser-preview: 4.1.11
  • @vitest/browser-webdriverio: 4.1.11
  • @vitest/expect: 4.1.11
  • @vitest/mocker: 4.1.11
  • @vitest/pretty-format: 4.1.11
  • @vitest/runner: 4.1.11
  • @vitest/snapshot: 4.1.11
  • @vitest/spy: 4.1.11
  • @vitest/utils: 4.1.11
  • tsdown: 0.22.14
  • @tsdown/css: 0.22.14
  • @tsdown/exe: 0.22.14
  • lightningcss: ^1.33.0
  • @oxc-node/cli: 0.1.0
  • @oxc-node/core: 0.1.0
  • oxfmt: 0.64.0
  • oxlint: 1.79.0
  • oxlint-tsgolint: 7.0.2001
  • VITEST_VERSION constant: 4.1.11
  • README vitest pins: 4.1.11
  • @vitejs/devtools: 0.5.0

Code changes

  • Cargo.toml: bumped the shared oxc crate version to 0.146.0 and added the rolldown_tracking_allocator path dependency introduced by the rolldown re-merge. Cargo.lock picks up that crate plus lazy-regex/lazy-regex-proc_macros and drops oxc-miette.
  • packages/core/package.json: bundledVersions.rolldown 1.2.4 -> 1.2.5.
  • packages/cli/binding/index.cjs, packages/cli/binding/index.d.cts: regenerated bindings exposing getNativeMemoryStats/resetNativeMemoryStats and BindingNativeMemoryStats, oxc-minify's ManglePropertiesOptions/mangleProps/mangleCache, and the namespaceConflict check option.
  • PTY snapshots re-recorded for upstream output changes — transforming... is now followed by a newline before ✓ N modules transformed., and the oxc parse error is now [PARSE_ERROR] Expected }but foundEOFwith a } expected `` label:
    • crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/build_vite_env/snapshots/build_vite_env.md
    • crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_staged_broken_config/snapshots/command_staged_broken_config.md
    • crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/vp_build_auto_output_restoration/snapshots/vp_build_auto_output_restoration.md
    • crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/vp_build_auto_tracked_env/snapshots/vp_build_auto_tracked_env.md
    • crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/vp_build_cache/snapshots/vp_build_cache.md
    • crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/vp_build_cache_monorepo/snapshots/vp_build_cache_monorepo.md
  • Lockfile/catalog updates: pnpm-workspace.yaml, pnpm-lock.yaml, packages/tools/.upstream-versions.json.

Build status

  • sync-remote-and-build: success
  • build-upstream: failure

- rolldown: 483c648 -> v1.2.5 (84c904b)
- oxc Rust crates: 0.144.0 -> 0.146.0
- @oxc-project/runtime: 0.145.0 -> 0.146.0
- @oxc-project/types: 0.145.0 -> 0.146.0
- oxc-minify: 0.145.0 -> 0.146.0
- oxc-parser: 0.145.0 -> 0.146.0
- oxc-transform: 0.145.0 -> 0.146.0

Code changes:
- Register the new `rolldown_tracking_allocator` crate as a workspace
  path dependency (Cargo.toml, Cargo.lock)
- Bump bundled rolldown version to 1.2.5 (packages/core/package.json)
- Regenerate NAPI binding surface for the new tracking-allocator and
  oxc-minify property-mangling APIs (packages/cli/binding/index.cjs,
  packages/cli/binding/index.d.cts)
- Update PTY snapshots for upstream output changes: `transforming...`
  now ends with a newline, and the oxc parse error text changed
  (crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/build_vite_env,
  command_staged_broken_config, vp_build_auto_output_restoration,
  vp_build_auto_tracked_env, vp_build_cache, vp_build_cache_monorepo)
@voidzero-guard

Copy link
Copy Markdown
Contributor Author

✅ No upstream CLI help changes detected

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

➖ Vite: no version update (8.2.1)

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

➖ Vitest: no version update (4.1.11)

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

➖ Oxlint: no version update (1.79.0)

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

➖ Oxfmt: no version update (0.64.0)

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

➖ tsdown: no version update (0.22.14)

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

@netlify

netlify Bot commented Aug 20, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 61bac1c
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a8662f5a2a76d0008729b3e

@socket-security

socket-security Bot commented Aug 20, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Native binary sizes (61bac1c)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.

Artifact Format Base PR Change
vp (Linux x64) Binary 10.70 MiB 10.70 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 4.63 MiB 4.63 MiB 0 B (0.00%)
NAPI (Linux x64) Binary 32.03 MiB 32.21 MiB +176.00 KiB (+0.54%)
NAPI (Linux x64) gzip -9 12.61 MiB 12.69 MiB +79.52 KiB (+0.62%)
vp (macOS ARM64) Binary 8.00 MiB 8.00 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 4.05 MiB 4.05 MiB 0 B (0.00%)
NAPI (macOS ARM64) Binary 39.68 MiB 39.80 MiB +129.34 KiB (+0.32%)
NAPI (macOS ARM64) gzip -9 16.92 MiB 16.99 MiB +64.79 KiB (+0.37%)
vp (Windows x64) Binary 8.59 MiB 8.59 MiB 0 B (0.00%)
vp (Windows x64) gzip -9 3.75 MiB 3.75 MiB -1 B (-0.00%)
NAPI (Windows x64) Binary 26.91 MiB 27.05 MiB +143.00 KiB (+0.52%)
NAPI (Windows x64) gzip -9 10.69 MiB 10.76 MiB +73.46 KiB (+0.67%)
Trampoline (Windows x64) Binary 216.50 KiB 216.50 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 104.34 KiB 104.34 KiB +1 B (+0.00%)
Installer (Windows x64) Binary 4.48 MiB 4.48 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 2.10 MiB 2.10 MiB +1 B (+0.00%)

@fengmk2 fengmk2 self-assigned this Aug 20, 2026
@fengmk2
fengmk2 merged commit 22e0696 into main Aug 20, 2026
103 checks passed
@fengmk2
fengmk2 deleted the deps/upstream-update branch August 20, 2026 02:54
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