Skip to content

feat(deps): upgrade upstream dependencies - #2302

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

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

Conversation

@voidzero-guard

@voidzero-guard voidzero-guard Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Automated upgrade of upstream dependencies, headlined by rolldown v1.2.1 and vite v8.2.0.
  • Bumps the oxc toolchain (oxlint 1.76.0, oxfmt 0.61.0, oxc-*/@oxc-project/* 0.142.0) and @vitejs/devtools 0.4.10.
  • Required non-version code changes: Cargo.toml drops rolldown vite plugin crates removed upstream and bumps oxc to 0.142.0; pnpm-workspace.yaml adds the rollup-tests catalog and bumps napi/emnapi/fs-extra/source-map.
  • packages/core/build.ts and packages/tools/src/brand-vite.ts adjust branding to the new rolldown chunking and Vite config-loader notice; NAPI bindings regenerated.

Dependency updates

Package From To
rolldown 03e1e34 v1.2.1 (93c535d)
vite 5e7fe12 v8.2.0 (fa79f9a)
oxfmt 0.60.0 0.61.0
oxlint 1.75.0 1.76.0
@oxc-project/runtime 0.141.0 0.142.0
@oxc-project/types 0.141.0 0.142.0
oxc-minify 0.141.0 0.142.0
oxc-parser 0.141.0 0.142.0
oxc-transform 0.141.0 0.142.0
@vitejs/devtools 0.4.5 0.4.10
Unchanged dependencies
  • vitest: 4.1.10
  • @vitest/browser: 4.1.10
  • @vitest/browser-playwright: 4.1.10
  • @vitest/browser-preview: 4.1.10
  • @vitest/browser-webdriverio: 4.1.10
  • @vitest/expect: 4.1.10
  • @vitest/mocker: 4.1.10
  • @vitest/pretty-format: 4.1.10
  • @vitest/runner: 4.1.10
  • @vitest/snapshot: 4.1.10
  • @vitest/spy: 4.1.10
  • @vitest/utils: 4.1.10
  • 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
  • oxlint-tsgolint: 7.0.2001
  • VITEST_VERSION constant: 4.1.10
  • README vitest pins: 4.1.10

Code changes

  • Cargo.toml: bump oxc crates to 0.142.0 and drop the rolldown vite plugin crates removed upstream (rolldown_filter_analyzer, rolldown_plugin_vite_asset, rolldown_plugin_vite_asset_import_meta_url, rolldown_plugin_vite_css, rolldown_plugin_vite_css_post, rolldown_plugin_vite_html, rolldown_plugin_vite_html_inline_proxy) from workspace members and the cargo-shear ignore list.
  • pnpm-workspace.yaml: add the rollup-tests catalog synced with rolldown's pnpm-workspace.yaml; bump @napi-rs/cli, @napi-rs/wasm-runtime, fs-extra and source-map; add @emnapi/core and @emnapi/runtime; exclude @napi-rs/cli from minimumReleaseAge.
  • packages/core/build.ts: rework ensureAnsisImports to scan every relative chunk import instead of a fixed main-*.js chunk, since rolldown moved the ansis colors between chunks.
  • packages/tools/src/brand-vite.ts: add a config.ts patch that suppresses Vite's native config-loader migration notice.
  • packages/core/package.json: add the ./rolldown/experimental/runtime export and bump @vitejs/devtools (dep/peer) plus bundledVersions (vite 8.2.0, rolldown 1.2.1).
  • packages/cli/binding/index.cjs, packages/cli/binding/index.d.cts: regenerated NAPI bindings.

Build status

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

- rolldown: 03e1e34 -> v1.2.1 (93c535d)
- vite: 5e7fe12 -> v8.2.0 (fa79f9a)
- oxfmt: 0.60.0 -> 0.61.0
- oxlint: 1.75.0 -> 1.76.0
- @oxc-project/runtime: 0.141.0 -> 0.142.0
- @oxc-project/types: 0.141.0 -> 0.142.0
- oxc-minify: 0.141.0 -> 0.142.0
- oxc-parser: 0.141.0 -> 0.142.0
- oxc-transform: 0.141.0 -> 0.142.0
- @vitejs/devtools: 0.4.5 -> 0.4.10

Code changes:
- Cargo.toml: bump oxc crates to 0.142.0 and drop the rolldown vite
  plugin crates removed upstream (rolldown_filter_analyzer,
  rolldown_plugin_vite_asset, rolldown_plugin_vite_asset_import_meta_url,
  rolldown_plugin_vite_css, rolldown_plugin_vite_css_post,
  rolldown_plugin_vite_html, rolldown_plugin_vite_html_inline_proxy).
- pnpm-workspace.yaml: add the `rollup-tests` catalog synced with
  rolldown's pnpm-workspace.yaml; bump @napi-rs/cli, @napi-rs/wasm-runtime,
  fs-extra and source-map; add @emnapi/core and @emnapi/runtime; exclude
  @napi-rs/cli from minimumReleaseAge.
- packages/core/build.ts: rework ensureAnsisImports to scan every relative
  chunk import instead of a fixed main-*.js chunk (rolldown moved the ansis
  colors between chunks).
- packages/tools/src/brand-vite.ts: add a config.ts patch that suppresses
  Vite's native config-loader migration notice.
- packages/core/package.json: add the ./rolldown/experimental/runtime export
  and bump @vitejs/devtools plus bundledVersions (vite 8.2.0, rolldown 1.2.1).
- packages/cli/binding/index.cjs, packages/cli/binding/index.d.cts:
  regenerated NAPI bindings.
@netlify

netlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 9a04036
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a705b74ff7fe30008361700

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Native binary sizes (9a04036)

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

Artifact Format Base PR Change
vp (Linux x64) Binary 10.36 MiB 10.36 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 4.44 MiB 4.44 MiB 0 B (0.00%)
NAPI (Linux x64) Binary 33.11 MiB 33.41 MiB +308.19 KiB (+0.91%)
NAPI (Linux x64) gzip -9 12.74 MiB 12.90 MiB +170.47 KiB (+1.31%)
vp (macOS ARM64) Binary 7.68 MiB 7.68 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 3.85 MiB 3.85 MiB 0 B (0.00%)
NAPI (macOS ARM64) Binary 40.51 MiB 40.75 MiB +241.80 KiB (+0.58%)
NAPI (macOS ARM64) gzip -9 16.99 MiB 17.12 MiB +139.52 KiB (+0.80%)
vp (Windows x64) Binary 8.40 MiB 8.40 MiB 0 B (0.00%)
vp (Windows x64) gzip -9 3.66 MiB 3.66 MiB 0 B (0.00%)
NAPI (Windows x64) Binary 27.50 MiB 27.70 MiB +202.50 KiB (+0.72%)
NAPI (Windows x64) gzip -9 10.70 MiB 10.84 MiB +142.06 KiB (+1.30%)
Trampoline (Windows x64) Binary 203.00 KiB 203.00 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 97.91 KiB 97.91 KiB -1 B (-0.00%)
Installer (Windows x64) Binary 4.47 MiB 4.47 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 2.09 MiB 2.09 MiB -2 B (-0.00%)

@fengmk2

fengmk2 commented Aug 3, 2026

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 77a52d93e5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@fengmk2 fengmk2 self-assigned this Aug 3, 2026
@fengmk2
fengmk2 merged commit 1c3ae60 into main Aug 3, 2026
164 of 167 checks passed
@fengmk2
fengmk2 deleted the deps/upstream-update branch August 3, 2026 11:09
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