0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
Commit graph

114 commits

Author SHA1 Message Date
shreyas-mastra
8d4abc4f88
chore(deps): Vanta 2026-11-12 — raise undici to 8.12.4 / 7.30.2 (#30205) 2026-11-12 07:20:12 -08:00
shreyas-mastra
f0ad164646
chore(security): Vanta 2026-11-02 - @hono/node-server 2.1.6 (MCP SDK/templates), graphql-scalars 2.0.1, raw-body 4, jose 6 (overrides) (#29199) 2026-11-04 07:58:48 -08:00
Dane - AI (Mastra)
9ce7e350ea
chore(deps): lock file maintenance (#29341)
Co-authored-by: wardpeet <ward@coding-tech.com>
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-11-04 15:03:55 +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 (@&#8203;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
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#&#8203;11578](https://redirect.github.com/vitest-dev/vitest/issues/11578)
[<samp>(28dc1)</samp>](28dc1edfb)
- Handle quoted file names in `--changed`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11583](https://redirect.github.com/vitest-dev/vitest/issues/11583)
[<samp>(14921)</samp>](14921e962)
- Add `data` to the `import.meta.hot` stub  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11590](https://redirect.github.com/vitest-dev/vitest/issues/11590)
[<samp>(3a828)</samp>](3a8289ac3)
- Set `skip` in `skipIf`, ignore `undefined` options  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11591](https://redirect.github.com/vitest-dev/vitest/issues/11591)
[<samp>(d523a)</samp>](d523a15f2)
- Skip builtin loading in async leak detector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11598](https://redirect.github.com/vitest-dev/vitest/issues/11598)
[<samp>(fe86a)</samp>](fe86a64c6)
- Keep the import frame in native loader errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11599](https://redirect.github.com/vitest-dev/vitest/issues/11599)
[<samp>(9697b)</samp>](9697b3894)
- Run hook cleanups when a later hook fails  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11605](https://redirect.github.com/vitest-dev/vitest/issues/11605)
[<samp>(6c5a4)</samp>](6c5a44720)
- Release mocks of finished test files  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11607](https://redirect.github.com/vitest-dev/vitest/issues/11607)
[<samp>(e9c3d)</samp>](e9c3d72f0)
- Abort all running tests on cancel  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11606](https://redirect.github.com/vitest-dev/vitest/issues/11606)
[<samp>(6621a)</samp>](6621a72d6)
- **browser**:
- Ignore synthetic pagehide events  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11582](https://redirect.github.com/vitest-dev/vitest/issues/11582)
[<samp>(ca081)</samp>](ca0813584)
- Run plugin buildStart on server creation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11593](https://redirect.github.com/vitest-dev/vitest/issues/11593)
[<samp>(ea611)</samp>](ea611e44c)
- Drop late connections of closed sessions  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11600](https://redirect.github.com/vitest-dev/vitest/issues/11600)
[<samp>(f161e)</samp>](f161e6df2)
- Wait 30s for the browser to close  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11601](https://redirect.github.com/vitest-dev/vitest/issues/11601)
[<samp>(6498b)</samp>](6498b666a)
- Run global setup once with instances  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11596](https://redirect.github.com/vitest-dev/vitest/issues/11596)
[<samp>(8dd67)</samp>](8dd67c262)
- **reporter**:
- End reason `&#&#8203;39;failed&#&#8203;39;` on worker crash  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;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
[@&#8203;lifeiscontent](https://redirect.github.com/lifeiscontent) in
[#&#8203;11461](https://redirect.github.com/vitest-dev/vitest/issues/11461)
[<samp>(a8ea3)</samp>](a8ea3c8fd)
- Support `test.ui.theme` option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11499](https://redirect.github.com/vitest-dev/vitest/issues/11499)
[<samp>(1da66)</samp>](1da66405d)
- Highlight selector multiple matches in trace view  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#&#8203;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
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;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 [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11515](https://redirect.github.com/vitest-dev/vitest/issues/11515)
[<samp>(c0601)</samp>](c06012ac8)
- Add fit and zoom controls to trace viewer  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#&#8203;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
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11430](https://redirect.github.com/vitest-dev/vitest/issues/11430)
[<samp>(30d03)</samp>](30d0304d2)
- Enable fsModuleCache by default  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11435](https://redirect.github.com/vitest-dev/vitest/issues/11435)
[<samp>(ad208)</samp>](ad208cc29)
- Track project files and mocks with --changed  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;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
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11453](https://redirect.github.com/vitest-dev/vitest/issues/11453)
[<samp>(9673c)</samp>](9673c49a4)
- Keep full `$` string values when `taskTitleValueFormatTruncate` is 0
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa),
**Hiroshi Ogawa** and **Claude Opus 5.5** in
[#&#8203;11485](https://redirect.github.com/vitest-dev/vitest/issues/11485)
[<samp>(4f7e1)</samp>](4f7e1799b)
- Resolve node builtins in client environments  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11417](https://redirect.github.com/vitest-dev/vitest/issues/11417)
[<samp>(56b31)</samp>](56b319ac6)
- Fix module graph builtin externals after
[#&#8203;11421](https://redirect.github.com/vitest-dev/vitest/issues/11421)
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa),
**Hiroshi Ogawa** and **Claude Opus 5.5** in
[#&#8203;11491](https://redirect.github.com/vitest-dev/vitest/issues/11491)
and
[#&#8203;11421](https://redirect.github.com/vitest-dev/vitest/issues/11421)
[<samp>(008e1)</samp>](008e184cb)
- Wrap module mocks during in-source testing  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11505](https://redirect.github.com/vitest-dev/vitest/issues/11505)
[<samp>(36d19)</samp>](36d19cb00)
- Handle line endings in snapshot  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11522](https://redirect.github.com/vitest-dev/vitest/issues/11522)
[<samp>(4c468)</samp>](4c468aa40)
- Respect root in projects  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11521](https://redirect.github.com/vitest-dev/vitest/issues/11521)
[<samp>(26642)</samp>](26642f793)
- Resolve mocks in directories with spaces  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11539](https://redirect.github.com/vitest-dev/vitest/issues/11539)
[<samp>(caaef)</samp>](caaef9416)
- **api**:
- Publish the api token atomically  -  by
[@&#8203;umairnawaz333](https://redirect.github.com/umairnawaz333) in
[#&#8203;11323](https://redirect.github.com/vitest-dev/vitest/issues/11323)
[<samp>(6f990)</samp>](6f990fef1)
- **browser**:
- Close the mock route interception race  -  by
[@&#8203;cplieger](https://redirect.github.com/cplieger) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;8339](https://redirect.github.com/vitest-dev/vitest/issues/8339)
and
[#&#8203;11083](https://redirect.github.com/vitest-dev/vitest/issues/11083)
[<samp>(d6620)</samp>](d6620fae6)
- Allow toHaveTextContent without arguments  -  by
[@&#8203;nomadical](https://redirect.github.com/nomadical) in
[#&#8203;11425](https://redirect.github.com/vitest-dev/vitest/issues/11425)
[<samp>(8ebcf)</samp>](8ebcf5f8a)
- Apply API options without browser config  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10852](https://redirect.github.com/vitest-dev/vitest/issues/10852)
[<samp>(ad055)</samp>](ad055837b)
- Preserve undefined command arguments  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) and
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;11497](https://redirect.github.com/vitest-dev/vitest/issues/11497)
[<samp>(1576d)</samp>](1576d3d89)
- Wait for setup mocks before importing a test file  -  by
[@&#8203;kasperpeulen](https://redirect.github.com/kasperpeulen) in
[#&#8203;11520](https://redirect.github.com/vitest-dev/vitest/issues/11520)
[<samp>(b61d1)</samp>](b61d1ced3)
- Avoid extra scroll outside the iframe  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11523](https://redirect.github.com/vitest-dev/vitest/issues/11523)
[<samp>(662e8)</samp>](662e8a363)
- Run browser instances as workers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;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
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11542](https://redirect.github.com/vitest-dev/vitest/issues/11542)
[<samp>(69e63)</samp>](69e6369f6)
- Clean up unmocked and pending mocks  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11537](https://redirect.github.com/vitest-dev/vitest/issues/11537)
[<samp>(5c955)</samp>](5c9552173)
- **coverage**:
- V8 browser memory leak between test files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;11466](https://redirect.github.com/vitest-dev/vitest/issues/11466)
[<samp>(2297d)</samp>](2297d93a8)
- `allowExternal` fails to include uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;11513](https://redirect.github.com/vitest-dev/vitest/issues/11513)
[<samp>(4ef00)</samp>](4ef000a93)
- Filenames containing brackets incorrectly showing as uncovered  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;11531](https://redirect.github.com/vitest-dev/vitest/issues/11531)
[<samp>(0fa80)</samp>](0fa80f53c)
- Istanbul coverage wrong when module transform warmups  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;11529](https://redirect.github.com/vitest-dev/vitest/issues/11529)
[<samp>(9f61d)</samp>](9f61dcca2)
- **deps**:
- Update all non-major dependencies  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;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
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#&#8203;11402](https://redirect.github.com/vitest-dev/vitest/issues/11402)
[<samp>(b4e79)</samp>](b4e79fd7a)
- Check value in chai-style returned  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11500](https://redirect.github.com/vitest-dev/vitest/issues/11500)
[<samp>(1aca0)</samp>](1aca02a21)
- **mocker**:
- Fix native loader mocking edge cases  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11540](https://redirect.github.com/vitest-dev/vitest/issues/11540)
[<samp>(cd423)</samp>](cd423ba04)
- **pretty-format**:
- Support boxed symbols  -  by
[@&#8203;lehni](https://redirect.github.com/lehni) in
[#&#8203;11445](https://redirect.github.com/vitest-dev/vitest/issues/11445)
and
[#&#8203;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
[@&#8203;meganemura](https://redirect.github.com/meganemura) and
**Claude Opus 5.5** in
[#&#8203;11407](https://redirect.github.com/vitest-dev/vitest/issues/11407)
[<samp>(e1a73)</samp>](e1a731470)
- **runner**:
- Don't cache failed fixture setups  -  by
[@&#8203;hamed-bavar](https://redirect.github.com/hamed-bavar) in
[#&#8203;11237](https://redirect.github.com/vitest-dev/vitest/issues/11237)
and
[#&#8203;11238](https://redirect.github.com/vitest-dev/vitest/issues/11238)
[<samp>(4ee66)</samp>](4ee66c021)
- **typecheck**:
- Use typescript pool in toTestSpecification  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11451](https://redirect.github.com/vitest-dev/vitest/issues/11451)
[<samp>(5f273)</samp>](5f2739e74)
- **ui**:
- Remove duplicate browser-open call opening two tabs  -  by
[@&#8203;feastyr69](https://redirect.github.com/feastyr69) in
[#&#8203;11356](https://redirect.github.com/vitest-dev/vitest/issues/11356)
and
[#&#8203;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 [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa),
**Hiroshi Ogawa**, **Codex** and **Claude Opus 5.5** in
[#&#8203;11262](https://redirect.github.com/vitest-dev/vitest/issues/11262)
[<samp>(a627b)</samp>](a627be498)
- Store module graph once per environment  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#&#8203;11421](https://redirect.github.com/vitest-dev/vitest/issues/11421)
[<samp>(af903)</samp>](af903c65e)
- Mount index.html handler on the ui base path  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#&#8203;11517](https://redirect.github.com/vitest-dev/vitest/issues/11517)
[<samp>(1bc24)</samp>](1bc2495c7)
- Center split pane resize handle  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **Claude Opus 5.5** in
[#&#8203;11506](https://redirect.github.com/vitest-dev/vitest/issues/11506)
[<samp>(e658b)</samp>](e658b9b6a)
- **vm**:
- Bind `this` to `module.exports`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11504](https://redirect.github.com/vitest-dev/vitest/issues/11504)
[<samp>(b618a)</samp>](b618afd5c)

#####    🏎 Performance

- Reuse fsModuleCache when filtering by source  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11428](https://redirect.github.com/vitest-dev/vitest/issues/11428)
[<samp>(7ebd9)</samp>](7ebd95fdd)
- **spy**: Reset only mocks that were called or reconfigured  -  by
[@&#8203;johan-gorter](https://redirect.github.com/johan-gorter) and
**Claude Opus 5.5** in
[#&#8203;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
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **Codex (GPT-6)** in
[#&#8203;11218](https://redirect.github.com/vitest-dev/vitest/issues/11218)
[<samp>(5dbeb)</samp>](5dbebe9e3)
- Don't print an interceptor warning in browser mode  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11377](https://redirect.github.com/vitest-dev/vitest/issues/11377)
[<samp>(15cc0)</samp>](15cc006aa)
- Don't retry when `test.fails` expectedly failed  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **Codex (GPT-6)** in
[#&#8203;11219](https://redirect.github.com/vitest-dev/vitest/issues/11219)
[<samp>(b2458)</samp>](b24585f08)
- Scope cache key generators to projects  -  by
[@&#8203;ecoyoung](https://redirect.github.com/ecoyoung) in
[#&#8203;11281](https://redirect.github.com/vitest-dev/vitest/issues/11281)
and
[#&#8203;11301](https://redirect.github.com/vitest-dev/vitest/issues/11301)
[<samp>(92ba7)</samp>](92ba7fc1d)
- **browser**:
- Delay server `listen` until tests start running  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11366](https://redirect.github.com/vitest-dev/vitest/issues/11366)
[<samp>(7d8ed)</samp>](7d8ed3e9b)
- Check mock path boundaries  -  by
[@&#8203;saryn17](https://redirect.github.com/saryn17), **Ryosei Sato**
and [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11361](https://redirect.github.com/vitest-dev/vitest/issues/11361)
and
[#&#8203;11362](https://redirect.github.com/vitest-dev/vitest/issues/11362)
[<samp>(1c388)</samp>](1c3888bce)
- Keep config of browser-consumed environments  -  by
[@&#8203;kasperpeulen](https://redirect.github.com/kasperpeulen) and
**Claude** in
[#&#8203;11378](https://redirect.github.com/vitest-dev/vitest/issues/11378)
[<samp>(aafc0)</samp>](aafc0996f)
- Ignore page crash while cancelling  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11386](https://redirect.github.com/vitest-dev/vitest/issues/11386)
[<samp>(7c367)</samp>](7c36748fa)
- `toMatchScreenshot` uses wrong reference on retried tests  -  by
[@&#8203;macarie](https://redirect.github.com/macarie) in
[#&#8203;11393](https://redirect.github.com/vitest-dev/vitest/issues/11393)
[<samp>(c22ab)</samp>](c22aba992)
- **cache**:
- Revalidate imports of cached modules  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;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
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;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 [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa),
**Hiroshi Ogawa** and **Claude** in
[#&#8203;11401](https://redirect.github.com/vitest-dev/vitest/issues/11401)
[<samp>(3e794)</samp>](3e794a96b)
- **jsdom**:
- Support Blob on jsdom 30.1  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11379](https://redirect.github.com/vitest-dev/vitest/issues/11379)
[<samp>(6c49b)</samp>](6c49b7197)
- **pool**:
- Preserve unique pool ids when `groupOrder` is set  -  by
[@&#8203;mtorp](https://redirect.github.com/mtorp) in
[#&#8203;11392](https://redirect.github.com/vitest-dev/vitest/issues/11392)
[<samp>(50312)</samp>](50312ebb4)
- **ui**:
- Split-pane handle overlapping iframe  -  by
[@&#8203;macarie](https://redirect.github.com/macarie) in
[#&#8203;11221](https://redirect.github.com/vitest-dev/vitest/issues/11221)
[<samp>(f91db)</samp>](f91db0dfd)
- **vitest**:
- Remove root temp dir on close  -  by
[@&#8203;abhinav-phi](https://redirect.github.com/abhinav-phi) in
[#&#8203;11248](https://redirect.github.com/vitest-dev/vitest/issues/11248)
[<samp>(7c711)</samp>](7c7119cf7)
- **vm**:
- Do not optimize deps from index.html  -  by
[@&#8203;ezefernandezyf](https://redirect.github.com/ezefernandezyf),
**Hiroshi Ogawa** and **Codex (GPT-6)** in
[#&#8203;11329](https://redirect.github.com/vitest-dev/vitest/issues/11329)
and
[#&#8203;11360](https://redirect.github.com/vitest-dev/vitest/issues/11360)
[<samp>(caf28)</samp>](caf2887de)
- Don't reuse scripts across vite environments  -  by
[@&#8203;MO2k4](https://redirect.github.com/MO2k4), **Martin Oehlert**
and **Claude** in
[#&#8203;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
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;11343](https://redirect.github.com/vitest-dev/vitest/issues/11343)
[<samp>(0b792)</samp>](0b79231ad)
- **detect-async-leaks**:
- Ignore `process.stdio` handles  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;11333](https://redirect.github.com/vitest-dev/vitest/issues/11333)
[<samp>(0fd6b)</samp>](0fd6b9790)
- **expect**:
- Fix `toMatchObject` with asymmetric matchers  -  by
[@&#8203;ShreeBohara](https://redirect.github.com/ShreeBohara), **Claude
Opus 5**, [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa),
**Hiroshi Ogawa** and **Codex (GPT-5)** in
[#&#8203;11100](https://redirect.github.com/vitest-dev/vitest/issues/11100)
[<samp>(42523)</samp>](42523289e)
- **jsdom**:
- Fix `Request` with `Blob` body on jsdom 28+  -  by
[@&#8203;harshit-d3v](https://redirect.github.com/harshit-d3v) in
[#&#8203;11295](https://redirect.github.com/vitest-dev/vitest/issues/11295)
[<samp>(d1c3e)</samp>](d1c3ecc93)
- **reporter**:
- `agent` to respect `--silent`  -  by
[@&#8203;Raj4478](https://redirect.github.com/Raj4478) and
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;11271](https://redirect.github.com/vitest-dev/vitest/issues/11271)
[<samp>(5b95e)</samp>](5b95efb6d)
- **reporters**:
- Handle concurrent `createReport` calls  -  by
[@&#8203;7rulnik](https://redirect.github.com/7rulnik) in
[#&#8203;11278](https://redirect.github.com/vitest-dev/vitest/issues/11278)
[<samp>(e8e55)</samp>](e8e556ff7)
- `hanging-process` to use ESM entrypoint  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;11316](https://redirect.github.com/vitest-dev/vitest/issues/11316)
[<samp>(4e91e)</samp>](4e91e5668)
- **spy**:
- Fix stack overflow when spying `Set.prototype.add`  -  by
[@&#8203;fengmk2](https://redirect.github.com/fengmk2) in
[#&#8203;11299](https://redirect.github.com/vitest-dev/vitest/issues/11299)
[<samp>(a0a93)</samp>](a0a939653)
- **ui**:
- Persist authentication cookie beyond current browser session  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **OpenCode (gpt-5.6-sol)** in
[#&#8203;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
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **Codex** in
[#&#8203;11189](https://redirect.github.com/vitest-dev/vitest/issues/11189)
[<samp>(5dc4b)</samp>](5dc4b5c92)
- Add focused trace view layout mode  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa**, **OpenCode (gpt-5.6-sol)** and **Codex** in
[#&#8203;11190](https://redirect.github.com/vitest-dev/vitest/issues/11190)
[<samp>(376dc)</samp>](376dc3bc1)

#####    🐞 Bug Fixes

- Exit 1 when vitest list fails collection  -  by
[@&#8203;hamed-bavar](https://redirect.github.com/hamed-bavar) in
[#&#8203;11145](https://redirect.github.com/vitest-dev/vitest/issues/11145)
and
[#&#8203;11146](https://redirect.github.com/vitest-dev/vitest/issues/11146)
[<samp>(6108b)</samp>](6108b8197)
- Keep parse error details in static collection  -  by
[@&#8203;hamed-bavar](https://redirect.github.com/hamed-bavar) in
[#&#8203;11150](https://redirect.github.com/vitest-dev/vitest/issues/11150)
and
[#&#8203;11151](https://redirect.github.com/vitest-dev/vitest/issues/11151)
[<samp>(7c818)</samp>](7c818153a)
- Avoid recursive prototype in automocking  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11195](https://redirect.github.com/vitest-dev/vitest/issues/11195)
[<samp>(99fc5)</samp>](99fc52591)
- Prevent false Vitest import resolution  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11196](https://redirect.github.com/vitest-dev/vitest/issues/11196)
[<samp>(b426c)</samp>](b426c1976)
- Keep metadata file when clearing the cache  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11199](https://redirect.github.com/vitest-dev/vitest/issues/11199)
[<samp>(73614)</samp>](73614654a)
- Correct typos in error message and comments  -  by
[@&#8203;shinji00222](https://redirect.github.com/shinji00222) and
**Shinji** in
[#&#8203;11187](https://redirect.github.com/vitest-dev/vitest/issues/11187)
[<samp>(115c3)</samp>](115c3f6d2)
- Resolve ResolvedConfig exactOptionalPropertyTypes errors  -  by
[@&#8203;LukeAbby](https://redirect.github.com/LukeAbby) in
[#&#8203;11175](https://redirect.github.com/vitest-dev/vitest/issues/11175)
[<samp>(498fb)</samp>](498fbe922)
- Share the server on self-referencing `extends`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11034](https://redirect.github.com/vitest-dev/vitest/issues/11034)
[<samp>(23dda)</samp>](23dda738c)
- Warn when deprecated `deps.optimizer.web` is used  -  by
[@&#8203;im10furry](https://redirect.github.com/im10furry) in
[#&#8203;11214](https://redirect.github.com/vitest-dev/vitest/issues/11214)
[<samp>(2ce29)</samp>](2ce29d5fa)
- **browser**:
- Avoid double quotes in `config.define`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11198](https://redirect.github.com/vitest-dev/vitest/issues/11198)
[<samp>(972e2)</samp>](972e24bab)
- **doctor**:
- Measure vm pools for custom environments  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11212](https://redirect.github.com/vitest-dev/vitest/issues/11212)
[<samp>(91ab1)</samp>](91ab1588c)
- **expect**:
- Correct return value in `toMatchAriaSnapshot`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11208](https://redirect.github.com/vitest-dev/vitest/issues/11208)
[<samp>(c119b)</samp>](c119be016)
- **fakeTimers**:
- Force `queueMicrotask` and `nextTick` in `toNotFake`  -  by
[@&#8203;kingmakeruix](https://redirect.github.com/kingmakeruix),
**kingmakeruix**, **Hiroshi Ogawa**, **Codex** and
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[#&#8203;11261](https://redirect.github.com/vitest-dev/vitest/issues/11261)
[<samp>(a47d7)</samp>](a47d7908f)
- **snapshot**:
- Report obsolete keys next to skipped tests  -  by
[@&#8203;hamed-bavar](https://redirect.github.com/hamed-bavar),
**Hiroshi Ogawa** and **OpenCode (gpt-5.6-sol)** in
[#&#8203;11157](https://redirect.github.com/vitest-dev/vitest/issues/11157)
and
[#&#8203;11158](https://redirect.github.com/vitest-dev/vitest/issues/11158)
[<samp>(17e2b)</samp>](17e2b22dd)
- **types**:
- Make public declarations self-contained  -  by
[@&#8203;ZoeySigel](https://redirect.github.com/ZoeySigel) in
[#&#8203;11141](https://redirect.github.com/vitest-dev/vitest/issues/11141)
[<samp>(45546)</samp>](455466c16)
- **ui**:
- Fix collapse/expand suite with file name search  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **Codex** in
[#&#8203;11260](https://redirect.github.com/vitest-dev/vitest/issues/11260)
[<samp>(0a712)</samp>](0a7122daa)
- Fix explorer file summary count  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa**, **OpenCode (gpt-5.6-sol)** and **Codex** in
[#&#8203;11125](https://redirect.github.com/vitest-dev/vitest/issues/11125)
[<samp>(05982)</samp>](05982297d)
- **utils**:
- Fix `deepMerge` to handle prototype  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **Codex** in
[#&#8203;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
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Claude Opus
5 (1M context)** and **OpenAI Codex** in
[#&#8203;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 [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa)
in
[#&#8203;10170](https://redirect.github.com/vitest-dev/vitest/issues/10170)
[<samp>(04d37)</samp>](04d37e9d7)
- Default `attachmentsDir` from `.vitest-attachements/` to
`.vitest/attachments/`  -  by
[@&#8203;MdSadiqMd](https://redirect.github.com/MdSadiqMd) in
[#&#8203;10186](https://redirect.github.com/vitest-dev/vitest/issues/10186)
[<samp>(1ba73)</samp>](1ba7338c3)
- Remove `sequential` test/suite options in favor of `concurrent`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) and **OpenAI
Codex** in
[#&#8203;10198](https://redirect.github.com/vitest-dev/vitest/issues/10198)
[<samp>(9229f)</samp>](9229f2edc)
- Represent locator as an object instead of a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10212](https://redirect.github.com/vitest-dev/vitest/issues/10212)
[<samp>(80f07)</samp>](80f07edf6)
- Inline `expect` package  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10221](https://redirect.github.com/vitest-dev/vitest/issues/10221)
[<samp>(ad162)</samp>](ad16223e7)
- Remove deprecated entry points  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10222](https://redirect.github.com/vitest-dev/vitest/issues/10222)
[<samp>(994c6)</samp>](994c6ddb9)
- Require Node.js 22 and Vite 6.4  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;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
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) and **OpenAI
Codex** in
[#&#8203;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 [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10460](https://redirect.github.com/vitest-dev/vitest/issues/10460)
[<samp>(d0b4f)</samp>](d0b4fddcb)
- `toHaveTextContent` is strict, add `toMatchTextContent` as alternative
 -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10473](https://redirect.github.com/vitest-dev/vitest/issues/10473)
[<samp>(18f30)</samp>](18f303079)
- Don't lookup config file from ancestor directories  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **OpenAI
Codex** and **Hiroshi Ogawa** in
[#&#8203;10428](https://redirect.github.com/vitest-dev/vitest/issues/10428)
[<samp>(945d9)</samp>](945d9090e)
- Inline `@vitest/runner` package, do not publish it anymore  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10511](https://redirect.github.com/vitest-dev/vitest/issues/10511)
[<samp>(6d6e4)</samp>](6d6e46b1e)
- Allow mutating happy-dom/jsdom window object  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **OpenAI Codex** in
[#&#8203;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
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10516](https://redirect.github.com/vitest-dev/vitest/issues/10516)
[<samp>(bdd98)</samp>](bdd985433)
- Add `screenshotDirectory` config to `browser.expect.toMatchScreenshot`
 -  by [@&#8203;macarie](https://redirect.github.com/macarie) in
[#&#8203;10592](https://redirect.github.com/vitest-dev/vitest/issues/10592)
[<samp>(a60de)</samp>](a60ded0fb)
- Update `@sinonjs/fake-timers` and support mocking `Temporal`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **OpenCode (gpt-5.6-sol)** in
[#&#8203;10654](https://redirect.github.com/vitest-dev/vitest/issues/10654)
[<samp>(f8b15)</samp>](f8b1532fe)
- Remove webdriverio package  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10675](https://redirect.github.com/vitest-dev/vitest/issues/10675)
[<samp>(5fed6)</samp>](5fed68f72)
- Clear mocks by default before each test  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;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
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10293](https://redirect.github.com/vitest-dev/vitest/issues/10293)
[<samp>(334ed)</samp>](334edef92)
- Separate config resolution from the server creation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10554](https://redirect.github.com/vitest-dev/vitest/issues/10554)
[<samp>(1c0ec)</samp>](1c0ec3444)
- Inline projects extend the root config by default  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10750](https://redirect.github.com/vitest-dev/vitest/issues/10750)
[<samp>(fec00)</samp>](fec001ad3)
- Enable mocking Temporal without fake timers  -  by
[@&#8203;fabon-f](https://redirect.github.com/fabon-f), **Hiroshi
Ogawa** and **OpenCode (gpt-5.6-sol)** in
[#&#8203;10757](https://redirect.github.com/vitest-dev/vitest/issues/10757)
[<samp>(ac2d4)</samp>](ac2d46b42)
- Support nested projects  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10846](https://redirect.github.com/vitest-dev/vitest/issues/10846)
[<samp>(ec367)</samp>](ec367cf2a)
- Use `>` as separator in `-t`, calculate `only` once  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;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
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10868](https://redirect.github.com/vitest-dev/vitest/issues/10868)
[<samp>(86d4a)</samp>](86d4a9da9)
- Share the Vite server between inline projects  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10848](https://redirect.github.com/vitest-dev/vitest/issues/10848)
[<samp>(d87c9)</samp>](d87c96ee4)
- Parse files statically in vitest list by default  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11088](https://redirect.github.com/vitest-dev/vitest/issues/11088)
[<samp>(51e94)</samp>](51e949416)
- **benchmark**:
- Rewrite the public API  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10113](https://redirect.github.com/vitest-dev/vitest/issues/10113)
[<samp>(19f6e)</samp>](19f6e8947)
- **browser**:
- Iframe scale  -  by
[@&#8203;macarie](https://redirect.github.com/macarie) in
[#&#8203;9745](https://redirect.github.com/vitest-dev/vitest/issues/9745)
[<samp>(b6398)</samp>](b639852cc)
- Enable `locators.exact` by default  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10430](https://redirect.github.com/vitest-dev/vitest/issues/10430)
[<samp>(e2032)</samp>](e203202f9)
- Require `sessionId` for orchestrator html request  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **OpenAI Codex** in
[#&#8203;10522](https://redirect.github.com/vitest-dev/vitest/issues/10522)
[<samp>(79b7d)</samp>](79b7d8fcc)
- Save failure screenshots in `attachmentsDir`  -  by
[@&#8203;macarie](https://redirect.github.com/macarie) in
[#&#8203;10917](https://redirect.github.com/vitest-dev/vitest/issues/10917)
[<samp>(3b5bb)</samp>](3b5bbd8b4)
- **coverage**:
- `include/exclude` globs too eager  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;9818](https://redirect.github.com/vitest-dev/vitest/issues/9818)
[<samp>(edacb)</samp>](edacb0fd4)
- Allow `thresholds.perFile` to accept an object  -  by
[@&#8203;vladlenskiy](https://redirect.github.com/vladlenskiy) and
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;10190](https://redirect.github.com/vitest-dev/vitest/issues/10190)
[<samp>(13b78)</samp>](13b78d98b)
- **expect**:
- Fix `toThrow("")` behavior by reverting
[#&#8203;6710](https://redirect.github.com/vitest-dev/vitest/issues/6710)
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[#&#8203;9643](https://redirect.github.com/vitest-dev/vitest/issues/9643)
and
[#&#8203;6710](https://redirect.github.com/vitest-dev/vitest/issues/6710)
[<samp>(6c3e4)</samp>](6c3e4bdbf)
- **mocker**:
- Deserialize automock as automock  -  by
[@&#8203;nami8824](https://redirect.github.com/nami8824) in
[#&#8203;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 [@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;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 [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa**, **OpenCode (gpt-5.6-sol)** and
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;10621](https://redirect.github.com/vitest-dev/vitest/issues/10621)
[<samp>(58577)</samp>](58577290a)
- **spy**:
- Preserve class mock prototype methods on instances  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10910](https://redirect.github.com/vitest-dev/vitest/issues/10910)
[<samp>(6093d)</samp>](6093d764a)
- **types**:
- Add better promise support in expects and matchers  -  by
[@&#8203;samchungy](https://redirect.github.com/samchungy) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;8266](https://redirect.github.com/vitest-dev/vitest/issues/8266)
[<samp>(41f55)</samp>](41f551bce)
- **ui**:
- Harden UI API access  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Hiroshi
Ogawa** and **OpenAI Codex** in
[#&#8203;10583](https://redirect.github.com/vitest-dev/vitest/issues/10583)
[<samp>(4c26d)</samp>](4c26d7675)
- Change html reporter default output to `.vitest`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) and **Hiroshi
Ogawa** in
[#&#8203;10620](https://redirect.github.com/vitest-dev/vitest/issues/10620)
[<samp>(29c36)</samp>](29c364d50)

#####    🚀 Features

- Add `createReport` and `.vitest` report directory convention  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;9993](https://redirect.github.com/vitest-dev/vitest/issues/9993)
[<samp>(72a6d)</samp>](72a6dc257)
- Expose default reporters through `configDefaults.reporters`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) and **Claude
Opus 5 (1M context)** in
[#&#8203;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 [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa),
**Claude Opus 5 (1M context)**, **OpenAI Codex** and
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;10031](https://redirect.github.com/vitest-dev/vitest/issues/10031)
[<samp>(e60b2)</samp>](e60b2f49e)
- Add `logger.formatError`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) and **OpenAI
Codex** in
[#&#8203;10268](https://redirect.github.com/vitest-dev/vitest/issues/10268)
[<samp>(2c5f3)</samp>](2c5f3ee2f)
- Support typescript build mode  -  by
[@&#8203;lishaduck](https://redirect.github.com/lishaduck) in
[#&#8203;9870](https://redirect.github.com/vitest-dev/vitest/issues/9870)
[<samp>(106da)</samp>](106da5896)
- Add toggable `injectCjsGlobals` option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10709](https://redirect.github.com/vitest-dev/vitest/issues/10709)
[<samp>(82671)</samp>](826714ece)
- Promote fsModuleCache to a top-level option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10734](https://redirect.github.com/vitest-dev/vitest/issues/10734)
[<samp>(78ed7)</samp>](78ed73afd)
- Support non-ascii characters in `for/each` title placeholders  -  by
[@&#8203;k-yle](https://redirect.github.com/k-yle) in
[#&#8203;10773](https://redirect.github.com/vitest-dev/vitest/issues/10773)
[<samp>(15e0a)</samp>](15e0af953)
- Report the duration breakdown as percentages  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) and
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[#&#8203;10820](https://redirect.github.com/vitest-dev/vitest/issues/10820)
[<samp>(c67d2)</samp>](c67d296f4)
- Promote parseSpecifications out of experimental  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11087](https://redirect.github.com/vitest-dev/vitest/issues/11087)
[<samp>(b628c)</samp>](b628cb680)
- Promote clearCache out of experimental  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;11086](https://redirect.github.com/vitest-dev/vitest/issues/11086)
[<samp>(d4fe1)</samp>](d4fe1986f)
- **api**:
- Expose logs recorded during the test  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10277](https://redirect.github.com/vitest-dev/vitest/issues/10277)
[<samp>(cba20)</samp>](cba2036a1)
- **benchmark**:
- Add pluggable benchmark provider API  -  by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
and [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10799](https://redirect.github.com/vitest-dev/vitest/issues/10799)
[<samp>(86c70)</samp>](86c700ed8)
- **browser**:
- Export aria tree utils  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[#&#8203;10171](https://redirect.github.com/vitest-dev/vitest/issues/10171)
[<samp>(c3423)</samp>](c3423014c)
- Support dom snapshot trace view  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa), **Claude Opus
5 (1M context)** and **OpenAI Codex** in
[#&#8203;10102](https://redirect.github.com/vitest-dev/vitest/issues/10102)
[<samp>(7eddd)</samp>](7eddd273d)
- Provide project reference in `ToMatchScreenshotResolvePath`  -  by
[@&#8203;macarie](https://redirect.github.com/macarie) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[#&#8203;10138](https://redirect.github.com/vitest-dev/vitest/issues/10138)
[<samp>(16654)</samp>](166544e39)
- Show aria tree on locator element error  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) and **OpenAI
Codex** in
[#&#8203;10257](https://redirect.github.com/vitest-dev/vitest/issues/10257)
[<samp>(04f04)</samp>](04f04cdd1)
- Support custom `kind` in `page.mark`  -  by
[@&#8203;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
Dane - AI (Mastra)
47a6cd82e5
chore(deps): update ai sdk (#29242)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-03 16:12:54 +01:00
Dane - AI (Mastra)
278ecceb2d
chore(deps): update ai sdk (#28928)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-10-30 17:19:19 +01:00
Dane - AI (Mastra)
f6cd11f348
chore(deps): lock file maintenance (#28672)
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/9505) for more information.

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 6am on wednesday"
- 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:eyJjcmVhdGVkSW5WZXIiOiI0NC4xOTAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE5MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWF0aW9uIl19-->

---------

Co-authored-by: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-10-29 10:02:15 +00:00
shreyas-mastra
6deb7c0a1e
chore(security): Vanta 2026-10-28 - qs 6.16.1, @modelcontextprotocol/node 2.1.1 floors (#28716)
Refs mastra-ai/platform#2931

Vanta remediation pass for 2026-10-28. It follows #28325, which has
merged.

## 2026-10-28 update
Today's live Vanta export added 3 advisory IDs on `mastra-ai/mastra`
(GitHub/Dependabot). This PR fixes the two that have a published fix and
leaves deepmerge, which has none.

| Package | From → To | Finding | Where | How |
|---|---|---|---|---|
| qs | 6.16.0 → 6.16.1 | CVE-2026-110816 / GHSA-6pq8-jhm2-2vcw (Medium
×4) | root `pnpm-lock.yaml`, 9 `e2e-tests/*` lockfiles,
`scripts/gh-issue-triage/package-lock.json` | Raised the existing floors
`qs@>=6.7.0 <6.16.0: 6.16.0` → `<6.16.1: 6.16.1` and `'qs@<6.7.0':
6.16.0` → `6.16.1`. Raised the npm override in gh-issue-triage. |
| @modelcontextprotocol/node | 2.0.0 → 2.1.1 | GHSA-f897-62hf-6gxq (High
×2; HTTP transports had no body-size or batch-length limit) | root
`pnpm-lock.yaml` (published `@mastra/mcp` 1.18.0, used as `mcp-legacy`),
`scripts/gh-issue-triage/package-lock.json` | New pnpm override
`'@modelcontextprotocol/node@>=2.0.0 <2.1.0': 2.1.1` and a new npm
override in gh-issue-triage. I used 2.1.1 rather than 2.1.2 because
2.1.2 needs a `@modelcontextprotocol/server` peer of `^2.4.0`, while
`@mastra/mcp` 1.18 resolves server 2.3.1. `packages/mcp` itself already
uses node 2.1.2. |

- Both versions are older than the 1-day `minimumReleaseAge`: qs 6.16.1
was published 10-14 and node 2.1.1 on 10-02. I did not use qs 6.16.2
(10-27), which is too new.
- No floors or overrides were removed; existing ones were only raised.
- `pnpm install --frozen-lockfile --lockfile-only` passes at the root.
Each nested e2e workspace was regenerated with `pnpm install
--lockfile-only`.
- Added the empty changeset
`.changeset/vanta-2026-10-28-security-floors.md`. No published package
changes.
- After this change, osv-scanner over all 33 lockfiles reports only the
documented leftovers:
  - zod 3.25.76 (zod v3 compat line on purpose)
  - ai 4.3.19 / `@ai-sdk/provider-utils` 2.2.8 (vendored v4 line)
- `@azure/msal-node` 5.6.0 / 6.0.1 (fix 7.1.0 needs majors in identity
and teams)
  - `@opentelemetry/core` 1.30.1 (needs pubsub 6)
  - extract-zip 2.0.1 (no patched release)
- deepmerge 4.3.1 (CVE-2026-93753 / GHSA-gcqx-w48m-w2h4; no patched
release, 4.3.1 is the latest)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## ELI5

This PR updates dependency rules and package versions to use newer
releases, including security fixes for `qs` and
`@modelcontextprotocol/node`. It also updates AI SDK dependencies and
does not include published package changes.

## Summary

- Raise the `qs` override target to `6.16.1` in the root and e2e
workspaces and in `scripts/gh-issue-triage`.
- Add an `@modelcontextprotocol/node` override at `2.1.1` in the root
workspace and `scripts/gh-issue-triage`.
- Update AI SDK dependency versions across package manifests and add a
changeset describing the provider-utils update.
- Add an empty changeset for the security-only dependency updates.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

## Update 2026-10-28 (afternoon)
- Merged origin/main (clean).
- Bumped the AI SDK v5 compat line from @ai-sdk/provider-utils 3.0.41 to
3.0.42 (patch, published 2026-10-21; it blocks `.internal` hostnames in
download URL validation and encodes provider-returned IDs in request
paths). This addresses the Aikido /mastra Highs AIKIDO-2026-10990 and
AIKIDO-2026-10981:
- ai 5.0.277 → 5.0.282, @ai-sdk/gateway 2.0.168 → 2.0.173 (vendored
ai_v5)
- anthropic 2.0.109 → 2.0.110, google 2.0.103 → 2.0.106, groq 2.0.58 →
2.0.59, openai 2.0.135 → 2.0.137, openai-compatible 1.0.58 → 1.0.59, xai
2.0.99 → 2.0.100
- Nested lockfiles updated: memory/integration-tests and
playground/e2e/kitchen-sink.
- No new overrides. Changeset:
`vanta-2026-10-28-ai-sdk-v5-provider-utils.md`.
2026-10-28 18:51:27 -04:00
shreyas-mastra
34983c9bbb
chore(security): Vanta 2026-10-23/26 - storybook 9.1.21, body-parser, fast-uri, multer, serialize-javascript, zod pins, esbuild/bundle-name overrides (#28325)
## Update 2026-10-26 afternoon (Vanta pass)
Added commit `f6e4b670` on top of the 16:20 ET main merge:
- **esbuild 0.18.20 → 0.25.12** (GHSA-67mh-4wv8-2f99) and **bundle-name
3.0.0 → 4.1.1** (AIKIDO-2026-886499): the 12:43 ET merge of main dropped
the two `pnpm-workspace.yaml` entries this PR added on 10-23
(`'@esbuild-kit/core-utils>esbuild': 0.25.12` and
`'default-browser@4.0.0>bundle-name': 4.1.1`), so both old versions were
back in `pnpm-lock.yaml`. This commit puts them back exactly as before.
No other overrides changed.
- Added the empty changeset
`.changeset/vanta-2026-10-26-afternoon-overrides.md`.
- `pnpm install --frozen-lockfile --lockfile-only` passes.

After this, `osv-scanner` on all 34 lockfiles finds only the documented
leftovers: zod 3.25.76, ai 4.3.19 / `@ai-sdk/provider-utils` 2.2.8 (the
v4 line), extract-zip 2.0.1 (no patch), `@opentelemetry/core` 1.30.1,
and `@azure/msal-node` 5.6.0 / 6.0.1.

---

## Update 2026-10-26 (Vanta pass)
Merged `origin/main` (no conflicts) and added commits `9b169f0f` and
`94e183ff`:

| Package | From → To | Finding | Where | How |
|---|---|---|---|---|
| body-parser | 2.3.0 → 2.4.0 | CVE-2026-111181 / GHSA-27r3-jxmh-p828
(High) | root `pnpm-lock.yaml`, `examples/agent`, refund and genui
templates (npm) | Raised the root floor `body-parser@<2.3.0: 2.3.0` →
`<2.4.0: 2.4.0`. Added a floor in `examples/agent`. `npm update` in the
templates. `patches/body-parser@2.3.0.patch` renamed to `@2.4.0` (same
one-line raw-body interop; it applies cleanly). |
| body-parser | 1.20.6 → 1.20.9 | same advisory, 1.x line | all 10
`e2e-tests/*` lockfiles (verdaccio → express 4) | New floor
`body-parser@<1.20.9: 1.20.9`. The `patches/body-parser@1.20.6.patch`
files are renamed to `@1.20.9` (they apply cleanly). |
| fast-uri | 3.1.8 → 3.1.9 | CVE-2026-110095/-110180/-110306/-110725 |
root, e2e-tests ×10, `examples/agent`, otel-bridge `agent-hub`,
`acp-validator`, `gh-issue-triage`, refund and genui templates | Raised
the existing floors/pins from 3.1.8 to 3.1.9 |
| fast-uri | 4.2.1 → 4.2.3 | GHSA-333x-w4r6-6crp, GHSA-w74x-v6f9-j3xg,
GHSA-wjr9-j795-jxcr, GHSA-xhq7-xmqj-769h | otel-bridge `agent-hub` |
Raised the existing floor `fast-uri@>=4.0.0 <4.1.5: 4.2.1` → `<4.2.3:
4.2.3` |
| multer | 2.4.0 → 2.5.0 | CVE-2026-113872 / GHSA-q7qp-rjg7-q26m (High)
| root | Floor `multer@<2.3.0: 2.4.0` → `multer@<2.5.0: 2.5.0` |
| serialize-javascript | 7.1.2 → 7.1.4 | CVE-2026-115897 /
GHSA-m5mm-p8h7-m29v | root | Floor `<7.0.5: ^7.0.5` → `<7.1.3: ^7.1.3` |
| zod | 4.3.6 / 4.4.3 / 4.5.4 → 4.6.7 | CVE-2023-54404 /
GHSA-mrhx-c7xc-m3w5 (High) | exact pins in
`templates/template-kyc-customer-onboarding`,
`templates/template-security-incident-triage`,
`packages/mcp/integration-tests/{v2,published-v1}`,
`e2e-tests/commonjs/template` | Direct pin bump (same major) |
| fastify | `^5.12.5` → `^5.12.6` | CVE-2026-107832 | devDependency
specifiers in `server-adapters/fastify` and `workflows/inngest` (the
lock already had 5.12.6) | Specifier bump |

- Every new version is older than 24h: body-parser 2.4.0 and 1.20.9
(10-22), multer 2.5.0 (10-22), serialize-javascript 7.1.4 (10-23),
fast-uri 3.1.9 (10-19), fast-uri 4.2.3 (10-19), qs 6.16.1 (10-14, pulled
in by body-parser 2.4.0), zod 4.6.7 (10-12).
- No overrides or floors were removed; the existing ones were only
raised.
- `pnpm install --frozen-lockfile --lockfile-only` passes at the root
and in the nested e2e/example workspaces.
- Added the empty changesets
`.changeset/vanta-2026-10-26-security-floors.md` and
`.changeset/vanta-2026-10-26-fast-uri-4.md`.
- **Not changed:**
- zod 3.25.76: the fix exists only on zod 4, and the zod-v3 support and
compat tests intentionally stay on 3.
- `@azure/msal-node` 5.6.0: the fix is 7.1.0, but `@azure/identity` 4.14
pins `^6` and `@microsoft/teams.apps` 2.1.1 pins `^5.6.0`, so this would
be a two-major runtime jump.
- extract-zip 2.0.1: no patched release (the advisory lists `>=2.0.2`,
which has not been published).
- `@opentelemetry/core` 1.x: needs pubsub 6 / spanner 9, which are
majors.
  - ai v4 / provider-utils: the v4 line is vendored on purpose.

---

Refs mastra-ai/platform#2931

Vanta remediation, 2026-10-23 (follow-up to #28138, which has merged).

| Package | From → To | Finding | Where | How |
|---|---|---|---|---|
| storybook, @storybook/react-vite (+ react, builder-vite, csf-plugin,
react-dom-shim) | 9.1.20 → 9.1.21 | CVE-2026-114125 (Critical),
CVE-2026-114126 (High) | `client-sdks/react` devDependencies | Direct
bump `^9.1.20` → `^9.1.21` |
| esbuild | 0.18.20 → 0.25.12 | GHSA-67mh-4wv8-2f99 | better-auth →
drizzle-kit 0.31.10 → @esbuild-kit/esm-loader → @esbuild-kit/core-utils
(pins `~0.18.20`) | Override `'@esbuild-kit/core-utils>esbuild':
0.25.12` |
| bundle-name | 3.0.0 → 4.1.1 | AIKIDO-2026-886499 | @mastra/deepeval →
deepeval → open@9 → default-browser@4 (pins `^3`) | Override
`'default-browser@4.0.0>bundle-name': 4.1.1` |

### Why there is a `trustPolicyExclude` for storybook 9.1.21
`client-sdks/react` stays on the storybook 9 line; we are not doing the
storybook 10 major here. The only patched 9.x release is 9.1.21. It was
published on 2026-10-12 without the trusted-publisher evidence that
earlier 9.1.x releases had, so `trustPolicy: no-downgrade` fails with
`ERR_PNPM_TRUST_DOWNGRADE`. The exclude covers exactly the six packages
pnpm rejects, each pinned to `@9.1.21`: `@storybook/react-vite`,
`storybook`, `@storybook/react`, `@storybook/builder-vite`,
`@storybook/csf-plugin` and `@storybook/react-dom-shim`. No other
versions or packages are excluded. The packages come from the official
storybook monorepo release, 9.1.21 on the v9 line.

### Notes
- Every new version is older than 24h, so it satisfies
`minimumReleaseAge: 1440`. storybook 9.1.21 is 11 days old, esbuild
0.25.12 is from Nov 2025 and bundle-name 4.1.1 is from 2026-09-25.
- The esbuild override is dev-only: drizzle-kit is a CLI pulled in by
better-auth. I checked that `@esbuild-kit/core-utils` `transform()`
works against esbuild 0.25.12.
- bundle-name 4.x keeps the same `bundleName()` API. It is used only by
`open`'s macOS default-browser lookup.
- `pnpm build-storybook` in `client-sdks/react` fails on main too. The
error is a Babel 8 `loadPartialConfig` error, which happens with 9.1.20
as well, so it is not caused by this PR.
- I ran `pnpm install --frozen-lockfile` and it passes. The changeset is
empty because no published package changes.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## ELI5

This PR updates dependency versions and rules that keep older,
reported-vulnerable versions out of the project. It also updates
Storybook and records the changes in changesets.

## Summary

- Raises security-related dependency versions or minimums across the
root project, examples, templates, packages, and e2e workspaces. The
updates include `body-parser`, `fast-uri`, `multer`,
`serialize-javascript`, `zod`, and Fastify.
- Renames `body-parser` patch files and updates workspace references to
match the new versions.
- Updates Storybook packages in `client-sdks/react` from 9.1.20 to
9.1.21. Adds an `esbuild` override and updates the `bundle-name`
override.
- Adds changesets for the dependency updates. No tests were added.

## Validation

The author reports that frozen-lockfile installs pass at the root and in
nested e2e and example workspaces. The author also reports that `pnpm
build-storybook` fails on `main` as well as this branch, with a Babel 8
`loadPartialConfig` error.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-10-26 16:39:13 -04:00
Dane - AI (Mastra)
2f485b2d56
chore(deps): update security updates [security] (#28222) 2026-10-22 21:58:08 -04:00
Dane - AI (Mastra)
82e82fb5a7
chore(deps): update security updates [security] (#27869)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-10-22 14:54:47 +02:00
shreyas-mastra
a15ea70e71
security: Vanta remediation (2026-10-21) (#28018) 2026-10-21 09:12:30 -07:00
Dane - AI (Mastra)
4f60903242
chore(deps): lock file maintenance (#27013) 2026-10-21 09:25:38 +02:00
shreyas-mastra
f3cf77305f
security: Vanta remediation (2026-10-20) (#27828) 2026-10-20 08:39:07 -07:00
Dane - AI (Mastra)
dbde4bf36a
chore(deps): update ai sdk (#27728)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-10-19 19:04:28 -07:00
shreyas-mastra
fa409d430b
security: Vanta remediation pass 2026-10-14/15/19 (zod 4.6.7, @ai-sdk/provider-utils, @copilotkit template) (#27023) 2026-10-19 11:32:32 -07:00
shreyas-mastra
7aec8b0d95
security: Vanta remediation pass 2026-10-12 (better-auth, MCP SDK) (#26773)
## Summary
Vanta remediation for 2026-10-12. Target list is today's live export (77
findings, 44 unique IDs). Platform findings are handled in
mastra-ai/platform#3317.

### What changed
| Package | From → To | Findings | Where | How |
|---|---|---|---|---|
| better-auth | 1.7.5 → 1.7.7 | AIKIDO-2026-373183 (Critical) | root +
`examples/agent` | raise override `better-auth: ^1.7.7`; direct dep
`@mastra/auth-better-auth` ^1.7.7 |
| @better-auth/drizzle-adapter | 1.7.5 → 1.7.7 | AIKIDO-2026-261025
(Low) | root + `examples/agent` | floor
`'@better-auth/drizzle-adapter@<1.7.7': 1.7.7` (also pulled by
better-auth 1.7.7) |
| @modelcontextprotocol/sdk | 1.31.0 → 1.32.1 | AIKIDO-2026-365378
(High), -156139, -344432 | root, nested locks, `scripts/gh-issue-triage`
| raise floor to `<1.32.0 → 1.32.1`; bump direct pins/ranges |

Nested `pnpm-workspace.yaml` floors raised in e2e-tests/*, examples/*,
integration-tests, etc., and those lockfiles regenerated. Versions used
were published >24h ago (minimumReleaseAge). Patch changeset included
for published packages whose dependency ranges changed.

Aikido lens on this branch: better-auth and MCP SDK findings are gone.
OSV: handlebars already clear on main; remaining high are
braces/extract-zip (no patch).

### Left as-is (no patch, or major-only)
- extract-zip ≤2.0.1: no fix (overdue; removed by #25855 when that
lands). Needs Vanta risk acceptance.
- braces 3.0.3, sprintf-js 1.0.3/1.1.3: no patched release
- postcss-selector-parser 6.x: @tailwindcss/typography pins 6.0.10
- katex 0.16: mermaid declares ^0.16.47
- @ag-ui/client 0.0.59: fix only in 1.0.0 (major). Parent
`@copilotkit/channels-*` 0.11.0 pins 0.0.59 exactly
(template-genui-data-explorer)
- @hono/node-server 1.19 (fix 2.1.3), undici 6.29 (fix 7.23/8.10),
raw-body 3 in templates (fix 4), bundle-name 3 (fix 4.1.1), got 15 (fix
16), zod 3.25 (fix 4.x), @bufbuild/protobuf 1.10 (fix 2.x), openai 6.49
(fix 7.x), jose 5.10 via @segment/analytics-node in template (fix 6.x),
@ai-sdk/provider-utils 2.2.8 / 3.0.x Aikido ranges wanting 4.0.18+:
major-only or scanner range noise

Do not merge unless reviewed. No CI weakened.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## ELI5

This PR updates shared dependency versions so the project uses newer
releases of Better Auth and the MCP SDK. It also updates workspace rules
to keep older versions from being selected.

## Changes

- Updated Better Auth requirements and workspace overrides to `^1.7.7`.
- Updated `@modelcontextprotocol/sdk` requirements and overrides to
`1.32.1` across affected packages and workspaces.
- Added overrides for older `@better-auth/drizzle-adapter` versions to
use `1.7.7`.
- Added a patch changeset for `@mastra/auth-better-auth`,
`@mastra/mcp-registry-registry`, and `@mastra/playground-ui`.

Test results and review findings were not provided.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-10-13 07:41:26 -07:00
shreyas-mastra
ea7ca755a4
security: Vanta remediation pass 2026-10-07 (MCP SDK, sharp, hono) (#26260) 2026-10-07 09:29:07 -07:00
shreyas-mastra
4358322b7b
chore(deps): override upstream-blocked vulnerable transitive deps (#25853) 2026-10-02 18:03:50 -07:00
shreyas-mastra
aeddbc9909
security: Vanta 2026-09-28 residuals (template proxy-addr, nested undici/next/shell-quote/form-data, OTEL, onnxruntime) (#25344) 2026-09-28 10:45:13 -07:00
shreyas-mastra
7b777d38d9
security: Vanta zero pass 2026-09-23 (grpc/compression/provider-utils floors) (#24848) 2026-09-23 13:58:39 -07:00
shreyas-mastra
5bfe0af40c
security: clear remaining Dependabot alerts + raise Aikido floors (round 2) (#24391) 2026-09-18 07:48:18 -07:00
shreyas-mastra
95f1ad9148
security: raise pnpm override floors for Vanta/Dependabot (proxy-addr critical) (#24327) 2026-09-17 14:57:25 -07:00
shreyas-mastra
164e197aa5
fix: bump vulnerable dependencies to patched releases (#24027)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-09-15 13:58:48 -07:00
Abhi Aiyer
8d368276f6
fix: secure issue triage dependencies (#22501)
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
2026-08-27 13:59:10 -07:00
Abhi Aiyer
7d35cca22b
fix: raise dependency security floors (#22484)
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
2026-08-27 13:15:40 -07:00
Noah Crowley
cc85af2425
fix(deps): update fast-uri (#20557)
Updates all tracked fast-uri resolutions to 3.1.5 to address
CVE-2026-18446 and the earlier Aikido findings. Moves the agent-hub pnpm
overrides into its workspace config so pnpm 11 enforces the security
floor.

Also refreshes the stale gh-issue-triage pnpm-lock to match its
manifest.

Validated frozen lockfile installs, the triage npm install, and the
agent-hub tests. No related issue.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## ELI5

This PR updates `fast-uri` to a safer version that fixes security
problems. It also moves dependency rules so pnpm 11 applies them
correctly.

## Changes

- Updated all tracked `fast-uri` resolutions to `3.1.5`.
- Updated security override constraints from `<3.1.2` to `<3.1.5`.
- Moved `agent-hub` pnpm overrides into `agent-hub/pnpm-workspace.yaml`.
- Preserved local Mastra package links and dependency version overrides.
- Excluded `fast-uri@3.1.5` from minimum release age checks.

## Validation

- Ran frozen lockfile installs.
- Ran the triage npm install.
- Ran `agent-hub` tests.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-07-31 17:14:25 -07:00
Dane - AI (Mastra)
9a20c3fa52
chore(deps): update mastra (#20410) 2026-07-29 23:25:14 +02:00
Dane - AI (Mastra)
1aad6198fd
chore(deps): lock file maintenance (#19903) 2026-07-22 17:05:00 +02:00
Dane - AI (Mastra)
2592c7226a
chore(deps): lock file maintenance (#19457)
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 6am on wednesday"
- 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](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjMuNSIsInVwZGF0ZWRJblZlciI6IjQzLjI2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWF0aW9uIl19-->
2026-07-17 20:28:50 +02:00
Dane - AI (Mastra)
2e858270c6
chore(deps): lock file maintenance (#19080)
Co-authored-by: wardpeet <ward@coding-tech.com>
2026-07-13 23:54:17 +02:00
Dane - AI (Mastra)
6f6272fe44
chore(deps): update mastra (#19043) 2026-07-07 13:53:26 +02:00
devin-ai-integration[bot]
4eb5b12921
chore(deps): update mastra packages for gh-issue-triage script (#18320)
## Description

Update Mastra dependency versions in `scripts/gh-issue-triage`:

- `@mastra/client-js`: `^1.23.2` → `^1.26.0`
- `@mastra/mcp`: `^1.9.1` → `^1.11.0`

Also removed the `getTools()` fallback since `MCPClient` no longer
exposes that method — `listTools()` is the current API.

## Related issue(s)

N/A — routine dependency update.

## 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

- [x] 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

Link to Devin session:
https://app.devin.ai/sessions/3d28f090088540dc815c18fd7c76c32e
Requested by: @roaminro

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## ELI5

This PR updates some software libraries that the issue triage script
uses to newer versions, and removes old code that's no longer needed
because those libraries changed how they work.

## Changes

### Dependency Updates
- `@mastra/client-js`: `^1.23.2` → `^1.26.0`
- `@mastra/mcp`: `^1.9.1` → `^1.11.0`

### Code Simplification
In `scripts/gh-issue-triage/index.ts`, the tool discovery logic was
simplified by removing the fallback to `mcpClient.getTools()`. The
script now directly calls `mcpClient.listTools()` since this method is
now reliably available in the updated `MCPClient` API.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Romain <97863888+roaminro@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-06-22 12:42:51 -04:00
Dane - AI (Mastra)
0bafd35596
chore(deps): lock file maintenance (#18042)
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on wednesday" (UTC),
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 [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWF0aW9uIl19-->
2026-06-19 11:36:32 +02:00
Dane - AI (Mastra)
a27d561d37
chore(deps): update build tools (#17657) 2026-06-15 13:37:09 +02:00
Dane - AI (Mastra)
13fc548956
chore(deps): update mastra (#17844) 2026-06-11 14:51:12 -07:00
Dane - AI (Mastra)
092d5f5923
chore(deps): lock file maintenance (#16519) 2026-06-11 16:57:09 +02:00
Ward Peeters
5de680ef69
chore: fix tsx dependency and add workspace configs for internal scripts (#17616)
This PR fixes the tsx dependency references in internal GitHub
automation scripts and adds missing pnpm-workspace.yaml files to allow
esbuild builds.

Changes:
- Replaced catalog: tsx references with pinned ^4.22.4 versions across
scripts/pr-*, scripts/release-issue-notification
- Updated pnpm-lock.yaml files to match
- Added pnpm-workspace.yaml with allowBuilds: esbuild: true for scripts
that were missing it
- Fixed tsx version in scripts/gh-issue-triage lockfile


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## ELI5

This PR fixes broken internal GitHub automation scripts by specifying an
exact version of the `tsx` tool they need (instead of a broken
reference) and adding configuration files to tell the build system it's
okay to use the `esbuild` tool for these scripts.

## Changes

### Dependency Updates
Fixed the `tsx` dependency across five script packages by replacing
broken `catalog:` references with the explicit version `^4.22.4`:
- `scripts/pr-automation-comment/package.json`
- `scripts/pr-complexity/package.json`
- `scripts/pr-issue-link/package.json`
- `scripts/pr-test-gate/package.json`
- `scripts/release-issue-notification/package.json`

### Workspace Configuration
Added or updated `pnpm-workspace.yaml` files in each of the above script
directories to enable esbuild builds with the `allowBuilds.esbuild:
true` configuration.

### Impact
These changes ensure that all GitHub automation scripts have proper
dependency resolution and build configuration, allowing them to execute
correctly in CI/CD environments.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-06-05 15:17:49 +02:00
Dane - AI (Mastra)
bbd28e410b
chore(deps): lock file maintenance (#16245) 2026-05-08 00:44:29 +02:00
Dane - AI (Mastra)
dff46ec0c0
chore(deps): lock file maintenance (#15893) 2026-04-29 17:19:00 +02:00
dongwook.kim
51c0e3fd29
fix(scripts): use workflow.createRun() in gh-issue-triage (#15698) 2026-04-23 22:53:25 -07:00
Dane - AI (Mastra)
b6a6c70ffb
chore(deps): lock file maintenance (#15598)
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on wednesday" (UTC),
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 [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWF0aW9uIl19-->
2026-04-21 18:32:50 -07:00
dependabot[bot]
cc426b9419
chore(deps): bump hono from 4.12.12 to 4.12.14 in /scripts/gh-issue-triage (#15424)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-16 00:44:24 -07:00
Dane - AI (Mastra)
0fbaae17aa
chore(deps): lock file maintenance (#15381)
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on wednesday" (UTC),
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 [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWF0aW9uIl19-->
2026-04-14 22:36:03 -07:00
Dane - AI (Mastra)
f87059a50b
chore(deps): update mastra to v1 (major) (#15303)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@mastra/client-js](https://mastra.ai)
([source](https://redirect.github.com/mastra-ai/mastra/tree/HEAD/client-sdks/client-js))
| dependencies | major | [`^0.17.2` ->
`^1.13.3`](https://renovatebot.com/diffs/npm/@mastra%2fclient-js/0.17.2/1.13.3)
|
| [@mastra/mcp](https://mastra.ai)
([source](https://redirect.github.com/mastra-ai/mastra/tree/HEAD/packages/mcp))
| dependencies | major | [`^0.14.5` ->
`^1.4.2`](https://renovatebot.com/diffs/npm/@mastra%2fmcp/0.14.5/1.4.2)
|

---

### Release Notes

<details>
<summary>mastra-ai/mastra (@&#8203;mastra/client-js)</summary>

###
[`v1.13.3`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#1133)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.13.2...@mastra/client-js@1.13.3)

##### Patch Changes

- Updated dependencies
\[[`ef94400`](ef94400494),
[`3db852b`](3db852bff7)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.24.1

###
[`v1.13.2`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#1132)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.13.1...@mastra/client-js@1.13.2)

##### Patch Changes

- Fixed the client JS Responses types to allow omitting the model
override.
([#&#8203;15140](https://redirect.github.com/mastra-ai/mastra/pull/15140))

- Updated dependencies
\[[`8db7663`](8db7663c9a),
[`153e864`](153e86476b),
[`715710d`](715710d12f),
[`378c6c4`](378c6c4755),
[`9f91fd5`](9f91fd538a),
[`ba6fa9c`](ba6fa9cc0f)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.24.0

###
[`v1.13.1`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#1131)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.13.0...@mastra/client-js@1.13.1)

##### Patch Changes

- Added an `includeSystemReminders` option to `listThreadMessages()` and
memory thread message listing so clients can opt into raw system
reminder history when needed.
([#&#8203;15100](https://redirect.github.com/mastra-ai/mastra/pull/15100))

- Updated dependencies
\[[`f32b9e1`](f32b9e115a),
[`7d6f521`](7d6f52164d),
[`a50d220`](a50d220b01),
[`665477b`](665477bc10),
[`4cc2755`](4cc2755a71),
[`ac7baf6`](ac7baf66ef),
[`ed425d7`](ed425d78e7),
[`1371703`](1371703835),
[`0df8321`](0df832196e),
[`98f8a8b`](98f8a8bdf5),
[`ba6f7e9`](ba6f7e9086),
[`7eb2596`](7eb25960d6),
[`1805ddc`](1805ddc9c9),
[`fff91cf`](fff91cf914),
[`61109b3`](61109b34fe),
[`33f1ead`](33f1eadfa1)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.23.0

###
[`v1.13.0`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#1130)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.12.0...@mastra/client-js@1.13.0)

##### Minor Changes

- Added expectedTrajectory support to dataset items across all storage
backends and API layer. Dataset items can now store trajectory
expectations that define expected agent execution steps, ordering, and
constraints for trajectory-based evaluation scoring.
([#&#8203;14902](https://redirect.github.com/mastra-ai/mastra/pull/14902))

##### Patch Changes

- Added browser tools to the Agent details UI in Playground. Agents
configured with browser support now show a "Browser Tools" section in
metadata.
([#&#8203;14998](https://redirect.github.com/mastra-ai/mastra/pull/14998))

- Added `memoryType` field to `GetMemoryStatusResponse` and
`GetMemoryConfigResponseExtended` types to distinguish between `'local'`
and `'gateway'` memory backends.
([#&#8203;14952](https://redirect.github.com/mastra-ai/mastra/pull/14952))

- Updated dependencies
\[[`cb15509`](cb15509b58),
[`81e4259`](81e425939b),
[`951b8a1`](951b8a1b5e),
[`80c5668`](80c5668e36),
[`3d478c1`](3d478c1e13),
[`2b4ea10`](2b4ea10b05),
[`a0544f0`](a0544f0a1e),
[`6039f17`](6039f176f9),
[`06b928d`](06b928dfc2),
[`6a8d984`](6a8d9841f2),
[`c8c86aa`](c8c86aa145)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.22.0

###
[`v1.12.0`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#1120)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.11.2...@mastra/client-js@1.12.0)

##### Minor Changes

- **Added Responses API support for local Mastra apps**
([#&#8203;14339](https://redirect.github.com/mastra-ai/mastra/pull/14339))

You can now call Mastra through a Responses API flow and continue stored
turns with
`previous_response_id`, while keeping `model` as a Mastra model string
and using
`agent_id` to target the registered Mastra agent that handles the
request. This API acts as an agent-backed
adapter layer on top of Mastra memory and storage. Advanced
provider-native settings can
also be passed through with `providerOptions`, and provider-returned
continuation state
is surfaced back on the response under the same `providerOptions` field.
Stored
response IDs now map directly to the persisted assistant turn ID in
Mastra memory.
Configured tool definitions are returned under `tools`, while executed
tool activity
is surfaced through `output` items such as `function_call`,
`function_call_output`,
and the final assistant message. Stored responses also return
`conversation_id`, which
maps directly to the underlying Mastra memory thread ID. You can create
a conversation
explicitly with `client.conversations.create()` or let the first stored
response create
it implicitly, inspect the stored item history with
`client.conversations.items.list()`,
retrieve the conversation with `client.conversations.retrieve()`, or
remove it with
  `client.conversations.delete()`. Responses requests also support
`text.format`, including `json_object` for JSON mode and `json_schema`
for
schema-constrained structured output, through the same agent-backed
route.

  ```ts
  import { MastraClient } from '@&#8203;mastra/client-js';

  const client = new MastraClient({
    baseUrl: 'http://localhost:4111',
  });

  const first = await client.responses.create({
    model: 'openai/gpt-5',
    agent_id: 'support-agent',
    input: 'Write a short bedtime story.',
    store: true,
  });

  const second = await client.responses.create({
    model: 'openai/gpt-5',
    agent_id: 'support-agent',
    input: 'Make it funnier.',
    store: true,
    previous_response_id: first.id,
  });

const items = await
client.conversations.items.list(first.conversation_id!);

  const jsonResponse = await client.responses.create({
    model: 'openai/gpt-5',
    agent_id: 'support-agent',
    input: 'Return a JSON object with a title and summary.',
    text: {
      format: {
        type: 'json_object',
      },
    },
  });

  const structuredResponse = await client.responses.create({
    model: 'openai/gpt-5',
    agent_id: 'support-agent',
    input: 'Return a structured support ticket summary.',
    text: {
      format: {
        type: 'json_schema',
        name: 'ticket_summary',
        strict: true,
        schema: {
          type: 'object',
          properties: {
            summary: { type: 'string' },
            priority: { type: 'string' },
          },
          required: ['summary', 'priority'],
          additionalProperties: false,
        },
      },
    },
  });
  ```

##### Patch Changes

- Updated dependencies
\[[`9a43b47`](9a43b47646),
[`ec5c319`](ec5c3197a5),
[`6517789`](65177895b7),
[`13f4327`](13f4327f05),
[`9ad6aa6`](9ad6aa6dfe),
[`2862127`](2862127d0a),
[`3d16814`](3d16814c39),
[`7f498d0`](7f498d099e),
[`8cf8a67`](8cf8a67b06),
[`d7827e3`](d7827e3939)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.21.0

###
[`v1.11.2`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#1112)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.11.1...@mastra/client-js@1.11.2)

##### Patch Changes

- Updated dependencies
\[[`cbeec24`](cbeec24b3c),
[`cee146b`](cee146b5d8),
[`aa0aeff`](aa0aeffa11),
[`2bcec65`](2bcec652d6),
[`ad9bded`](ad9bdedf86),
[`cbeec24`](cbeec24b3c),
[`208c0bb`](208c0bbacb),
[`f566ee7`](f566ee7d53)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.20.0

###
[`v1.11.1`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#1111)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.11.0...@mastra/client-js@1.11.1)

##### Patch Changes

- Updated dependencies
\[[`180aaaf`](180aaaf4d0),
[`9140989`](91409890e8),
[`d7c98cf`](d7c98cfc9d),
[`acf5fbc`](acf5fbcb89),
[`24ca2ae`](24ca2ae575),
[`0762516`](07625167e0),
[`9c57f2f`](9c57f2f724),
[`5bfc691`](5bfc69104c),
[`2de3d36`](2de3d36932),
[`d3736cb`](d3736cb9ce),
[`c627366`](c6273666f9)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.19.0

###
[`v1.11.0`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#1110)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.10.0...@mastra/client-js@1.11.0)

##### Minor Changes

- Add version-aware code-agent lookup and override version lifecycle
support.
([#&#8203;14776](https://redirect.github.com/mastra-ai/mastra/pull/14776))

`Mastra.getAgent(name, version)` and `Mastra.getAgentById(id, version)`
can now resolve draft or specific stored override versions when the
editor package is configured, and throw a clear error when versioned
lookup is requested without the editor.

`client.getAgent(id, version)` now carries version selection through
agent detail and voice metadata requests, and the `Agent` resource now
supports override version management methods including `listVersions`,
`createVersion`, `getVersion`, `activateVersion`, `restoreVersion`,
`deleteVersion`, and `compareVersions`.

`Agent.createVersion(...)` is intentionally limited to code-agent
overrideable fields plus version metadata, rather than the full
stored-agent configuration surface.

- Added score and feedback OLAP methods to the JavaScript client
observability API.
([#&#8203;14861](https://redirect.github.com/mastra-ai/mastra/pull/14861))

##### Patch Changes

- Added requestContext support to tool approval and decline methods,
ensuring agent version context is preserved when resuming after tool
approval.
([#&#8203;14847](https://redirect.github.com/mastra-ai/mastra/pull/14847))

- Added `scorerIds` to dataset API schemas and handlers, allowing
scorers to be attached to datasets via CREATE and UPDATE endpoints.
([#&#8203;14783](https://redirect.github.com/mastra-ai/mastra/pull/14783))

- Added experiment review summary API endpoint and client SDK method.
([#&#8203;14649](https://redirect.github.com/mastra-ai/mastra/pull/14649))
- **Server**: New `GET /experiments/review-summary` endpoint that
returns aggregated review status counts (`needsReview`, `reviewed`,
`complete`) per experiment, with totals.
- **Client SDK**: New `getExperimentReviewSummary()` method and
`ExperimentReviewCounts` type for querying the review pipeline state
from the client.

- Fixed AgentVoice.speak() sending incorrect field name `input` instead
of `text` in the request body, which caused speech generation requests
to fail
([#&#8203;14615](https://redirect.github.com/mastra-ai/mastra/pull/14615))

- Updated dependencies
\[[`dc514a8`](dc514a83db),
[`e333b77`](e333b77e2d),
[`dc9fc19`](dc9fc19da4),
[`60a224d`](60a224dd49),
[`fbf22a7`](fbf22a7ad8),
[`f16d92c`](f16d92c677),
[`949b7bf`](949b7bfd4e),
[`404fea1`](404fea1304),
[`ebf5047`](ebf5047e82),
[`12c647c`](12c647cf3a),
[`d084b66`](d084b66923),
[`79c699a`](79c699acf3),
[`62757b6`](62757b6db6),
[`675f15b`](675f15b7ea),
[`b174c63`](b174c63a09),
[`819f03c`](819f03c258),
[`04160ee`](04160eedf3),
[`2c27503`](2c27503251),
[`424a1df`](424a1df7be),
[`3d70b0b`](3d70b0b352),
[`eef7cb2`](eef7cb2abe),
[`260fe12`](260fe1295f),
[`12c88a6`](12c88a6e32),
[`43595bf`](43595bf7b8),
[`78670e9`](78670e97e7),
[`e8a5b0b`](e8a5b0b9bc),
[`3b45a13`](3b45a138d0),
[`d400e7c`](d400e7c8b8),
[`f58d1a7`](f58d1a7a45),
[`a49a929`](a49a929049),
[`8127d96`](8127d96280)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.18.0

###
[`v1.10.0`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#1100)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.9.1...@mastra/client-js@1.10.0)

##### Minor Changes

- Added new observability API endpoints and client methods for logs,
scores, feedback, metrics (aggregate, breakdown, time series,
percentiles), and discovery (metric names, label keys/values, entity
types/names, service names, environments, tags)
([#&#8203;14470](https://redirect.github.com/mastra-ai/mastra/pull/14470))

##### Patch Changes

- Added client SDK methods for dataset experiments and item generation.
([#&#8203;14470](https://redirect.github.com/mastra-ai/mastra/pull/14470))
- Added `triggerExperiment()` method to dataset resources for running
experiments with configurable target type and ID
  - Added `generateItems()` method for LLM-powered test data generation
  - Added `clusterFailures()` method for analyzing experiment failures
  - Added TypeScript types for new dataset and experiment API payloads

- Added agent version support for experiments. When triggering an
experiment, you can now pass an `agentVersion` parameter to pin which
agent version to use. The agent version is stored with the experiment
and returned in experiment responses.
([#&#8203;14562](https://redirect.github.com/mastra-ai/mastra/pull/14562))

  ```ts
  const client = new MastraClient();

  await client.triggerDatasetExperiment({
    datasetId: 'my-dataset',
    targetType: 'agent',
    targetId: 'my-agent',
    version: 3, // pin to dataset version 3
    agentVersion: 'ver_abc123', // pin to a specific agent version
  });
  ```

- Add optional `?path=` query param to workspace skill routes for
disambiguating same-named skills.
([#&#8203;14430](https://redirect.github.com/mastra-ai/mastra/pull/14430))

Skill routes continue to use `:skillName` in the URL path (no breaking
change). When two skills share the same name (e.g. from different
directories), pass the optional `?path=` query parameter to select the
exact skill:

  ```
GET
/workspaces/:workspaceId/skills/:skillName?path=skills/brand-guidelines
  ```

`SkillMetadata` now includes a `path` field, and the `list()` method
returns all same-named skills for disambiguation. The client SDK's
`getSkill()` accepts an optional `skillPath` parameter for
disambiguation.

- Updated skill search result types and query parameters to use
`skillName`/`skillNames` instead of `skillPath`/`skillPaths` for
consistency with the name-based public API.
([#&#8203;14430](https://redirect.github.com/mastra-ai/mastra/pull/14430))

- Added storage type detection to the Metrics Dashboard. The
`/system/packages` endpoint now returns `observabilityStorageType`,
identifying the observability storage backend. The dashboard shows an
empty state when the storage does not support metrics (e.g. PostgreSQL,
LibSQL), and displays a warning when using in-memory storage since
metrics are not persisted across server restarts. Also added a docs link
button to the Metrics page header.
([#&#8203;14620](https://redirect.github.com/mastra-ai/mastra/pull/14620))

  ```ts
  import { MastraClient } from '@&#8203;mastra/client-js';

  const client = new MastraClient();
  const system = await client.getSystemPackages();

// system.observabilityStorageType contains the class name of the
observability store:
// - 'ObservabilityInMemory' → metrics work but are not persisted across
restarts
// - 'ObservabilityPG', 'ObservabilityLibSQL', etc. → metrics not
supported

  if (system.observabilityStorageType === 'ObservabilityInMemory') {
console.warn('Metrics are not persisted — data will be lost on server
restart.');
  }

  const SUPPORTED = new Set(['ObservabilityInMemory']);
  if (!SUPPORTED.has(system.observabilityStorageType ?? '')) {
    console.error('Metrics require in-memory observability storage.');
  }
  ```

- Fix Zod v3 and Zod v4 compatibility across public structured-output
APIs.
([#&#8203;14464](https://redirect.github.com/mastra-ai/mastra/pull/14464))

Mastra agent and client APIs accept schemas from either `zod/v3` or
`zod/v4`, matching the documented peer dependency range and preserving
TypeScript compatibility for both Zod versions.

- Updated dependencies
\[[`68ed4e9`](68ed4e9f11),
[`085c1da`](085c1daf71),
[`be37de4`](be37de4391),
[`7dbd611`](7dbd611a85),
[`f14604c`](f14604c7ef),
[`4a75e10`](4a75e106bd),
[`f3ce603`](f3ce603fd7),
[`423aa6f`](423aa6fd12),
[`f21c626`](f21c626378),
[`41aee84`](41aee84561),
[`2871451`](2871451703),
[`47358d9`](47358d960b),
[`085c1da`](085c1daf71),
[`4bb5adc`](4bb5adc05c),
[`4bb5adc`](4bb5adc05c),
[`e06b520`](e06b520bdd),
[`d3930ea`](d3930eac51),
[`dd9c4e0`](dd9c4e0a47)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.16.0
-
[@&#8203;mastra/schema-compat](https://redirect.github.com/mastra/schema-compat)@&#8203;1.2.7

###
[`v1.9.1`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#191)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.9.0...@mastra/client-js@1.9.1)

##### Patch Changes

- Updated dependencies
\[[`cb611a1`](cb611a1e89),
[`da93115`](da931155c1),
[`b71bce1`](b71bce1449),
[`62d1d3c`](62d1d3cc08),
[`9e1a3ed`](9e1a3ed07c),
[`8681ecb`](8681ecb861),
[`28d0249`](28d0249295),
[`cd7b568`](cd7b568fe4),
[`681ee1c`](681ee1c811),
[`bb0f09d`](bb0f09dbac),
[`a579f7a`](a579f7a31e),
[`5f7e9d0`](5f7e9d0db6),
[`d7f14c3`](d7f14c3285),
[`0efe12a`](0efe12a5f0)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.15.0
-
[@&#8203;mastra/schema-compat](https://redirect.github.com/mastra/schema-compat)@&#8203;1.2.6

###
[`v1.9.0`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#190)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.8.4...@mastra/client-js@1.9.0)

##### Minor Changes

- Added new observability API endpoints and client methods for logs,
scores, feedback, metrics (aggregate, breakdown, time series,
percentiles), and discovery (metric names, label keys/values, entity
types/names, service names, environments, tags)
([#&#8203;14270](https://redirect.github.com/mastra-ai/mastra/pull/14270))

##### Patch Changes

- Updated dependencies
\[[`51970b3`](51970b3828),
[`4444280`](4444280942),
[`4a7ce05`](4a7ce05125),
[`085e371`](085e3718a7),
[`b77aa19`](b77aa19813),
[`dbb879a`](dbb879af0b),
[`8b4ce84`](8b4ce84aed),
[`8d4cfe6`](8d4cfe6b9a),
[`dd6ca1c`](dd6ca1cdea),
[`ce26fe2`](ce26fe2166),
[`68a019d`](68a019d30d),
[`4cb4edf`](4cb4edf3c9),
[`8de3555`](8de355572c),
[`b26307f`](b26307f050),
[`68a019d`](68a019d30d)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.14.0
-
[@&#8203;mastra/schema-compat](https://redirect.github.com/mastra/schema-compat)@&#8203;1.2.5

###
[`v1.8.4`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#184)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.8.3...@mastra/client-js@1.8.4)

##### Patch Changes

- Fixed `@mastra/client-js` so client-side tools with Zod `inputSchema`,
`parameters`, or `outputSchema` are serialized to JSON Schema before
requests are sent.
([#&#8203;13673](https://redirect.github.com/mastra-ai/mastra/pull/13673))

Client tools with `execute` functions no longer trigger OpenAI `"Invalid
schema for function"` errors when they include Zod schemas.

Fixes
[#&#8203;11668](https://redirect.github.com/mastra-ai/mastra/issues/11668).
Alternative to
[#&#8203;11787](https://redirect.github.com/mastra-ai/mastra/issues/11787).

- Updated dependencies
\[[`0ce6035`](0ce6035911),
[`1978bc4`](1978bc424d)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.13.2
-
[@&#8203;mastra/schema-compat](https://redirect.github.com/mastra/schema-compat)@&#8203;1.2.4

###
[`v1.8.3`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#183)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.8.2...@mastra/client-js@1.8.3)

##### Patch Changes

- Updated dependencies
\[[`c4e600e`](c4e600e39a),
[`205e76c`](205e76c3ba)]:
-
[@&#8203;mastra/schema-compat](https://redirect.github.com/mastra/schema-compat)@&#8203;1.2.3
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.13.1

###
[`v1.8.2`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#182)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.8.1...@mastra/client-js@1.8.2)

##### Patch Changes

- Updated dependencies
\[[`ea86967`](ea86967449),
[`db21c21`](db21c21a6a),
[`a1d6b9c`](a1d6b9c907),
[`11f5dbe`](11f5dbe9a1),
[`c562ec2`](c562ec228f),
[`6751354`](67513544d1),
[`c958cd3`](c958cd3662),
[`86f2426`](86f242631d),
[`950eb07`](950eb07b7e)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.13.0
-
[@&#8203;mastra/schema-compat](https://redirect.github.com/mastra/schema-compat)@&#8203;1.2.2

###
[`v1.8.1`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#181)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.8.0...@mastra/client-js@1.8.1)

##### Patch Changes

- Updated dependencies
\[[`709362d`](709362d67b),
[`cddf895`](cddf895532),
[`9cede11`](9cede110ab),
[`a59f126`](a59f126910),
[`ed8fd75`](ed8fd75cbf),
[`c510833`](c5108333e8),
[`c4c7dad`](c4c7dadfe2),
[`787f3ac`](787f3ac08b),
[`45c3112`](45c3112266),
[`7296fcc`](7296fcc599),
[`00c27f9`](00c27f9080),
[`5e7c287`](5e7c28701f),
[`7e17d3f`](7e17d3f656),
[`ee19c9b`](ee19c9ba3e)]:
-
[@&#8203;mastra/schema-compat](https://redirect.github.com/mastra/schema-compat)@&#8203;1.2.1
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.12.0

###
[`v1.8.0`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#180)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.7.3...@mastra/client-js@1.8.0)

##### Minor Changes

- Added `requestContext` field to dataset item API endpoints and
`requestContextSchema` to dataset CRUD endpoints. Added `requestContext`
option to the experiment trigger endpoint, which gets forwarded to agent
execution during experiments.
([#&#8203;13938](https://redirect.github.com/mastra-ai/mastra/pull/13938))

  **Usage with `@mastra/client-js`:**

  ```ts
  // Create a dataset with a request context schema
  await client.createDataset({
    name: 'my-dataset',
    requestContextSchema: {
      type: 'object',
      properties: { region: { type: 'string' } },
    },
  });

  // Add an item with request context
  await client.addDatasetItem({
    datasetId: 'my-dataset',
    input: { prompt: 'Hello' },
    requestContext: { region: 'us-east-1' },
  });

  // Trigger an experiment with request context forwarded to agent
  await client.triggerDatasetExperiment({
    datasetId: 'my-dataset',
    agentId: 'my-agent',
    requestContext: { region: 'eu-west-1' },
  });
  ```

##### Patch Changes

- Fixed
[@&#8203;mastra/client-js](https://redirect.github.com/mastra/client-js)
streaming APIs to expose standard Web Streams types in public
declarations for browser consumers.
([#&#8203;14079](https://redirect.github.com/mastra-ai/mastra/pull/14079))

- Updated dependencies
\[[`4f71b43`](4f71b436a4),
[`a070277`](a07027766c),
[`b628b91`](b628b9128b),
[`332c014`](332c014e07),
[`6b63153`](6b63153878),
[`4246e34`](4246e34cec),
[`b8837ee`](b8837ee77e),
[`866cc2c`](866cc2cb1f),
[`fb58ce1`](fb58ce1de8),
[`5d950f7`](5d950f7bf4),
[`28c85b1`](28c85b184f),
[`e9a08fb`](e9a08fbef1),
[`1d0a8a8`](1d0a8a8acf),
[`631ffd8`](631ffd82fe),
[`6bcbf8a`](6bcbf8a677),
[`aae2295`](aae2295838),
[`aa61f29`](aa61f29ff8),
[`7ff3714`](7ff3714851),
[`18c3a90`](18c3a90c9e),
[`41d79a1`](41d79a14bd),
[`f35487b`](f35487bb2d),
[`6dc2192`](6dc21921ae),
[`eeb3a3f`](eeb3a3f43a),
[`e673376`](e6733763ad),
[`05f8d90`](05f8d90092),
[`b2204c9`](b2204c98a4),
[`a1bf1e3`](a1bf1e385e),
[`b6f647a`](b6f647ae23),
[`0c57b8b`](0c57b8b0a6),
[`b081f27`](b081f272cf),
[`4b8da97`](4b8da97a5c),
[`0c09eac`](0c09eacb19),
[`6b9b93d`](6b9b93d6f4),
[`31b6067`](31b6067d0c),
[`797ac42`](797ac4276d),
[`aae2295`](aae2295838),
[`0bc289e`](0bc289e2d4),
[`9b75a06`](9b75a06e53),
[`4c3a1b1`](4c3a1b122e),
[`256df35`](256df3571d),
[`85cc3b3`](85cc3b3b6f),
[`97ea28c`](97ea28c746),
[`d567299`](d567299cf8),
[`716ffe6`](716ffe68be),
[`8296332`](8296332de2),
[`4df2116`](4df211619d),
[`2219c1a`](2219c1acbd),
[`17c4145`](17c4145166)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.11.0
-
[@&#8203;mastra/schema-compat](https://redirect.github.com/mastra/schema-compat)@&#8203;1.2.0

###
[`v1.7.3`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#173)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.7.2...@mastra/client-js@1.7.3)

##### Patch Changes

- Fix agent losing conversation context ("amnesia") when using
client-side tools with stateless server deployments. Recursive calls
after tool execution now include the full conversation history when no
`threadId` is provided.
([#&#8203;11476](https://redirect.github.com/mastra-ai/mastra/pull/11476))

- Updated dependencies
\[[`41e48c1`](41e48c198e),
[`82469d3`](82469d3135),
[`33e2fd5`](33e2fd5088),
[`7ef6e2c`](7ef6e2c61b),
[`b12d2a5`](b12d2a59a4),
[`fa37d39`](fa37d39910),
[`b12d2a5`](b12d2a59a4),
[`71c38bf`](71c38bf905),
[`f993c38`](f993c3848c),
[`f51849a`](f51849a568),
[`9bf3a0d`](9bf3a0dac6),
[`cafa045`](cafa0453c9),
[`1fd9ddb`](1fd9ddbb3f),
[`6135ef4`](6135ef4f52),
[`d9d228c`](d9d228c0c6),
[`5576507`](55765071e3),
[`79d69c9`](79d69c9d5f),
[`94f44b8`](94f44b827c),
[`13187db`](13187dbac8),
[`2ae5311`](2ae531185f),
[`6135ef4`](6135ef4f52)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.10.0

###
[`v1.7.2`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#172)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.7.1...@mastra/client-js@1.7.2)

##### Patch Changes

- Added `getFullUrl` helper method for constructing auth redirect URLs
and exported the `AuthCapabilities` type. HTTP retries now skip 4xx
client errors to avoid retrying authentication failures.
([#&#8203;13163](https://redirect.github.com/mastra-ai/mastra/pull/13163))

- Fixed CMS features (Create an agent button, clone, edit, create
scorer) not appearing in built output. The build command now writes
package metadata so the studio can detect installed Mastra packages at
runtime.
([#&#8203;13163](https://redirect.github.com/mastra-ai/mastra/pull/13163))

- Updated dependencies
\[[`504fc8b`](504fc8b9d0),
[`f9c150b`](f9c150b759),
[`88de7e8`](88de7e8dfe),
[`edee4b3`](edee4b37df),
[`3790c75`](3790c7578c),
[`e7a235b`](e7a235be64),
[`d51d298`](d51d298953),
[`6dbeeb9`](6dbeeb94a8),
[`d5f0d8d`](d5f0d8d6a0),
[`09c3b18`](09c3b1802f),
[`b896379`](b8963791c6),
[`85c84eb`](85c84ebb78),
[`a89272a`](a89272a5d7),
[`ee9c8df`](ee9c8df644),
[`77b4a25`](77b4a254e5),
[`276246e`](276246e0b9),
[`08ecfdb`](08ecfdbdad),
[`d5f628c`](d5f628ca86),
[`524c0f3`](524c0f3c43),
[`c18a0e9`](c18a0e9cef),
[`4bd21ea`](4bd21ea43d),
[`115a7a4`](115a7a47db),
[`22a48ae`](22a48ae251),
[`3c6ef79`](3c6ef79848),
[`9311c17`](9311c17d7a),
[`7edf78f`](7edf78f804),
[`1c4221c`](1c4221cf60),
[`d25b9ea`](d25b9eabd4),
[`fe1ce5c`](fe1ce5c921),
[`b03c0e0`](b03c0e0389),
[`0a8366b`](0a8366b0a6),
[`85664e9`](85664e9fd8),
[`bc79650`](bc796500c6),
[`9257d01`](9257d01d13),
[`3a3a59e`](3a3a59e8ff),
[`3108d4e`](3108d4e649),
[`0c33b2c`](0c33b2c9db),
[`191e5bd`](191e5bd29b),
[`f77cd94`](f77cd94c44),
[`e8135c7`](e8135c7e30),
[`daca48f`](daca48f0fb),
[`257d14f`](257d14faca),
[`352f25d`](352f25da31),
[`93477d0`](93477d0769),
[`31c78b3`](31c78b3eb2),
[`0bc0720`](0bc0720109),
[`36516ac`](36516aca10),
[`e947652`](e9476527fd),
[`3c6ef79`](3c6ef79848),
[`9257d01`](9257d01d13),
[`ec248f6`](ec248f6b56)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.9.0

###
[`v1.7.1`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#171)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.7.0...@mastra/client-js@1.7.1)

##### Patch Changes

- Updated dependencies
\[[`df170fd`](df170fd139),
[`ae55343`](ae5534397f),
[`c290cec`](c290cec5bf),
[`f03e794`](f03e794630),
[`aa4a5ae`](aa4a5aedb8),
[`de3f584`](de3f584087),
[`d3fb010`](d3fb010c98),
[`702ee1c`](702ee1c41b),
[`f495051`](f495051eb6),
[`e622f1d`](e622f1d3ab),
[`8d14a59`](8d14a591d4),
[`861f111`](861f111892),
[`00f43e8`](00f43e8e97),
[`1b6f651`](1b6f65127d),
[`96a1702`](96a1702ce3),
[`cb9f921`](cb9f921320),
[`114e7c1`](114e7c146a),
[`1b6f651`](1b6f65127d),
[`72df4a8`](72df4a8f9b)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.8.0
-
[@&#8203;mastra/schema-compat](https://redirect.github.com/mastra/schema-compat)@&#8203;1.1.3

###
[`v1.7.0`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#170)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.6.0...@mastra/client-js@1.7.0)

##### Minor Changes

- Added `StoredPromptBlock` resource to `MastraClient` with full CRUD
operations — create, read, update, delete, list, and version management
for prompt blocks. New types include `StoredPromptBlockResponse`,
`CreateStoredPromptBlockParams`, `UpdateStoredPromptBlockParams`, and
`PromptBlockVersionResponse`.
([#&#8203;13351](https://redirect.github.com/mastra-ai/mastra/pull/13351))

##### Patch Changes

- Updated dependencies
\[[`24284ff`](24284ffae3),
[`f5097cc`](f5097cc8a8),
[`71e237f`](71e237fa85),
[`13a291e`](13a291ebb9),
[`397af5a`](397af5a69f),
[`d4701f7`](d4701f7e24),
[`2b40831`](2b40831dcc),
[`6184727`](6184727e81),
[`0c338b8`](0c338b8736),
[`6f6385b`](6f6385be5b),
[`14aba61`](14aba61b9c),
[`dd9dd1c`](dd9dd1c9ae)]:
-
[@&#8203;mastra/core](https://redirect.github.com/mastra/core)@&#8203;1.7.0

###
[`v1.6.0`](https://redirect.github.com/mastra-ai/mastra/blob/HEAD/client-sdks/client-js/CHANGELOG.md#160)

[Compare
Source](https://redirect.github.com/mastra-ai/mastra/compare/@mastra/client-js@1.5.0...@mastra/client-js@1.6.0)

##### Minor Changes

- Added Processor Providers — a new system for c

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates 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-04-14 11:36:51 -07:00
Dane - AI (Mastra)
b16a753d57
chore(deps): lock file maintenance (#15306)
Co-authored-by: wardpeet <ward@coding-tech.com>
Co-authored-by: Mastra Code (openai/gpt-5.4) <noreply@mastra.ai>
2026-04-14 14:33:04 +02:00
Dane - AI (Mastra)
55a6fdb5eb
chore(deps): lock file maintenance (#15216) 2026-04-09 16:12:41 +02:00
Dane - AI (Mastra)
9d8bf2ce66
chore(deps): lock file maintenance (#14625) 2026-03-24 16:16:33 +01:00
Dane - AI (Mastra)
3be5c88b0b
chore(deps): lock file maintenance (#14063)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2026-03-10 11:55:40 +01:00
Dane - AI (Mastra)
762c5261fc
chore(deps): lock file maintenance (#14017)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Ward Peeters <ward@coding-tech.com>
2026-03-10 02:19:35 +01:00