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 17 commits into
mainfrom
codex/vite-8.4-beta
Draft

fengmk2 wants to merge 17 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.2 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.2.

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 22bfcc0)

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://ffeb3415-viteplus-dev.voidzero-docs.workers.dev 22bfcc0 2026-11-25T16:46:28.834Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://9acac79a-viteplus-dev.voidzero-docs.workers.dev ab8015e 2026-11-25T08:00:39.285Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://e08ca056-viteplus-dev.voidzero-docs.workers.dev 32f9c65 2026-11-25T07:38:07.044Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://56068c29-viteplus-dev.voidzero-docs.workers.dev 0fd53cb 2026-11-25T06:56:15.604Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://083a78c8-viteplus-dev.voidzero-docs.workers.dev e4d9358 2026-11-25T06:33:44.118Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://ba446215-viteplus-dev.voidzero-docs.workers.dev be3af5f 2026-11-25T06:21:16.272Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://d869d61c-viteplus-dev.voidzero-docs.workers.dev a957bd2 2026-11-24T05:12:14.410Z Visit the dashboard ↗
  • 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 ↗

View all previews: View all previews ↗

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

CLI artifact sizes (22bfcc0)

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 +7.10 KiB (+0.29%)
packages/core/dist Directory total 4.11 MiB 4.21 MiB +99.59 KiB (+2.37%)
Combined package dist Directory total 6.51 MiB 6.61 MiB +106.70 KiB (+1.60%)
vp (Linux x64) Binary 9.11 MiB 9.19 MiB +84.00 KiB (+0.90%)
vp (Linux x64) gzip -9 4.18 MiB 4.20 MiB +28.39 KiB (+0.66%)
NAPI (Linux x64) Binary 37.34 MiB 38.05 MiB +724.25 KiB (+1.89%)
NAPI (Linux x64) gzip -9 14.93 MiB 15.31 MiB +388.68 KiB (+2.54%)
vp (macOS ARM64) Binary 5.99 MiB 6.04 MiB +48.91 KiB (+0.80%)
vp (macOS ARM64) gzip -9 3.57 MiB 3.60 MiB +32.68 KiB (+0.89%)
NAPI (macOS ARM64) Binary 43.86 MiB 44.44 MiB +597.41 KiB (+1.33%)
NAPI (macOS ARM64) gzip -9 19.06 MiB 19.41 MiB +367.16 KiB (+1.88%)
vp (Windows x64) Binary 7.11 MiB 7.18 MiB +73.50 KiB (+1.01%)
vp (Windows x64) gzip -9 3.26 MiB 3.28 MiB +27.00 KiB (+0.81%)
NAPI (Windows x64) Binary 33.28 MiB 33.91 MiB +650.50 KiB (+1.91%)
NAPI (Windows x64) gzip -9 13.65 MiB 14.02 MiB +374.37 KiB (+2.68%)
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 0 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: 22bfcc0

@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>
@fengmk2
fengmk2 force-pushed the codex/vite-8.4-beta branch from ff9e6da to a957bd2 Compare November 24, 2026 05:11
@fengmk2 fengmk2 self-assigned this Nov 25, 2026
fengmk2 added a commit that referenced this pull request Nov 25, 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>
@fengmk2
fengmk2 added this pull request to stack #3574 November 25, 2026 06:15
@fengmk2
fengmk2 force-pushed the codex/vite-8.4-beta branch 3 times, most recently from 23ec212 to 0fd53cb Compare November 25, 2026 06:55
fengmk2 added a commit that referenced this pull request Nov 25, 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>
fengmk2 added a commit that referenced this pull request Nov 25, 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>
fengmk2 added a commit that referenced this pull request Nov 25, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fengmk2
fengmk2 force-pushed the codex/vite-8.4-beta branch from 32f9c65 to ab8015e Compare November 25, 2026 08:00
fengmk2 added a commit that referenced this pull request Nov 25, 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>
fengmk2 added a commit that referenced this pull request Nov 25, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fengmk2 added a commit that referenced this pull request Nov 25, 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>
fengmk2 added a commit that referenced this pull request Nov 25, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fengmk2 and others added 14 commits November 26, 2026 00:41
Pin the vendored Vite to the v8.4.0-beta.2 tag. It still requires
Rolldown ~1.3.2, so the bundled Rolldown 1.3.3 stays.

Sync the workspace with the new Vite: @vitejs/devtools 0.8.3, devframe
1.4.0 and its Vite patch, and the matching lockfile updates.

Move the temporary stable core version trial from beta.1 to beta.2, so
the core keeps version 8.4.0 while it bundles the beta.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Vite 8.4.0-beta.2 keeps a load hook's `this.addWatchFile()` in the
module graph on the first request (the Vite change "keep
`this.addWatchFile` in `load` hook on a module's first request"). A
`?raw` module now imports its source file, so vinext's assertion that
the raw module has no imported modules fails. Assert only that the raw
module does not import the wrapped CSS, which is what the test checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vinext now checks mapped stack frames against the client environment's
file access and accepts the `?raw` watch file import, so it passes on
Vite 8.4 without local changes. Pin vinext to the upstream merge commit
b0f179fd and remove vinext-vite-8.4.patch with the step that applied it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fengmk2
fengmk2 force-pushed the codex/vite-8.4-beta branch from 0bce7e6 to 22bfcc0 Compare November 25, 2026 16:45
fengmk2 added a commit that referenced this pull request Nov 25, 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>
fengmk2 added a commit that referenced this pull request Nov 25, 2026
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