Ward Peeters
1892f79532
chore: remove stale scripts, workspace entries and package metadata ( #29891 )
...
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-11-10 14:09:52 +01:00
Ward Peeters
27340425d7
ci: select tests for dependency bumps and directory-scanning tests on… ( #29725 )
...
… PRs
PR test selection only follows source imports, so three PRs merged green
and broke the alpha cron's full suite: an OpenTelemetry lockfile bump
(#28581 , otel-bridge), lockfile maintenance moving @ai-sdk/anthropic
(#29341 , schema-compat e2e), and a new hook without a story (#29373 ,
storybook-coverage.test.ts reads the hooks folder rather than importing
it).
Prebuild now compares each workspace package's resolved dependency tree
between the base and head lockfiles and runs the tests of packages whose
tree or package.json changed. A root toolchain change, or a selection
over a quarter of the suite, runs the sharded full suite instead. Tests
that scan their package's directory run when a file there is added,
removed or renamed.
The selection logic also moves out of inline workflow script into
.github/scripts/select-affected-tests.cjs with unit tests, and keeps the
three-way split of large affected unit runs from #29143 .
## Description
<!-- Required: Provide a brief description of the changes in this PR.
-->
## Related issue(s)
<!-- Required: Link to the issue(s) this PR addresses, e.g. with: Fixes
#123 . PRs without linked issues will be closed. High-quality issues with
reproductions are preferred to vague pull requests. -->
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update
## Checklist
- [ ] I have linked the related issue(s) in the description above
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have addressed all Coderabbit comments on this PR
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## ELI5
The test selector checks whether package dependencies changed and
whether tests search their package folders for files. It uses the PR’s
own lockfile changes to select relevant tests, so unrelated changes on
the base branch do not trigger extra test runs.
## What changed
- Added dependency-based test routing. It compares resolved dependency
trees in the merge-base and PR-head lockfiles, follows workspace links,
and selects tests for affected packages.
- Selects a package’s tests when its `package.json` changes.
- Selects directory-scanning tests when files in their package are
added, removed, or renamed.
- Requests the full suite when root dependencies change or
dependency-based selection exceeds 25% of the test files.
- Moved Prebuild test selection into
`.github/scripts/select-affected-tests.cjs`. The script combines
import-graph and dependency-based selections and routes tests to the
applicable suites.
- Added tests for dependency routing and suite selection. Added `yaml`
as a root development dependency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-11-09 23:45:01 +01:00
Damien Schneider
7cbddd8511
chore(ui): standardize metadata layout and enforce copy lint ( #29312 )
2026-11-04 16:15:13 +01:00
Dane - AI (Mastra)
3bdb4ec5f4
chore(deps): update build tools (major) ( #29026 )
...
> [!NOTE]
> This PR body was truncated due to platform limits.
This PR contains the following updates:
| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [@vitest/coverage-v8](https://vitest.dev/guide/coverage )
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8 ))
| pnpm.catalog.default | major | [`4.1.12` →
`5.0.5`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/4.1.12/5.0.5 )
| `5.1.0` |
| [@vitest/mocker@>=2.1.0
<4.1.12](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/mocker )
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/mocker ))
| pnpm-workspace.overrides | major | [`4.1.12` →
`5.0.5`](https://renovatebot.com/diffs/npm/@vitest%2fmocker @>=2.1.0
<4.1.12/4.1.12/5.0.5) | `5.1.0` |
| [@vitest/ui](https://vitest.dev/guide/ui )
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/ui ))
| pnpm.catalog.default | major | [`4.1.12` →
`5.0.5`](https://renovatebot.com/diffs/npm/@vitest%2fui/4.1.12/5.0.5 ) |
`5.1.0` |
| [dotenv](https://redirect.github.com/motdotla/dotenv ) |
devDependencies | major | [`^17.4.2` →
`^18.0.9`](https://renovatebot.com/diffs/npm/dotenv/17.4.2/18.0.9 ) | |
| [dotenv](https://redirect.github.com/motdotla/dotenv ) |
devDependencies | major | [`17.4.2` →
`18.0.9`](https://renovatebot.com/diffs/npm/dotenv/17.4.2/18.0.9 ) | |
| [vitest](https://vitest.dev )
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ))
| devDependencies | major | [`^4.1.12` →
`^5.0.5`](https://renovatebot.com/diffs/npm/vitest/4.1.12/5.0.5 ) |
`5.1.0` |
| [vitest](https://vitest.dev )
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ))
| pnpm.catalog.default | major | [`4.1.12` →
`5.0.5`](https://renovatebot.com/diffs/npm/vitest/4.1.12/5.0.5 ) |
`5.1.0` |
| [vitest](https://vitest.dev )
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ))
| devDependencies | major | [`4.1.12` →
`5.0.5`](https://renovatebot.com/diffs/npm/vitest/4.1.12/5.0.5 ) |
`5.1.0` |
| [vitest@>=2.1.0 <4.1.12](https://vitest.dev )
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ))
| pnpm-workspace.overrides | major | [`4.1.12` →
`5.0.5`](https://renovatebot.com/diffs/npm/vitest @>=2.1.0
<4.1.12/4.1.12/5.0.5) | `5.1.0` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/9505) for more information.
---
### Release Notes
<details>
<summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary>
###
[`v5.0.5`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v5.0.5 )
[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v5.0.4...v5.0.5 )
##### 🐞 Bug Fixes
- Keep vite default `fs.deny` with api token file - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#​11578](https://redirect.github.com/vitest-dev/vitest/issues/11578 )
[<samp>(28dc1)</samp>](28dc1edfb )
- Handle quoted file names in `--changed` - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11583](https://redirect.github.com/vitest-dev/vitest/issues/11583 )
[<samp>(14921)</samp>](14921e962 )
- Add `data` to the `import.meta.hot` stub - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11590](https://redirect.github.com/vitest-dev/vitest/issues/11590 )
[<samp>(3a828)</samp>](3a8289ac3 )
- Set `skip` in `skipIf`, ignore `undefined` options - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11591](https://redirect.github.com/vitest-dev/vitest/issues/11591 )
[<samp>(d523a)</samp>](d523a15f2 )
- Skip builtin loading in async leak detector - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11598](https://redirect.github.com/vitest-dev/vitest/issues/11598 )
[<samp>(fe86a)</samp>](fe86a64c6 )
- Keep the import frame in native loader errors - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11599](https://redirect.github.com/vitest-dev/vitest/issues/11599 )
[<samp>(9697b)</samp>](9697b3894 )
- Run hook cleanups when a later hook fails - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11605](https://redirect.github.com/vitest-dev/vitest/issues/11605 )
[<samp>(6c5a4)</samp>](6c5a44720 )
- Release mocks of finished test files - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11607](https://redirect.github.com/vitest-dev/vitest/issues/11607 )
[<samp>(e9c3d)</samp>](e9c3d72f0 )
- Abort all running tests on cancel - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11606](https://redirect.github.com/vitest-dev/vitest/issues/11606 )
[<samp>(6621a)</samp>](6621a72d6 )
- **browser**:
- Ignore synthetic pagehide events - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11582](https://redirect.github.com/vitest-dev/vitest/issues/11582 )
[<samp>(ca081)</samp>](ca0813584 )
- Run plugin buildStart on server creation - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11593](https://redirect.github.com/vitest-dev/vitest/issues/11593 )
[<samp>(ea611)</samp>](ea611e44c )
- Drop late connections of closed sessions - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11600](https://redirect.github.com/vitest-dev/vitest/issues/11600 )
[<samp>(f161e)</samp>](f161e6df2 )
- Wait 30s for the browser to close - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11601](https://redirect.github.com/vitest-dev/vitest/issues/11601 )
[<samp>(6498b)</samp>](6498b666a )
- Run global setup once with instances - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11596](https://redirect.github.com/vitest-dev/vitest/issues/11596 )
[<samp>(8dd67)</samp>](8dd67c262 )
- **reporter**:
- End reason `&#​39;failed&#​39;` on worker crash - by
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​11568](https://redirect.github.com/vitest-dev/vitest/issues/11568 )
[<samp>(6ae8e)</samp>](6ae8e89ff )
##### [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v5.0.4...v5.0.5 )
###
[`v5.0.4`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v5.0.4 )
[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v5.0.3...v5.0.4 )
##### 🚀 Features
- **experimental**:
- Tag cache directories with CACHEDIR.TAG - by
[@​lifeiscontent](https://redirect.github.com/lifeiscontent ) in
[#​11461](https://redirect.github.com/vitest-dev/vitest/issues/11461 )
[<samp>(a8ea3)</samp>](a8ea3c8fd )
- Support `test.ui.theme` option - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11499](https://redirect.github.com/vitest-dev/vitest/issues/11499 )
[<samp>(1da66)</samp>](1da66405d )
- Highlight selector multiple matches in trace view - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#​11489](https://redirect.github.com/vitest-dev/vitest/issues/11489 )
[<samp>(5abba)</samp>](5abba1e1b )
- Print how many tests were affected and a total when running
`--changed` - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11424](https://redirect.github.com/vitest-dev/vitest/issues/11424 )
[<samp>(a2336)</samp>](a23368585 )
- Add an option to cache dependencies instead of statically parsing them
- by [@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11515](https://redirect.github.com/vitest-dev/vitest/issues/11515 )
[<samp>(c0601)</samp>](c06012ac8 )
- Add fit and zoom controls to trace viewer - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#​11490](https://redirect.github.com/vitest-dev/vitest/issues/11490 )
[<samp>(f5dd9)</samp>](f5dd99ed0 )
##### 🐞 Bug Fixes
- Fail the run on git and location filter errors - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11430](https://redirect.github.com/vitest-dev/vitest/issues/11430 )
[<samp>(30d03)</samp>](30d0304d2 )
- Enable fsModuleCache by default - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11435](https://redirect.github.com/vitest-dev/vitest/issues/11435 )
[<samp>(ad208)</samp>](ad208cc29 )
- Track project files and mocks with --changed - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11432](https://redirect.github.com/vitest-dev/vitest/issues/11432 )
[<samp>(b0f2b)</samp>](b0f2b3bb9 )
- Refactor caching, fix `:` in project and change the shape of `results`
cache - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11453](https://redirect.github.com/vitest-dev/vitest/issues/11453 )
[<samp>(9673c)</samp>](9673c49a4 )
- Keep full `$` string values when `taskTitleValueFormatTruncate` is 0
- by [@​hi-ogawa](https://redirect.github.com/hi-ogawa ),
**Hiroshi Ogawa** and **Claude Opus 5.5** in
[#​11485](https://redirect.github.com/vitest-dev/vitest/issues/11485 )
[<samp>(4f7e1)</samp>](4f7e1799b )
- Resolve node builtins in client environments - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11417](https://redirect.github.com/vitest-dev/vitest/issues/11417 )
[<samp>(56b31)</samp>](56b319ac6 )
- Fix module graph builtin externals after
[#​11421](https://redirect.github.com/vitest-dev/vitest/issues/11421 )
- by [@​hi-ogawa](https://redirect.github.com/hi-ogawa ),
**Hiroshi Ogawa** and **Claude Opus 5.5** in
[#​11491](https://redirect.github.com/vitest-dev/vitest/issues/11491 )
and
[#​11421](https://redirect.github.com/vitest-dev/vitest/issues/11421 )
[<samp>(008e1)</samp>](008e184cb )
- Wrap module mocks during in-source testing - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11505](https://redirect.github.com/vitest-dev/vitest/issues/11505 )
[<samp>(36d19)</samp>](36d19cb00 )
- Handle line endings in snapshot - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11522](https://redirect.github.com/vitest-dev/vitest/issues/11522 )
[<samp>(4c468)</samp>](4c468aa40 )
- Respect root in projects - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11521](https://redirect.github.com/vitest-dev/vitest/issues/11521 )
[<samp>(26642)</samp>](26642f793 )
- Resolve mocks in directories with spaces - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11539](https://redirect.github.com/vitest-dev/vitest/issues/11539 )
[<samp>(caaef)</samp>](caaef9416 )
- **api**:
- Publish the api token atomically - by
[@​umairnawaz333](https://redirect.github.com/umairnawaz333 ) in
[#​11323](https://redirect.github.com/vitest-dev/vitest/issues/11323 )
[<samp>(6f990)</samp>](6f990fef1 )
- **browser**:
- Close the mock route interception race - by
[@​cplieger](https://redirect.github.com/cplieger ) and
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​8339](https://redirect.github.com/vitest-dev/vitest/issues/8339 )
and
[#​11083](https://redirect.github.com/vitest-dev/vitest/issues/11083 )
[<samp>(d6620)</samp>](d6620fae6 )
- Allow toHaveTextContent without arguments - by
[@​nomadical](https://redirect.github.com/nomadical ) in
[#​11425](https://redirect.github.com/vitest-dev/vitest/issues/11425 )
[<samp>(8ebcf)</samp>](8ebcf5f8a )
- Apply API options without browser config - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10852](https://redirect.github.com/vitest-dev/vitest/issues/10852 )
[<samp>(ad055)</samp>](ad055837b )
- Preserve undefined command arguments - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) and
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​11497](https://redirect.github.com/vitest-dev/vitest/issues/11497 )
[<samp>(1576d)</samp>](1576d3d89 )
- Wait for setup mocks before importing a test file - by
[@​kasperpeulen](https://redirect.github.com/kasperpeulen ) in
[#​11520](https://redirect.github.com/vitest-dev/vitest/issues/11520 )
[<samp>(b61d1)</samp>](b61d1ced3 )
- Avoid extra scroll outside the iframe - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11523](https://redirect.github.com/vitest-dev/vitest/issues/11523 )
[<samp>(662e8)</samp>](662e8a363 )
- Run browser instances as workers - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11525](https://redirect.github.com/vitest-dev/vitest/issues/11525 )
[<samp>(bf04b)</samp>](bf04b9ccc )
- ⚠️ This can degrade performance if you have a custom `maxWorkers`
setting. Previously, it was applied incorrectly and could lead to Vitest
using too many resources. For example, a lower number would still open
too many browsers. Fixing it means Vitest opens less instances by
default now.
- Open one cdp session per tester - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11542](https://redirect.github.com/vitest-dev/vitest/issues/11542 )
[<samp>(69e63)</samp>](69e6369f6 )
- Clean up unmocked and pending mocks - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11537](https://redirect.github.com/vitest-dev/vitest/issues/11537 )
[<samp>(5c955)</samp>](5c9552173 )
- **coverage**:
- V8 browser memory leak between test files - by
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​11466](https://redirect.github.com/vitest-dev/vitest/issues/11466 )
[<samp>(2297d)</samp>](2297d93a8 )
- `allowExternal` fails to include uncovered files - by
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​11513](https://redirect.github.com/vitest-dev/vitest/issues/11513 )
[<samp>(4ef00)</samp>](4ef000a93 )
- Filenames containing brackets incorrectly showing as uncovered - by
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​11531](https://redirect.github.com/vitest-dev/vitest/issues/11531 )
[<samp>(0fa80)</samp>](0fa80f53c )
- Istanbul coverage wrong when module transform warmups - by
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​11529](https://redirect.github.com/vitest-dev/vitest/issues/11529 )
[<samp>(9f61d)</samp>](9f61dcca2 )
- **deps**:
- Update all non-major dependencies - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11167](https://redirect.github.com/vitest-dev/vitest/issues/11167 )
[<samp>(c74e0)</samp>](c74e099a9 )
- **expect**:
- Fix `Map` and `Set` deep equality in some assertions - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#​11402](https://redirect.github.com/vitest-dev/vitest/issues/11402 )
[<samp>(b4e79)</samp>](b4e79fd7a )
- Check value in chai-style returned - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11500](https://redirect.github.com/vitest-dev/vitest/issues/11500 )
[<samp>(1aca0)</samp>](1aca02a21 )
- **mocker**:
- Fix native loader mocking edge cases - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11540](https://redirect.github.com/vitest-dev/vitest/issues/11540 )
[<samp>(cd423)</samp>](cd423ba04 )
- **pretty-format**:
- Support boxed symbols - by
[@​lehni](https://redirect.github.com/lehni ) in
[#​11445](https://redirect.github.com/vitest-dev/vitest/issues/11445 )
and
[#​11446](https://redirect.github.com/vitest-dev/vitest/issues/11446 )
[<samp>(eba44)</samp>](eba44926e )
- **reporters**:
- Junit to strip ANSI sequences from all XML attributes - by
[@​meganemura](https://redirect.github.com/meganemura ) and
**Claude Opus 5.5** in
[#​11407](https://redirect.github.com/vitest-dev/vitest/issues/11407 )
[<samp>(e1a73)</samp>](e1a731470 )
- **runner**:
- Don't cache failed fixture setups - by
[@​hamed-bavar](https://redirect.github.com/hamed-bavar ) in
[#​11237](https://redirect.github.com/vitest-dev/vitest/issues/11237 )
and
[#​11238](https://redirect.github.com/vitest-dev/vitest/issues/11238 )
[<samp>(4ee66)</samp>](4ee66c021 )
- **typecheck**:
- Use typescript pool in toTestSpecification - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11451](https://redirect.github.com/vitest-dev/vitest/issues/11451 )
[<samp>(5f273)</samp>](5f2739e74 )
- **ui**:
- Remove duplicate browser-open call opening two tabs - by
[@​feastyr69](https://redirect.github.com/feastyr69 ) in
[#​11356](https://redirect.github.com/vitest-dev/vitest/issues/11356 )
and
[#​11358](https://redirect.github.com/vitest-dev/vitest/issues/11358 )
[<samp>(d7e13)</samp>](d7e1315c1 )
- Simplify explorer filtering + fix nested tests when search matches a
suite - by [@​hi-ogawa](https://redirect.github.com/hi-ogawa ),
**Hiroshi Ogawa**, **Codex** and **Claude Opus 5.5** in
[#​11262](https://redirect.github.com/vitest-dev/vitest/issues/11262 )
[<samp>(a627b)</samp>](a627be498 )
- Store module graph once per environment - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#​11421](https://redirect.github.com/vitest-dev/vitest/issues/11421 )
[<samp>(af903)</samp>](af903c65e )
- Mount index.html handler on the ui base path - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#​11517](https://redirect.github.com/vitest-dev/vitest/issues/11517 )
[<samp>(1bc24)</samp>](1bc2495c7 )
- Center split pane resize handle - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#​11506](https://redirect.github.com/vitest-dev/vitest/issues/11506 )
[<samp>(e658b)</samp>](e658b9b6a )
- **vm**:
- Bind `this` to `module.exports` - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11504](https://redirect.github.com/vitest-dev/vitest/issues/11504 )
[<samp>(b618a)</samp>](b618afd5c )
##### 🏎 Performance
- Reuse fsModuleCache when filtering by source - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11428](https://redirect.github.com/vitest-dev/vitest/issues/11428 )
[<samp>(7ebd9)</samp>](7ebd95fdd )
- **spy**: Reset only mocks that were called or reconfigured - by
[@​johan-gorter](https://redirect.github.com/johan-gorter ) and
**Claude Opus 5.5** in
[#​11197](https://redirect.github.com/vitest-dev/vitest/issues/11197 )
[<samp>(28ef9)</samp>](28ef93df2 )
##### [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v5.0.3...v5.0.4 )
###
[`v5.0.3`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v5.0.3 )
[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v5.0.2...v5.0.3 )
##### 🐞 Bug Fixes
- Isolate `result.status` between `repeats` runs - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **Codex (GPT-6)** in
[#​11218](https://redirect.github.com/vitest-dev/vitest/issues/11218 )
[<samp>(5dbeb)</samp>](5dbebe9e3 )
- Don't print an interceptor warning in browser mode - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11377](https://redirect.github.com/vitest-dev/vitest/issues/11377 )
[<samp>(15cc0)</samp>](15cc006aa )
- Don't retry when `test.fails` expectedly failed - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **Codex (GPT-6)** in
[#​11219](https://redirect.github.com/vitest-dev/vitest/issues/11219 )
[<samp>(b2458)</samp>](b24585f08 )
- Scope cache key generators to projects - by
[@​ecoyoung](https://redirect.github.com/ecoyoung ) in
[#​11281](https://redirect.github.com/vitest-dev/vitest/issues/11281 )
and
[#​11301](https://redirect.github.com/vitest-dev/vitest/issues/11301 )
[<samp>(92ba7)</samp>](92ba7fc1d )
- **browser**:
- Delay server `listen` until tests start running - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11366](https://redirect.github.com/vitest-dev/vitest/issues/11366 )
[<samp>(7d8ed)</samp>](7d8ed3e9b )
- Check mock path boundaries - by
[@​saryn17](https://redirect.github.com/saryn17 ), **Ryosei Sato**
and [@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11361](https://redirect.github.com/vitest-dev/vitest/issues/11361 )
and
[#​11362](https://redirect.github.com/vitest-dev/vitest/issues/11362 )
[<samp>(1c388)</samp>](1c3888bce )
- Keep config of browser-consumed environments - by
[@​kasperpeulen](https://redirect.github.com/kasperpeulen ) and
**Claude** in
[#​11378](https://redirect.github.com/vitest-dev/vitest/issues/11378 )
[<samp>(aafc0)</samp>](aafc0996f )
- Ignore page crash while cancelling - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11386](https://redirect.github.com/vitest-dev/vitest/issues/11386 )
[<samp>(7c367)</samp>](7c36748fa )
- `toMatchScreenshot` uses wrong reference on retried tests - by
[@​macarie](https://redirect.github.com/macarie ) in
[#​11393](https://redirect.github.com/vitest-dev/vitest/issues/11393 )
[<samp>(c22ab)</samp>](c22aba992 )
- **cache**:
- Revalidate imports of cached modules - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11381](https://redirect.github.com/vitest-dev/vitest/issues/11381 )
[<samp>(38f98)</samp>](38f98855f )
- **deps**:
- Pin `why-is-node-running` to `3.2.1` to avoid users running into
`ERR_PNPM_TRUST_DOWNGRADE` - by
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​11403](https://redirect.github.com/vitest-dev/vitest/issues/11403 )
[<samp>(f6c9a)</samp>](f6c9a4977 )
- **expect**:
- Pass current equality testers to `expect.extend` asymmetric matchers
- by [@​hi-ogawa](https://redirect.github.com/hi-ogawa ),
**Hiroshi Ogawa** and **Claude** in
[#​11401](https://redirect.github.com/vitest-dev/vitest/issues/11401 )
[<samp>(3e794)</samp>](3e794a96b )
- **jsdom**:
- Support Blob on jsdom 30.1 - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11379](https://redirect.github.com/vitest-dev/vitest/issues/11379 )
[<samp>(6c49b)</samp>](6c49b7197 )
- **pool**:
- Preserve unique pool ids when `groupOrder` is set - by
[@​mtorp](https://redirect.github.com/mtorp ) in
[#​11392](https://redirect.github.com/vitest-dev/vitest/issues/11392 )
[<samp>(50312)</samp>](50312ebb4 )
- **ui**:
- Split-pane handle overlapping iframe - by
[@​macarie](https://redirect.github.com/macarie ) in
[#​11221](https://redirect.github.com/vitest-dev/vitest/issues/11221 )
[<samp>(f91db)</samp>](f91db0dfd )
- **vitest**:
- Remove root temp dir on close - by
[@​abhinav-phi](https://redirect.github.com/abhinav-phi ) in
[#​11248](https://redirect.github.com/vitest-dev/vitest/issues/11248 )
[<samp>(7c711)</samp>](7c7119cf7 )
- **vm**:
- Do not optimize deps from index.html - by
[@​ezefernandezyf](https://redirect.github.com/ezefernandezyf ),
**Hiroshi Ogawa** and **Codex (GPT-6)** in
[#​11329](https://redirect.github.com/vitest-dev/vitest/issues/11329 )
and
[#​11360](https://redirect.github.com/vitest-dev/vitest/issues/11360 )
[<samp>(caf28)</samp>](caf2887de )
- Don't reuse scripts across vite environments - by
[@​MO2k4](https://redirect.github.com/MO2k4 ), **Martin Oehlert**
and **Claude** in
[#​11395](https://redirect.github.com/vitest-dev/vitest/issues/11395 )
[<samp>(346d3)</samp>](346d3896b )
##### [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v5.0.2...v5.0.3 )
###
[`v5.0.2`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v5.0.2 )
[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v5.0.1...v5.0.2 )
##### 🐞 Bug Fixes
- Bind `process` in case global is overwritten - by
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​11343](https://redirect.github.com/vitest-dev/vitest/issues/11343 )
[<samp>(0b792)</samp>](0b79231ad )
- **detect-async-leaks**:
- Ignore `process.stdio` handles - by
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​11333](https://redirect.github.com/vitest-dev/vitest/issues/11333 )
[<samp>(0fd6b)</samp>](0fd6b9790 )
- **expect**:
- Fix `toMatchObject` with asymmetric matchers - by
[@​ShreeBohara](https://redirect.github.com/ShreeBohara ), **Claude
Opus 5**, [@​hi-ogawa](https://redirect.github.com/hi-ogawa ),
**Hiroshi Ogawa** and **Codex (GPT-5)** in
[#​11100](https://redirect.github.com/vitest-dev/vitest/issues/11100 )
[<samp>(42523)</samp>](42523289e )
- **jsdom**:
- Fix `Request` with `Blob` body on jsdom 28+ - by
[@​harshit-d3v](https://redirect.github.com/harshit-d3v ) in
[#​11295](https://redirect.github.com/vitest-dev/vitest/issues/11295 )
[<samp>(d1c3e)</samp>](d1c3ecc93 )
- **reporter**:
- `agent` to respect `--silent` - by
[@​Raj4478](https://redirect.github.com/Raj4478 ) and
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​11271](https://redirect.github.com/vitest-dev/vitest/issues/11271 )
[<samp>(5b95e)</samp>](5b95efb6d )
- **reporters**:
- Handle concurrent `createReport` calls - by
[@​7rulnik](https://redirect.github.com/7rulnik ) in
[#​11278](https://redirect.github.com/vitest-dev/vitest/issues/11278 )
[<samp>(e8e55)</samp>](e8e556ff7 )
- `hanging-process` to use ESM entrypoint - by
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​11316](https://redirect.github.com/vitest-dev/vitest/issues/11316 )
[<samp>(4e91e)</samp>](4e91e5668 )
- **spy**:
- Fix stack overflow when spying `Set.prototype.add` - by
[@​fengmk2](https://redirect.github.com/fengmk2 ) in
[#​11299](https://redirect.github.com/vitest-dev/vitest/issues/11299 )
[<samp>(a0a93)</samp>](a0a939653 )
- **ui**:
- Persist authentication cookie beyond current browser session - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **OpenCode (gpt-5.6-sol)** in
[#​11066](https://redirect.github.com/vitest-dev/vitest/issues/11066 )
[<samp>(f8819)</samp>](f88195e16 )
##### [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v5.0.1...v5.0.2 )
###
[`v5.0.1`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v5.0.1 )
[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v5.0.0...v5.0.1 )
##### 🚀 Features
- **ui**:
- Move trace attempts selector to viewer header - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **Codex** in
[#​11189](https://redirect.github.com/vitest-dev/vitest/issues/11189 )
[<samp>(5dc4b)</samp>](5dc4b5c92 )
- Add focused trace view layout mode - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa**, **OpenCode (gpt-5.6-sol)** and **Codex** in
[#​11190](https://redirect.github.com/vitest-dev/vitest/issues/11190 )
[<samp>(376dc)</samp>](376dc3bc1 )
##### 🐞 Bug Fixes
- Exit 1 when vitest list fails collection - by
[@​hamed-bavar](https://redirect.github.com/hamed-bavar ) in
[#​11145](https://redirect.github.com/vitest-dev/vitest/issues/11145 )
and
[#​11146](https://redirect.github.com/vitest-dev/vitest/issues/11146 )
[<samp>(6108b)</samp>](6108b8197 )
- Keep parse error details in static collection - by
[@​hamed-bavar](https://redirect.github.com/hamed-bavar ) in
[#​11150](https://redirect.github.com/vitest-dev/vitest/issues/11150 )
and
[#​11151](https://redirect.github.com/vitest-dev/vitest/issues/11151 )
[<samp>(7c818)</samp>](7c818153a )
- Avoid recursive prototype in automocking - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11195](https://redirect.github.com/vitest-dev/vitest/issues/11195 )
[<samp>(99fc5)</samp>](99fc52591 )
- Prevent false Vitest import resolution - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11196](https://redirect.github.com/vitest-dev/vitest/issues/11196 )
[<samp>(b426c)</samp>](b426c1976 )
- Keep metadata file when clearing the cache - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11199](https://redirect.github.com/vitest-dev/vitest/issues/11199 )
[<samp>(73614)</samp>](73614654a )
- Correct typos in error message and comments - by
[@​shinji00222](https://redirect.github.com/shinji00222 ) and
**Shinji** in
[#​11187](https://redirect.github.com/vitest-dev/vitest/issues/11187 )
[<samp>(115c3)</samp>](115c3f6d2 )
- Resolve ResolvedConfig exactOptionalPropertyTypes errors - by
[@​LukeAbby](https://redirect.github.com/LukeAbby ) in
[#​11175](https://redirect.github.com/vitest-dev/vitest/issues/11175 )
[<samp>(498fb)</samp>](498fbe922 )
- Share the server on self-referencing `extends` - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11034](https://redirect.github.com/vitest-dev/vitest/issues/11034 )
[<samp>(23dda)</samp>](23dda738c )
- Warn when deprecated `deps.optimizer.web` is used - by
[@​im10furry](https://redirect.github.com/im10furry ) in
[#​11214](https://redirect.github.com/vitest-dev/vitest/issues/11214 )
[<samp>(2ce29)</samp>](2ce29d5fa )
- **browser**:
- Avoid double quotes in `config.define` - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11198](https://redirect.github.com/vitest-dev/vitest/issues/11198 )
[<samp>(972e2)</samp>](972e24bab )
- **doctor**:
- Measure vm pools for custom environments - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11212](https://redirect.github.com/vitest-dev/vitest/issues/11212 )
[<samp>(91ab1)</samp>](91ab1588c )
- **expect**:
- Correct return value in `toMatchAriaSnapshot` - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11208](https://redirect.github.com/vitest-dev/vitest/issues/11208 )
[<samp>(c119b)</samp>](c119be016 )
- **fakeTimers**:
- Force `queueMicrotask` and `nextTick` in `toNotFake` - by
[@​kingmakeruix](https://redirect.github.com/kingmakeruix ),
**kingmakeruix**, **Hiroshi Ogawa**, **Codex** and
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ) in
[#​11261](https://redirect.github.com/vitest-dev/vitest/issues/11261 )
[<samp>(a47d7)</samp>](a47d7908f )
- **snapshot**:
- Report obsolete keys next to skipped tests - by
[@​hamed-bavar](https://redirect.github.com/hamed-bavar ),
**Hiroshi Ogawa** and **OpenCode (gpt-5.6-sol)** in
[#​11157](https://redirect.github.com/vitest-dev/vitest/issues/11157 )
and
[#​11158](https://redirect.github.com/vitest-dev/vitest/issues/11158 )
[<samp>(17e2b)</samp>](17e2b22dd )
- **types**:
- Make public declarations self-contained - by
[@​ZoeySigel](https://redirect.github.com/ZoeySigel ) in
[#​11141](https://redirect.github.com/vitest-dev/vitest/issues/11141 )
[<samp>(45546)</samp>](455466c16 )
- **ui**:
- Fix collapse/expand suite with file name search - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **Codex** in
[#​11260](https://redirect.github.com/vitest-dev/vitest/issues/11260 )
[<samp>(0a712)</samp>](0a7122daa )
- Fix explorer file summary count - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa**, **OpenCode (gpt-5.6-sol)** and **Codex** in
[#​11125](https://redirect.github.com/vitest-dev/vitest/issues/11125 )
[<samp>(05982)</samp>](05982297d )
- **utils**:
- Fix `deepMerge` to handle prototype - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **Codex** in
[#​11215](https://redirect.github.com/vitest-dev/vitest/issues/11215 )
[<samp>(4944c)</samp>](4944cf498 )
##### [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v5.0.0...v5.0.1 )
###
[`v5.0.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v5.0.0 )
[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v4.1.12...v5.0.0 )
Vitest 5 is officially out! This release focuses on performance and
brings a lot of new features while fixing long-standing bugs. See our
[blog post](https://vitest.dev/blog/vitest-5.html ) for the official
announcement.
##### 🚨 Breaking Changes
- Replace `loupe.inspect` with pretty-format - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Claude Opus
5 (1M context)** and **OpenAI Codex** in
[#​9609](https://redirect.github.com/vitest-dev/vitest/issues/9609 )
[<samp>(3f802)</samp>](3f802da4b )
- Remove quotes from string values in `test.for/each` title `$` variable
(take 2) - by [@​hi-ogawa](https://redirect.github.com/hi-ogawa )
in
[#​10170](https://redirect.github.com/vitest-dev/vitest/issues/10170 )
[<samp>(04d37)</samp>](04d37e9d7 )
- Default `attachmentsDir` from `.vitest-attachements/` to
`.vitest/attachments/` - by
[@​MdSadiqMd](https://redirect.github.com/MdSadiqMd ) in
[#​10186](https://redirect.github.com/vitest-dev/vitest/issues/10186 )
[<samp>(1ba73)</samp>](1ba7338c3 )
- Remove `sequential` test/suite options in favor of `concurrent` - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ) and **OpenAI
Codex** in
[#​10198](https://redirect.github.com/vitest-dev/vitest/issues/10198 )
[<samp>(9229f)</samp>](9229f2edc )
- Represent locator as an object instead of a string - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10212](https://redirect.github.com/vitest-dev/vitest/issues/10212 )
[<samp>(80f07)</samp>](80f07edf6 )
- Inline `expect` package - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10221](https://redirect.github.com/vitest-dev/vitest/issues/10221 )
[<samp>(ad162)</samp>](ad16223e7 )
- Remove deprecated entry points - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10222](https://redirect.github.com/vitest-dev/vitest/issues/10222 )
[<samp>(994c6)</samp>](994c6ddb9 )
- Require Node.js 22 and Vite 6.4 - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10178](https://redirect.github.com/vitest-dev/vitest/issues/10178 )
[<samp>(38762)</samp>](3876283e8 )
- Fail `expect.poll` when function didn't resolve in time - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ) and **OpenAI
Codex** in
[#​10233](https://redirect.github.com/vitest-dev/vitest/issues/10233 )
[<samp>(4df04)</samp>](4df048c11 )
- Throw an error if hoistable methods are outside the top level scope
- by [@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10460](https://redirect.github.com/vitest-dev/vitest/issues/10460 )
[<samp>(d0b4f)</samp>](d0b4fddcb )
- `toHaveTextContent` is strict, add `toMatchTextContent` as alternative
- by [@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10473](https://redirect.github.com/vitest-dev/vitest/issues/10473 )
[<samp>(18f30)</samp>](18f303079 )
- Don't lookup config file from ancestor directories - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **OpenAI
Codex** and **Hiroshi Ogawa** in
[#​10428](https://redirect.github.com/vitest-dev/vitest/issues/10428 )
[<samp>(945d9)</samp>](945d9090e )
- Inline `@vitest/runner` package, do not publish it anymore - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10511](https://redirect.github.com/vitest-dev/vitest/issues/10511 )
[<samp>(6d6e4)</samp>](6d6e46b1e )
- Allow mutating happy-dom/jsdom window object - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **OpenAI Codex** in
[#​10373](https://redirect.github.com/vitest-dev/vitest/issues/10373 )
[<samp>(206e8)</samp>](206e8cff8 )
- Expose `concurrencyId`/`workerId` on TestModule's diagnostics, make id
1-based - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10516](https://redirect.github.com/vitest-dev/vitest/issues/10516 )
[<samp>(bdd98)</samp>](bdd985433 )
- Add `screenshotDirectory` config to `browser.expect.toMatchScreenshot`
- by [@​macarie](https://redirect.github.com/macarie ) in
[#​10592](https://redirect.github.com/vitest-dev/vitest/issues/10592 )
[<samp>(a60de)</samp>](a60ded0fb )
- Update `@sinonjs/fake-timers` and support mocking `Temporal` - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **OpenCode (gpt-5.6-sol)** in
[#​10654](https://redirect.github.com/vitest-dev/vitest/issues/10654 )
[<samp>(f8b15)</samp>](f8b1532fe )
- Remove webdriverio package - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10675](https://redirect.github.com/vitest-dev/vitest/issues/10675 )
[<samp>(5fed6)</samp>](5fed68f72 )
- Clear mocks by default before each test - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10613](https://redirect.github.com/vitest-dev/vitest/issues/10613 )
[<samp>(0f646)</samp>](0f6463bf2 )
- Don't emit localStorage warnings on Node 26, fail gracefully when
worker fails to start - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10293](https://redirect.github.com/vitest-dev/vitest/issues/10293 )
[<samp>(334ed)</samp>](334edef92 )
- Separate config resolution from the server creation - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10554](https://redirect.github.com/vitest-dev/vitest/issues/10554 )
[<samp>(1c0ec)</samp>](1c0ec3444 )
- Inline projects extend the root config by default - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10750](https://redirect.github.com/vitest-dev/vitest/issues/10750 )
[<samp>(fec00)</samp>](fec001ad3 )
- Enable mocking Temporal without fake timers - by
[@​fabon-f](https://redirect.github.com/fabon-f ), **Hiroshi
Ogawa** and **OpenCode (gpt-5.6-sol)** in
[#​10757](https://redirect.github.com/vitest-dev/vitest/issues/10757 )
[<samp>(ac2d4)</samp>](ac2d46b42 )
- Support nested projects - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10846](https://redirect.github.com/vitest-dev/vitest/issues/10846 )
[<samp>(ec367)</samp>](ec367cf2a )
- Use `>` as separator in `-t`, calculate `only` once - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10686](https://redirect.github.com/vitest-dev/vitest/issues/10686 )
[<samp>(a0b20)</samp>](a0b20bc86 )
- Fail the test when an asynchronous assertion is not awaited - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10868](https://redirect.github.com/vitest-dev/vitest/issues/10868 )
[<samp>(86d4a)</samp>](86d4a9da9 )
- Share the Vite server between inline projects - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10848](https://redirect.github.com/vitest-dev/vitest/issues/10848 )
[<samp>(d87c9)</samp>](d87c96ee4 )
- Parse files statically in vitest list by default - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11088](https://redirect.github.com/vitest-dev/vitest/issues/11088 )
[<samp>(51e94)</samp>](51e949416 )
- **benchmark**:
- Rewrite the public API - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10113](https://redirect.github.com/vitest-dev/vitest/issues/10113 )
[<samp>(19f6e)</samp>](19f6e8947 )
- **browser**:
- Iframe scale - by
[@​macarie](https://redirect.github.com/macarie ) in
[#​9745](https://redirect.github.com/vitest-dev/vitest/issues/9745 )
[<samp>(b6398)</samp>](b639852cc )
- Enable `locators.exact` by default - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10430](https://redirect.github.com/vitest-dev/vitest/issues/10430 )
[<samp>(e2032)</samp>](e203202f9 )
- Require `sessionId` for orchestrator html request - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **OpenAI Codex** in
[#​10522](https://redirect.github.com/vitest-dev/vitest/issues/10522 )
[<samp>(79b7d)</samp>](79b7d8fcc )
- Save failure screenshots in `attachmentsDir` - by
[@​macarie](https://redirect.github.com/macarie ) in
[#​10917](https://redirect.github.com/vitest-dev/vitest/issues/10917 )
[<samp>(3b5bb)</samp>](3b5bbd8b4 )
- **coverage**:
- `include/exclude` globs too eager - by
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​9818](https://redirect.github.com/vitest-dev/vitest/issues/9818 )
[<samp>(edacb)</samp>](edacb0fd4 )
- Allow `thresholds.perFile` to accept an object - by
[@​vladlenskiy](https://redirect.github.com/vladlenskiy ) and
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​10190](https://redirect.github.com/vitest-dev/vitest/issues/10190 )
[<samp>(13b78)</samp>](13b78d98b )
- **expect**:
- Fix `toThrow("")` behavior by reverting
[#​6710](https://redirect.github.com/vitest-dev/vitest/issues/6710 )
- by [@​hi-ogawa](https://redirect.github.com/hi-ogawa ) in
[#​9643](https://redirect.github.com/vitest-dev/vitest/issues/9643 )
and
[#​6710](https://redirect.github.com/vitest-dev/vitest/issues/6710 )
[<samp>(6c3e4)</samp>](6c3e4bdbf )
- **mocker**:
- Deserialize automock as automock - by
[@​nami8824](https://redirect.github.com/nami8824 ) in
[#​10192](https://redirect.github.com/vitest-dev/vitest/issues/10192 )
[<samp>(2f892)</samp>](2f892712d )
- **reporters**:
- `blob` reporter and `--merge-reports` default to `.vitest/blob/` -
by [@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​10232](https://redirect.github.com/vitest-dev/vitest/issues/10232 )
[<samp>(d22b0)</samp>](d22b029ae )
- Write json and junit reporter output files to `.vitest` by default -
by [@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa**, **OpenCode (gpt-5.6-sol)** and
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​10621](https://redirect.github.com/vitest-dev/vitest/issues/10621 )
[<samp>(58577)</samp>](58577290a )
- **spy**:
- Preserve class mock prototype methods on instances - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10910](https://redirect.github.com/vitest-dev/vitest/issues/10910 )
[<samp>(6093d)</samp>](6093d764a )
- **types**:
- Add better promise support in expects and matchers - by
[@​samchungy](https://redirect.github.com/samchungy ) and
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​8266](https://redirect.github.com/vitest-dev/vitest/issues/8266 )
[<samp>(41f55)</samp>](41f551bce )
- **ui**:
- Harden UI API access - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Hiroshi
Ogawa** and **OpenAI Codex** in
[#​10583](https://redirect.github.com/vitest-dev/vitest/issues/10583 )
[<samp>(4c26d)</samp>](4c26d7675 )
- Change html reporter default output to `.vitest` - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ) and **Hiroshi
Ogawa** in
[#​10620](https://redirect.github.com/vitest-dev/vitest/issues/10620 )
[<samp>(29c36)</samp>](29c364d50 )
##### 🚀 Features
- Add `createReport` and `.vitest` report directory convention - by
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​9993](https://redirect.github.com/vitest-dev/vitest/issues/9993 )
[<samp>(72a6d)</samp>](72a6dc257 )
- Expose default reporters through `configDefaults.reporters` - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ) and **Claude
Opus 5 (1M context)** in
[#​10219](https://redirect.github.com/vitest-dev/vitest/issues/10219 )
[<samp>(083f6)</samp>](083f6bdd6 )
- Support merge reports for non-sharded multi-environment runs (take 2)
- by [@​hi-ogawa](https://redirect.github.com/hi-ogawa ),
**Claude Opus 5 (1M context)**, **OpenAI Codex** and
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​10031](https://redirect.github.com/vitest-dev/vitest/issues/10031 )
[<samp>(e60b2)</samp>](e60b2f49e )
- Add `logger.formatError` - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ) and **OpenAI
Codex** in
[#​10268](https://redirect.github.com/vitest-dev/vitest/issues/10268 )
[<samp>(2c5f3)</samp>](2c5f3ee2f )
- Support typescript build mode - by
[@​lishaduck](https://redirect.github.com/lishaduck ) in
[#​9870](https://redirect.github.com/vitest-dev/vitest/issues/9870 )
[<samp>(106da)</samp>](106da5896 )
- Add toggable `injectCjsGlobals` option - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10709](https://redirect.github.com/vitest-dev/vitest/issues/10709 )
[<samp>(82671)</samp>](826714ece )
- Promote fsModuleCache to a top-level option - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10734](https://redirect.github.com/vitest-dev/vitest/issues/10734 )
[<samp>(78ed7)</samp>](78ed73afd )
- Support non-ascii characters in `for/each` title placeholders - by
[@​k-yle](https://redirect.github.com/k-yle ) in
[#​10773](https://redirect.github.com/vitest-dev/vitest/issues/10773 )
[<samp>(15e0a)</samp>](15e0af953 )
- Report the duration breakdown as percentages - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) and
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
[#​10820](https://redirect.github.com/vitest-dev/vitest/issues/10820 )
[<samp>(c67d2)</samp>](c67d296f4 )
- Promote parseSpecifications out of experimental - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11087](https://redirect.github.com/vitest-dev/vitest/issues/11087 )
[<samp>(b628c)</samp>](b628cb680 )
- Promote clearCache out of experimental - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​11086](https://redirect.github.com/vitest-dev/vitest/issues/11086 )
[<samp>(d4fe1)</samp>](d4fe1986f )
- **api**:
- Expose logs recorded during the test - by
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10277](https://redirect.github.com/vitest-dev/vitest/issues/10277 )
[<samp>(cba20)</samp>](cba2036a1 )
- **benchmark**:
- Add pluggable benchmark provider API - by
[@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange )
and [@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10799](https://redirect.github.com/vitest-dev/vitest/issues/10799 )
[<samp>(86c70)</samp>](86c700ed8 )
- **browser**:
- Export aria tree utils - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ) in
[#​10171](https://redirect.github.com/vitest-dev/vitest/issues/10171 )
[<samp>(c3423)</samp>](c3423014c )
- Support dom snapshot trace view - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ), **Claude Opus
5 (1M context)** and **OpenAI Codex** in
[#​10102](https://redirect.github.com/vitest-dev/vitest/issues/10102 )
[<samp>(7eddd)</samp>](7eddd273d )
- Provide project reference in `ToMatchScreenshotResolvePath` - by
[@​macarie](https://redirect.github.com/macarie ) and
[@​sheremet-va](https://redirect.github.com/sheremet-va ) in
[#​10138](https://redirect.github.com/vitest-dev/vitest/issues/10138 )
[<samp>(16654)</samp>](166544e39 )
- Show aria tree on locator element error - by
[@​hi-ogawa](https://redirect.github.com/hi-ogawa ) and **OpenAI
Codex** in
[#​10257](https://redirect.github.com/vitest-dev/vitest/issues/10257 )
[<samp>(04f04)</samp>](04f04cdd1 )
- Support custom `kind` in `page.mark` - by
[@​AriPerkkio](https://redirect.github.com/AriPerkkio ) in
> [!IMPORTANT]
> ✂ PR body was truncated to here.
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- "before 6am every weekday"
- 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](https://redirect.github.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend Renovate
CLI](https://redirect.github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xOTguMiIsInVwZGF0ZWRJblZlciI6IjQ0LjIwNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWF0aW9uIl19-->
---------
Co-authored-by: wardpeet <ward@coding-tech.com>
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-03 20:18:21 +01:00
Ward Peeters
ebe58055bd
chore(deps): drop unused path-to-regexp from the root package ( #29236 )
...
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-11-03 00:14:27 +01:00
Dane - AI (Mastra)
af8f128f34
chore(deps): update dependency prettier to v3.9.10 ( #29021 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-10-30 13:53:19 -07:00
Ward Peeters
ce5d4731ee
chore(deps): update dependencies across the monorepo ( #28417 )
...
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-10-26 16:59:30 +01:00
Dane - AI (Mastra)
c512e37689
chore(deps): update dependency turbo to ^2.11.9 ( #27991 )
2026-10-22 14:39:49 +02:00
Dane - AI (Mastra)
40a522c142
chore(deps): update build tools ( #27997 )
2026-10-22 14:33:21 +02:00
Dane - AI (Mastra)
edd6f06a74
chore(deps): update dependency vite to v8 [security] ( #27938 )
...
> [!NOTE]
> This PR body was truncated due to platform limits.
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [vite](https://vite.dev )
([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite ))
| devDependencies | major | [`^7.3.1` →
`^8.0.0`](https://renovatebot.com/diffs/npm/vite/7.3.6/8.2.4 ) |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/9505) for more information.
---
### launch-editor: escapeCmdArgs() omits % escaping on Windows
[CVE-2026-112943](https://nvd.nist.gov/vuln/detail/CVE-2026-112943 ) /
[GHSA-698v-4r3x-3vcv](https://redirect.github.com/advisories/GHSA-698v-4r3x-3vcv )
<details>
<summary>More information</summary>
#### Details
##### Summary
`launch-editor` did not escape `%` on Windows when passing an argument
to `cmd`. When an environment variable contained a malicious value, it
was possible that that content to be executed.
##### Impact
Only apps that match all of the following conditions are affected:
- The user uses Windows
- An attacker can place a file with the malicious filename containing
`&` or `%`
- Either of
- An attacker can inject an environment variable with a malicious value
- An attacker can add a NTFS alternate data stream to the file placed
##### Details
Unlike `.sh` files, `.bat` / `.cmd` files on Windows cannot be called
directly using
[`child_process.spawn`](https://nodejs.org/docs/latest-v24.x/api/child_process.html#child_processspawncommand-args-options )
and requires passing them as an argument of `cmd.exe`. To do so,
launch-editor escapes the arguments passed to `cmd.exe`. But
`launch-editor` did not escape `%` which is used for environment
variables.
Because `launch-editor` checks if the argument matches an existing
filename, the attack requires the attacker to be able to place a file.
- If the attacker can inject an environment variable as well, they can
include the subcommand in the env variable (e.g. set ` &calc.exe ` to
`%ENV%`) and call `launchEditor` with `something%ENV%`.
- If the attacker can place a NTFS alternate data stream to the file
(e.g. a NTFS alternate data stream named `~-38%calc.exe`), they can call
`launchEditor` with `something %CMDCMDLINE:~-38%calc.exe`.
- If the attacker can create a filename containing the `%CD%` and the
subcommand (e.g. `&calc.exe `), they can call `launchEditor` with
`./%CD%`
#### Severity
- CVSS Score: 6.3 / 10 (Medium)
- Vector String:
`CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
#### References
-
[https://github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv ](https://redirect.github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv )
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-112943 ](https://nvd.nist.gov/vuln/detail/CVE-2026-112943 )
-
[https://github.com/vitejs/launch-editor/pull/155 ](https://redirect.github.com/vitejs/launch-editor/pull/155 )
-
[3c2f9bf2ff )
-
[https://github.com/vitejs/launch-editor/releases/tag/v2.14.2 ](https://redirect.github.com/vitejs/launch-editor/releases/tag/v2.14.2 )
-
[https://github.com/advisories/GHSA-698v-4r3x-3vcv ](https://redirect.github.com/advisories/GHSA-698v-4r3x-3vcv )
This data is provided by the [GitHub Advisory
Database](https://redirect.github.com/advisories/GHSA-698v-4r3x-3vcv )
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md )).
</details>
---
### launch-editor: `fs.existsSync()` existence check can be bypassed on
Windows
[CVE-2026-112942](https://nvd.nist.gov/vuln/detail/CVE-2026-112942 ) /
[GHSA-587h-7wmj-h5pm](https://redirect.github.com/advisories/GHSA-587h-7wmj-h5pm )
<details>
<summary>More information</summary>
#### Details
##### Summary
`launch-editor` checked `fs.existsSync(fileName)` before passing a
supplied path to an editor command. On Windows, an attacker can bypass
this check with a crafted path ending in `\\..:line:column`. This
removes the requirement that the attacker be able to place a file with a
malicious filename.
Combined with the `%` escaping issue described in
[GHSA-698v-4r3x-3vcv](https://redirect.github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv ),
this bypass can lead to OS command injection when an attacker controls
the file argument.
##### Impact
Only apps that runs on Windows is affected.
##### Details
The earlier advisory assumed that `fs.existsSync()` required an
attacker-controlled filename to exist. This advisory covers a bypass of
that requirement.
A crafted value ending in `\\..:1:1` is interpreted differently by
`launch-editor-middleware`, `launch-editor`, and Windows:
1. `launch-editor-middleware` calls `path.resolve()` while the final
path component is `..:1:1`, so it is not treated as a parent-directory
component.
2. `launch-editor` treats `:1:1` as a line-and-column suffix and removes
it, leaving a path ending in `\\..`.
3. On Windows, `fs.existsSync()` accepts the resulting path as the
existing parent directory even though the attacker-controlled preceding
component does not exist.
4. Because the existence check passes, the crafted filename reaches the
Windows shell command.
#### Severity
- CVSS Score: 7.5 / 10 (High)
- Vector String:
`CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
#### References
-
[https://github.com/vitejs/launch-editor/security/advisories/GHSA-587h-7wmj-h5pm ](https://redirect.github.com/vitejs/launch-editor/security/advisories/GHSA-587h-7wmj-h5pm )
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-112942 ](https://nvd.nist.gov/vuln/detail/CVE-2026-112942 )
-
[f13cd835d4 )
-
[https://github.com/vitejs/launch-editor/releases/tag/v2.14.2 ](https://redirect.github.com/vitejs/launch-editor/releases/tag/v2.14.2 )
-
[https://github.com/advisories/GHSA-587h-7wmj-h5pm ](https://redirect.github.com/advisories/GHSA-587h-7wmj-h5pm )
This data is provided by the [GitHub Advisory
Database](https://redirect.github.com/advisories/GHSA-587h-7wmj-h5pm )
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md )).
</details>
---
### launch-editor: Editor CLI flag misinterpretation causing arbitrary
command execution for some editors
[CVE-2026-112944](https://nvd.nist.gov/vuln/detail/CVE-2026-112944 ) /
[GHSA-r825-w8mm-5pxw](https://redirect.github.com/advisories/GHSA-r825-w8mm-5pxw )
<details>
<summary>More information</summary>
#### Details
##### Summary
`launch-editor` forwarded file paths directly to editors without
sanitization. If a path resembles a CLI flag, editors like Vim may
interpret it as a command, potentially causing unintended file
overwrites or command execution.
##### Impact
##### Direct `launch-editor` users
Only apps that match all of the following conditions are affected:
- The attacker is able to create a file system entry (e.g. a file or
directory) starting with `+` or `-` in the working directory
- The user uses or the app specifies any of the following editors:
- Vim (including gVim)
- MacVim
- Emacs (including Emacsclient)
- Notepad++ (only if using a plugin exposing dangerous operations via
plugin messages)
- The first argument of `launchEditor` can start with `+` or `-` or the
user is using WSL
##### `launch-editor-middleware` users
Only apps that match the following conditions are affected:
- The attacker is able to create a file system entry (e.g. a file or
directory) starting with `+` or `-` in the working directory
- The user uses or the app specifies any of the following editors:
- Vim (including gVim)
- MacVim
- Emacs (including Emacsclient)
- Notepad++ (only if using a plugin exposing dangerous operations via
plugin messages)
- launch-editor older than v2.2.0 is used, or the user is using WSL
##### Vite users
Only apps that match the following conditions are affected:
- The attacker is able to create a file system entry (e.g. a file or
directory) starting with `+` or `-` in the working directory
- The user uses or the app specifies any of the following editors:
- Vim (including gVim)
- MacVim
- Emacs (including Emacsclient)
- Notepad++ (only if using a plugin exposing dangerous operations via
plugin messages)
- The user is using WSL
##### Details
`launchEditor(file)` function passes the file name as-is to the editor
if the file with that file name exists. If the file name starts with `-`
(also `+` for Vim), the editor treats them as flags rather than
positional arguments. For example, Vim treats arguments starting with
`+` as an Ex command. As a result, an existing relative directory such
as:
```
+call writefile(["SAFE_MARKER"],"LAUNCH_EDITOR_MARKER")|qa!
```
is not treated as a filename when passed to Vim. Vim executes the
embedded Ex command.
The following editor has a potentially destructive operation exposed to
the CLI arguments:
- Vim (including gVim)
- MacVim
- Emacs (including Emacsclient)
- Notepad++ (only if using a plugin exposing dangerous operations via
plugin messages)
`launch-editor-middleware` v2.2.0+ converts the passed file path to an
absolute path so those are not affected as long as the user is not using
WSL. For WSL, `launch-editor` converts the paths to relative paths
internally, so those are still affected.
Vite 2.0.0+ uses `launch-editor-middleware` v2.2.0+ so the WSL users are
only affected.
#### Severity
- CVSS Score: 6.3 / 10 (Medium)
- Vector String:
`CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
#### References
-
[https://github.com/vitejs/launch-editor/security/advisories/GHSA-r825-w8mm-5pxw ](https://redirect.github.com/vitejs/launch-editor/security/advisories/GHSA-r825-w8mm-5pxw )
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-112944 ](https://nvd.nist.gov/vuln/detail/CVE-2026-112944 )
-
[https://github.com/vitejs/launch-editor/pull/156 ](https://redirect.github.com/vitejs/launch-editor/pull/156 )
-
[f6e6701bb1 )
-
[https://github.com/vitejs/launch-editor/releases/tag/v2.14.2 ](https://redirect.github.com/vitejs/launch-editor/releases/tag/v2.14.2 )
-
[https://github.com/advisories/GHSA-r825-w8mm-5pxw ](https://redirect.github.com/advisories/GHSA-r825-w8mm-5pxw )
This data is provided by the [GitHub Advisory
Database](https://redirect.github.com/advisories/GHSA-r825-w8mm-5pxw )
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md )).
</details>
---
### launch-editor: `fs.existsSync()` existence check can be bypassed on
Windows
[CVE-2026-112942](https://nvd.nist.gov/vuln/detail/CVE-2026-112942 ) /
[GHSA-587h-7wmj-h5pm](https://redirect.github.com/advisories/GHSA-587h-7wmj-h5pm )
<details>
<summary>More information</summary>
#### Details
##### Summary
`launch-editor` checked `fs.existsSync(fileName)` before passing a
supplied path to an editor command. On Windows, an attacker can bypass
this check with a crafted path ending in `\\..:line:column`. This
removes the requirement that the attacker be able to place a file with a
malicious filename.
Combined with the `%` escaping issue described in
[GHSA-698v-4r3x-3vcv](https://redirect.github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv ),
this bypass can lead to OS command injection when an attacker controls
the file argument.
##### Impact
Only apps that runs on Windows is affected.
##### Details
The earlier advisory assumed that `fs.existsSync()` required an
attacker-controlled filename to exist. This advisory covers a bypass of
that requirement.
A crafted value ending in `\\..:1:1` is interpreted differently by
`launch-editor-middleware`, `launch-editor`, and Windows:
1. `launch-editor-middleware` calls `path.resolve()` while the final
path component is `..:1:1`, so it is not treated as a parent-directory
component.
2. `launch-editor` treats `:1:1` as a line-and-column suffix and removes
it, leaving a path ending in `\\..`.
3. On Windows, `fs.existsSync()` accepts the resulting path as the
existing parent directory even though the attacker-controlled preceding
component does not exist.
4. Because the existence check passes, the crafted filename reaches the
Windows shell command.
#### Severity
- CVSS Score: 7.5 / 10 (High)
- Vector String:
`CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
#### References
-
[https://github.com/vitejs/launch-editor/security/advisories/GHSA-587h-7wmj-h5pm ](https://redirect.github.com/vitejs/launch-editor/security/advisories/GHSA-587h-7wmj-h5pm )
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-112942 ](https://nvd.nist.gov/vuln/detail/CVE-2026-112942 )
-
[f13cd835d4 )
-
[https://github.com/vitejs/launch-editor ](https://redirect.github.com/vitejs/launch-editor )
-
[https://github.com/vitejs/launch-editor/releases/tag/v2.14.2 ](https://redirect.github.com/vitejs/launch-editor/releases/tag/v2.14.2 )
This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-587h-7wmj-h5pm ) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database )
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md )).
</details>
---
### launch-editor: escapeCmdArgs() omits % escaping on Windows
[CVE-2026-112943](https://nvd.nist.gov/vuln/detail/CVE-2026-112943 ) /
[GHSA-698v-4r3x-3vcv](https://redirect.github.com/advisories/GHSA-698v-4r3x-3vcv )
<details>
<summary>More information</summary>
#### Details
##### Summary
`launch-editor` did not escape `%` on Windows when passing an argument
to `cmd`. When an environment variable contained a malicious value, it
was possible that that content to be executed.
##### Impact
Only apps that match all of the following conditions are affected:
- The user uses Windows
- An attacker can place a file with the malicious filename containing
`&` or `%`
- Either of
- An attacker can inject an environment variable with a malicious value
- An attacker can add a NTFS alternate data stream to the file placed
##### Details
Unlike `.sh` files, `.bat` / `.cmd` files on Windows cannot be called
directly using
[`child_process.spawn`](https://nodejs.org/docs/latest-v24.x/api/child_process.html#child_processspawncommand-args-options )
and requires passing them as an argument of `cmd.exe`. To do so,
launch-editor escapes the arguments passed to `cmd.exe`. But
`launch-editor` did not escape `%` which is used for environment
variables.
Because `launch-editor` checks if the argument matches an existing
filename, the attack requires the attacker to be able to place a file.
- If the attacker can inject an environment variable as well, they can
include the subcommand in the env variable (e.g. set ` &calc.exe ` to
`%ENV%`) and call `launchEditor` with `something%ENV%`.
- If the attacker can place a NTFS alternate data stream to the file
(e.g. a NTFS alternate data stream named `~-38%calc.exe`), they can call
`launchEditor` with `something %CMDCMDLINE:~-38%calc.exe`.
- If the attacker can create a filename containing the `%CD%` and the
subcommand (e.g. `&calc.exe `), they can call `launchEditor` with
`./%CD%`
#### Severity
- CVSS Score: 6.3 / 10 (Medium)
- Vector String:
`CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
#### References
-
[https://github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv ](https://redirect.github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv )
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-112943 ](https://nvd.nist.gov/vuln/detail/CVE-2026-112943 )
-
[https://github.com/vitejs/launch-editor/pull/155 ](https://redirect.github.com/vitejs/launch-editor/pull/155 )
-
[3c2f9bf2ff )
-
[https://github.com/vitejs/launch-editor ](https://redirect.github.com/vitejs/launch-editor )
-
[https://github.com/vitejs/launch-editor/releases/tag/v2.14.2 ](https://redirect.github.com/vitejs/launch-editor/releases/tag/v2.14.2 )
This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-698v-4r3x-3vcv ) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database )
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md )).
</details>
---
### launch-editor: Editor CLI flag misinterpretation causing arbitrary
command execution for some editors
[CVE-2026-112944](https://nvd.nist.gov/vuln/detail/CVE-2026-112944 ) /
[GHSA-r825-w8mm-5pxw](https://redirect.github.com/advisories/GHSA-r825-w8mm-5pxw )
<details>
<summary>More information</summary>
#### Details
##### Summary
`launch-editor` forwarded file paths directly to editors without
sanitization. If a path resembles a CLI flag, editors like Vim may
interpret it as a command, potentially causing unintended file
overwrites or command execution.
##### Impact
##### Direct `launch-editor` users
Only apps that match all of the following conditions are affected:
- The attacker is able to create a file system entry (e.g. a file or
directory) starting with `+` or `-` in the working directory
- The user uses or the app specifies any of the following editors:
- Vim (including gVim)
- MacVim
- Emacs (including Emacsclient)
- Notepad++ (only if using a plugin exposing dangerous operations via
plugin messages)
- The first argument of `launchEditor` can start with `+` or `-` or the
user is using WSL
##### `launch-editor-middleware` users
Only apps that match the following conditions are affected:
- The attacker is able to create a file system entry (e.g. a file or
directory) starting with `+` or `-` in the working directory
- The user uses or the app specifies any of the following editors:
- Vim (including gVim)
- MacVim
- Emacs (including Emacsclient)
- Notepad++ (only if using a plugin exposing dangerous operations via
plugin messages)
- launch-editor older than v2.2.0 is used, or the user is using WSL
##### Vite users
Only apps that match the following conditions are affected:
- The attacker is able to create a file system entry (e.g. a file or
directory) starting with `+` or `-` in the working directory
- The user uses or the app specifies any of the following editors:
- Vim (including gVim)
- MacVim
- Emacs (including Emacsclient)
- Notepad++ (only if using a plugin exposing dangerous operations via
plugin messages)
- The user is using WSL
##### Details
`launchEditor(file)` function passes the file name as-is to the editor
if the file with that file name exists. If the file name starts with `-`
(also `+` for Vim), the editor treats them as flags rather than
positional arguments. For example, Vim treats arguments starting with
`+` as an Ex command. As a result, an existing relative directory such
as:
```
+call writefile(["SAFE_MARKER"],"LAUNCH_EDITOR_MARKER")|qa!
```
is not treated as a filename when passed to Vim. Vim executes the
embedded Ex command.
The following editor has a potentially destructive operation exposed to
the CLI arguments:
- Vim (including gVim)
- MacVim
- Emacs (including Emacsclient)
- Notepad++ (only if using a plugin exposing dangerous operations via
plugin messages)
`launch-editor-middleware` v2.2.0+ converts the passed file path to an
absolute path so those are not affected as long as the user is not using
WSL. For WSL, `launch-editor` converts the paths to relative paths
internally, so those are still affected.
Vite 2.0.0+ uses `launch-editor-middleware` v2.2.0+ so the WSL users are
only affected.
#### Severity
- CVSS Score: 6.3 / 10 (Medium)
- Vector String:
`CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
#### References
-
[https://github.com/vitejs/launch-editor/security/advisories/GHSA-r825-w8mm-5pxw ](https://redirect.github.com/vitejs/launch-editor/security/advisories/GHSA-r825-w8mm-5pxw )
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-112944 ](https://nvd.nist.gov/vuln/detail/CVE-2026-112944 )
-
[https://github.com/vitejs/launch-editor/pull/156 ](https://redirect.github.com/vitejs/launch-editor/pull/156 )
-
[f6e6701bb1 )
-
[https://github.com/vitejs/launch-editor ](https://redirect.github.com/vitejs/launch-editor )
-
[https://github.com/vitejs/launch-editor/releases/tag/v2.14.2 ](https://redirect.github.com/vitejs/launch-editor/releases/tag/v2.14.2 )
This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-r825-w8mm-5pxw ) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database )
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md )).
</details>
---
### Release Notes
<details>
<summary>vitejs/vite (vite)</summary>
###
[`v8.2.4`](https://redirect.github.com/vitejs/vite/releases/tag/v8.2.4 )
[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v8.2.2...v8.2.4 )
Please refer to
[CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v8.2.4/packages/vite/CHANGELOG.md )
for details.
###
[`v8.2.2`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#830-2026-09-10 )
[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v8.2.1...v8.2.2 )
##### Features
- **build:** avoid settling seen preload dependencies for performance
([#​23446](https://redirect.github.com/vitejs/vite/issues/23446 ))
([e6f6b3e](e6f6b3e311 ))
- **devtools:** enable dev server integration
([#​23333](https://redirect.github.com/vitejs/vite/issues/23333 ))
([68aeb8a](68aeb8a3b5 ))
- accept Rolldown watch options in `server.watch`
([#​23133](https://redirect.github.com/vitejs/vite/issues/23133 ))
([1b5cfe3](1b5cfe3d37 ))
- add closeServer and closePreviewServer hooks
([#​23110](https://redirect.github.com/vitejs/vite/issues/23110 ))
([e17d2d5](e17d2d565b ))
- add top-level `tsconfig` option
([#​23310](https://redirect.github.com/vitejs/vite/issues/23310 ))
([93164c3](93164c3530 ))
- add warning for unsupported hooks in plugin returned from
`applyToEnvironment` hook
([#​23191](https://redirect.github.com/vitejs/vite/issues/23191 ))
([fdef04f](fdef04f112 ))
- **cli:** support naming the CPU profile via --profile \[name]
([#​23042](https://redirect.github.com/vitejs/vite/issues/23042 ))
([a500dee](a500deeb6f ))
- **config:** warn on named imports from JSON modules
([#​23378](https://redirect.github.com/vitejs/vite/issues/23378 ))
([472385e](472385e6ec ))
- **css:** minify style tag
([#​23183](https://redirect.github.com/vitejs/vite/issues/23183 ))
([8156684](8156684572 ))
- searched params attached to workers are now preserved
([#​22280](https://redirect.github.com/vitejs/vite/issues/22280 ))
([517b97f](517b97f57a ))
- support subpath imports in dynamic import statements
([#​23185](https://redirect.github.com/vitejs/vite/issues/23185 ))
([b78e2f1](b78e2f1bc1 ))
- use `import.meta.ROLLDOWN_FILE_URL_*` for assets in JS
([#​22888](https://redirect.github.com/vitejs/vite/issues/22888 ))
([4366ac4](4366ac4683 ))
- use `import.meta.ROLLDOWN_FILE_URL_*` for other plugins
([#​22894](https://redirect.github.com/vitejs/vite/issues/22894 ))
([e38f29e](e38f29ee48 ))
- **worker:** remove worker chunk if it's detected that it's not
referenced
([#​22473](https://redirect.github.com/vitejs/vite/issues/22473 ))
([924997a](924997a4bd ))
##### Bug Fixes
- handle CRLF line endings in code frame positions
([#​23219](https://redirect.github.com/vitejs/vite/issues/23219 ))
([9913672](9913672bee ))
- only treat whole `node_modules` path segments as dependencies (fix
[#​17467](https://redirect.github.com/vitejs/vite/issues/17467 ))
([#​23437](https://redirect.github.com/vitejs/vite/issues/23437 ))
([ef0dc17](ef0dc17ada ))
- **build:** keep hash placeholders as-is in `resolveFileUrl` hook
([#​23422](https://redirect.github.com/vitejs/vite/issues/23422 ))
([e8d6a4d](e8d6a4d339 ))
- **bundled-dev:** mark payload delivered on client report
([#​23373](https://redirect.github.com/vitejs/vite/issues/23373 ))
([a6d43bc](a6d43bc9e3 ))
- **deps:** update all non-major dependencies
([#​23445](https://redirect.github.com/vitejs/vite/issues/23445 ))
([fc7c104](fc7c104e74 ))
- **html:** don't inline preload link targets (fix
[#​13355](https://redirect.github.com/vitejs/vite/issues/13355 ))
([#​23387](https://redirect.github.com/vitejs/vite/issues/23387 ))
([12e709c](12e709ca4d ))
- resolve the actual package root in findNearestMainPackageData for
nested package.json
([#​23356](https://redirect.github.com/vitejs/vite/issues/23356 ))
([8492422](8492422b8f ))
- shortcuts extend error
([#​23447](https://redirect.github.com/vitejs/vite/issues/23447 ))
([4ec58d1](4ec58d159d ))
- **config:** close bundles when generation fails
([#​23256](https://redirect.github.com/vitejs/vite/issues/23256 ))
([6bacc95](6bacc956df ))
- **css:** keep newline-separated srcset candidates intact
([#​23265](https://redirect.github.com/vitejs/vite/issues/23265 ))
([4f9d2f4](4f9d2f4dad ))
- **deps:** update all non-major dependencies
([#​23337](https://redirect.github.com/vitejs/vite/issues/23337 ))
([d550815](d55081581d ))
- **deps:** update all non-major dependencies
([#​23404](https://redirect.github.com/vitejs/vite/issues/23404 ))
([238ad81](238ad811c7 ))
- **deps:** update rolldown-related dependencies
([#​23338](https://redirect.github.com/vitejs/vite/issues/23338 ))
([76e8082](76e8082c56 ))
- **deps:** update rolldown-related dependencies
([#​23405](https://redirect.github.com/vitejs/vite/issues/23405 ))
([b882566](b88256607e ))
- **dev:** run closeBundle after buildEnd failure
([#​23165](https://redirect.github.com/vitejs/vite/issues/23165 ))
([8cb872e](8cb872e7fb ))
- **hmr:** handle `import.meta.hot.invalidate` in virtual module
([#​23171](https://redirect.github.com/vitejs/vite/issues/23171 ))
([6162968](616296895b ))
- **utils:** handle dot in srcset density descriptor
([#​23346](https://redirect.github.com/vitejs/vite/issues/23346 ))
([b50e1b4](b50e1b4a3d ))
- **utils:** match timestamp query parameter with proper delimiters
([#​23364](https://redirect.github.com/vitejs/vite/issues/23364 ))
([41f3c6f](41f3c6fff8 ))
##### Performance Improvements
- **proxy:** pre-compile context matchers at server creation
([#​23263](https://redirect.github.com/vitejs/vite/issues/23263 ))
([8abf700](8abf700eeb ))
##### Miscellaneous Chores
- introducing `@e18e/eslint-plugin`
([#​23357](https://redirect.github.com/vitejs/vite/issues/23357 ))
([f794133](f794133539 ))
- remove unnecessary comment
([#​23448](https://redirect.github.com/vitejs/vite/issues/23448 ))
([b919a1a](b919a1a8b5 ))
- delete unused `PluginContainerOptions`
([#​23382](https://redirect.github.com/vitejs/vite/issues/23382 ))
([ee64401](ee644014aa ))
- use oxfmt `sortImports`
([#​23319](https://redirect.github.com/vitejs/vite/issues/23319 ))
([97ad042](97ad042170 ))
##### Code Refactoring
- delete unused `esbuildPlugin`
([#​23381](https://redirect.github.com/vitejs/vite/issues/23381 ))
([f40efef](f40efefbb3 ))
- exclude postfix from `__VITE_ASSET__`
([#​22886](https://redirect.github.com/vitejs/vite/issues/22886 ))
([a6c08e1](a6c08e10a6 ))
- remove HmrUrl concept
([#​23172](https://redirect.github.com/vitejs/vite/issues/23172 ))
([67a6807](67a6807673 ))
- use `urlId` of `import.meta.ROLLDOWN_FILE_URL` in wasm plugin
([#​22962](https://redirect.github.com/vitejs/vite/issues/22962 ))
([92bd2a7](92bd2a7f32 ))
##### Tests
- add `renderBuiltUrl` change changes hash
([#​23118](https://redirect.github.com/vitejs/vite/issues/23118 ))
([0291408](0291408b84 ))
##### Beta Changelogs
#####
[8.3.0-beta.1](https://redirect.github.com/vitejs/vite/compare/v8.3.0-beta.0...v8.3.0-beta.1 )
(2026-09-07)
See [8.3.0-beta.1
changelog](https://redirect.github.com/vitejs/vite/blob/v8.3.0-beta.1/packages/vite/CHANGELOG.md )
#####
[8.3.0-beta.0](https://redirect.github.com/vitejs/vite/compare/v8.2.2...v8.3.0-beta.0 )
(2026-09-02)
See [8.3.0-beta.0
changelog](https://redirect.github.com/vitejs/vite/blob/v8.3.0-beta.0/packages/vite/CHANGELOG.md )
###
[`v8.2.1`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small-821-2026-08-06-small )
[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v8.2.0...v8.2.1 )
##### Bug Fixes
- **build:** make client chunkImportMap work with `sharedPlugins: true`
([#​23184](https://redirect.github.com/vitejs/vite/issues/23184 ))
([15f0307](15f03073c9 ))
- **bundled-dev:** inject client script tag before chunk scripts
([#​23161](https://redirect.github.com/vitejs/vite/issues/23161 ))
([eac0cc8](eac0cc84aa ))
- **css:** don't re-run lightningcss visitor during minify (fix
[#​23146](https://redirect.github.com/vitejs/vite/issues/23146 ))
([#​23147](https://redirect.github.com/vitejs/vite/issues/23147 ))
([de041a7](de041a79b0 ))
- **deps:** update all non-major dependencies
([#​23136](https://redirect.github.com/vitejs/vite/issues/23136 ))
([14454fd](14454fd8c9 ))
- **deps:** update rolldown-related dependencies
([#​23070](https://redirect.github.com/vitejs/vite/issues/23070 ))
([7ac6f7f](7ac6f7f590 ))
- don't mutate the user config when resolving the lib entry from the
top-level `input`
([#​23135](https://redirect.github.com/vitejs/vite/issues/23135 ))
([b4bf596](b4bf59686a ))
- handle shebang ending with uncommon line terminators
([#​23038](https://redirect.github.com/vitejs/vite/issues/23038 ))
([17f7b2f](17f7b2f193 ))
- **server:** use a random port when port is 0
([#​23158](https://redirect.github.com/vitejs/vite/issues/23158 ))
([fddf4ea](fddf4ea41d ))
##### Performance Improvements
- **css:** look up pure CSS chunks through a Set
([#​23114](https://redirect.github.com/vitejs/vite/issues/23114 ))
([1331b0b](1331b0b438 ))
##### Documentation
- **build:** fix incomplete `@default` for build.minify
([#​23177](https://redirect.github.com/vitejs/vite/issues/23177 ))
([ef02435](ef02435114 ))
##### Miscellaneous Chores
- **deps:** update dependency rolldown-plugin-dts to ^0.28.0
([#​23137](https://redirect.github.com/vitejs/vite/issues/23137 ))
([4adc1e7](4adc1e7931 ))
- **deps:** update dependency strip-literal to v4
([#​23140](https://redirect.github.com/vitejs/vite/issues/23140 ))
([9db65ce](9db65ce634 ))
##### Code Refactoring
- **bundled-dev:** avoid injecting server values in the bundle
([#​22967](https://redirect.github.com/vitejs/vite/issues/22967 ))
([23b8a08](23b8a088de ))
- **bundled-dev:** remove rolldown lazy stub module workaround
([#​23129](https://redirect.github.com/vitejs/vite/issues/23129 ))
([e72036e](e72036eed2 ))
##### Tests
- **bundled-dev:** enable sourcemap playgrounds
([#​23080](https://redirect.github.com/vitejs/vite/issues/23080 ))
([c2155fe](c2155fe4d5 ))
- reduce logs
([#​23138](https://redirect.github.com/vitejs/vite/issues/23138 ))
([7673c02](7673c02e53 ))
###
[`v8.2.0`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#820-2026-07-30 )
[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v8.1.6...v8.2.0 )
##### Features
- add `input` to `server.fs.allow`
([#​23035](https://redirect.github.com/vitejs/vite/issues/23035 ))
([95a3cda](95a3cdab83 ))
- **bundled-dev:** reload once after rebuild instead of via the fallback
page
([#​23106](https://redirect.github.com/vitejs/vite/issues/23106 ))
([b24381d](b24381d741 ))
- **bundled-dev:** support worker file update accepted by HMR
([#​23068](https://redirect.github.com/vitejs/vite/issues/23068 ))
([0d04351](0d04351fdc ))
- **config:** include column in config incompatibility location
([#​23064](https://redirect.github.com/vitejs/vite/issues/23064 ))
([8a24572](8a24572694 ))
- **dev:** resolve interface name for explicit host in network URLs
([#​22965](https://redirect.github.com/vitejs/vite/issues/22965 ))
([3ac77d9](3ac77d9dd7 ))
- add `input` option
([#​22642](https://redirect.github.com/vitejs/vite/issues/22642 ))
([9beae37](9beae37d72 ))
- **config:** warn features incompatible with native loader in bundle
loader
([#​22850](https://redirect.github.com/vitejs/vite/issues/22850 ))
([05302b0](05302b0726 ))
- **css:** export PostCSS config type for type-safe configs
([#​22792](https://redirect.github.com/vitejs/vite/issues/22792 ))
([302c755](302c755a81 ))
- **dev:** label network URLs with their interface name
([#​22830](https://redirect.github.com/vitejs/vite/issues/22830 ))
([78accc4](78accc42a5 ))
- **optimizer:** support aube lockfile
([#​22813](https://redirect.github.com/vitejs/vite/issues/22813 ))
([6319827](6319827116 ))
- **optimizer:** support nub lockfile
([#​22891](https://redirect.github.com/vitejs/vite/issues/22891 ))
([65d3604](65d3604f6f ))
- update rolldown-related dependencies and use client-side HMR in
bundled-dev
([#​22961](https://redirect.github.com/vitejs/vite/issues/22961 ))
([960e9ef](960e9efbc1 ))
- **wasm:** expand test suite, unwrap WebAssembly.Global and enable
js-string builtins
([#​22674](https://redirect.github.com/vitejs/vite/issues/22674 ))
([9e79b51](9e79b51579 ))
##### Bug Fixes
- **bundledDev:** print build errors to the terminal when an HMR update
fails
([#​23024](https://redirect.github.com/vitejs/vite/issues/23024 ))
([41c4658](41c465896e ))
- **deps:** update all non-major dependencies
([#​23069](https://redirect.github.com/vitejs/vite/issues/23069 ))
([4c07b74](4c07b74416 ))
- **hmr:** preserve environment snapshot during server restart
([#​22992](https://redirect.github.com/vitejs/vite/issues/22992 ))
([b1186c3 ](b1186c36d0 ))
- **importAnalysis:** interop imports injected into optimized dep files
by plugins
([#​23029](https://redirect.github.com/vitejs/vite/issues/23029 ))
([8c2a87d](8c2a87d41f ))
- **module-runner:** keep stack trace interception working when
`Object.prototype` is frozen
([#​23073](https://redirect.github.com/vitejs/vite/issues/23073 ))
([599c5b0](599c5b02a8 ))
- **server:** strip base in indexHtml module graph lookup
([#​22932](https://redirect.github.com/vitejs/vite/issues/22932 ))
([fa005d1](fa005d19af ))
- support resolving top-level input option with plugins
([#​23101](https://redirect.github.com/vitejs/vite/issues/23101 ))
([41df81a](41df81a6a4 ))
- **build:** map CSS chunks in chunk import maps (fix
[#​22946](https://redirect.github.com/vitejs/vite/issues/22946 ))
([#​22947](https://redirect.github.com/vitejs/vite/issues/22947 ))
([e16ff3a](e16ff3a119 ))
- **config:** exclude virtual modules from native config compat check
([#​22979](https://redirect.github.com/vitejs/vite/issues/22979 ))
([2ced1fe](2ced1fe4e4 ))
- **css:** rewrite urls in OnceExit-injected content
([#​22983](https://redirect.github.com/vitejs/vite/issues/22983 ))
([abb793e](abb793e18c ))
- **deps:** update all non-major dependencies
([#​22985](https://redirect.github.com/vitejs/vite/issues/22985 ))
([04f345b](04f345b370 ))
- **deps:** update dependency magic-string to v1
([#​22998](https://redirect.github.com/vitejs/vite/issues/22998 ))
([c60b4d7](c60b4d7cdb ))
- **hmr:** remove hot data after prune
([#​23002](https://redirect.github.com/vitejs/vite/issues/23002 ))
([be96316](be9631658f ))
- resolve root to real path
([#​22832](https://redirect.github.com/vitejs/vite/issues/22832 ))
([55bba7b](55bba7bbd9 ))
##### Performance Improvements
- **config:** skip native config compat check when warning is ignored
([#​23000](https://redirect.github.com/vitejs/vite/issues/23000 ))
([18535d1](18535d11cf ))
- **optimizer:** check popular package manager lockfiles first
([#​22909](https://redirect.github.com/vitejs/vite/issues/22909 ))
([14fcb66](14fcb66c75 ))
##### Documentation
- **config:** correct cacheDir default fallback description
([#​23060](https://redirect.github.com/vitejs/vite/issues/23060 ))
([aafa103](aafa103af5 ))
- remove `@experimental` from `resolve.tsconfigPaths` JSDoc
([#​23006](https://redirect.github.com/vitejs/vite/issues/23006 ))
([961643a](961643a44c ))
##### Miscellaneous Chores
- fix ts erros in test cases
([#​22972](https://redirect.github.com/vitejs/vite/issues/22972 ))
([f654769](f6547698b1 ))
##### Tests
- config CJS module vars in ESM case
([#​23010](https://redirect.github.com/vitejs/vite/issues/23010 ))
([d8cd388](d8cd388302 ))
##### Beta Changelogs
#####
[8.2.0-beta.0](https://redirect.github.com/vitejs/vite/compare/v8.1.5...v8.2.0-beta.0 )
(2026-07-22)
See [8.2.0-beta.0
changelog](https://redirect.github.com/vitejs/vite/blob/v8.2.0-beta.0/packages/vite/CHANGELOG.md )
###
[`v8.1.6`](https://redirect.github.com/vitejs/vite/releases/tag/v8.1.6 )
[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v8.1.5...v8.1.6 )
Please refer to
[CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v8.1.6/packages/vite/CHANGELOG.md )
for details.
###
[`v8.1.5`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#820-2026-07-30 )
[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v8.1.4...v8.1.5 )
##### Features
- add `input` to `server.fs.allow`
([#​23035](https://redirect.github.com/vitejs/vite/issues/23035 ))
([95a3cda](95a3cdab83 ))
- **bundled-dev:** reload once after rebuild instead of via the fallback
page
([#​23106](https://redirect.github.com/vitejs/vite/issues/23106 ))
([b24381d](b24381d741 ))
- **bundled-dev:** support worker file update accepted by HMR
([#​23068](https://redirect.github.com/vitejs/vite/issues/23068 ))
([0d04351](0d04351fdc ))
- **config:** include column in config incompatibility location
([#​23064](https://redirect.github.com/vitejs/vite/issues/23064 ))
([8a24572](8a24572694 ))
- **dev:** resolve interface name for explicit host in network URLs
([#​22965](https://redirect.github.com/vitejs/vite/issues/22965 ))
([3ac77d9](3ac77d9dd7 ))
- add `input` option
([#​22642](https://redirect.github.com/vitejs/vite/issues/22642 ))
([9beae37](9beae37d72 ))
- **config:** warn features incompatible with native loader in bundle
loader
([#​22850](https://redirect.github.com/vitejs/vite/issues/22850 ))
([05302b0](05302b0726 ))
- **css:** export PostCSS config type for type-safe configs
([#​22792](https://redirect.github.com/vitejs/vite/issues/22792 ))
([302c755](302c755a81 ))
- **dev:** label network URLs with their interface name
([#​22830](https://redirect.github.com/vitejs/vite/issues/22830 ))
([78accc4](78accc42a5 ))
- **optimizer:** support aube lockfile
([#​22813](https://redirect.github.com/vitejs/vite/issues/22813 ))
([6319827](6319827116 ))
- **optimizer:** support nub lockfile
([#​22891](https://redirect.github.com/vitejs/vite/issues/22891 ))
([65d3604](65d3604f6f ))
- update rolldown-related dependencies and use client-side HMR in
bundled-dev
([#​22961](https://redirect.github.com/vitejs/vite/issues/22961 ))
([960e9ef](960e9efbc1 ))
- **wasm:** expand test suite, unwrap WebAssembly.Global and enable
js-string builtins
([#​22674](https://redirect.github.com/vitejs/vite/issues/22674 ))
([9e79b51](9e79b51579 ))
##### Bug Fixes
- **bundledDev:** print build errors to the terminal when an HMR update
fails
([#​23024](https://redirect.github.com/vitejs/vite/issues/23024 ))
([41c4658](41c465896e ))
- **deps:** update all non-major dependencies
([#​23069](https://redirect.github.com/vitejs/vite/issues/23069 ))
([4c07b74](4c07b74416 ))
- **hmr:** preserve environment snapshot during server restart
([#​22992](https://redirect.github.com/vitejs/vite/issues/22992 ))
([b1186c3 ](b1186c36d0 ))
- **importAnalysis:** interop imports injected into optimized dep files
by plugins
([#​23029](https://redirect.github.com/vitejs/vite/issues/23029 ))
([8c2a87d](8c2a87d41f ))
- **module-runner:** keep stack trace interception working when
`Object.prototype` is frozen
([#​23073](https://redirect.github.com/vitejs/vite/issues/23073 ))
([599c5b0](599c5b02a8 ))
- **server:** strip base in indexHtml module graph lookup
([#​22932](https://redirect.github.com/vitejs/vite/issues/22932 ))
([fa005d1](fa005d19af ))
- support resolving top-level input option with plugins
([#​23101](https://redirect.github.com/vitejs/vite/issues/23101 ))
([41df81a](41df81a6a4 ))
- **build:** map CSS chunks in chunk import maps (fix
[#​22946](https://redirect.github.com/vitejs/vite/issues/22946 ))
([#​22947](https://redirect.github.com/vitejs/vite/issues/22947 ))
([e16ff3a](e16ff3a119 ))
- **config:** exclude virtual modules from native config compat check
([#​22979](https://redirect.github.com/vitejs/vite/issues/22979 ))
([2ced1fe](2ced1fe4e4 ))
- **css:** rewrite urls in OnceExit-injected content
([#​22983](https://redirect.github.com/vitejs/vite/issues/22983 ))
([abb793e](abb793e18c ))
- **deps:** update all non-major dependencies
([#​22985](https://redirect.github.com/vitejs/vite/issues/22985 ))
([04f345b](04f345b370 ))
- **deps:** update dependency magic-string to v1
([#​22998](https://redirect.github.com/vitejs/vite/issues/22998 ))
([c60b4d7](c60b4d7cdb ))
- **hmr:** remove hot data after prune
([#​23002](https://redirect.github.com/vitejs/vite/issues/23002 ))
([be96316](be9631658f ))
- resolve root to real path
([#​22832](https://redirect.github.com/vitejs/vite/issues/22832 ))
([55bba7b](55bba7bbd9 ))
##### Performance Improvements
- **config:** skip native config compat check when warning is ignored
([#​23000](https://redirect.github.com/vitejs/vite/issues/23000 ))
([18535d1](18535d11cf ))
- **optimizer:** check popular package manager lockfiles first
([#​22909](https://redirect.github.com/vitejs/vite/issues/22909 ))
([14fcb66](14fcb66c75 ))
##### Documentation
- **config:** correct cacheDir default fallback description
([#​23060](https://redirect.github.com/vitejs/vite/issues/23060 ))
([aafa103](aafa103af5 ))
- remove `@experimental` from `resolve.tsconfigPaths` JSDoc
([#​23006](https://redirect.github.com/vitejs/vite/issues/23006 ))
([961643a](961643a44c ))
##### Miscellaneous Chores
- fix ts erros in test cases
([#​22972](https://redirect.github.com/vitejs/vite/issues/22972 ))
([f654769](f6547698b1 ))
##### Tests
- config CJS module vars in ESM case
([#​23010](https://redirect.github.com/vitejs/vite/issues/23010 ))
([d8cd388](d8cd388302 ))
##### Beta Changelogs
#####
[8.2.0-beta.0](https://redirect.github.com/vitejs/vite/compare/v8.1.5...v8.2.0-beta.0 )
(2026-07-22)
See [8.2.0-beta.0
changelog](https://redirect.github.com/vitejs/vite/blob/v8.2.0-beta.0/packages/vite/CHANGELOG.md )
###
[`v8.1.4`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small-814-2026-07-09-small )
[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v8.1.3...v8.1.4 )
##### Features
- **legacy:** prefer oxc as minifier (fix
[#​21973](https://redirect.github.com/vitejs/vite/issues/21973 ))
([#​22468](https://redirect.github.com/vitejs/vite/issues/22468 ))
([ab5dafa](ab5dafa8e6 ))
##### Bug Fixes
- **build:** add workaround for building on stackblitz
([#​22840](https://redirect.github.com/vitejs/vite/issues/22840 ))
([575c32c](575c32c299 ))
- **build:** keep `import.meta.url` in preload function as-is
([#​22839](https://redirect.github.com/vitejs/vite/issues/22839 ))
([f1f90ed](f1f90ed474 ))
- **deps:** update all non-major dependencies
([#​22865](https://redirect.github.com/vitejs/vite/issues/22865 ))
([d4295a9](d4295a9ffc ))
- **deps:** update rolldown-related dependencies
([#​22866](https://redirect.github.com/vitejs/vite/issues/22866 ))
([7cf07e4](7cf07e4c5f ))
- **html:** avoid backtracking in import-only check
([#​22848](https://redirect.github.com/vitejs/vite/issues/22848 ))
([b5868c0](b5868c01a1 ))
- **optimizer:** avoid optimizer run for transform request before init
([#​22852](https://redirect.github.com/vitejs/vite/issues/22852 ))
([72a5e21](72a5e21925 ))
- **ssr:** align named export function call stacktrace column with Node
([#​22829](https://redirect.github.com/vitejs/vite/issues/22829 ))
([173a1b6](173a1b648c ))
- strip pure CSS chunk imports when chunkImportMap is enabled
([#​22841](https://redirect.github.com/vitejs/vite/issues/22841 ))
([648bd04](648bd04933 ))
##### Documentation
- fix incorrect `@default` for `server.cors`
([#​22859](https://redirect.github.com/vitejs/vite/issues/22859 ))
([70435b2](70435b2551 ))
##### Miscellaneous Chores
- **deps:** update dependency postcss-modules to v9
([#​22867](https://redirect.github.com/vitejs/vite/issues/22867 ))
([a9539d6](a9539d69ef ))
##### Code Refactoring
- eliminate ineffectiveDynamicImport warn
([#​22876](https://redirect.github.com/vitejs/vite/issues/22876 ))
([ea22fb3](ea22fb352a ))
##### Tests
- avoid warnings
([#​22851](https://redirect.github.com/vitejs/vite/issues/22851 ))
([af21ab6](af21ab68ad ))
##### Build System
- remove the custom onLog function
([#​22878](https://redirect.github.com/vitejs/vite/issues/22878 ))
([2c4a217](2c4a217a63 ))
- replace deprecated `onwarn` with `onLog`
([#​22741](https://redirect.github.com/vitejs/vite/issues/22741 ))
([c581b55](c581b5588c ))
###
[`v8.1.3`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small-813-2026-07-02-small )
[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v8.1.2...v8.1.3 )
##### Bug Fixes
- **css:** inject inlined CSS after the shebang line
([#​22717](https://redirect.github.com/vitejs/vite/issues/22717 ))
([1534d36](1534d36
> [!IMPORTANT]
> ✂ PR body was truncated to here.
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend Renovate
CLI](https://redirect.github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODguMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE3NS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWF0aW9uIiwic2VjdXJpdHkiXX0=-->
2026-10-21 13:10:06 +00:00
Max Katz
9a423dae48
refactor(lint): replace ESLint with type-aware oxlint ( #27476 )
2026-10-18 10:38:35 -07:00
devin-ai-integration[bot]
41da786907
chore: align contributor Node.js requirement with tsdown ( #25918 )
...
Co-authored-by: lennart <lennart@mastra.ai>
2026-10-05 10:17:56 +02:00
mastra-platform[bot]
4750dc1f02
fix: point build:speech script at voice/ packages ( #25843 )
...
Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
2026-10-02 12:14:06 -07:00
shreyas-mastra
022cae93cb
fix(auth): remove node-forge (okta SDK -> fetch, firebase-admin 14) ( #25829 )
...
node-forge 1.4.0 is the newest release and is affected by CVE-2026-85393
(RSA PKCS#1 v1.5 signature forgery). There is no patched version, so the
only fix is to stop depending on it. This clears 3 open Vanta findings
(2 on the mastra-ai/mastra asset, 1 from Aikido).
It came in four ways:
- Root and `docs` package.json listed `node-forge` directly. These were
old Dependabot floors from #11359 and #14754 . Nothing imports it, so
they're removed.
- `firebase-admin` 13 depended on it. v14 doesn't, but v14 also removed
the namespaced `admin.*` API, so `@mastra/auth-firebase` now uses
`firebase-admin/app` and `firebase-admin/auth`. It requires Node >= 22,
which the package already does.
- `@okta/okta-sdk-nodejs` -> `node-jose` -> `node-forge`. The latest
Okta SDK still has this chain. `MastraRBACOkta` only used the SDK for
`userApi.listUserGroups`, so it now calls `GET /api/v1/users/:id/groups`
with `fetch` and the same `SSWS` token header that
`MastraAuthOkta.getUser` already uses. It follows `Link: rel="next"`
pagination, but only to the configured org's origin, so the token never
goes anywhere else.
After this PR, `node-forge`, `node-jose` and `@okta/okta-sdk-nodejs` are
gone from `pnpm-lock.yaml`.
Testing: auth-okta and auth-firebase unit tests pass locally (I added
tests for pagination, the cross-origin guard, error retry and the ADC
fallback), and both packages build and typecheck.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## ELI5
This change removes packages that pull in `node-forge`, which the PR
reports has no patched release for the cited security issue. It keeps
Firebase authentication working with the newer Firebase Admin package
and fetches Okta groups directly from Okta.
## Changes
- Upgraded `firebase-admin` to `^14.5.0` and switched
`@mastra/auth-firebase` to modular Firebase Admin APIs. The provider
uses application-default credentials when no service account is
configured.
- Removed `@okta/okta-sdk-nodejs` from `@mastra/auth-okta`.
`MastraRBACOkta` now fetches group pages from Okta’s REST API and
follows pagination links only when they match the configured
organization’s origin.
- Removed direct `node-forge` dependencies from the root and docs
manifests. The supplied dependency search found no references to
`node-forge`, `node-jose`, or `@okta/okta-sdk-nodejs` in the lockfile.
- Added changesets for `@mastra/auth-firebase` and `@mastra/auth-okta`.
## Tests
The PR objectives report that auth-okta and auth-firebase unit tests
passed locally, and that both packages built and typechecked. These
results were not independently verified here.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-10-02 14:19:49 -04:00
mastra-platform[bot]
af01f2dc29
feat(factory-ui): show your own sessions in the Factory sidebar by default ( #24858 )
...
Co-authored-by: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
Co-authored-by: Tyler Barnes <tylerdbarnes@gmail.com>
2026-09-23 18:59:19 -07:00
Ward Peeters
dfdd95dc91
chore: fix deps ( #24794 )
2026-09-23 12:13:41 +02:00
Abhi Aiyer
b447b40b65
fix(mastracode): install Factory dev runtime dependencies ( #24703 )
...
The root `pnpm factory:dev` command executes the setup CLI from
`mastracode/web`, which is a separate pnpm workspace. A normal root
install therefore did not provide `@clack/prompts` or `tinyexec`,
causing the command to fail before setup started.
This declares those runtime dependencies in the root workspace as well,
so the command works after the standard monorepo install without
requiring a separate install inside `mastracode/web`.
Before:
`pnpm factory:dev` fails with `ERR_MODULE_NOT_FOUND`.
After:
`pnpm install && pnpm factory:dev` resolves the setup CLI dependencies
normally.
Verified with a frozen lockfile install, the Factory web typecheck, and
all 9 focused Factory setup tests.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## ELI5
The Factory setup tool needs two extra helpers to start. This change
adds them to the root project so `pnpm factory:dev` works after a normal
monorepo install.
## Changes
- Added `@clack/prompts` as a root development dependency.
- Added `tinyexec` as a root development dependency.
## Testing
Test results are not available in the supplied evidence.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-09-22 09:33:16 -07:00
Abhi Aiyer
ffc23d28fa
feat(mastracode): simplify Factory local development ( #24632 )
...
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-09-22 07:49:45 -07:00
Ward Peeters
c975ebdb0b
fix: validate core imports against peer dependency floors ( #22564 )
...
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
2026-09-01 17:32:58 +02:00
Ward Peeters
d50fe06cbf
chore: upgrade monorepo to TypeScript 7 ( #22459 )
...
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
2026-08-28 23:55:51 +02:00
Marvin Frachet
e5166c75ec
feat(playground): redesign dataset detail page layout and versions panel ( #21910 )
...
## Summary
Redesigns the dataset detail page in Studio so it matches the look and
behavior of the rest of the app (agents/workflows pages):
- **Header & tabs**: pill-style tabs with the actions (`Created … — vN`
metadata, Run Experiment, actions menu) inlined on the same row;
consistent spacing and a full-width top border on tab content.
- **Toolbar consistency**: Items / Experiments / Review toolbars now
align (same control heights and top offset); Review empty state uses the
shared `EmptyState` component; the duplicate top-right "Add Item" is
hidden in the empty state.
- **Versions panel**: always visible on the right (no toggle, no close
button), full-height with its own scroll, single clean divider, and
rendered with the `ThreadList` pattern used by workflow runs —
sentence-case "Versions" header and compact ghost Compare action.
- **Compare fix**: version checkboxes are now purely visual and the row
button owns the toggle, fixing direct checkbox clicks not selecting
versions.
- Also includes a pnpm 11 compatibility fix so `pnpm
dev:playground:full` works (root pins `pnpm@11.21.0`; moved
`examples/agent` overrides to `pnpm-workspace.yaml`).
## Test plan
- Verified in Studio via Playwright on `/datasets/:id`: tab alignment
(all controls at same offset/height), always-visible full-height
versions panel, single divider, full-width tab border.
- Compare flow: entering compare mode, selecting two versions via direct
checkbox clicks, Compare button enabling — all working with 0 console
errors.
- `tsc --noEmit` passes for `packages/playground` and
`packages/playground-ui`.
---------
Co-authored-by: Mastra Code (anthropic/claude-fable-5) <noreply@mastra.ai>
2026-08-25 12:06:31 +02:00
Marvin Frachet
af6dfc1286
Add a full playground development command ( #21747 )
...
## Summary
- Add a `dev:playground:full` command that installs dependencies, builds
the repository, installs the agent example, and starts its UI
- Update playground documentation to reference the new command
## Testing
Not run (not requested)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## ELI5
The new command prepares the project and starts the playground UI in one
step. The documentation now points developers to this command.
## Changes
- Added `dev:playground:full` to:
- Install dependencies.
- Build the repository.
- Install the agent example dependencies outside the workspace.
- Start the UI development server.
- Updated playground documentation to use `pnpm dev:playground:full`.
## Testing
- Not run.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-18 15:08:30 +02:00
NikAiyer
f12d02fb06
chore: upgrade pnpm to 11.21.0 ( #21262 )
2026-08-11 09:59:19 -07:00
Dane - AI (Mastra)
34f94739e2
chore(deps): update dependency @changesets/cli to ^2.31.1 ( #20276 )
2026-07-28 10:29:14 +02:00
Ward Peeters
bdeaef58f0
chore: migrate linting to oxlint ( #20173 )
...
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
2026-07-25 01:04:02 +02:00
Ward Peeters
3a507cbd42
chore: migrate repository formatting to oxfmt ( #19807 )
...
Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-07-24 16:18:33 +02:00
Lennart
f2e0c72fa2
feat(create-mastra)!: Improved project creation flow ( #19825 )
...
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
Co-authored-by: Michael F <tehfreak@awesome39.com>
2026-07-22 10:51:19 +01:00
Dane - AI (Mastra)
0a3bf35e27
chore(deps): update dependency turbo to ^2.10.5 ( #19781 )
2026-07-20 23:50:29 +02:00
Dane - AI (Mastra)
753f41c332
chore(deps): update pnpm to v11.13.1 ( #19786 )
2026-07-20 23:49:00 +02:00
Dane - AI (Mastra)
a4620cae04
chore(deps): update formatting & linting ( #19388 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: wardpeet <ward@coding-tech.com>
2026-07-20 16:13:28 +02:00
Dane - AI (Mastra)
0532405a28
chore(deps): update build tools ( #18043 )
2026-07-14 23:01:34 +02:00
Abhi Aiyer
401e29d34b
fix(ci): unbreak renovate PRs — cap cookie override and fix standalone package installs ( #19249 )
...
Co-authored-by: Mastra Code (anthropic/claude-fable-5) <noreply@mastra.ai>
Co-authored-by: wardpeet <ward@coding-tech.com>
2026-07-13 14:05:42 +02:00
Ward Peeters
e405085fa8
refactor(mastracode): split into core, TUI, and standalone web packages ( #18986 )
...
Co-authored-by: Mastra Code (alibaba-token-plan/glm-5.2)
Co-authored-by: Mastra Code (anthropic/claude-fable-5) <noreply@mastra.ai>
2026-07-08 14:59:43 +02:00
Dane - AI (Mastra)
58ed5e14e5
chore(deps): update pnpm to v11.8.0 [security] ( #19036 )
2026-07-07 13:53:57 +02:00
Abhi Aiyer
e6fbd5bfdc
fix(deps): resolve ~90 Dependabot alerts via dependency bumps and security override floors ( #18789 )
...
Co-authored-by: Mastra Code (anthropic/claude-fable-5) <noreply@mastra.ai>
2026-07-02 12:50:25 +02:00
Ward Peeters
fa86eddce3
ci: run lint and format checks concurrently via turbo ( #18428 )
...
Lint and format checks in CI were running as two sequential steps in the
same job. This moves the Prettier check into the root `lint` script so
Turbo runs ESLint and Prettier in a single invocation and schedules them
concurrently.
Before, CI had two steps:
```yaml
- run: pnpm turbo --filter ... lint
- run: pnpm prettier --check . '!docs/**/*' ...
```
Now it's one:
```yaml
- run: pnpm lint
```
Local `pnpm lint` and CI now run the exact same command. The root `lint`
script also picks up the `!./explorations/**/*` filter so it matches
what CI was already checking. `pnpm format` runs ESLint autofix then
Prettier write sequentially via `pnpm` to avoid concurrent file writes.
No changeset since this is CI/turbo tooling only and touches no
published package.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## ELI5
This change makes the code checks and formatting use one shared command
instead of separate ones. It also makes formatting safer by doing the
fixes one after the other, so they don’t try to change the same files at
the same time.
## Summary
- Simplified CI linting to run `pnpm lint` in a single step instead of
separate Turbo lint and Prettier check commands.
- Aligned local linting with CI by moving the Prettier check into the
root `lint` flow and adding the `!./explorations/**/*` exclusion.
- Reworked formatting so ESLint autofix and Prettier write run
sequentially via separate pnpm scripts, avoiding concurrent file writes.
- Added matching Turbo tasks for the new lint/format script split, with
caching disabled for file-checking and file-writing tasks.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Mastra Code (alibaba-token-plan/glm-5.2) <noreply@mastra.ai>
Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
2026-06-24 22:50:10 +02:00
Ward Peeters
b92a08fc39
ci: add affected-tests job to run narrow test suite on PRs ( #18365 )
...
Co-authored-by: Mastra Code (alibaba-mastra/qwen3.7-max) <noreply@mastra.ai>
2026-06-23 15:46:46 +02:00
Dane - AI (Mastra)
3b6f491594
chore(deps): update dependency npm-run-all2 to ^9.0.2 ( #17955 )
2026-06-15 17:45:01 +02:00
Dane - AI (Mastra)
a27d561d37
chore(deps): update build tools ( #17657 )
2026-06-15 13:37:09 +02:00
Dane - AI (Mastra)
ad0b440aae
chore(deps): update dependency npm-run-all2 to v9 ( #17853 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [npm-run-all2](https://redirect.github.com/bcomnes/npm-run-all2 ) |
devDependencies | major | [`^8.0.4` ->
`^9.0.1`](https://renovatebot.com/diffs/npm/npm-run-all2/8.0.4/9.0.1 ) |
---
### Release Notes
<details>
<summary>bcomnes/npm-run-all2 (npm-run-all2)</summary>
###
[`v9.0.1`](https://redirect.github.com/bcomnes/npm-run-all2/blob/HEAD/CHANGELOG.md#v901 )
[Compare
Source](https://redirect.github.com/bcomnes/npm-run-all2/compare/v9.0.0...v9.0.1 )
##### Merged
- fix: update `help.js` to include `--node-run` option details
[`#230`](https://redirect.github.com/bcomnes/npm-run-all2/pull/230 )
###
[`v9.0.0`](https://redirect.github.com/bcomnes/npm-run-all2/blob/HEAD/CHANGELOG.md#v900---2026-05-19 )
[Compare
Source](https://redirect.github.com/bcomnes/npm-run-all2/compare/v8.0.4...v9.0.0 )
##### Merged
- Add more colors based on terminal capabilities
[`#222`](https://redirect.github.com/bcomnes/npm-run-all2/pull/222 )
- Upgrade: Bump releasearoni from 0.1.14 to 0.2.0
[`#227`](https://redirect.github.com/bcomnes/npm-run-all2/pull/227 )
- **Breaking change:** Glob patterns that match no tasks now succeed
silently
[`#226`](https://redirect.github.com/bcomnes/npm-run-all2/pull/226 )
- Add -x / --node-run flag to bypass the package manager
[`#225`](https://redirect.github.com/bcomnes/npm-run-all2/pull/225 )
- Remove redundant build call from prepublishOnly
[`#224`](https://redirect.github.com/bcomnes/npm-run-all2/pull/224 )
- Whitelist files to include in npm package
[`#199`](https://redirect.github.com/bcomnes/npm-run-all2/pull/199 )
- Fix jsdoc types and use tsc for type safety checks
[`#220`](https://redirect.github.com/bcomnes/npm-run-all2/pull/220 )
- Upgrade: Bump codecov/codecov-action from 5 to 6
[`#215`](https://redirect.github.com/bcomnes/npm-run-all2/pull/215 )
- Update SECURITY.md with new reporting process
[`#201`](https://redirect.github.com/bcomnes/npm-run-all2/pull/201 )
- Upgrade: Bump actions/checkout from 5 to 6
[`#200`](https://redirect.github.com/bcomnes/npm-run-all2/pull/200 )
- Upgrade: Bump actions/setup-node from 5 to 6
[`#196`](https://redirect.github.com/bcomnes/npm-run-all2/pull/196 )
- Upgrade: Bump github/codeql-action from 3 to 4
[`#195`](https://redirect.github.com/bcomnes/npm-run-all2/pull/195 )
- Upgrade: Bump actions/setup-node from 4 to 5
[`#192`](https://redirect.github.com/bcomnes/npm-run-all2/pull/192 )
- Upgrade: Bump actions/checkout from 4 to 5
[`#191`](https://redirect.github.com/bcomnes/npm-run-all2/pull/191 )
- chore: fix typo in test
[`#185`](https://redirect.github.com/bcomnes/npm-run-all2/pull/185 )
- refactor: use optional chain for better readability
[`#184`](https://redirect.github.com/bcomnes/npm-run-all2/pull/184 )
##### Fixed
- **Breaking change:** Glob patterns that match no tasks now succeed
silently
([#​226](https://redirect.github.com/bcomnes/npm-run-all2/issues/226 ))
[`#149`](https://redirect.github.com/bcomnes/npm-run-all2/issues/149 )
- Add -x / --node-run flag to use node --run instead of the package
manager
[`#155`](https://redirect.github.com/bcomnes/npm-run-all2/issues/155 )
- docs: clarify glob pattern execution order guarantee
[`#167`](https://redirect.github.com/bcomnes/npm-run-all2/issues/167 )
##### Commits
- Add node-run smoke tests
[`f4ac667`](f4ac6678fa )
- Implement releasaroni for the release process
[`6a2baff`](6a2baff156 )
- Use shared publishing action
[`b6a39a6`](b6a39a6bd2 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 6am every weekday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWF0aW9uIl19-->
2026-06-11 15:11:22 -07:00
Dane - AI (Mastra)
a5662c466f
chore(deps): update dependency tinyglobby to ^0.2.17 ( #17841 )
2026-06-11 14:50:15 -07:00
Dane - AI (Mastra)
c88d4744fa
chore(deps): update dependency pnpm to v11.5.1 ( #17043 )
...
Co-authored-by: wardpeet <ward@coding-tech.com>
2026-06-06 00:52:48 +02:00
Dane - AI (Mastra)
dd499f6112
chore(deps): update formatting & linting ( #17151 )
2026-06-05 08:36:15 -07:00
Lennart
6dd7646805
chore(repo): Use tsx catalog dep ( #17605 )
2026-06-05 13:44:28 +02:00
Ward Peeters
2583652e0d
Turbo changes ( #17557 )
...
## Description
<!-- Required: Provide a brief description of the changes in this PR.
-->
## Related issue(s)
<!-- Required: Link to the issue(s) this PR addresses, e.g. with: Fixes
#123 . PRs without linked issues may be closed. -->
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update
## Checklist
- [ ] I have linked the related issue(s) in the description above
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have addressed all Coderabbit comments on this PR
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## ELI5
This PR upgrades the Turbo monorepo build tool from version 2.9.6 to
2.9.12 and updates all configuration files across the entire codebase to
use the newer schema version that corresponds to this updated tool
version. Think of it like updating a recipe book to the latest version
and making sure all your cookbook references point to the new edition.
## Changes Summary
### Turbo Version Upgrade
- Updated root `package.json` `devDependencies`: `turbo` upgraded from
`^2.9.6` to `^2.9.12`
### Turbo Configuration Schema Updates
Updated the `$schema` field in 73 `turbo.json` configuration files
throughout the repository from the legacy
`https://turbo.build/schema.json ` to the newer
`https://v2-9-16.turborepo.dev/schema.json `:
**Auth modules** (9 files): auth0, better-auth, clerk, cloud, firebase,
okta, studio, supabase, workos
**Client SDKs** (3 files): ai-sdk, client-js, react
**Deployers** (2 files): cloud, vercel
**Integrations** (3 files): brightdata, opencode, perplexity, tavily
**Observability** (11 files): arize, braintrust, datadog, laminar,
langfuse, langsmith, mastra, otel-bridge, otel-exporter, posthog, sentry
**Package modules** (19 files): _external-types, _internal-core,
agent-builder, auth, cli, codemod, core, create-mastra, deployer, evals,
fastembed, loggers, mcp, mcp-docs-server, mcp-registry-registry, memory,
playground, rag, schema-compat, server
**Data stores** (21 files): astra, chroma, clickhouse, cloudflare,
cloudflare-d1, convex, couchbase, duckdb, dynamodb, elasticsearch,
lance, libsql, mongodb, mssql, mysql, opensearch, pg, pinecone, qdrant,
redis, s3vectors, spanner, turbopuffer, upstash, vectorize
**Root configuration**: turbo.json
All other configuration content (extends, tasks, inputs/outputs) remains
unchanged across all files.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-06-04 09:37:26 +02:00
Dane - AI (Mastra)
4aa701fc53
chore(deps): update dependency @changesets/cli to ^2.31.0 ( #17436 )
...
Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
Co-authored-by: Mastra Code (anthropic/claude-opus-4-8) <noreply@mastra.ai>
2026-06-01 22:35:35 -05:00
devin-ai-integration[bot]
a763592c3d
feat: add multimodal content support for MCP tools and auto-detection in tool results ( #16866 )
...
## Description
Adds native multimodal tool-result support for MCP-style `{ content:
[...] }` arrays without duplicating image/audio payloads into
`providerMetadata.mastra.modelOutput`. This lets MCP tools like the CUA
driver return screenshots, window snapshots, and zoomed crops that are
sent to the model as real image/file parts while stored messages keep
the raw tool result.
**Changes:**
1. **MCP client** (`packages/mcp/src/client/client.ts`,
`packages/mcp/src/client/client.test.ts`): MCP tools no longer attach a
generated `toModelOutput`, avoiding duplicated base64 payloads in
persisted `providerMetadata`. Tests lock in that MCP tools rely on the
shared tool-result conversion path instead.
2. **Core tool-result conversion**
(`packages/core/src/agent/message-list/conversion/output-converter.ts`):
During AIV5 UI → model message conversion, Mastra collects raw tool
results from stored messages and converts MCP `content` arrays into
provider-native `tool-result` content (`text`, `image-data`, and
`file-data`). Explicit tool outputs and stored
`providerMetadata.mastra.modelOutput` still take precedence, malformed
media parts are preserved as text, and unknown MCP content parts are
serialized as text instead of being dropped.
3. **Observational memory token counting**
(`packages/memory/src/processors/observational-memory/token-counter.ts`):
MCP multimodal tool-result parts are counted as attachment-like content
instead of base64 JSON. Client-supplied
`providerMetadata.mastra.tokenEstimate` values are honored per part,
image/file heuristics are used as fallback, and multimodal fingerprints
now use SHA-256.
4. **Tests and release notes**: Added coverage for MCP multimodal prompt
conversion, explicit output precedence, malformed/unknown content
preservation, stored `modelOutput` precedence, and token counting with
client estimates. The changeset documents the new MCP-shaped multimodal
tool-result support.
**How it works:**
- MCP tool returns raw content: `{ content: [{ type: 'text', text: '...'
}, { type: 'image', data: 'base64...', mimeType: 'image/png' }] }`
- Mastra stores that raw result on the tool invocation without adding a
duplicate `modelOutput` payload.
- When building the LLM prompt, the message conversion pipeline rewrites
the matching default tool-result output to: `{ type: 'content', value:
[{ type: 'text', text: '...' }, { type: 'image-data', data: 'base64...',
mimeType: 'image/png' }] }`
- Observational memory counts those multimodal content parts using
client estimates when present, otherwise the normal image/file token
heuristics.
**Manual validation:**
- Verified end-to-end with the CUA MCP server using `screenshot`,
`get_window_state`, and `zoom` image-returning tools.
- Verified CUA screenshots can be read from Safari/Calculator/iPhone
Mirroring tool results without relying on MCP `toModelOutput`
duplication.
## Related issue(s)
Enables background computer use via CUA MCP server (discussion in
#mastracode Slack thread).
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [x] Test update
## Checklist
- [x] I have linked the related issue(s) in the description above
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have addressed all Coderabbit comments on this PR
Link to Devin session:
https://app.devin.ai/sessions/9df089dee5df4234a6c43cadc5f3dd4b
Requested by: @TylerBarnes
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- review_stack_entry_start -->
[](https://app.coderabbit.ai/change-stack/mastra-ai/mastra/pull/16866?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack )
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: tyler <tylerdbarnes@gmail.com>
Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-05-28 20:09:54 -07:00
Tyler Barnes
fb88481957
chore: migrate workspace to pnpm v11 ( #17038 )
...
Migrates the workspace to pnpm 11.3.0 and moves pnpm config out of
package.json into pnpm-workspace.yaml, which is where pnpm v11 reads
these settings.
It also enables the global virtual store for faster git worktree
installs:
```yaml
# Share pnpm's virtual store across git worktrees: https://pnpm.io/git-worktrees
enableGlobalVirtualStore: true
```
I also moved the standalone e2e fixture pnpm settings into local
pnpm-workspace.yaml files so their overrides and build approvals still
apply under pnpm v11.
Verified with pnpm 11.3.0 install --frozen-lockfile and git diff
--check.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## ELI5
This PR upgrades the repository to pnpm v11 (11.3.0), moves workspace
pnpm settings out of package.json into pnpm-workspace.yaml so pnpm v11
reads them, and enables a shared global virtual store to speed up
installs (useful for git worktrees). It also updates tests, fixtures,
and CI to use pnpm-specific env vars and workspace-aware installs.
## Changes Overview
### Core changes
- Bumped required pnpm in root package.json: engines.pnpm → >=11.0.0 and
updated packageManager to pnpm@11.3.0 (with new integrity).
- Added/expanded top-level pnpm-workspace.yaml:
- enableGlobalVirtualStore: true to share pnpm’s virtual store across
git worktrees.
- Reworked patchedDependencies to versioned patch entries (e.g.,
`@changesets/get-dependents-graph`@2.1.3/2.1.4, tsup@8.5.1).
- Added packageExtensions (e.g., `@uiw/codemirror-theme-dracula`@*).
- Extended trustPolicyExclude and expanded overrides to constrain many
deps (ssri, qs, zod variants, etc.).
- Broadened allowBuilds to explicitly disable builds for many packages.
### E2E & fixture workspace changes
- Removed pnpm/resolutions and top-level pnpm blocks from many
package.json files and introduced local pnpm-workspace.yaml files in
fixture/e2e directories (commonjs, create-mastra, deployers, monorepo,
no-bundling, type-check, memory, agent-builder, mcp, playground
kitchen-sink, pkg-outputs, etc.).
- Those local pnpm-workspace.yaml files reintroduce necessary overrides
(e.g., ssri >=6.0.2, qs ^6.15.1) and allowBuilds settings so
fixture-specific build allowances and overrides continue to apply under
pnpm v11.
### Tests & tooling updates
- Updated many e2e tests and setup scripts to export pnpm-specific env
vars (pnpm_config_registry, pnpm_config_minimum_release_age, etc.)
instead of npm_config_* so pnpm receives registry/minimum-release-age
configs.
- Extended pnpm-specific env var allowlist (packages/_types-builder)
with additional pnpm_config_* keys.
- Small TypeScript typings and build tweaks (tsup externals, various
Droppable typing updates).
- Patch update: changesets-get-dependents-graph patch updated to
construct Range with includePrerelease: true.
### CI & GitHub Actions
- Composite action explicitly sets up Node 22 via actions/setup-node@v6
and continues to install pnpm via pnpm/action-setup@v4.
- Turbo action now runs turborepo via pnpm dlx (pnpm dlx turbo ...) and
disables telemetry.
- Multiple CI steps and workflows changed pnpm install
--ignore-workspace → pnpm install to be workspace-aware where
appropriate.
### Commit / migration notes
- Added commit(s) to preserve nested pnpm workspace configs for
fixtures, add missing packageExtensions, and make other adjustments
required by pnpm v11 (including explicit allowBuilds in nested
workspaces so frozen installs pass).
- Author verified migration with pnpm 11.3.0 using install
--frozen-lockfile and git diff --check, but noted further
testing/investigation will follow (primary motivation: enable
worktree/global virtual store behavior).
## Impact & reviewer notes
- Requires pnpm >=11.0.0 locally and in CI (declared 11.3.0). Update
local tooling if needed.
- Workspace overrides, patched deps, and build allowances were relocated
to pnpm-workspace.yaml — reviewers should confirm fixture behavior,
package linking, and build approvals still match expectations.
- enableGlobalVirtualStore changes dependency layout/hoisting for
worktree installs; test git worktree installs and CI runs.
- Verify e2e fixtures, CI jobs, and any environment-specific
registry/settings propagate correctly via pnpm_config_* env vars.
<!-- review_stack_entry_start -->
[](https://app.coderabbit.ai/change-stack/mastra-ai/mastra/pull/17038?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack )
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-05-28 09:45:07 -07:00
Ward Peeters
25cd423cd8
chore: dedupe and clean up external dependencies ( #16351 )
...
Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-05-08 14:42:29 +02:00
Damien Schneider
d0b9c6e399
fix(playground-ui): unbreak storybook build (codemirror lang-jinja missing peer deps) ( #16346 )
...
## Summary
- Vercel preview's `pnpm build-storybook` for `@mastra/playground-ui`
started failing on every PR with `[vite]: Rollup failed to resolve
import "@codemirror/view" from "@codemirror/lang-jinja"`.
- Root cause: upstream bug in `@codemirror/lang-jinja@6.0.0` — it
imports `@codemirror/view` and `@codemirror/state` but does not declare
them as deps. Pulled in transitively via `@codemirror/language-data`
lazy import (added to playground-ui in #9302 ).
- Latent until #16245 (`chore(deps): lock file maintenance`) regenerated
the pnpm graph (bumped `@codemirror/view` 6.41.0 → 6.41.1,
`@codemirror/search` 6.6.0 → 6.7.0). New hoisting layout no longer
placed `@codemirror/view` next to `lang-jinja`, so Rollup strict
resolution failed. Vite dev hides it via pre-bundling; Rollup prod build
does not.
- Fix: use `pnpm.packageExtensions` to inject the missing deps into
`lang-jinja`. Standard pnpm mechanism for upstream peer-dep gaps; no
revert needed.
## Test plan
- [x] `pnpm install` — lock regenerated cleanly
- [x] Verified
`node_modules/.pnpm/@codemirror+lang-jinja@6.0.0/node_modules/@codemirror/`
now contains `state` and `view`
- [x] `pnpm --filter @mastra/playground-ui build-storybook` — build
green locally
- [ ] Vercel preview build green on this PR
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## ELI5
The package that needed two helper tools (@codemirror/view and
@codemirror/state) was fixed upstream, and this PR tells our package
manager to use that fixed version so Storybook can build again.
## Problem
Vercel preview builds for @mastra/playground-ui Storybook failed during
Rollup bundling because @codemirror/lang-jinja@6.0.0 imported
@codemirror/view and @codemirror/state but did not declare them as
dependencies. Lockfile maintenance (#16245 ) changed pnpm hoisting and
revealed the missing deps (Vite dev pre-bundling had hidden the issue).
## Solution
Use pnpm overrides to pin @codemirror/lang-jinja to ^6.0.1, which
upstream released with @codemirror/view and @codemirror/state properly
declared, removing the previous packageExtensions workaround.
## Changes
- package.json: added pnpm.overrides entry for @codemirror/lang-jinja ->
^6.0.1 (net +2/-1 lines)
## Verification
- `pnpm install` — lockfile regenerated cleanly
- Confirmed node_modules contains @codemirror/state and @codemirror/view
under @codemirror/lang-jinja@6.0.1
- `pnpm --filter @mastra/playground-ui build-storybook` — local build
succeeds
- Vercel preview build: pending
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-05-08 11:15:05 +02:00