Skip to content

feat(deps): upgrade to Vite 8.4 beta, Rolldown 1.3, and tsdown 0.23.7 - #3511

Draft
fengmk2 wants to merge 12 commits into
mainfrom
codex/vite-8.4-beta
Draft

fengmk2 wants to merge 12 commits into
mainfrom
codex/vite-8.4-beta

Conversation

@fengmk2

@fengmk2 fengmk2 commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Vite 8.3.8 requires Rolldown 1.2.x. Vite 8.4.0-beta.1 and tsdown 0.23.7 share Rolldown 1.3.3 in this release. The core package temporarily uses version 8.4.0 so plugins with stable Vite 8 peer ranges accept the beta. The bundled Vite version remains 8.4.0-beta.1.

vp pack loads the yuku version that the declaration plugin requires.

For TypeScript 5 and 6 projects that select tsgo with @typescript/native-preview, vp migrate upgrades the compiler to typescript@7.1.0-beta. It keeps the preview package if other scripts or imports use it. It reports custom compiler settings and conflicting TypeScript requirements for manual review.

Rolldown accepts source maps from Vite plugins when a source entry is missing.

This PR patches Rolldown 1.3.3 locally. Remove packages/tools/patches/rolldown-1.3.3.patch after Vite+ adopts a release that includes the upstream fixes. Rolldown PR #11850

Closes #3526.

@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://codex-vite-8-4-beta-viteplus-dev.voidzero-docs.workers.dev (commit ff9e6da)

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://294e074c-viteplus-dev.voidzero-docs.workers.dev ff9e6da 2026-11-23T08:32:10.225Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://9e201474-viteplus-dev.voidzero-docs.workers.dev 061ebb3 2026-11-22T12:38:28.430Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://772dab69-viteplus-dev.voidzero-docs.workers.dev 1ea28be 2026-11-22T12:28:02.022Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://79743c2f-viteplus-dev.voidzero-docs.workers.dev 392360b 2026-11-21T08:44:10.635Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://22b4d1ec-viteplus-dev.voidzero-docs.workers.dev 1cb0968 2026-11-21T06:47:36.219Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://11aec618-viteplus-dev.voidzero-docs.workers.dev a910043 2026-11-21T06:44:55.070Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://4f674534-viteplus-dev.voidzero-docs.workers.dev 926d92d 2026-11-21T06:42:15.052Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://eeeb1ad1-viteplus-dev.voidzero-docs.workers.dev 7204e21 2026-11-20T16:35:26.758Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://6db5947d-viteplus-dev.voidzero-docs.workers.dev ce1a458 2026-11-20T16:28:04.986Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://a379e255-viteplus-dev.voidzero-docs.workers.dev 3c9999c 2026-11-20T16:26:45.256Z Visit the dashboard ↗

View all previews: View all previews ↗

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

CLI artifact sizes (ff9e6da)

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.38 MiB 2.39 MiB +7.73 KiB (+0.32%)
packages/core/dist Directory total 4.11 MiB 4.19 MiB +84.98 KiB (+2.02%)
Combined package dist Directory total 6.49 MiB 6.58 MiB +92.70 KiB (+1.39%)
vp (Linux x64) Binary 8.55 MiB 8.55 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 3.92 MiB 3.92 MiB 0 B (0.00%)
NAPI (Linux x64) Binary 37.27 MiB 37.98 MiB +728.38 KiB (+1.91%)
NAPI (Linux x64) gzip -9 14.89 MiB 15.28 MiB +396.56 KiB (+2.60%)
vp (macOS ARM64) Binary 5.61 MiB 5.61 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 3.34 MiB 3.34 MiB 0 B (0.00%)
NAPI (macOS ARM64) Binary 43.81 MiB 44.40 MiB +597.42 KiB (+1.33%)
NAPI (macOS ARM64) gzip -9 19.03 MiB 19.38 MiB +361.34 KiB (+1.85%)
vp (Windows x64) Binary 6.64 MiB 6.64 MiB 0 B (0.00%)
vp (Windows x64) gzip -9 3.03 MiB 3.03 MiB 0 B (0.00%)
NAPI (Windows x64) Binary 33.23 MiB 33.86 MiB +650.50 KiB (+1.91%)
NAPI (Windows x64) gzip -9 13.63 MiB 14.00 MiB +377.86 KiB (+2.71%)
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.69 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 2.25 MiB 2.25 MiB -3 B (-0.00%)

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

