Task cache settings now live under cache, and vp migrate moves existing task settings for you. vp lint and vp fmt run from a package directory now pick the same config as your editor, and piped vp output exits cleanly.
Breaking Changes
Task cache settings in run.tasks now go inside cache (vite-task#749), by @wan9chi.
| Old (top level of a task) | New |
|---|---|
env
| cache.env
|
untrackedEnv
| cache.untrackedEnv
|
input
| cache.input
|
output
| cache.output
|
Run vp migrate to move these fields for you. It updates tasks in vite.config.* files. If a task is defined somewhere else, such as a shared module, vp run shows an error listing that task and the fields to move, so you can fix it by hand. cache: true is the same as cache: {}. See the task cache migration rules and the cache reference.
Highlights
vp lintandvp fmtrun from a package directory now use the same config as Oxlint, Oxfmt, and the language server, so results match your editor.vp checkstill applies the workspace-root settings (#2807), by @fengmk2.- Global
vpcommands now exit cleanly when piped into a command that closes early, such asvp --version | head -n 1, instead of aborting with exit code 134 (#2785, #2793), by @naokihaba. - Fixed a rare race on macOS where a cached task could fail with
oils I/O error (main): No such processunder heavy parallel load (vite-task#703), by @lifeiscontent.
Features
- The bundled tools update
vite@8.3.0->vite@8.3.1,rolldown@1.2.9->rolldown@1.2.11, andoxlint-tsgolint@7.0.2002->oxlint-tsgolint@7.0.2003(#2805, #2812), by @voidzero-guard[bot].
Fixes & Enhancements
- Async
defineConfigcallbacks now type-check lint and format options, such as'warn'rule severities, the same way as synchronous callbacks, so configs updated byvp migrateno longer fail withTS2769(#2803), by @TheAlexLichter. vp test --helpnow lists the Vitest 5 options--repeats,--injectCjsGlobals,--fsModuleCache,--fsModuleCachePath, and--sharedViteServer(#2809), by @Marve10s.- On Windows,
vp runnow matches environment variable names regardless of letter case (vite-task#747), by @wan9chi.
Docs
- The copy prompt dialog no longer nests scroll areas and shows clearer copy feedback (#2794, #2799), by @liangmiQwQ and @Boshen.
Chore
- Snapshot tests share prepared packages and one Chromium process, run faster on every platform, and no longer read the live npm registry in the standalone npm fallback case (#2771, #2786, #2797), by @fengmk2 and @voidzero-guard[bot].
- The snapshot setup check links the local
vite-pluspackage into its reference home instead of installing the version under release from npm, so it passes before that version is published (#2819), by @wan9chi. - The preview migration harness installs a project's committed dependencies before running
vp migrate, so the Vitest 5 migration can read the original Vitest version (#2822), by @wan9chi. - The standalone install workflow loads the generated environment before running
vp env doctor(#2790), by @naokihaba.
Bundled Versions
| Tool | Version | Source |
|---|---|---|
| vite | 8.3.1
| 39ddf7c
|
| rolldown | 1.2.11
| 8df4219
|
| tsdown | 0.23.0
| npm |
| vitest | 5.0.1
| npm |
| oxlint | 1.85.0
| npm |
| oxlint-tsgolint | 7.0.2003
| npm |
| oxfmt | 0.70.0
| npm |
Upgrade
vp upgradeNew Contributors
Full Changelog: v1.0.0-rc.0...v1.0.0-rc.1
Published Packages
@voidzero-dev/vite-plus-core@1.0.0-rc.1vite-plus@1.0.0-rc.1
Installation
macOS/Linux:
curl -fsSL https://vite.plus | bashWindows:
irm https://vite.plus/ps1 | iexOr download and run vp-setup.exe from the assets below.
Docker:
docker run --rm -it -v "$PWD:/app" -w /app ghcr.io/voidzero-dev/vite-plus:1.0.0-rc.1 vp buildRun any vp command without installing it; see the Docker guide for more.