GeezerVison is showing github.com — chore(deps): update npm packages by renovate[bot] · Pull Request #3392 · voidzero-dev/vite-plus
Conversation
renovate
Bot
commented
Nov 8, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Note This PR body was truncated due to platform limits.
This PR contains the following updates:
Release Notes
ast-grep/ast-grep (@ast-grep/napi)
Compare Source
2 November 2026
- fix(cli): report skipped files and reason in --inspect entity
#3044
- chore(deps): update rust crate tree-sitter-scala to v0.26.4
#3054
- fix(dynamic): only replace metavariable sigils with the expando char
#3052
- fix(core): keep $ followed by a digit literal in fix templates
#3045
- fix(deps): update rust-wasm-bindgen monorepo
#3046
- Fix macOS universal2 wheel matching
#3050
- chore(deps): update rust crate napi-derive to v3.7.0
#3049
- chore(deps): update rust crate napi to v3.16.1
#3047
- fix(scan): bind utilDirs utils for --inline-rules and --rules
#2943
- fix(cli): percent-encode file paths in sarif uri
#3042
- chore(deps): update dependency node to v26
#3043
- chore(deps): update dependency oxlint to v1.90.0
#3036
- chore(deps): update astral-sh/setup-uv action to v10.3.3
#3040
- chore(deps): update rust crate globset to v0.4.21
#3037
- chore(deps): update rust crate ignore to v0.4.34
#3038
- chore(deps): update dependency node to v26
#3039
- fix(sarif): set the log version to 2.1.0
#3035
- fix(cli): escape special characters in github format output
#3034
- chore(deps): update dependency web-tree-sitter to ^0.26.0 || ^0.27.0
#3019
- chore(deps): update dependency dprint to v0.64.3
#3029
- chore(deps): update rust crate smallvec to v1.16.4
#3030
- chore(deps): update rust crate similar to v3.2.1
#3031
- chore(deps): update rust crate tree-sitter-md to v0.5.4
#3032
- fix(deps): update rust crate tree-sitter-dart to 0.3.0
#3033
- chore(deps): update dependency oxlint to v1.89.0
#3018
- chore(deps): update dependency @napi-rs/cli to v3.10.9
#3025
- chore(deps): update rust crate napi-derive to v3.6.13
#3026
- chore(deps): update rust crate napi to v3.15.0
#3028
- chore(deps): update astral-sh/setup-uv action to v10.3.2
#3024
- chore(deps): update dependency dprint to v0.64.1
#3017
- chore(deps): update rust crate tokio to v1.54.1
#3020
- refactor(cli): apply project defaults through InputArgs
#3027
- feat(cli): support no-ignore in project config
#3003
- fix(deps): update rust crate tree-sitter-php to 0.25.0
#3022
- chore(deps): update rust crate tree-sitter to v0.27.1
#3014
- chore(deps): update dependency @ast-grep/napi to v0.51.0
#3016
- chore(deps): update rust crate tree-sitter-scala to v0.26.3
#3015
- chore(deps): update astral-sh/setup-uv action to v10.3.0
#2938
- chore(deps): update dependency @napi-rs/cli to v3.10.8
#3004
- chore(deps): update rust crate toml_edit to v0.25.17
#3013
- chore(deps): update rust crate smallvec to v1.16.3
#3011
- chore(deps): update rust crate tokio-util to v0.7.20
#3012
- chore(deps): update rust crate schemars to v1.2.3
#3009
- chore(deps): update rust crate serde_json to v1.0.154
#3010
- chore(deps): update dependency @types/node to v24.19.2
#3007
- chore(deps): update dependency web-tree-sitter to ^0.27.0
#2914
- chore(deps): update rust crate napi-derive to v3.6.12
#3008
- chore(deps): update dependency smol-toml to v1.9.1
#2985
- fix(deps): update rust-wasm-bindgen monorepo
#2924
- chore(deps): update rust crate tree-sitter-swift to v0.7.4
#2982
- chore(deps): update rust crate napi-build to v2.6.0
#2987
- chore(deps): update rust crate napi to v3.14.2
#2986
- fix(config): reject unknown top-level keys in rule config
#3006
- fix(cli): report skipped files and reason in --inspect entity (#3044)
#2990
- fix(config): reject unknown top-level keys in rule config (#3006)
#2963
- Revert "chore(deps): update dependency node to v26 (#3039)"
6b5708a
- fix: mark GlobalRules::insert crate pub only and unsafe
e52c478
- fix: fix web-tree-sitter 0.26 memory corruption
ecb8578
bingo-js/bingo (bingo)
Compare Source
Minor Changes
- #552
8f50ea7 Thanks @michaelfaith! - Bumped Node support to ^22.22.2 || ^24.15.0 || >=26.0.0. Namely, this just means a slightly higher minimum for v22.
Patch Changes
Compare Source
Minor Changes
-
#495 1e0acec Thanks @michaelfaith! - Added exports conditions to the package to establish a strict public API.
In addition to the primary entry point, the package.json is also exported.
-
#495 1e0acec Thanks @michaelfaith! - Updated supported versions of node to ^22.15.0 || ^24.15.0 || >=26.0.0, removing support for EoL versions.
Patch Changes
Compare Source
Minor Changes
-
#480 471336b Thanks @mike-4040! - Declare zod as an optional peer dependency
bingo and the input-from-* packages list zod (^4.4.3) under both dependencies and optional peerDependencies.
Package managers that support peers with defaults, such as pnpm and Yarn, give bingo the project's own copy of zod and warn when its version falls outside the supported range.
Projects that use zod only through bingo get it installed as a regular dependency.
guybedford/es-module-lexer (es-module-lexer)
Compare Source
What's Changed
Full Changelog: guybedford/es-module-lexer@3.0.3...3.0.4
43081j/fast-wrap-ansi (fast-wrap-ansi)
Compare Source
What's Changed
Full Changelog: 43081j/fast-wrap-ansi@0.2.1...0.2.2
mermaid-js/mermaid (mermaid)
Compare Source
Minor Changes
-
#8164 592d0e4 Thanks @filipsajdak! - feat: add the open-arrow and hollow-circle edge markers, so a notation can tell two kinds of flow apart by whether the head is filled
-
#8165 5c8aa5d Thanks @filipsajdak! - feat: add the BPMN element shapes - events, gateways, activities, data objects, data stores and text annotations - each reporting where a line meets what is drawn
-
#8470 692d22a Thanks @openmindednewby! - feat: flowchart edges accept a step number (e1@{ step: 1 }); a dot travels the edges in step order and loops, hidden under prefers-reduced-motion
-
#8478 56aa105 Thanks @openmindednewby! - feat: add flowchart.stepDuration to set how many seconds each step of the flowchart step animation lasts
-
#8479 800f7ef Thanks @openmindednewby! - feat: highlight the flowchart edge whose step is playing, in sync with the step animation dot
-
#8480 50d6294 Thanks @openmindednewby! - feat: add flowchart.stepNumbers to show each step edge's number in a badge
Patch Changes
-
#8443 2ff8286 Thanks @knsv-bot! - fix: agentflow renders the a[/…/] short form as an input instead of falling back to a task with a SHAPE_UNSUPPORTED warning
-
#8661 b200b27 Thanks @pbrolin47! - fix: Bump DOMPurify to 3.4.17 to address GHSA-55q2-fjhq-7xh7 and GHSA-6688-9rhm-gjv2
-
#8633 686f350 Thanks @sidharthv96! - chore: Remove the uuid dependency and the unused legacy ER diagram renderer
-
#8661 7eec083 Thanks @pbrolin47! - fix: Stop an edge from a node inside a subgraph from crossing an edge from the subgraph itself to the same node with ELK 0.10+ (e.g. outer --> a with da --> a, or three --> two with two --> c2)
-
#8532 42d3760 Thanks @Devehab! - fix: upgrade bundled elkjs from 0.9.3 to 0.12.0, which is licensed EPL-2.0 OR GPL-3.0-or-later, so GPL-3.0 projects can ship mermaid with ELK
-
#8162 d5ca27a Thanks @filipsajdak! - fix(swimlanes): size a lane that holds a nested subgraph (TB drew it as an empty 0x0 box, and likewise an outer group holding lanes), and grow LR and RL lanes by the nested group's padding
-
#8405 b4299f2 Thanks @filipsajdak! - fix: do not draw a stray empty swimlane when a node is listed in two lanes, and warn about it and about a subgraph nested in a lane
-
#8385 37d0ace Thanks @filipsajdak! - fix(swimlanes): keep two arrowheads that land on one face of a node apart when a sibling edge is straightened
-
#8385 38e810a Thanks @filipsajdak! - fix(swimlanes): an edge routed round the outside of a diamond now arrives at one of its vertices instead of ending in empty space beside it
-
#8385 25d7e31 Thanks @filipsajdak! - fix(swimlanes): a second edge leaving a diamond on the same level as its target now leaves from a free vertex instead of running beside the first
-
#8171 a4750b4 Thanks @filipsajdak! - fix: dock a swimlane edge on the shape it points at, so a line reaches an event's ring instead of stopping at the room its caption reserves
-
#8385 67315b9 Thanks @filipsajdak! - fix: an edge label no longer pushes the nodes it joins a rank apart
-
#8385 21a1f5c Thanks @filipsajdak! - fix(swimlanes): stop the crossing cleanup from joining two routes at a corner so they read as one line
-
#8385 e14bc3a Thanks @filipsajdak! - fix(swimlanes): an edge no longer arrives at the vertex of a hexagon that another edge leaves from
-
#8459 edd162f Thanks @Yun-seoung! - fix: Allow flowchart edge IDs regardless of whitespace after the node shape
Edge IDs may no longer contain [ ] ( ) { } |.
-
#8402 4f2bade Thanks @pcp-cmd! - fix: Render use case include and extend relationship labels with UML guillemets.
microsoft/playwright (playwright)
Compare Source
🥟 Run tests with Bun
The test runner now runs under Bun. Bun transpiles your TypeScript test files itself, so Playwright does not use Babel or its compilation cache. Pass the --bun flag, because without it bunx playwright test runs on Node.js:
bunx --bun playwright test
Our CI runs the test runner tests under Bun 1.4.3 on Linux. Some features work differently under Bun:
- There is no watch mode. UI mode does not run tests again when files change, and
--only-changed does not follow imports.
- Bun loads modules itself, so
--tsconfig and the JSX options in tsconfig.json have no effect, and custom ESM loaders are not supported.
- Stack traces do not include async frames, and API names do not include the class name:
click instead of locator.click. This changes some step locations, step titles and error messages.
- Console output of a test does not get into the trace and UI mode.
🚨 Reports with only failures
New failures reporter prints failures and successful retries as they occur, followed by a summary, without progress output.
New onlyFailures option of the HTML, JSON and JUnit reporters keeps only tests with unexpected outcomes, flaky tests and interrupted tests:
// playwright.config.ts
import { defineConfig } from '@playwright/test';
export default defineConfig({
reporter: [
['failures'],
['html', { onlyFailures: true }],
],
});
🎯 Test runner
-
New built-in -exclusive- test lock runs a test only when no other tests are running. All other tests continue to run in parallel with each other:
test('restart the server', { lock: '-exclusive-' }, async () => {
// No other test runs while this one is running.
});
-
test.skip(), test.fixme(), test.fail() and test.slow() now accept only a description. It is recorded in the test annotation:
test('upload a file', async ({ page }) => {
test.skip('Not implemented yet');
});
-
New PLAYWRIGHT_TRANSFORM_CACHE_DIR environment variable sets the directory for transpiled test files, for example on a Linux machine shared with other users.
New APIs
Notable Changes ⚠️
-
TypeScript class fields now follow useDefineForClassFields from your tsconfig.json, the same as tsc. It is enabled for ES2022 and later targets, and when target is not specified. A field initializer that reads a constructor parameter property now fails, because the initializer runs first:
class LoginPage {
// TypeError: Cannot read properties of undefined (reading 'getByRole')
readonly submit = this.page.getByRole('button', { name: 'Submit' });
constructor(private readonly page: Page) {}
}
Move the initialization to the constructor, or set "useDefineForClassFields": false in your tsconfig.json.
-
Actions such as locator.click(), locator.check(), locator.tap(), locator.fill(), locator.clear() and locator.selectOption() now wait for the element to be not inert. An action on an element with the inert attribute, or inside such an element, now times out if the element stays inert.
-
A sharded run now fails with "No tests found" when no tests match across all shards. Pass --pass-with-no-tests to allow this. An empty shard still passes when other shards have tests.
-
Cookie matching now follows RFC 6265. With a URL, browserContext.cookies() and apiRequestContext.cookies() no longer return host-only cookies for subdomains or Path=/api cookies for /apiv2, and a Path=/foo/ cookie does not match /foo. APIRequestContext sends a cookie without a name as Cookie: x instead of Cookie: =x, and stores Set-Cookie: token as a cookie without a name.
-
Proxy credentials are no longer sent to websites. The credentials in the proxy option now answer only proxy challenges. To authenticate on a website, use httpCredentials.
-
Text that the browser does not render, such as text that is not assigned to a slot or text directly inside a closed <details>, is no longer part of accessible names and aria snapshots. This can change the results of page.getByRole() with a name, locator.ariaSnapshot() and expect(locator).toMatchAriaSnapshot().
-
String and URLSearchParams values of the params option in APIRequestContext requests are now appended to the query that the URL already has, instead of replacing it.
-
.css, .less and .scss imports in test files now load as empty modules instead of being removed, so the imported file must exist.
-
The blob reporter again deletes the content of its output directory before it writes the report. Playwright 1.64 kept reports with other names.
-
Test locations of imported calls such as test( in CommonJS output now point to the start of the callee, for example a.spec.ts:3:7 instead of a.spec.ts:3:11. This is the same as in ESM.
Announcements
- ⚠️ Playwright no longer tests on Node.js 20. Use Node.js 22, 24 or 26, as listed in the system requirements.
- 🐳 Docker images now include Node.js 26 instead of Node.js 24, and the latest patch of Chromium on the same branch.
Browser Versions
- Chromium 158.0.8127.18
- Mozilla Firefox 159.0
- WebKit 27.2
This version was also tested against the following stable channels:
- Google Chrome 157
- Microsoft Edge 156
Compare Source
Bug Fixes
- #43247 [Bug]: _electron.launch intermittently loses a packaged app's first window since 1.64.0
- #43242 [Regression]: Chromium 155+ aborts a preflighted cross-origin redirect whenever any route is registered (net::ERR_ABORTED)
Compare Source
🧰 WebMCP
New page.webmcp and frame.webmcp give access to the tools that a page registers through the experimental WebMCP browser API, so you can test them like any other part of your app:
const browser = await chromium.launch({ args: ['--enable-features=WebMCP'] });
const page = await browser.newPage();
await page.goto('https://example.com');
for (const tool of await page.webmcp.tools())
console.log(tool.name, tool.description);
const result = await page.webmcp.callTool('add', { a: 2, b: 40 });
console.log(result.content[0].text); // "42"
Playwright MCP also supports WebMCP by default, with page-defined tools offered to the agent as webmcp_<tool>. Pass --no-webmcp to opt out.
playwright-cli exposes them as well:
playwright-cli webmcp-list
playwright-cli webmcp-call search_catalog --params '{"query":"cats"}'
🎬 Better videos
Videos can now be recorded at a custom frame rate, and the decorations for actions are styled with plain CSS:
// playwright.config.ts
import { defineConfig } from '@playwright/test';
export default defineConfig({
use: {
video: {
mode: 'on',
size: { width: 1920, height: 1080 },
fps: 60,
show: {
actions: {
style: {
point: 'width: 20px; height: 20px; border-radius: 50%; background: red',
highlight: 'outline: 2px solid #​333; background: rgba(0, 128, 255, .15)',
title: 'font-size: 16px',
},
},
},
},
},
});
- New
fps option in testOptions.video, recordVideo and
screencast.start(). Firefox and WebKit currently capture up to 25 frames per second.
- New
style option takes CSS declarations for the point marker, the target
highlight and the action title. It replaces the fontSize option, which is now deprecated.
- The cursor stays visible at the last action point, survives navigations and travels along a natural, eased path.
- Videos are encoded with VP9 instead of VP8, which takes less CPU and produces smaller files of the same or better
quality.
- All video options are also available in Playwright MCP and
playwright-cli.
🎯 Test runner
-
New testProject.default option keeps a project in the config without running it by default. You can configure every browser you care about, and let a plain npx playwright test run just your favourite one:
// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
projects: [
{ name: 'chromium', use: devices['Desktop Chrome'] },
{ name: 'firefox', use: devices['Desktop Firefox'], default: false },
{ name: 'webkit', use: devices['Desktop Safari'], default: false },
],
});
npx playwright test # runs chromium only
npx playwright test --project=firefox # runs firefox
npx playwright test --project="*" # runs all three, for example on CI
-
New --shuffle command line option schedules tests in a random order, which helps to find tests that accidentally depend on each other.
npx playwright test --shuffle
# Running 42 tests using 4 workers, shuffle seed 271828182
# ...
# Pass the seed to reproduce the same order.
npx playwright test --shuffle 271828182
-
New lock option in test.describe.configure() adds test locks to all tests in a file or a group:
test.describe.configure({ lock: 'user-settings' });
-
New type option of toHaveScreenshot in testConfig.expect stores all unnamed screenshots as WebP:
// playwright.config.ts
export default defineConfig({
expect: {
toHaveScreenshot: { type: 'webp' },
},
});
🪆 Locator.within()
New locator.within() combines two locators that you already have, reading in the natural order —
"this button, within that dialog":
const saveButton = page.getByRole('button', { name: 'Save' });
const dialog = page.getByTestId('settings-dialog');
await saveButton.within(dialog).click();
Relative locators such as locator.nth() or locator.first() are resolved inside each parent
separately, which makes column-like queries straightforward:
// The third cell of every row, not the third cell in the table.
const thirdColumn = page.getByRole('cell').nth(2).within(page.getByRole('row'));
await expect(thirdColumn).toHaveText(['Apple', 'Banana', 'Cherry']);
New APIs
Breaking changes ⚠️
-
screen property is now forwarded from the device descriptors. If you use ...devices['Desktop Chrome'] and alike, window.screen and media queries now see the emulated screen size. You can opt-out by explicitly setting screen to undefined:
// playwright.config.ts
export default defineConfig({
use: {
...devices['Desktop Chrome'],
screen: undefined,
},
});
-
JSX in your test files now follows your tsconfig.json. Playwright compiles JSX in test files according to the jsx, jsxFactory, jsxFragmentFactory and jsxImportSource tsconfig options, and defaults to the automatic runtime from react/jsx-runtime.
-
--update-snapshots=missing now passes the test run. Tests that only create missing snapshots now pass in the 'missing' mode of testConfig.updateSnapshots, so that CI can generate new snapshots and verify the existing ones in a single run. The mode used when the option is not specified is now
[!IMPORTANT]
✂ PR body was truncated to here.
Configuration
📅 Schedule: (in timezone Asia/Shanghai)
- Branch creation
- Automerge
- At any time (no schedule defined)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🚀 Deploying Preview to Cloudflare 🚀
This URL reflects your latest Preview deployment
Preview Deployments by commit
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
CLI artifact sizes (e57a2a2)
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.34 MiB |
2.34 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.45 MiB |
6.45 MiB |
0 B (0.00%) |
vp (Linux x64) |
Binary |
8.35 MiB |
8.35 MiB |
0 B (0.00%) |
vp (Linux x64) |
gzip -9 |
3.82 MiB |
3.82 MiB |
0 B (0.00%) |
| NAPI (Linux x64) |
Binary |
36.79 MiB |
36.79 MiB |
0 B (0.00%) |
| NAPI (Linux x64) |
gzip -9 |
14.70 MiB |
14.70 MiB |
0 B (0.00%) |
vp (macOS ARM64) |
Binary |
5.46 MiB |
5.46 MiB |
0 B (0.00%) |
vp (macOS ARM64) |
gzip -9 |
3.25 MiB |
3.25 MiB |
0 B (0.00%) |
| NAPI (macOS ARM64) |
Binary |
43.43 MiB |
43.43 MiB |
0 B (0.00%) |
| NAPI (macOS ARM64) |
gzip -9 |
18.87 MiB |
18.87 MiB |
0 B (0.00%) |
vp (Windows x64) |
Binary |
6.19 MiB |
6.19 MiB |
0 B (0.00%) |
vp (Windows x64) |
gzip -9 |
2.86 MiB |
2.86 MiB |
-1 B (-0.00%) |
| NAPI (Windows x64) |
Binary |
32.82 MiB |
32.82 MiB |
0 B (0.00%) |
| NAPI (Windows x64) |
gzip -9 |
13.46 MiB |
13.46 MiB |
+2 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 |
-1 B (-0.01%) |
| Installer (Windows x64) |
Binary |
4.68 MiB |
4.68 MiB |
0 B (0.00%) |
| Installer (Windows x64) |
gzip -9 |
2.25 MiB |
2.25 MiB |
0 B (0.00%) |
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
fengmk2
added a commit
that referenced
this pull request
Nov 17, 2026
Vite+ 1.7.0 runs type-aware linting and type checking on tsrs, a Rust
port of the TypeScript 7 compiler, gives `@voidzero-dev/vite-plus-core`
a version that encodes the bundled Vite version (`8.3.8000` for Vite
`8.3.8`) so compatible `vite` plugins pass peer checks, and adds `vp
check --fix-dangerously`.
### Features
- Type-aware linting and type checking in `vp lint` and `vp check` use
[tsrs](https://github.com/oxc-project/tsrs), a Rust port of the
TypeScript 7 compiler, through its `tsrs-lint` executable. Commands and
configuration stay the same, and `tsrs` installs with `vite-plus`. In
the
[benchmark](https://github.com/voidzero-dev/vite-plus/blob/main/bench/tsrs-lint.md)
on two projects, with the same CLI and Oxlint, type-aware `vp lint` and
a full `vp check` took 18% to 53% less time with tsrs than with the
previous backend, and used about half the peak memory
([docs](https://viteplus.dev/guide/lint#type-aware-linting))
([#3352](#3352)), by
@fengmk2:
- tsrs targets TypeScript `7.1.0-beta`, so type-check diagnostics can
change.
- With `trustPolicy: no-downgrade` in `pnpm-workspace.yaml`, pnpm
rejects the bundled `tsrs` release ([upstream
issue](oxc-project/tsrs#945)). `vp migrate`
adds `[email protected]` to `trustPolicyExclude`, so run it if this
policy blocks the upgrade.
- `@voidzero-dev/vite-plus-core` has a version that encodes the bundled
Vite version: `8.3.8000` for Vite `8.3.8` in this release. Projects
alias `vite` to this package, so plugins whose `vite` peer range
includes the bundled Vite, such as `@vitejs/plugin-react` with `^8.0.0`,
now pass peer checks. npm no longer prints `ERESOLVE overriding peer
dependency` warnings, and npm and Bun projects that declare only
`vite-plus` install one copy of Vite for Vitest and Vite+, about 20 MiB
less in `node_modules` on macOS arm64
([#3317](#3317)), by
@fengmk2:
- On pnpm 10.2.0 and later, `vp migrate` removes the broad `vite` rule
from `peerDependencyRules`. A plugin whose `vite` peer range excludes
the bundled Vite then reports a peer warning, and with
`strictPeerDependencies` the install fails. Update that plugin, or allow
its range for that plugin only ([migration
rules](https://viteplus.dev/guide/migrate-rules#pnpm)).
- `vite-plus` and the core no longer share a version number. If you
update them by hand or with a dependency bot, read the alias with `npm
view [email protected] dependencies.vite`, or run `vp migrate` to update
both
([docs](https://viteplus.dev/guide/upgrade-project#manually-updating)).
- `vp check --fix-dangerously` formats files and applies all lint fixes,
including dangerous fixes and suggestions. It does not need `--fix`, and
it works with `--no-fmt` and `--continue-on-error`. Review the changes
before you commit them, because dangerous fixes can change program
behavior ([docs](https://viteplus.dev/guide/check#usage))
([#3413](#3413)), by
@chbaefront.
- `vp create` with a third-party `create-xxx` template asks about agent
instructions, editor configs, Git, and commit hooks after the template's
own CLI finishes, and checks what that CLI generated: it offers to
append to an existing agent file, merges existing editor configs, and
asks about Git only when the template did not create a repository. When
the generated standalone project already depends on `vite-plus`, `vp
create` keeps the template's choices, such as ESLint or its `vite-plus`
version, and skips the migration. Set `VP_FORCE_MIGRATE=1` to run it
([#3424](#3424),
[#3435](#3435)), by
@liangmiQwQ.
- Upgrade the bundled Vite, Rolldown, oxc-node, Oxlint, Oxfmt, and
lint-staged
([#3436](#3436),
[#3440](#3440),
[#3452](#3452),
[#3463](#3463),
[#3470](#3470)), by
@voidzero-guard[bot] and @fengmk2:
- `[email protected]` to `[email protected]`. Vite rejects CSS entry points when
`build.cssCodeSplit` is `false`, imports Sass once instead of once per
file, and no longer opens a console window for `yarn config get` on
Windows.
- `[email protected]` to `[email protected]`. The `linux-x64-gnu` binding
runs on older CPUs.
- `[email protected]` to `[email protected]`, the loader behind `vpx` for
TypeScript files and `vite-plus/register`. TypeScript files with
`import` and `export` in a CommonJS package run as CommonJS when
tsconfig compiles them to CommonJS, `package.json` `"type"` selects the
format of `.ts` files under `module: node16` and `nodenext`, and `vpx
--watch` on macOS no longer uses more memory each time a watched folder
is replaced.
- `[email protected]` to `[email protected]`. Many fixes that can change program
behavior are now suggestions or dangerous fixes, so `vp check --fix`
applies fewer of them, and `vp check --fix-dangerously` applies them.
`typeCheck` is no longer experimental, and `no-misused-promises` gets a
`flagUnions` option.
- `[email protected]` to `[email protected]`. Oxfmt moves to Prettier 3.10.1 and
fixes the output for several TypeScript, Vue, Angular, HTML, Markdown,
CSS, and GraphQL cases, so formatting can change.
- `[email protected]` to `[email protected]` in `vp staged`. The
warning about hidden partially staged changes appears only when the
changes are restored.
- The new Oxfmt, Oxlint, and tsrs can flag code that passed before. If
your CI runs `vp check`, run `vp check --fix --continue-on-error` after
you upgrade: it formats files, applies the available lint fixes, formats
again, and reports every error that remains.
### Fixes & Enhancements
- `vp upgrade` no longer deletes a version directory that it did not
create when an installation fails, so `vp upgrade --rollback` still
finds the previous version after a failed reinstall. `vp upgrade`, `vp
upgrade --rollback`, and installer setup wait for each other, so two
upgrades that run at the same time can no longer leave `current`
pointing to a missing directory. `vp upgrade` also repairs an active
version whose `vp` binary is missing
([#3412](#3412)), by
@jong-kyung and @fengmk2.
- An empty `VP_NODE_SKIP_SIGNATURE_VERIFY`, `VP_NODE_DIST_MIRROR`, or
`npm_config_registry` (in either letter case) counts as unset, as in
pnpm. Before, `VP_NODE_SKIP_SIGNATURE_VERIFY=""` turned off PGP
verification of Node.js downloads, and an empty mirror or registry
failed with `relative URL without a base`
([#3444](#3444)), by
@jong-kyung.
- With a token for the default npm registry in `.npmrc`, the
package-manager shims again use cached dist-tags for a `latest` default
and fall back to the cache offline, instead of waiting on the registry
at each call and failing when it cannot be reached. Other authenticated
registries still skip the cache
([#3457](#3457)), by
@liangmiQwQ.
- `vp pack` uses `pack.envPrefix` from `vite.config.ts`. Before, the
default prefixes `VITE_PACK_` and `TSDOWN_` always replaced it, so
variables under the configured prefix were not inlined and variables
under the default prefixes were. The `--env-prefix` flag still takes
precedence
([#3454](#3454)), by
@jong-kyung.
- `vp migrate --full` on a project that the first migration left on
ESLint and Prettier no longer loses their settings. When
`vite.config.ts` holds only the default `lint` and `fmt` blocks that `vp
migrate` added, the converted settings replace them. When those blocks
have your own settings, the converted `.oxlintrc.json` or Prettier stays
in place with a warning
([#3464](#3464)), by
@jong-kyung.
- `vp migrate` writes `npmPreapprovedPackages` to `.yarnrc.yml` only for
Yarn 4.10.0 and later. Older Yarn versions do not know this key and
refused to run, so migrated Yarn 2 and 3 projects, and Yarn 4.0 to 4.9
projects whose Yarn upgrade failed, could not install
([#3443](#3443)), by
@jong-kyung.
- `vp migrate` merges the duplicate `vite-plus` imports that it creates
when it rewrites `vite` imports, so `import/no-duplicates` no longer
reports them. Comments, side-effect imports, and code between the
imports stay in place
([#3439](#3439)), by
@voidzero-bot[bot] and @fengmk2.
- A second `vp migrate` run keeps `oxlint` in the `dependencies` of a
package that publishes an Oxlint plugin, as the first run does
([#3462](#3462)), by
@jong-kyung.
- `vp migrate` warns when the root or a workspace package has
`turbo.json`, `turbo.jsonc`, or a `turbo` dependency, because `vp run`
does not read Turborepo configuration. The warning links to the task and
cache guides for manual migration
([#3300](#3300)), by
@voidzero-bot[bot] and @fengmk2.
- When `vp create` adds a third-party template to a monorepo, it
rewrites the new package's `vite` imports to `vite-plus`, so `vp check`
no longer reports `vite-plus/prefer-vite-plus-imports` errors there
([#3282](#3282)), by
@voidzero-bot[bot] and @fengmk2.
- New monorepos from `vp create` reference their dependency catalog
entries with `catalog:` and contain no unused entries, and the
TypeScript and `@types/node` catalog versions match the generated
packages ([#3393](#3393)),
by @d4rshnn.
- `vp create` works in projects pinned to Yarn 1.x: it runs templates
with `npx --yes`, as `vp dlx` does, because Yarn Classic has no `yarn
dlx` ([#3468](#3468)), by
@jong-kyung.
- `vp env exec --node` and `vp env pin` accept `lts/*`,
`lts/<codename>`, and `lts/-n`, as `vp env use` does. `vp env pin lts/*`
writes the resolved exact version
([#3437](#3437)), by
@jong-kyung.
- Ctrl+C or `SIGTERM` during a spinner in `vp create` and `vp migrate`
ends the command by that signal, so the shell reports 130 or 143 instead
of 0, as for the native spinners since 1.6.0. Escape no longer ends the
command while a spinner is visible
([#3432](#3432)), by
@jong-kyung.
- The Vitest resolver that `defineConfig` adds declares a `resolveId`
filter, so Rolldown builds skip it without a call into JavaScript for
imports other than `vitest`, `vitest/*`, `@vitest/*`, and
`vite-plus/test`. A synthetic build with 40,000 `resolveId` calls and no
other work took 1.4 s instead of 1.9 s
([#3434](#3434)), by
@jasonkuhrt.
### Docs
- Name `vp test` together with `vp build` as commands that support
cooperative tracking in the cache guide
([#3453](#3453)), by
@SaKaNa-Y.
- Explain in the create guide what to do when no template fits: run the
framework's own initializer, then follow the `vp migrate` guide
([#3456](#3456)), by
@fengmk2.
### Chore
- Update npm dependencies. New generator projects from `vp create
vite:generator` depend on `bingo@^0.16.0`
([#3392](#3392)), by
@renovate[bot].
- Update Rust dependencies, including `syn` 3 and `testing_macros` 2
([#3312](#3312),
[#3460](#3460),
[#3461](#3461)), by
@renovate[bot].
- The issue triage bot uses Conventional Commits PR titles and leaves
assigned issues to their assignees
([#3459](#3459),
[#3458](#3458)), by
@liangmiQwQ.
- Compare `User-Agent` header names case-insensitively in an HTTP test
([#3469](#3469)), by
@liangmiQwQ.
- Refine the release-manager skill from the v1.5.0, v1.5.1, and v1.6.0
releases ([#3348](#3348)),
by @fengmk2.
### Bundled Versions
| Tool | Version | Source | Changelog |
| -------- | ------------------ |
----------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
| vite | `8.3.8` |
[`b39e6e6`](vitejs/vite@b39e6e6)
| [8.3.8](https://github.com/vitejs/vite/releases/tag/v8.3.8) |
| rolldown | `1.2.19` |
[`b9c75dd`](rolldown/rolldown@b9c75dd)
| [1.2.19](https://github.com/rolldown/rolldown/releases/tag/v1.2.19) |
| oxc-node | `1.0.2` |
[`16c0f34`](oxc-project/oxc-node@16c0f34)
| [1.0.2](https://github.com/oxc-project/oxc-node/releases/tag/v1.0.2) |
| tsdown | `0.23.4` | [npm](https://npmx.dev/package/tsdown/v/0.23.4) |
unchanged |
| vitest | `5.1.0` | [npm](https://npmx.dev/package/vitest/v/5.1.0) |
unchanged |
| oxlint | `1.94.0` | [npm](https://npmx.dev/package/oxlint/v/1.94.0) |
[1.94.0](https://github.com/oxc-project/oxc/releases/tag/oxlint_v1.94.0)
|
| tsrs | `7.1.0-beta.tsrs2` |
[npm](https://npmx.dev/package/tsrs/v/7.1.0-beta.tsrs2) |
[7.1.0-beta.tsrs2](https://github.com/oxc-project/tsrs/releases/tag/v7.1.0-beta.tsrs2)
(replaces oxlint-tsgolint) |
| oxfmt | `0.79.0` | [npm](https://npmx.dev/package/oxfmt/v/0.79.0) |
[0.79.0](https://github.com/oxc-project/oxc/releases/tag/oxfmt_v0.79.0)
|
### Upgrade
```bash
vp upgrade
```
In each project, run `vp migrate` to update `vite-plus`, the `vite`
alias to `@voidzero-dev/[email protected]`, and the Vitest pin
together ([guide](https://viteplus.dev/guide/upgrade-project)).
### New Contributors
@jasonkuhrt, @d4rshnn
**Full Changelog**:
v1.6.0...v1.7.0
---
For a stable release, complete the `HomebrewFormula/vp.rb` update after
publication by merging the generated `release/homebrew-v1.7.0` PR.
Merging this PR will trigger the release workflow.
---------
Co-authored-by: voidzero-guard[bot] <278573678+voidzero-guard[bot]@users.noreply.github.com>
Co-authored-by: MK (fengmk2) <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Reviewers
fengmk2
fengmk2 approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|