Repository navigation
release: v1.8.0 - #3557
release: v1.8.0#3557voidzero-guard[bot] wants to merge 3 commits into
Conversation
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. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
✅ Staging deployment successful! Preview: https://viteplus-staging.void.app/ |
CLI artifact sizes (
|
| Artifact | Format | Base | PR | Change |
|---|---|---|---|---|
packages/cli/dist |
Directory total | 2.38 MiB | 2.38 MiB | 0 B (0.00%) |
packages/core/dist |
Directory total | 4.11 MiB | 4.11 MiB | 0 B (0.00%) |
| Combined package dist | Directory total | 6.49 MiB | 6.49 MiB | 0 B (0.00%) |
vp (Linux x64) |
Binary | 8.57 MiB | 8.57 MiB | 0 B (0.00%) |
vp (Linux x64) |
gzip -9 | 3.92 MiB | 3.92 MiB | -510 B (-0.01%) |
| NAPI (Linux x64) | Binary | 37.31 MiB | 37.31 MiB | 0 B (0.00%) |
| NAPI (Linux x64) | gzip -9 | 14.91 MiB | 14.91 MiB | +6 B (+0.00%) |
vp (macOS ARM64) |
Binary | 5.61 MiB | 5.61 MiB | 0 B (0.00%) |
vp (macOS ARM64) |
gzip -9 | 3.35 MiB | 3.35 MiB | +386 B (+0.01%) |
| NAPI (macOS ARM64) | Binary | 43.83 MiB | 43.83 MiB | 0 B (0.00%) |
| NAPI (macOS ARM64) | gzip -9 | 19.03 MiB | 19.04 MiB | +911 B (+0.00%) |
vp (Windows x64) |
Binary | 6.65 MiB | 6.65 MiB | 0 B (0.00%) |
vp (Windows x64) |
gzip -9 | 3.03 MiB | 3.03 MiB | -43 B (-0.00%) |
| NAPI (Windows x64) | Binary | 33.25 MiB | 33.25 MiB | 0 B (0.00%) |
| NAPI (Windows x64) | gzip -9 | 13.64 MiB | 13.64 MiB | -633 B (-0.00%) |
| 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 | +1 B (+0.00%) |
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://release-v1-8-0-viteplus-dev.voidzero-docs.workers.dev (commit 8ec3366)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
Preview binary sizes (
|
| Binary | Latest release | Preview | Change |
|---|---|---|---|
vp (macOS ARM64) |
5.46 MiB | 5.61 MiB | +162.17 KiB (+2.90%) |
| NAPI (macOS ARM64) | 43.61 MiB | 43.80 MiB | +193.91 KiB (+0.43%) |
vp (macOS x64) |
6.93 MiB | 7.12 MiB | +188.91 KiB (+2.66%) |
| NAPI (macOS x64) | 49.00 MiB | 49.23 MiB | +236.67 KiB (+0.47%) |
vp (Linux ARM64 GNU) |
6.91 MiB | 7.10 MiB | +196.12 KiB (+2.77%) |
| NAPI (Linux ARM64 GNU) | 32.90 MiB | 33.13 MiB | +233.28 KiB (+0.69%) |
vp (Linux ARM64 musl) |
6.99 MiB | 7.18 MiB | +196.50 KiB (+2.75%) |
| NAPI (Linux ARM64 musl) | 32.13 MiB | 32.34 MiB | +212.08 KiB (+0.64%) |
vp (Linux x64 GNU) |
8.35 MiB | 8.57 MiB | +224.12 KiB (+2.62%) |
| NAPI (Linux x64 GNU) | 36.98 MiB | 37.23 MiB | +257.50 KiB (+0.68%) |
vp (Linux x64 musl) |
8.42 MiB | 8.64 MiB | +226.80 KiB (+2.63%) |
| NAPI (Linux x64 musl) | 36.18 MiB | 36.42 MiB | +246.44 KiB (+0.67%) |
vp (Windows x64) |
6.19 MiB | 6.66 MiB | +477.00 KiB (+7.52%) |
| NAPI (Windows x64) | 32.67 MiB | 32.89 MiB | +224.50 KiB (+0.67%) |
| Trampoline (Windows x64) | 13.00 KiB | 13.00 KiB | 0 B (0.00%) |
| Installer (Windows x64) | 4.69 MiB | 4.70 MiB | +8.00 KiB (+0.17%) |
vp (Windows ARM64) |
5.42 MiB | 5.87 MiB | +464.00 KiB (+8.36%) |
| NAPI (Windows ARM64) | 28.85 MiB | 29.02 MiB | +173.00 KiB (+0.59%) |
| Trampoline (Windows ARM64) | 13.00 KiB | 13.00 KiB | 0 B (0.00%) |
| Installer (Windows ARM64) | 3.86 MiB | 3.87 MiB | +7.00 KiB (+0.18%) |
gzip -9 sizes
| Binary | Latest release | Preview | Change |
|---|---|---|---|
vp (macOS ARM64) |
3.25 MiB | 3.35 MiB | +100.63 KiB (+3.02%) |
| NAPI (macOS ARM64) | 18.93 MiB | 19.03 MiB | +103.59 KiB (+0.53%) |
vp (macOS x64) |
3.44 MiB | 3.53 MiB | +94.12 KiB (+2.68%) |
| NAPI (macOS x64) | 20.22 MiB | 20.33 MiB | +111.96 KiB (+0.54%) |
vp (Linux ARM64 GNU) |
3.75 MiB | 3.85 MiB | +108.37 KiB (+2.82%) |
| NAPI (Linux ARM64 GNU) | 14.02 MiB | 14.12 MiB | +110.61 KiB (+0.77%) |
vp (Linux ARM64 musl) |
3.77 MiB | 3.88 MiB | +107.70 KiB (+2.79%) |
| NAPI (Linux ARM64 musl) | 13.72 MiB | 13.83 MiB | +113.71 KiB (+0.81%) |
vp (Linux x64 GNU) |
3.82 MiB | 3.92 MiB | +107.60 KiB (+2.75%) |
| NAPI (Linux x64 GNU) | 14.75 MiB | 14.87 MiB | +119.89 KiB (+0.79%) |
vp (Linux x64 musl) |
3.84 MiB | 3.95 MiB | +110.82 KiB (+2.82%) |
| NAPI (Linux x64 musl) | 14.43 MiB | 14.54 MiB | +110.78 KiB (+0.75%) |
vp (Windows x64) |
2.86 MiB | 3.03 MiB | +175.24 KiB (+5.98%) |
| NAPI (Windows x64) | 13.39 MiB | 13.50 MiB | +111.01 KiB (+0.81%) |
| Trampoline (Windows x64) | 7.14 KiB | 7.14 KiB | -1 B (-0.01%) |
| Installer (Windows x64) | 2.25 MiB | 2.25 MiB | +3.72 KiB (+0.16%) |
vp (Windows ARM64) |
2.73 MiB | 2.90 MiB | +173.74 KiB (+6.21%) |
| NAPI (Windows ARM64) | 12.70 MiB | 12.79 MiB | +92.70 KiB (+0.71%) |
| Trampoline (Windows ARM64) | 6.93 KiB | 6.93 KiB | 0 B (0.00%) |
| Installer (Windows ARM64) | 2.14 MiB | 2.15 MiB | +3.28 KiB (+0.15%) |
Raw sizes are uncompressed file sizes. gzip sizes recompress each binary at level 9; they are not package or download archive sizes.
The baseline uses published release files, including NAPI packages from npm at the same version. Build versions and toolchains can affect the difference.
Registry bridge build (
|
| Package | Version |
|---|---|
vite-plus |
0.0.0-commit.8ec336609b9c3dee6c269c374904b008233dadb8 |
@voidzero-dev/vite-plus-core |
0.0.0-commit.8ec336609b9c3dee6c269c374904b008233dadb8 |
create-vite-plus |
0.0.0-commit.8ec336609b9c3dee6c269c374904b008233dadb8 |
Install the Vite+ CLI built from this commit, then migrate a project:
# macOS / Linux
curl -fsSL https://github.com/raw/voidzero-dev/vite-plus/8ec336609b9c3dee6c269c374904b008233dadb8/packages/cli/install.sh | VP_PR_VERSION=3557 VP_LEGACY_INSTALLER_URL=https://github.com/raw/voidzero-dev/vite-plus/8ec336609b9c3dee6c269c374904b008233dadb8/packages/cli/install-legacy.sh bash# Windows (PowerShell)
$env:VP_PR_VERSION="3557"; $env:VP_LEGACY_INSTALLER_URL="https://github.com/raw/voidzero-dev/vite-plus/8ec336609b9c3dee6c269c374904b008233dadb8/packages/cli/install-legacy.ps1"; irm https://raw.githubusercontent.com/voidzero-dev/vite-plus/8ec336609b9c3dee6c269c374904b008233dadb8/packages/cli/install.ps1 | iexOr install with Homebrew (macOS / glibc Linux):
These commands use the formula and binary from this published commit. Replace brew install with brew reinstall if the tap package is already installed.
If Homebrew Core’s vite-plus is installed, run brew uninstall vite-plus first. This keeps your user data; do not run vp implode to switch installations.
(
set -eu
export HOMEBREW_NO_AUTO_UPDATE=1
export HOMEBREW_VP_PR_VERSION=8ec336609b9c3dee6c269c374904b008233dadb8
brew tap voidzero-dev/vite-plus https://github.com/voidzero-dev/vite-plus
preview_tap="$(brew --repository voidzero-dev/vite-plus)"
git -C "$preview_tap" fetch --depth=1 https://github.com/voidzero-dev/vite-plus.git "$HOMEBREW_VP_PR_VERSION"
git -C "$preview_tap" switch --detach "$HOMEBREW_VP_PR_VERSION"
brew install voidzero-dev/vite-plus/vp
brew test voidzero-dev/vite-plus/vp
"$(brew --prefix)/bin/vp"
)The tap stays at the tested commit. Return it to main after testing:
git -C "$(brew --repository voidzero-dev/vite-plus)" switch mainOr download the standalone Windows installer built from this commit:
| Architecture | Installer |
|---|---|
| x64 | vp-setup-x86_64-pc-windows-msvc.exe |
| Arm64 | vp-setup-aarch64-pc-windows-msvc.exe |
GitHub requires you to sign in and downloads each installer as a ZIP artifact. Extract vp-setup.exe, then run it against this preview build:
.\vp-setup.exe --version "0.0.0-commit.8ec336609b9c3dee6c269c374904b008233dadb8" --registry "https://registry-bridge.viteplus.dev/"After installing, upgrade the current project's vite-plus to this test build with:
vp migrateOr create a new project from this commit without installing the CLI:
export npm_config_registry=https://registry-bridge.viteplus.dev/ pnpm_config_registry=https://registry-bridge.viteplus.dev/
pnpm create vite-plus@0.0.0-commit.8ec336609b9c3dee6c269c374904b008233dadb8 # or: npm create vite-plus@0.0.0-commit.8ec336609b9c3dee6c269c374904b008233dadb8$env:npm_config_registry="https://registry-bridge.viteplus.dev/"; $env:pnpm_config_registry="https://registry-bridge.viteplus.dev/"
pnpm create vite-plus@0.0.0-commit.8ec336609b9c3dee6c269c374904b008233dadb8 # or: npm create vite-plus@0.0.0-commit.8ec336609b9c3dee6c269c374904b008233dadb8pnpm 11+ reads pnpm_config_registry, npm and older pnpm read npm_config_registry. The new project pins this build, so keep the registry set for later installs, or configure it as below.
Or 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.8ec336609b9c3dee6c269c374904b008233dadb8",
"vite": "npm:@voidzero-dev/vite-plus-core@0.0.0-commit.8ec336609b9c3dee6c269c374904b008233dadb8"
}
}
🐳 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-3557 2>/dev/null; docker pull ghcr.io/voidzero-dev/vite-plus:pr-3557Quick check: docker run --rm ghcr.io/voidzero-dev/vite-plus:pr-3557 vp --versionSee docs/guide/docker.md for usage. |
Vite+ 1.8.0 runs project package managers from
PATHwhen no globalvpis installed, instead of downloading them, and runs project-localvp devin one process, so aSIGTERMto it stops the dev server.vp migratealso offers to group Vite+ updates in Renovate.Features
vp, thevite-pluspackage uses the package managers onPATHand no longer downloads them into Vite+ directories. With a globalvp, it follows that installation's mode: managed mode downloads as before, and system-first mode (vp env off) prefers the system package manager and falls back to a download. Without a globalvp,vp createandvp migratedefault to the first installed of pnpm, npm, Yarn, and Bun, and the package-manager selector marks the othersnot installed(#3386, #3389), by @liangmiQwQ and @SaKaNa-Y:vpis installed and the project's package manager is not onPATH, package-manager commands,vp run, andvp execfail with a message instead of downloading it. Install that package manager or the globalvp. Without a globalvp, a project that selects no package manager uses npm.vp createpins the version of the system package manager that installs the new project.vp migrateoffers to add Renovate'sgroup:vitePluspreset to an existing Renovate config, so Renovate groups eligible Vite+ and Vitest updates. An interactive run asks first (default Yes), and a non-interactive run adds it. Projects that already use Vite+ can runvp migrate --fullto add it (docs) (#3485), by @fengmk2.--filter,-r,-t,-w, or--fail-if-no-matchbeforerun, such asvp --filter backend run dev, suggestsvp run --filter backend dev. In an interactive terminal, the globalvpasks whether to run it. In other cases, and in the project-local CLI, the command prints the suggestion and exits with code 2 (#3500), by @naokihaba.5.1.0→5.1.1--bailcorrectly, applies--shardbefore the run starts, and gives each test attempt a newsignal7.1.0-beta.tsrs2→7.1.0-beta.tsrs4tscprints it, and suggestion diagnostics no longer fail type checks17.6.1→17.6.2git commit <file>,vp stagedstages task edits only for those filesvp check, run it after you upgrade: tsrs now reports global and declaration diagnostics, so the type check can report errors in code that passed before.Fixes & Enhancements
VP_LOG=debug,vp createno longer prints the environment variables that it passes to the template command, which could include secrets such asNPM_TOKEN(#3552), by @jong-kyung.dist.integritybefore extraction, as the Bun and pnpm 12+ platform packages already were. When the version document omits the integrity or returns 404, Vite+ reads the package document instead. When neither gives it, the install fails withPackageManagerIntegrityUnavailablebefore anything downloads. Pinned npm, pnpm 11 and earlier, and Yarn downloads do not change (#3547, #3553), by @jong-kyung and @fengmk2.devEngines.runtime.versionaccepts only semver versions and ranges, as in npm and pnpm. Aliases such aslts/*andlatestno longer resolve in this field, and an invalid value follows the entry'sonFail: with the defaulterror, the command fails with a message that suggestsvp env pin lts..node-version,.nvmrc,vp env pin lts, andvp env use ltskeep alias support (#3489), by @voidzero-bot[bot] and @fengmk2.vp devruns Vite in the launcher process, so aSIGTERMto that process stops the dev server and frees the port instead of leaving Vite running.--inspect-brkand--cpu-profnow cover Vite. The server listened after 109 ms instead of 137 ms with an empty compile cache, and used 120 MB instead of 168 MB after startup. With the globalvp, aSIGTERMto the globalvpprocess still stops onlyvp(#3512), by @fengmk2.vp devandvp buildkeep the--separator when they pass custom arguments to Vite, so Vite no longer takes an argument after--as the project path, and the Vite config can read the arguments fromprocess.argv(#3497), by @fengmk2.npm install -g <pkg>moves the package's link in the Vite+bindirectory to the new copy and prints a note. Before, the command kept running the copy installed under the previous Node.js version. A dry run leaves the links unchanged (#3283), by @mondaychen.vp install -g typescript@npm:cowsay, keep the alias invp list -g,vp outdated -g, andvp update -g. Aliases installed before this release need one reinstall (#3480), by @liangmiQwQ.vp install -g --forcechecks for unmanaged files in the bin directory before it uninstalls a package that owns a conflicting binary, so a rejected installation leaves the existing packages installed (#3504), by @jong-kyung.vp update -gwith only local paths or packages that are not installed no longer updates every other global package too (#3551), by @jong-kyung.vp add --save-prodwith npm moves a package that is already indevDependenciesoroptionalDependenciesintodependencies, as pnpm does (#3515), by @liangmiQwQ.vp install <packages>fails when more than one of--prod,--dev,--save-peer, and--save-optionalis given, asvp adddoes, instead of using one and ignoring the others (#3516), by @liangmiQwQ.vp install --frozen-lockfile --lockfile-onlywith npm 11.16.0 or later checks that the lockfile matchespackage.jsonwithnpm ci --dry-run --ignore-scripts. Before, it ran a plainnpm ci, which removednode_modules, reinstalled dependencies, and ran lifecycle scripts. With older npm, Vite+ rejects this combination (#3518), by @liangmiQwQ.yarnPathselects another Yarn release thanpackageManager, Vite+ selects commands and options for the release that runs. Before, a Yarn 2 launcher with a Yarn 3yarnPathskippedvp unlinkwith a warning and exited with code 0. When Vite+ downloaded the Yarn launcher, it runsyarn --versionthrough it before each command in these projects (#3532), by @jong-kyung.vp -C <dir>, such asvp -C . check, keeps the cache configuration of its subcommand, so a change to an environment variable that the subcommand tracks now misses the cache (#3537, #3536, vite-task#1005), by @jong-kyung.shand other MSYS2 or Cygwin programs, which aborted withWin32 error 487(vite-task#952, #3529), by @ReemX.seccompfilter for file-access tracking cannot be installed, for example in rootless bubblewrap, a task runs untracked and is reported as not cached, instead of failing to spawn child processes (vite-task#701), by @lifeiscontent.vp createcompletes the catalog entries that new packages reference in existing Yarn and Bun workspaces, so nocatalog:reference stays unresolved. On Bun 1.4.0 and later,vp createandvp migrateno longer write an entry to bothcatalogandcatalogs.default, which made the install fail (#3473), by @jong-kyung.vp configandvp hooks enablereplace a leftovercore.hooksPathof.huskyor.husky/_, so the Vite+ hooks run. They do this only when no hook scripts remain directly under.husky/and no package manifest declares Husky (#3344), by @semimikoh and @fengmk2.cd(#3451), by @voidzero-bot[bot] and @fengmk2.vp migratekeeps imports in files where the lint configuration turns offvite-plus/prefer-vite-plus-imports, with the samelint.overridesorder asvp lint --fix, and keeps the Vitest dependencies that those imports need (#3411), by @fengmk2.vp migratemerges.oxlintrc.jsonintovite.config.tswhen a value contains text such as$200or$OUT_DIR/**, and keeps those values as written (#3046), by @BenjyLimmy and @fengmk2.vp migrateno longer fails with aTypeErrorwhen an npm or Bun project sets an object underoverrides.viteoroverrides.vitest. It updates the"."entry and keeps the child overrides (#2267), by @charpeni and @fengmk2.vp migrateandvp createreplace a dangling agent instruction symlink, such asCLAUDE.md, with a link toAGENTS.mdinstead of crashing withEEXIST(#3544), by @thejesh23.vp createaccepts target directory names that contain two dots, such asmy..lib. A..path segment is still rejected (#3545), by @thejesh23.vp dlxworks with npm 6: it runsnpx, becausenpm execfirst shipped in npm 7 (#3479), by @jong-kyung.vp env off), package-manager commands keep the system package manager and Node.js directories at theirPATHpositions, so install scripts no longer run a Node.js from the package manager's directory instead of the selected one (#3447), by @liangmiQwQ.vp,vp env,vp upgrade, andvp implodeprint the installation command for the current platform next to the documentation link (#3448), by @liangmiQwQ.stream.messagein@voidzero-dev/vite-plus-promptswrites to theoutputthat the caller selects instead of stdout, and keeps words together when that output has no column count (#3466), by @SaKaNa-Y.vp checkreads thelint,fmt, andcheckblocks of the root Vite config statically when it can, asvp rundoes, and loads the config through Vite only when a block cannot be read statically. On npmx.dev,vp check --no-linttook 559 ms instead of 835 ms. As withvp run, the static path does not see blocks that a plugin adds in itsconfighook (#3487), by @jong-kyung.vp configstarts 9 Git processes instead of 15 when the hooks are already installed. On macOS,vp config --no-agenttook 200 ms instead of 260 ms (#3501), by @jong-kyung.vp migrateno longer slows down with the square of the number of findings in a file (#3481), by @jong-kyung.blob:URL no longer makesvpexit with a stack overflow (RUSTSEC-2026-0592) (#3540), by @fengmk2.rusqlite0.41, which fixes RUSTSEC-2026-0459 (vite-task#990), by @fengmk2.Refactor
vp createruns remote templates throughvp dlx, which selects the package-manager command (#3478), by @jong-kyung.vpcommands,vp env, and the shims select the project Node.js version through one code path.vp env current,vp env which,vp env use, and the shims now also warn about an invalidengines.node, andvpcommands print that warning once instead of twice (#3498), by @fengmk2.Docs
group:vitePlus, and what to check before you merge an update (#2463), by @fengmk2.vp env(#3257), by @fengmk2.vp add --save-prod(#3517), by @liangmiQwQ.vp remove -D,-O, and-Pchange on each package manager (#3527), by @SaKaNa-Y.Chore
chronocrate withjiffin the global CLI (RUSTSEC-2026-0543) (#3496), by @voidzero-bot[bot] and @fengmk2.oxlint-tsgolintbackend in the repository.vp migratestill removes it from projects (#3531), by @voidzero-guard[bot] and @fengmk2.testing_macros3 (#3541, #3543), by @renovate[bot].cargo-xwinto 0.24.1 and pin it to exact releases (#3542), by @renovate[bot] and @fengmk2.brew styleafter a new Homebrew check, and run the Homebrew installation tests on related changes (#3550), by @voidzero-bot[bot] and @fengmk2.latesttag in the dependency upgrade workflow (#3488), by @fengmk2.typosexceptions (#3519), by @liangmiQwQ.Bundled Versions
8.3.8b39e6e61.2.19b9c75dd1.0.216c0f340.23.45.1.11.94.07.1.0-beta.tsrs40.79.0Upgrade
In each project, run
vp migrateto updatevite-plus, thevitealias to@voidzero-dev/vite-plus-core@8.3.8001, and the Vitest pin together (guide).New Contributors
@mondaychen, @ReemX, @BenjyLimmy, @thejesh23
Full Changelog: v1.7.0...v1.8.0
For a stable release, complete the
HomebrewFormula/vp.rbupdate after publication by merging the generatedrelease/homebrew-v1.8.0PR.Merging this PR will trigger the release workflow.