Skip to content

feat(deps): upgrade upstream dependencies#1646

Merged
fengmk2 merged 7 commits into
mainfrom
deps/upstream-update
May 21, 2026
Merged

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

Conversation

@voidzero-guard
Copy link
Copy Markdown
Contributor

Summary

  • Bump rolldown to v1.0.2 and vite to v8.0.13, plus vitest 4.1.7 and the oxc/oxlint/oxfmt toolchain.
  • Bump oxc Rust crates 0.128.0 -> 0.132.0 and pin Rust toolchain to nightly-2026-03-15.
  • Drop the workspace-local @rolldown/pluginutils build and consume it as a transitive dep of rolldown, repointing the licensing/build paths and updating @voidzero-dev/vite-plus-core exports.
  • Refresh oxlint/parser-driven snapshots and quiet a few new unicorn/consistent-function-scoping lint hits.

Dependency updates

Package From To
rolldown ac5c710 v1.0.2 (f2757ed)
vite 66f3194 v8.0.13 (a46f11a)
vitest 4.1.6 4.1.7
oxfmt 0.48.0 0.51.0
oxlint 1.63.0 1.66.0
oxlint-tsgolint 0.22.1 0.23.0
@oxc-project/runtime 0.129.0 0.132.0
@oxc-project/types 0.129.0 0.132.0
oxc-minify 0.129.0 0.132.0
oxc-parser 0.129.0 0.132.0
oxc-transform 0.129.0 0.132.0
@vitejs/devtools 0.1.21 0.1.24
Unchanged dependencies
  • tsdown: 0.22.0
  • @oxc-node/cli: 0.1.0
  • @oxc-node/core: 0.1.0

Code changes

  • Cargo.toml: bump oxc workspace crates 0.128.0 -> 0.132.0; bump dashmap, jsonschema, mimalloc-safe, and pnp minor versions.
  • rust-toolchain.toml: bump nightly channel to nightly-2026-03-15.
  • .github/actions/build-upstream/action.yml, package.json: drop the standalone pnpm --filter @rolldown/pluginutils build step.
  • pnpm-workspace.yaml: add @rolldown/pluginutils to the catalog, remove its workspace: override, bump vitest-dev override to ^4.1.7, and sync transitive deps (remeda, rolldown-plugin-dts, rollup, semver, tsx, valibot, vitepress-plugin-graphviz, ws).
  • packages/core/build.ts, packages/tools/src/sync-remote-deps.ts: repoint pluginutils sources to rolldown/packages/rolldown/node_modules/@rolldown/pluginutils and its colocated LICENSE.
  • packages/core/package.json: collapse ./rolldown/pluginutils[/filter] exports to direct .mjs entries; bump @vitejs/devtools and bundledVersions (vite/rolldown).
  • packages/test/package.json: bump @vitest/* packages and vitest-dev to 4.1.7.
  • packages/cli/snap-tests/{bin-oxlint-wrapper,command-helper}/snap.txt: include new oxlint --debug=OPTIONS help entry.
  • packages/cli/snap-tests/{build-vite-env,synthetic-build-cache-disabled}/snap.txt: refresh built asset hash.
  • packages/cli/snap-tests-global/command-staged-broken-config/snap.txt: update parser error prefix ([PARSE_ERROR] Unexpected token).
  • packages/cli/src/create/__tests__/org-tarball.spec.ts, packages/prompts/src/{group-multi-select,progress-bar,select-key}.ts: add unicorn/consistent-function-scoping eslint-disable lines for intentionally inlined helpers.
  • packages/tools/.upstream-versions.json: pinned upstream hashes for rolldown/vite.

Build status

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

- rolldown: ac5c710 -> v1.0.2 (f2757ed)
- vite: 66f3194 -> v8.0.13 (a46f11a)
- vitest: 4.1.6 -> 4.1.7
- oxfmt: 0.48.0 -> 0.51.0
- oxlint: 1.63.0 -> 1.66.0
- oxlint-tsgolint: 0.22.1 -> 0.23.0
- @oxc-project/runtime: 0.129.0 -> 0.132.0
- @oxc-project/types: 0.129.0 -> 0.132.0
- oxc-minify: 0.129.0 -> 0.132.0
- oxc-parser: 0.129.0 -> 0.132.0
- oxc-transform: 0.129.0 -> 0.132.0
- @vitejs/devtools: 0.1.21 -> 0.1.24

Code changes:
- Bump oxc Rust crates 0.128.0 -> 0.132.0 and minor deps (dashmap, jsonschema, mimalloc-safe, pnp) in Cargo.toml.
- Bump Rust toolchain to nightly-2026-03-15 in rust-toolchain.toml.
- Drop `@rolldown/pluginutils` workspace build/override; consume it as a transitive dep of rolldown (.github/actions/build-upstream/action.yml, package.json, pnpm-workspace.yaml).
- Repoint pluginutils path to `rolldown/packages/rolldown/node_modules/@rolldown/pluginutils` in packages/core/build.ts and packages/tools/src/sync-remote-deps.ts.
- Switch `./rolldown/pluginutils` exports to direct `.mjs` entries in packages/core/package.json; bump bundledVersions for vite/rolldown.
- Sync catalog versions for transitive deps (remeda, rolldown-plugin-dts, rollup, semver, tsx, valibot, vitepress-plugin-graphviz, ws) in pnpm-workspace.yaml.
- Refresh snapshots for new oxlint `--debug` flag and updated parser error format (packages/cli/snap-tests/{bin-oxlint-wrapper,command-helper,build-vite-env,synthetic-build-cache-disabled}/snap.txt, packages/cli/snap-tests-global/command-staged-broken-config/snap.txt).
- Silence `unicorn/consistent-function-scoping` for inline helpers in packages/cli/src/create/__tests__/org-tarball.spec.ts and packages/prompts/src/{group-multi-select,progress-bar,select-key}.ts.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 20, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 778ce0f
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a0e6ec920010d000826997f

fengmk2 added 5 commits May 21, 2026 09:26
Fix clippy errors surfaced by the nightly-2026-03-15 toolchain upgrade:
- collapsible_match in vite_install package_manager
- unnecessary_sort_by in vite_js_runtime and vite_setup
- unnecessary_trailing_comma in cli help test
…orkspace

The bundled cargo-deny check inside oxc-project/security-action runs
`cargo metadata`, which fails because the workspace Cargo.toml references
`./rolldown/crates/*` paths that only exist after cloning the rolldown repo.
Pre-clone via the existing `./.github/actions/clone` and clear `origin` so
the action's nested taiki-e/checkout-action can re-add it without conflict.
Rolldown crates use `#![expect(clippy::print_stderr)]` at the crate root, but
vite-plus's workspace sets `print_stderr = "allow"`. When rolldown crates are
built as path dependencies of our workspace, our lint level wins and the expects
never fire, triggering `unfulfilled_lint_expectations`. Allow the rust lint so
upstream-only expects don't break our build.
@fengmk2
Copy link
Copy Markdown
Member

fengmk2 commented May 21, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

ℹ️ 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
Copy link
Copy Markdown
Member

fengmk2 commented May 21, 2026

security analysis ci follow up here #1635 (comment)

@fengmk2 fengmk2 merged commit bf8457b into main May 21, 2026
145 of 148 checks passed
@fengmk2 fengmk2 deleted the deps/upstream-update branch May 21, 2026 03:23
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