Skip to content

chore(deps): upgrade Vite+ to 0.3.1 and Vitest to 4.1.11 - #3215

Open
fengmk2 wants to merge 3 commits into
cloudflare:mainfrom
fengmk2:chore/upgrade-vite-plus-0.3.1
Open

chore(deps): upgrade Vite+ to 0.3.1 and Vitest to 4.1.11#3215
fengmk2 wants to merge 3 commits into
cloudflare:mainfrom
fengmk2:chore/upgrade-vite-plus-0.3.1

Conversation

@fengmk2

@fengmk2 fengmk2 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Upgrade vite-plus and the vite alias from 0.2.6 to 0.3.1. Update vitest and @vitest/coverage-istanbul from 4.1.10 to 4.1.11. Group these packages in .github/dependabot.yml so Dependabot updates them together.

The release includes Rolldown 1.2.7 and Oxc 0.148.0. Rolldown PR #10809 fixes the default-parameter scope analysis reported in issue #10779. That error could prevent removal of a dead dynamic import from a server build. The existing production branch-pruning regression passes with this release.

Oxlint changes from 1.75.0 to 1.81.0. Since 1.79.0, no-redeclare also checks ES modules (PR #25691). Two intentional next/document declaration merges therefore need narrow ignores. Remove an unused underscore parameter reported after PR #25663. React diagnostics also require code changes because this repository uses denyWarnings: true.

The React fixes derive benchmark controls from URL state and reset local state when its input changes. Narrow exceptions preserve router ref timing, committed snapshots, client-only mount behavior, and legacy Link refs. The overlay resets frame visibility without remounting its dialog. This preserves pagination focus, as Next.js does. A browser regression test checks consecutive Enter presses in both directions and frame visibility after error changes.

The bundled tsdown version changes to 0.23.0. Update package configurations to use deps.neverBundle and select dts.generator explicitly. Set deps.resolveDepSubpath to preserve the previous behavior.

Move tests/dynamic-requests-build.test.ts to the integration project. These tests start Vite servers and exceeded the unit project's five-second limit in CI. They now use the existing integration timeout and worker limits, with no assertion changes.

Before submission, unit tests, integration tests, browser tests, performance checks, and quality checks passed. All ten example builds also passed.

@pkg-pr-new

pkg-pr-new Bot commented Sep 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@vinext/cloudflare@3215
npm i https://pkg.pr.new/create-vinext-app@3215
npm i https://pkg.pr.new/@vinext/types@3215
npm i https://pkg.pr.new/vinext@3215

commit: a66b9d9

@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Performance benchmarks

Compared a66b9d9 against base 13e7d9c using alternating same-runner rounds. Next.js was unchanged and skipped.

3 improved · 0 regressed · 3 within ±1.5%

Scenario Framework Baseline Current Change
Client bundle size (gzip) vinext 142.4 KB 142.4 KB ⚫ -0.0%
Client entry size (gzip) vinext 129.7 KB 129.7 KB ⚫ +0.0%
Dev server cold start vinext 3.30 s 3.20 s 🟢 -3.1%
Production build time vinext 3.67 s 3.69 s ⚫ +0.6%
RSC entry closure size (gzip) vinext 125.4 KB 120.7 KB 🟢 -3.8%
Server bundle size (gzip) vinext 216.1 KB 210.6 KB 🟢 -2.5%

View detailed results and traces

🟢 improvement · 🔴 regression · ⚫ change below 1.5% · paired base/head

@james-elicx

Copy link
Copy Markdown
Member

/bigbonk review for issues. 8 min time limit.

@ask-bonk

ask-bonk Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

LGTM!

github run

@fengmk2
fengmk2 force-pushed the chore/upgrade-vite-plus-0.3.1 branch from 45747f7 to a66b9d9 Compare September 11, 2026 15:36
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.

2 participants