✅ Staging deployment successful!

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

@fengmk2
fengmk2 force-pushed the codex/vite-8.4-beta branch from 392360b to 1ea28be Compare November 22, 2026 12:26
fengmk2 added a commit that referenced this pull request Nov 23, 2026
fengmk2 added a commit that referenced this pull request Nov 23, 2026
- Update `lint-staged` from `17.6.1` to `17.6.2`.
- PR #3511 updates `tsdown` and its declaration dependencies together
with Vite and Rolldown.

## Dependency updates

| Package | From | To |
| --- | --- | --- |
| `lint-staged` | `17.6.1` |
[`17.6.2`](https://github.com/lint-staged/lint-staged/releases/tag/v17.6.2)
|

<details><summary>Unchanged dependencies</summary>

- `pnpm (installer)`: `10.34.9`
- `rolldown`: `v1.2.19 (b9c75dd)`
- `vite`: `v8.3.8 (b39e6e6)`
- `oxc-node`: `v1.0.2 (16c0f34)`
- `vitest`: `5.1.1`
- `@vitest/browser`: `5.1.1`
- `@vitest/browser-playwright`: `5.1.1`
- `@vitest/browser-preview`: `5.1.1`
- `@vitest/mocker`: `5.1.1`
- `@vitest/pretty-format`: `5.1.1`
- `@vitest/snapshot`: `5.1.1`
- `@vitest/spy`: `5.1.1`
- `@vitest/utils`: `5.1.1`
- `tsdown`: `0.23.4`
- `@tsdown/css`: `0.23.4`
- `@tsdown/exe`: `0.23.4`
- `yuku-parser`: `0.19.0`
- `lightningcss`: `^1.33.0`
- `@oxc-node/cli`: `1.0.2`
- `@oxc-node/core`: `1.0.2`
- `oxfmt`: `0.79.0`
- `oxlint`: `1.94.0`
- `@oxlint/plugins`: `1.94.0`
- `tsrs`: `7.1.0-beta.tsrs4`
- `@oxc-project/runtime`: `0.159.0`
- `@oxc-project/types`: `0.159.0`
- `oxc-parser`: `0.159.0`
- `VITEST_VERSION constant`: `5.1.1`
- `Node.js`: `24.22.3`
- `postcss`: `^8.5.32`
- `fsevents`: `~2.3.3`

</details>

## Code changes

- The lockfile records deprecation notices for the four Yuku packages at
`0.19.0`.

## Build status

Results from the [original automated
upgrade](https://github.com/voidzero-dev/vite-plus/actions/runs/45086592269).
See the [PR
checks](https://github.com/voidzero-dev/vite-plus/pull/3546/checks) for
the current revision.

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

🤖 Original upgrade generated with [Kimi](https://www.kimi.com/)

---------

Co-authored-by: voidzero-guard[bot] <278573678+voidzero-guard[bot]@users.noreply.github.com>
Co-authored-by: Kimi <noreply@moonshot.cn>
Co-authored-by: MK <fengmk2@gmail.com>
@fengmk2
fengmk2 force-pushed the codex/vite-8.4-beta branch from 061ebb3 to ff9e6da Compare November 23, 2026 08:31
fengmk2 added a commit that referenced this pull request Nov 23, 2026
#3511 performs the tsdown 0.23.7, declaration plugin 0.30.2,
Rolldown 1.3.3, and Vite 8.4 beta upgrade. Record what it handles
(native-preview, tsgo.path, the TypeScript 7.1 peer range, yuku) and
the upgrade items that stay open (dts.entry, deprecated top-level
options, yuku on musl). Note that tsrs4 also passes the probe.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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.

Guide vp pack projects off @typescript/native-preview with vp migrate

1 participant