release: v0.2.6: Stable type-aware linting and a refreshed toolchain#2217
Conversation
✅ Deploy Preview for viteplus-preview canceled.
|
NAPI bakes the package.json version into binding/index.cjs version checks. The prepare_release workflow bumps package.json but does not regenerate this file, so the CI build's regeneration step produces a diff that the post-build no-unexpected-changes guard rejects.
Native binary sizes (
|
| Artifact | Format | Base | PR | Change |
|---|---|---|---|---|
vp (Linux x64) |
Binary | 10.31 MiB | 10.31 MiB | 0 B (0.00%) |
vp (Linux x64) |
gzip -9 | 4.43 MiB | 4.42 MiB | -2.21 KiB (-0.05%) |
| NAPI (Linux x64) | Binary | 33.07 MiB | 33.07 MiB | 0 B (0.00%) |
| NAPI (Linux x64) | gzip -9 | 12.72 MiB | 12.72 MiB | +20 B (+0.00%) |
vp (macOS ARM64) |
Binary | 7.64 MiB | 7.64 MiB | 0 B (0.00%) |
vp (macOS ARM64) |
gzip -9 | 3.84 MiB | 3.84 MiB | -534 B (-0.01%) |
| NAPI (macOS ARM64) | Binary | 40.50 MiB | 40.50 MiB | 0 B (0.00%) |
| NAPI (macOS ARM64) | gzip -9 | 16.97 MiB | 16.97 MiB | +416 B (+0.00%) |
vp (Windows x64) |
Binary | 8.35 MiB | 8.35 MiB | 0 B (0.00%) |
vp (Windows x64) |
gzip -9 | 3.63 MiB | 3.64 MiB | +391 B (+0.01%) |
| NAPI (Windows x64) | Binary | 27.51 MiB | 27.51 MiB | 0 B (0.00%) |
| NAPI (Windows x64) | gzip -9 | 10.70 MiB | 10.70 MiB | +964 B (+0.01%) |
| 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 | 0 B (0.00%) |
| Installer (Windows x64) | Binary | 4.44 MiB | 4.44 MiB | 0 B (0.00%) |
| Installer (Windows x64) | gzip -9 | 2.08 MiB | 2.08 MiB | +1 B (+0.00%) |
Registry bridge build (
|
| Package | Version |
|---|---|
vite-plus |
0.0.0-commit.57939439ddcb16d9f54ebf7d41432893182ee46d |
@voidzero-dev/vite-plus-core |
0.0.0-commit.57939439ddcb16d9f54ebf7d41432893182ee46d |
Install the Vite+ CLI built from this commit, then migrate a project:
# macOS / Linux
curl -fsSL https://vite.plus | VP_PR_VERSION=2217 bash# Windows (PowerShell)
$env:VP_PR_VERSION="2217"; irm https://vite.plus/ps1 | iexAfter installing, upgrade the current project's vite-plus to this test build with:
vp migrateOr point your package manager at the bridge registry https://registry-bridge.viteplus.dev/:
| Package manager | Registry config |
|---|---|
| npm / pnpm / Bun | .npmrc: registry=https://registry-bridge.viteplus.dev/ |
| Yarn (v2+) | .yarnrc.yml: npmRegistryServer: "https://registry-bridge.viteplus.dev/" |
Then pin the build (vite aliases to vite-plus-core; pnpm can use a catalog, npm an overrides entry):
{
"devDependencies": {
"vite-plus": "0.0.0-commit.57939439ddcb16d9f54ebf7d41432893182ee46d",
"vite": "npm:@voidzero-dev/vite-plus-core@0.0.0-commit.57939439ddcb16d9f54ebf7d41432893182ee46d"
}
}
🐳 Docker preview imageBuilt from this PR's registry bridge build:
# remove any stale local copy from a previous run, then pull fresh
docker rmi ghcr.io/voidzero-dev/vite-plus:pr-2217 2>/dev/null; docker pull ghcr.io/voidzero-dev/vite-plus:pr-2217Quick check: docker run --rm ghcr.io/voidzero-dev/vite-plus:pr-2217 vp --versionSee docs/guide/docker.md for usage. |
@wan9chi 🙇 I forgot to update PR title so this might be outdated. |
|
@liangmiQwQ Updated the release notes to match the final implementation: |
## Summary - disable pnpm and Yarn package-age gates in the create approval-flow fixtures - regenerate snapshots around stable build-script approval behavior - avoid wall-clock failures when pinned upstream dependencies mature Fixes the cross-platform snapshot failures blocking #2217. ## Motivation While preparing v0.2.6 in #2217, the three `create_approve_builds` snapshots failed on Linux, macOS, and Windows. The release branch inherited the dependency upgrade from #2214, including OXC 0.141.0. When #2214 recorded these snapshots, the OXC packages were still inside the package-manager age window. The pnpm snapshots therefore included temporary `minimumReleaseAgeExclude` entries. The Yarn fixture stopped at an OXC quarantine error before it reached the `core-js` build-approval behavior that the fixture was meant to test. By the time release CI ran, the same OXC packages were old enough to install normally. No Vite+ behavior had changed, but pnpm no longer generated the temporary exclusions and Yarn completed installation. The resulting output was correct, but it no longer matched snapshots captured under the earlier registry state. Simply accepting the new snapshots would leave the fixtures dependent on package publication time. A future dependency upgrade could make them fail again while the new package is inside the age window. These fixtures should only test whether `vp create` detects, reports, and approves blocked build scripts. Disabling age gates in the three fixture environments makes that behavior deterministic without changing Vite+ or package-manager defaults for users. The regenerated snapshots now cover pnpm `allowBuilds`, Yarn `dependenciesMeta.built`, and the guidance shown when a build remains unapproved. ## Validation - `pnpm build` - `UPDATE_SNAPSHOTS=1 just snapshot-test create_approve_builds` - `just snapshot-test create_approve_builds`
wan9chi
left a comment
There was a problem hiding this comment.
Release version bump and notes validated by the release trigger.
Release vite-plus v0.2.6: Stable type-aware linting and a refreshed toolchain.
This release moves Vite+'s type-aware linting to the stable tsgolint 7 engine, refreshes the bundled build and formatting tools, strengthens
vp runcaching and workspace discovery, and removes the redundantvp buildstartup banner.Highlights
8.1.4->8.1.5, Rolldown1.1.5->1.2.0, tsdown0.22.7->0.22.13, Oxlint1.73.0->1.75.0, oxlint-tsgolint0.24.0->7.0.2001, and Oxfmt0.58.0->0.60.0(#2214), by @voidzero-guard[bot]vp runreliability by caching much larger automatically tracked input sets, discovering npm workspaces whose patterns start with./, and reporting output-forwarding failures accurately (vite-task#554, vite-task#547, vite-task#552, #2215), by @wan9chi and @liangmiQwQvp buildoutput and fail fast when upstream Vite changes invalidate Vite+ branding patches (#2200, #2205), by @liangmiQwQRefactor
Docs
Chore
vp createbuild-approval snapshots by removing package-age timing from those fixtures (#2224), by @wan9chiBundled Versions
8.1.55e7fe121.2.003e1e340.22.134.1.101.75.07.0.20010.60.0Upgrade
New Contributors
Welcome @charpeni.
Full Changelog: v0.2.5...v0.2.6
Merging this PR will trigger the release workflow.