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

79 commits

Author SHA1 Message Date
Dane - AI (Mastra)
c22107fce3
chore(deps): update dependency @ai-sdk/provider-utils@>=3.0.0 <3.0.38 to v3.0.45 (#29844) 2026-11-10 20:07:34 -08:00
shreyas-mastra
8a301f6d66
chore(deps): force minimatch 11 and glob 14 for Vanta findings (#29916) 2026-11-10 12:57:20 -08:00
Dane - AI (Mastra)
4bd4b7f48e
chore(deps): update better-auth monorepo to v1.7.18 (#29714)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-09 12:39:24 +01:00
Dane - AI (Mastra)
bfe3af4ae1
chore(deps): update better-auth monorepo to v1.7.15 (#29497) 2026-11-04 17:36:58 -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
shreyas-mastra
655b19993f
chore(security): Vanta 2026-10-30 - zod ^4.6.7, @hono/node-server 2.1.5 (direct bumps) (#28983)
## Vanta 2026-10-30 security fixes (consolidated)

Direct dependency bumps and lockfile updates only. **No
overrides/resolutions added or raised.** The earlier override-based
edits on this branch were reverted; those findings are deferred below.

| Package | From → To | Advisory | Where |
|---|---|---|---|
| zod | ^3.25.76 → ^4.6.7 | zod <4.6.6 (High; no fixed 3.x) |
`client-sdks/react` (dev), `deployers/cloudflare` (dev),
`server-adapters/nestjs` (dev), `packages/editor` (dev),
`packages/playground-ui` (dep), `packages/playground`,
`workflows/_test-utils`, `examples/{durable-agents,inngest}`,
`explorations/longmemeval`,
`observability/_examples/otel-bridge/agent-hub`, e2e fixtures/templates
(`experiment-worker/fixtures/*`, `deployers/template/cloudflare`,
`no-bundling/template`, agent-builder `minimal-mastra-project`) + root
`pnpm-lock.yaml` |
| @hono/node-server | 1.19.x / 2.1.1 → 2.1.5 | CVE-2026-118663 /
GHSA-rmxm-3fg6-px4f (Medium) | direct deps: `examples/agent-builder`,
`otel-bridge/hono-multi/service-{one,two,mastra}`,
`templates/template-customer-refund-agent/client-demo-ui`,
`templates/template-kyc-customer-onboarding`,
`templates/template-security-incident-triage` |

Peer ranges (`^3.25.0 || ^4.0.0`) are unchanged, so consumers are
unaffected. Changeset: patch for `@mastra/playground-ui` (runtime zod
dep).

Supersedes the zod parts of #28075 (that PR also raises a pnpm override
and rewrites the `zod-v3` compat aliases to v4, so it is left as-is for
maintainers).

### Deferred (needs override, upstream release, or is intentional)
- zod v3 compat aliases (`zod-v3` in `packages/core`,
`packages/schema-compat`, `e2e-tests/type-check/template`;
`e2e-tests/client-js/zod-v3`): intentional zod 3 test coverage; no fixed
3.x release. Needs a decision to drop/dismiss.
- zod 3.25.76 transitive via `@arcadeai/arcadejs`, `@mcp-ui/client`,
firecrawl, `agent-browser`, `zod-to-json-schema`, MCP SDK paths:
upstream pins; override-only.
- @hono/node-server 1.19.x transitive via `@modelcontextprotocol/sdk`
(root, `examples/agent`, `packages/mcp/integration-tests`), and npm
lockfiles of `scripts/gh-issue-triage` (existing override, left alone)
and the two templates: override-only.
- graphql-scalars, raw-body, jose (templates/scripts): override-only.
- @azure/msal-node <7.1.0: 6.0.1 via `@azure/identity@4.14.0` (fixed in
4.14.1, blocked by the 1-day `minimumReleaseAge`; lockfile refresh
tomorrow), 5.6.0 via `@microsoft/teams.apps` (no fixed release).
- @opentelemetry/core <2.8.0: via `@google-cloud/pubsub@5` (fix needs
pubsub 6 major).
- @ai-sdk/provider-utils 2.2.8 / ai 4.x: pinned vendored AI SDK v4 line;
no fixed release in that major.
- extract-zip, deepmerge: no patched version.


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

## ELI5

This PR updates Zod and `@hono/node-server` versions in selected
packages, examples, and templates to address security advisories. It
also updates playground form code to work with Zod 4.

## Changes

- Updates selected `zod` dependencies to `^4.6.7`.
- Updates selected `@hono/node-server` dependencies to `2.1.5`.
- Updates the playground form’s IP address and record validators for Zod
4.
- Maps a specific Zod validation error to the message `Required`.
- Adds a patch changeset for `@mastra/playground-ui`.

## Validation

Test results are not provided in the supplied change summary.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: shreyas-mastra <327047572+shreyas-mastra@users.noreply.github.com>
2026-10-30 15:30:35 -04:00
shreyas-mastra
e35d500c14
chore(security): Vanta 2026-10-29 - systeminformation 5.33.16, re2js 2.8.8, provider-utils 3.0.42 (nested lockfiles) (#28852) 2026-10-29 12:49:35 -07:00
Dane - AI (Mastra)
9726ebcab4
chore(deps): update security updates [security] (#28238)
> [!NOTE]
> This PR body was truncated due to platform limits.

This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [fast-uri@>=4.0.0
<4.1.5](https://redirect.github.com/fastify/fast-uri) |
pnpm-workspace.overrides | patch | [`4.2.1` →
`4.2.3`](https://renovatebot.com/diffs/npm/fast-uri@>=4.0.0
<4.1.5/4.2.1/4.2.3) | |
| [hono](https://hono.dev)
([source](https://redirect.github.com/honojs/hono)) | devDependencies |
patch | [`4.13.11` →
`4.13.12`](https://renovatebot.com/diffs/npm/hono/4.13.11/4.13.12) | |
|
[ip-address@<10.7.1](https://redirect.github.com/beaugunderson/ip-address)
| pnpm-workspace.overrides | patch | [`10.7.2` →
`10.7.4`](https://renovatebot.com/diffs/npm/ip-address@<10.7.1/10.7.2/10.7.4)
| |
| [nodemailer](https://nodemailer.com/)
([source](https://redirect.github.com/nodemailer/nodemailer)) |
dependencies | minor | [`^10.1.1` →
`^10.2.1`](https://renovatebot.com/diffs/npm/nodemailer/10.1.1/10.2.1) |
`10.3.0` |
| [qs](https://redirect.github.com/ljharb/qs) | pnpm-workspace.overrides
| patch | [`6.16.0` →
`6.16.1`](https://renovatebot.com/diffs/npm/qs/6.16.0/6.16.1) | |
| [qs@>=6.7.0 <6.16.0](https://redirect.github.com/ljharb/qs) |
pnpm-workspace.overrides | patch | [`6.16.0` →
`6.16.1`](https://renovatebot.com/diffs/npm/qs@>=6.7.0
<6.16.0/6.16.0/6.16.1) | |
|
[serialize-javascript@<7.0.5](https://redirect.github.com/yahoo/serialize-javascript)
| pnpm-workspace.overrides | minor | [`^7.0.5` →
`^7.1.4`](https://renovatebot.com/diffs/npm/serialize-javascript@<7.0.5/7.0.5/7.1.4)
| |
| [systeminformation@<5.32.0](https://systeminformation.io)
([source](https://redirect.github.com/sebhildebrandt/systeminformation))
| pnpm-workspace.overrides | patch | [`5.33.13` →
`5.33.16`](https://renovatebot.com/diffs/npm/systeminformation@<5.32.0/5.33.13/5.33.16)
| |
| [zod](https://zod.dev)
([source](https://redirect.github.com/colinhacks/zod)) | dependencies |
minor | [`^4.0.0` →
`^4.6.7`](https://renovatebot.com/diffs/npm/zod/4.0.0/4.6.7) | |

---

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

---

### fast-uri vulnerable to scheme injection via an unescaped
first-segment colon in suffix references
[CVE-2026-110725](https://nvd.nist.gov/vuln/detail/CVE-2026-110725) /
[GHSA-333x-w4r6-6crp](https://redirect.github.com/advisories/GHSA-333x-w4r6-6crp)

<details>
<summary>More information</summary>

#### Details
##### Impact

`fast-uri`'s `serialize()`, `normalize()`, and `resolve()`, when called
with the non-default option `reference: 'suffix'` on a reference that
has no authority, emit a relative reference whose first path segment
contains a bare colon without escaping it. RFC 3986 section 3.3 requires
the first segment of a `path-noscheme` reference not to contain a colon,
precisely because a bare colon makes the string reparse as an absolute
URI with a scheme. `fast-uri`'s default serialization escapes that
colon, but the suffix path does not.

For example, `normalize('javascript:alert(1)', { reference: 'suffix' })`
returns `javascript:alert(1)`, which reparses as a live `javascript:`
scheme; `data:` and `vbscript:` behave the same.

Applications that serialize or normalize a relative reference with
`reference: 'suffix'` and then treat the result as a URI can turn inert
input into a live `javascript:`, `data:`, or `vbscript:` URL (a
cross-site scripting vector), and `equal()` can conflate a
scheme-bearing reference with a relative one. Exposure is limited to
applications that use the non-default `reference: 'suffix'` option.

##### Patches

Upgrade to `fast-uri` `2.4.8`, `3.1.9`, or `4.2.3`.

##### Workarounds

Do not use the `reference: 'suffix'` option on untrusted input. If
suffix output is required, percent-encode a colon in the first path
segment of the result before treating it as a URI.

#### Severity
- CVSS Score: 3.7 / 10 (Low)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`

#### References
-
[https://github.com/fastify/fast-uri/security/advisories/GHSA-333x-w4r6-6crp](https://redirect.github.com/fastify/fast-uri/security/advisories/GHSA-333x-w4r6-6crp)
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-110725](https://nvd.nist.gov/vuln/detail/CVE-2026-110725)
-
[39e6493c13)
-
[a9b8d67353)
-
[https://cna.openjsf.org/security-advisories.html](https://cna.openjsf.org/security-advisories.html)
-
[https://github.com/fastify/fast-uri/releases/tag/v2.4.8](https://redirect.github.com/fastify/fast-uri/releases/tag/v2.4.8)
-
[https://github.com/fastify/fast-uri/releases/tag/v3.1.9](https://redirect.github.com/fastify/fast-uri/releases/tag/v3.1.9)
-
[https://github.com/fastify/fast-uri/releases/tag/v4.2.3](https://redirect.github.com/fastify/fast-uri/releases/tag/v4.2.3)
-
[https://github.com/advisories/GHSA-333x-w4r6-6crp](https://redirect.github.com/advisories/GHSA-333x-w4r6-6crp)

This data is provided by the [GitHub Advisory
Database](https://redirect.github.com/advisories/GHSA-333x-w4r6-6crp)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### fast-uri vulnerable to host confusion via unchecked WHATWG host
canonicalization
[CVE-2026-110180](https://nvd.nist.gov/vuln/detail/CVE-2026-110180) /
[GHSA-wjr9-j795-jxcr](https://redirect.github.com/advisories/GHSA-wjr9-j795-jxcr)

<details>
<summary>More information</summary>

#### Details
##### Impact

`fast-uri` versions `>= 2.4.2, <= 2.4.7`, `>= 3.1.3, <= 3.1.8`, and `>=
4.0.1, <= 4.2.2` can silently rewrite the host of an HTTP-family URL
(`http`, `https`, `ws`, `wss`, or any scheme with `domainHost: true`).
For those schemes `canonicalizeHost()` passes the parsed host to the
WHATWG `URL` parser and adopts its `.hostname` without checking that the
parser read the whole input as a host. RFC 3986 permits `@` inside the
host group and the WHATWG parser strips TAB, LF, and CR, so the
authority `fast-uri` reports is rewritten by that second parser with no
`error` set: data before an `@` is dropped and whitespace is removed.

For example, `fast-uri` parses `http://a@b@evil.example/` to host
`evil.example` (dropping the `b` segment), and a host containing a raw
TAB, CR, or LF has those characters stripped. `equal()` then treats a
whitespace-smuggled host as the same as the clean one, and `resolve()`
rewrites the authority the same way.

Applications that use `fast-uri` to enforce host-based policy
(denylists, loopback filtering, redirect validation, outbound proxy
routing) on one representation, such as the raw input, see a policy/use
desync: the canonical host `fast-uri` returns differs from what was
checked, and traffic can be steered to an unintended destination.

##### Patches

Upgrade to `fast-uri` `2.4.8`, `3.1.9`, or `4.2.3`.

##### Workarounds

Reject URIs whose authority contains more than one `@`, or contains TAB,
CR, or LF, before calling `fast-uri`. Alternatively, treat any non-empty
`parse(x).error` as fatal, and compare hosts only from the same
`parse()` result.

#### Severity
- CVSS Score: 4.8 / 10 (Medium)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`

#### References
-
[https://github.com/fastify/fast-uri/security/advisories/GHSA-wjr9-j795-jxcr](https://redirect.github.com/fastify/fast-uri/security/advisories/GHSA-wjr9-j795-jxcr)
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-110180](https://nvd.nist.gov/vuln/detail/CVE-2026-110180)
-
[58c183d0b1)
-
[ddfc6a5112)
-
[f6d46dfeab)
-
[https://cna.openjsf.org/security-advisories.html](https://cna.openjsf.org/security-advisories.html)
-
[https://github.com/fastify/fast-uri/releases/tag/v2.4.8](https://redirect.github.com/fastify/fast-uri/releases/tag/v2.4.8)
-
[https://github.com/fastify/fast-uri/releases/tag/v3.1.9](https://redirect.github.com/fastify/fast-uri/releases/tag/v3.1.9)
-
[https://github.com/fastify/fast-uri/releases/tag/v4.2.3](https://redirect.github.com/fastify/fast-uri/releases/tag/v4.2.3)
-
[https://github.com/advisories/GHSA-wjr9-j795-jxcr](https://redirect.github.com/advisories/GHSA-wjr9-j795-jxcr)

This data is provided by the [GitHub Advisory
Database](https://redirect.github.com/advisories/GHSA-wjr9-j795-jxcr)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### fast-uri vulnerable to improper path equivalence in relative
reference normalization
[CVE-2026-110095](https://nvd.nist.gov/vuln/detail/CVE-2026-110095) /
[GHSA-xhq7-xmqj-769h](https://redirect.github.com/advisories/GHSA-xhq7-xmqj-769h)

<details>
<summary>More information</summary>

#### Details
##### Impact

`fast-uri`'s `normalize()` and `serialize()` apply RFC 3986 dot-segment
removal (`remove_dot_segments`) to the path of a relative-path
reference. RFC 3986 section 5.2.4 defines that algorithm only for the
merged target path during resolution, not for the reference itself, so
applied to the reference it drops leading `..` segments and can turn a
document-relative reference into a root-relative one.

For example, `normalize('a/../b')` returns `/b` and `normalize('../x')`
returns `x`, so `resolve(base, normalize(ref))` points at a different
resource than `resolve(base, ref)`, and `equal()` treats distinct
references as the same.

Applications that normalize attacker-supplied or user-supplied relative
references and then resolve them, or use them as cache, deduplication,
or authorization keys, can have a reference escape its intended
directory and point at a different resource.

##### Patches

Upgrade to `fast-uri` `2.4.8`, `3.1.9`, or `4.2.3`.

##### Workarounds

Do not normalize a relative reference before resolving it. Resolve it
against the absolute base first, then normalize the absolute result.

#### Severity
- CVSS Score: 3.7 / 10 (Low)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`

#### References
-
[https://github.com/fastify/fast-uri/security/advisories/GHSA-xhq7-xmqj-769h](https://redirect.github.com/fastify/fast-uri/security/advisories/GHSA-xhq7-xmqj-769h)
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-110095](https://nvd.nist.gov/vuln/detail/CVE-2026-110095)
-
[048bbd0a25)
-
[52774a5c35)
-
[7c19f8b97e)
-
[9eb8759a98)
-
[acc5c5d60c)
-
[b110a3571c)
-
[https://cna.openjsf.org/security-advisories.html](https://cna.openjsf.org/security-advisories.html)
-
[https://github.com/fastify/fast-uri/releases/tag/v2.4.8](https://redirect.github.com/fastify/fast-uri/releases/tag/v2.4.8)
-
[https://github.com/fastify/fast-uri/releases/tag/v3.1.9](https://redirect.github.com/fastify/fast-uri/releases/tag/v3.1.9)
-
[https://github.com/fastify/fast-uri/releases/tag/v4.2.3](https://redirect.github.com/fastify/fast-uri/releases/tag/v4.2.3)
-
[https://github.com/advisories/GHSA-xhq7-xmqj-769h](https://redirect.github.com/advisories/GHSA-xhq7-xmqj-769h)

This data is provided by the [GitHub Advisory
Database](https://redirect.github.com/advisories/GHSA-xhq7-xmqj-769h)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### fast-uri vulnerable to URI scheme spoofing via percent-encoded
scheme decoding
[CVE-2026-110306](https://nvd.nist.gov/vuln/detail/CVE-2026-110306) /
[GHSA-w74x-v6f9-j3xg](https://redirect.github.com/advisories/GHSA-w74x-v6f9-j3xg)

<details>
<summary>More information</summary>

#### Details
##### Impact

`fast-uri` percent-decodes the scheme component with the legacy global
`unescape()` before validating it, so an input whose decoded scheme is a
valid but dangerous token is emitted as a live scheme. RFC 3986 section
3.1 does not allow percent-encoding in a scheme, so no RFC or WHATWG
parser treats such input as having that scheme, but `fast-uri` does.

For example, `normalize('%6Aavascript:alert(1)')` returns
`javascript:alert(1)`, `resolve('https://a.example/',
'%6Aavascript:alert(1)')` returns `javascript:alert(1)`, and
`parse('%6Aavascript:alert(1)').scheme` returns `javascript`. The
`%uXXXX` form (`%u006Aavascript:`) produces the same result, and
`equal('%68ttp://a/', 'http://a/')` returns `true`.

An application that screens dangerous schemes on the raw input and then
stores or renders `normalize(input)` or `resolve(base, input)` turns an
inert string into an executable `javascript:`, `data:`, or `vbscript:`
URL, a stored or reflected cross-site scripting vector in the consuming
application. `equal()` also treats an encoded and a plain scheme as the
same, which can bypass equality-based allowlists.

##### Patches

Upgrade to `fast-uri` `2.4.8`, `3.1.9`, or `4.2.3`.

##### Workarounds

Reject input whose scheme part (before the first `:`, and before any
`/`, `?`, or `#`) contains `%`. Alternatively, check `parse(x).scheme`
against an allowlist after normalization and use that same parsed result
rather than the raw string.

#### Severity
- CVSS Score: 6.1 / 10 (Medium)
- Vector String: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

#### References
-
[https://github.com/fastify/fast-uri/security/advisories/GHSA-w74x-v6f9-j3xg](https://redirect.github.com/fastify/fast-uri/security/advisories/GHSA-w74x-v6f9-j3xg)
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-110306](https://nvd.nist.gov/vuln/detail/CVE-2026-110306)
-
[39933a1f14)
-
[597f254c86)
-
[e60e716f41)
-
[https://cna.openjsf.org/security-advisories.html](https://cna.openjsf.org/security-advisories.html)
-
[https://github.com/fastify/fast-uri/releases/tag/v2.4.8](https://redirect.github.com/fastify/fast-uri/releases/tag/v2.4.8)
-
[https://github.com/fastify/fast-uri/releases/tag/v3.1.9](https://redirect.github.com/fastify/fast-uri/releases/tag/v3.1.9)
-
[https://github.com/fastify/fast-uri/releases/tag/v4.2.3](https://redirect.github.com/fastify/fast-uri/releases/tag/v4.2.3)
-
[https://github.com/advisories/GHSA-w74x-v6f9-j3xg](https://redirect.github.com/advisories/GHSA-w74x-v6f9-j3xg)

This data is provided by the [GitHub Advisory
Database](https://redirect.github.com/advisories/GHSA-w74x-v6f9-j3xg)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### fast-uri vulnerable to scheme injection via an unescaped
first-segment colon in suffix references
[CVE-2026-110725](https://nvd.nist.gov/vuln/detail/CVE-2026-110725) /
[GHSA-333x-w4r6-6crp](https://redirect.github.com/advisories/GHSA-333x-w4r6-6crp)

<details>
<summary>More information</summary>

#### Details
##### Impact

`fast-uri`'s `serialize()`, `normalize()`, and `resolve()`, when called
with the non-default option `reference: 'suffix'` on a reference that
has no authority, emit a relative reference whose first path segment
contains a bare colon without escaping it. RFC 3986 section 3.3 requires
the first segment of a `path-noscheme` reference not to contain a colon,
precisely because a bare colon makes the string reparse as an absolute
URI with a scheme. `fast-uri`'s default serialization escapes that
colon, but the suffix path does not.

For example, `normalize('javascript:alert(1)', { reference: 'suffix' })`
returns `javascript:alert(1)`, which reparses as a live `javascript:`
scheme; `data:` and `vbscript:` behave the same.

Applications that serialize or normalize a relative reference with
`reference: 'suffix'` and then treat the result as a URI can turn inert
input into a live `javascript:`, `data:`, or `vbscript:` URL (a
cross-site scripting vector), and `equal()` can conflate a
scheme-bearing reference with a relative one. Exposure is limited to
applications that use the non-default `reference: 'suffix'` option.

##### Patches

Upgrade to `fast-uri` `2.4.8`, `3.1.9`, or `4.2.3`.

##### Workarounds

Do not use the `reference: 'suffix'` option on untrusted input. If
suffix output is required, percent-encode a colon in the first path
segment of the result before treating it as a URI.

#### Severity
- CVSS Score: 3.7 / 10 (Low)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`

#### References
-
[https://github.com/fastify/fast-uri/security/advisories/GHSA-333x-w4r6-6crp](https://redirect.github.com/fastify/fast-uri/security/advisories/GHSA-333x-w4r6-6crp)
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-110725](https://nvd.nist.gov/vuln/detail/CVE-2026-110725)
-
[39e6493c13)
-
[a9b8d67353)
-
[https://cna.openjsf.org/security-advisories.html](https://cna.openjsf.org/security-advisories.html)
-
[https://github.com/fastify/fast-uri](https://redirect.github.com/fastify/fast-uri)
-
[https://github.com/fastify/fast-uri/releases/tag/v2.4.8](https://redirect.github.com/fastify/fast-uri/releases/tag/v2.4.8)
-
[https://github.com/fastify/fast-uri/releases/tag/v3.1.9](https://redirect.github.com/fastify/fast-uri/releases/tag/v3.1.9)
-
[https://github.com/fastify/fast-uri/releases/tag/v4.2.3](https://redirect.github.com/fastify/fast-uri/releases/tag/v4.2.3)

This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-333x-w4r6-6crp) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### fast-uri vulnerable to URI scheme spoofing via percent-encoded
scheme decoding
[CVE-2026-110306](https://nvd.nist.gov/vuln/detail/CVE-2026-110306) /
[GHSA-w74x-v6f9-j3xg](https://redirect.github.com/advisories/GHSA-w74x-v6f9-j3xg)

<details>
<summary>More information</summary>

#### Details
##### Impact

`fast-uri` percent-decodes the scheme component with the legacy global
`unescape()` before validating it, so an input whose decoded scheme is a
valid but dangerous token is emitted as a live scheme. RFC 3986 section
3.1 does not allow percent-encoding in a scheme, so no RFC or WHATWG
parser treats such input as having that scheme, but `fast-uri` does.

For example, `normalize('%6Aavascript:alert(1)')` returns
`javascript:alert(1)`, `resolve('https://a.example/',
'%6Aavascript:alert(1)')` returns `javascript:alert(1)`, and
`parse('%6Aavascript:alert(1)').scheme` returns `javascript`. The
`%uXXXX` form (`%u006Aavascript:`) produces the same result, and
`equal('%68ttp://a/', 'http://a/')` returns `true`.

An application that screens dangerous schemes on the raw input and then
stores or renders `normalize(input)` or `resolve(base, input)` turns an
inert string into an executable `javascript:`, `data:`, or `vbscript:`
URL, a stored or reflected cross-site scripting vector in the consuming
application. `equal()` also treats an encoded and a plain scheme as the
same, which can bypass equality-based allowlists.

##### Patches

Upgrade to `fast-uri` `2.4.8`, `3.1.9`, or `4.2.3`.

##### Workarounds

Reject input whose scheme part (before the first `:`, and before any
`/`, `?`, or `#`) contains `%`. Alternatively, check `parse(x).scheme`
against an allowlist after normalization and use that same parsed result
rather than the raw string.

#### Severity
- CVSS Score: 6.1 / 10 (Medium)
- Vector String: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

#### References
-
[https://github.com/fastify/fast-uri/security/advisories/GHSA-w74x-v6f9-j3xg](https://redirect.github.com/fastify/fast-uri/security/advisories/GHSA-w74x-v6f9-j3xg)
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-110306](https://nvd.nist.gov/vuln/detail/CVE-2026-110306)
-
[39933a1f14)
-
[597f254c86)
-
[e60e716f41)
-
[https://cna.openjsf.org/security-advisories.html](https://cna.openjsf.org/security-advisories.html)
-
[https://github.com/fastify/fast-uri](https://redirect.github.com/fastify/fast-uri)
-
[https://github.com/fastify/fast-uri/releases/tag/v2.4.8](https://redirect.github.com/fastify/fast-uri/releases/tag/v2.4.8)
-
[https://github.com/fastify/fast-uri/releases/tag/v3.1.9](https://redirect.github.com/fastify/fast-uri/releases/tag/v3.1.9)
-
[https://github.com/fastify/fast-uri/releases/tag/v4.2.3](https://redirect.github.com/fastify/fast-uri/releases/tag/v4.2.3)

This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-w74x-v6f9-j3xg) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### fast-uri vulnerable to host confusion via unchecked WHATWG host
canonicalization
[CVE-2026-110180](https://nvd.nist.gov/vuln/detail/CVE-2026-110180) /
[GHSA-wjr9-j795-jxcr](https://redirect.github.com/advisories/GHSA-wjr9-j795-jxcr)

<details>
<summary>More information</summary>

#### Details
##### Impact

`fast-uri` versions `>= 2.4.2, <= 2.4.7`, `>= 3.1.3, <= 3.1.8`, and `>=
4.0.1, <= 4.2.2` can silently rewrite the host of an HTTP-family URL
(`http`, `https`, `ws`, `wss`, or any scheme with `domainHost: true`).
For those schemes `canonicalizeHost()` passes the parsed host to the
WHATWG `URL` parser and adopts its `.hostname` without checking that the
parser read the whole input as a host. RFC 3986 permits `@` inside the
host group and the WHATWG parser strips TAB, LF, and CR, so the
authority `fast-uri` reports is rewritten by that second parser with no
`error` set: data before an `@` is dropped and whitespace is removed.

For example, `fast-uri` parses `http://a@b@evil.example/` to host
`evil.example` (dropping the `b` segment), and a host containing a raw
TAB, CR, or LF has those characters stripped. `equal()` then treats a
whitespace-smuggled host as the same as the clean one, and `resolve()`
rewrites the authority the same way.

Applications that use `fast-uri` to enforce host-based policy
(denylists, loopback filtering, redirect validation, outbound proxy
routing) on one representation, such as the raw input, see a policy/use
desync: the canonical host `fast-uri` returns differs from what was
checked, and traffic can be steered to an unintended destination.

##### Patches

Upgrade to `fast-uri` `2.4.8`, `3.1.9`, or `4.2.3`.

##### Workarounds

Reject URIs whose authority contains more than one `@`, or contains TAB,
CR, or LF, before calling `fast-uri`. Alternatively, treat any non-empty
`parse(x).error` as fatal, and compare hosts only from the same
`parse()` result.

#### Severity
- CVSS Score: 4.8 / 10 (Medium)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`

#### References
-
[https://github.com/fastify/fast-uri/security/advisories/GHSA-wjr9-j795-jxcr](https://redirect.github.com/fastify/fast-uri/security/advisories/GHSA-wjr9-j795-jxcr)
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-110180](https://nvd.nist.gov/vuln/detail/CVE-2026-110180)
-
[58c183d0b1)
-
[ddfc6a5112)
-
[f6d46dfeab)
-
[https://cna.openjsf.org/security-advisories.html](https://cna.openjsf.org/security-advisories.html)
-
[https://github.com/fastify/fast-uri](https://redirect.github.com/fastify/fast-uri)
-
[https://github.com/fastify/fast-uri/releases/tag/v2.4.8](https://redirect.github.com/fastify/fast-uri/releases/tag/v2.4.8)
-
[https://github.com/fastify/fast-uri/releases/tag/v3.1.9](https://redirect.github.com/fastify/fast-uri/releases/tag/v3.1.9)
-
[https://github.com/fastify/fast-uri/releases/tag/v4.2.3](https://redirect.github.com/fastify/fast-uri/releases/tag/v4.2.3)

This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-wjr9-j795-jxcr) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### fast-uri vulnerable to improper path equivalence in relative
reference normalization
[CVE-2026-110095](https://nvd.nist.gov/vuln/detail/CVE-2026-110095) /
[GHSA-xhq7-xmqj-769h](https://redirect.github.com/advisories/GHSA-xhq7-xmqj-769h)

<details>
<summary>More information</summary>

#### Details
##### Impact

`fast-uri`'s `normalize()` and `serialize()` apply RFC 3986 dot-segment
removal (`remove_dot_segments`) to the path of a relative-path
reference. RFC 3986 section 5.2.4 defines that algorithm only for the
merged target path during resolution, not for the reference itself, so
applied to the reference it drops leading `..` segments and can turn a
document-relative reference into a root-relative one.

For example, `normalize('a/../b')` returns `/b` and `normalize('../x')`
returns `x`, so `resolve(base, normalize(ref))` points at a different
resource than `resolve(base, ref)`, and `equal()` treats distinct
references as the same.

Applications that normalize attacker-supplied or user-supplied relative
references and then resolve them, or use them as cache, deduplication,
or authorization keys, can have a reference escape its intended
directory and point at a different resource.

##### Patches

Upgrade to `fast-uri` `2.4.8`, `3.1.9`, or `4.2.3`.

##### Workarounds

Do not normalize a relative reference before resolving it. Resolve it
against the absolute base first, then normalize the absolute result.

#### Severity
- CVSS Score: 3.7 / 10 (Low)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`

#### References
-
[https://github.com/fastify/fast-uri/security/advisories/GHSA-xhq7-xmqj-769h](https://redirect.github.com/fastify/fast-uri/security/advisories/GHSA-xhq7-xmqj-769h)
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-110095](https://nvd.nist.gov/vuln/detail/CVE-2026-110095)
-
[048bbd0a25)
-
[52774a5c35)
-
[7c19f8b97e)
-
[9eb8759a98)
-
[acc5c5d60c)
-
[b110a3571c)
-
[https://cna.openjsf.org/security-advisories.html](https://cna.openjsf.org/security-advisories.html)
-
[https://github.com/fastify/fast-uri](https://redirect.github.com/fastify/fast-uri)
-
[https://github.com/fastify/fast-uri/releases/tag/v2.4.8](https://redirect.github.com/fastify/fast-uri/releases/tag/v2.4.8)
-
[https://github.com/fastify/fast-uri/releases/tag/v3.1.9](https://redirect.github.com/fastify/fast-uri/releases/tag/v3.1.9)
-
[https://github.com/fastify/fast-uri/releases/tag/v4.2.3](https://redirect.github.com/fastify/fast-uri/releases/tag/v4.2.3)

This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-xhq7-xmqj-769h) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### Hono: `serveStatic` decodes the request path a second time, leading
to bypass of middleware on static paths
[CVE-2026-109955](https://nvd.nist.gov/vuln/detail/CVE-2026-109955) /
[CVE-2026-111757](https://nvd.nist.gov/vuln/detail/CVE-2026-111757) /
[GHSA-5r4p-p66f-jhc7](https://redirect.github.com/advisories/GHSA-5r4p-p66f-jhc7)

<details>
<summary>More information</summary>

#### Details
##### Summary

`serveStatic` decodes the request path a second time after Hono has
already decoded it for routing. A crafted request can be routed as one
path and served as another, so middleware mounted on a static prefix
does not run for a file under that prefix.

##### Details

Hono decodes the request path once before routing. `serveStatic` decoded
it again before resolving the file. With a malformed percent-encoded
sequence, the first decode leaves part of the path encoded, the router
matches the encoded form, and the second decode resolves the real
directory. The file is still resolved inside the configured root; this
is not a traversal outside it.

##### Impact

An unauthenticated attacker may reach static files without the
middleware on their prefix running, for example an authentication check.
This affects applications that mount middleware on part of the directory
served by `serveStatic`. Applications that serve only public files are
not affected.

#### Severity
- CVSS Score: 5.3 / 10 (Medium)
- Vector String: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

#### References
-
[https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7](https://redirect.github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7)
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-111757](https://nvd.nist.gov/vuln/detail/CVE-2026-111757)
-
[8b05c774ef)
-
[https://github.com/honojs/hono](https://redirect.github.com/honojs/hono)
-
[https://github.com/honojs/hono/releases/tag/v4.13.11](https://redirect.github.com/honojs/hono/releases/tag/v4.13.11)

This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-5r4p-p66f-jhc7) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### ip-address: Address6 matches a zone identifier in quadratic time
ahead of its length limit, allowing a single long string to stall the
process
[CVE-2026-111997](https://nvd.nist.gov/vuln/detail/CVE-2026-111997) /
[GHSA-rxp7-6hxx-x8q5](https://redirect.github.com/advisories/GHSA-rxp7-6hxx-x8q5)

<details>
<summary>More information</summary>

#### Details
##### Summary

`new Address6()` and `Address6.isValid()` strip a zone identifier with
the pattern `/%.*$/` before they apply the 45-character length limit.
When the string holds many `%` characters followed by a line terminator,
the pattern is retried from every `%` and each attempt scans to the line
terminator before failing, so rejecting the string takes time
proportional to the square of its length. 10,000 `%` characters and a
newline take 41 ms, 40,000 take 632 ms and 100,000 take 3.9 s of
synchronous work. The same strings without the newline are rejected in
under a millisecond.

An application that validates an attacker-supplied string with these
methods can be stalled by a single long request. The input is rejected
with the correct `AddressError`; the cost of reaching that rejection is
the defect.

##### Details

The constructor in `src/ipv6.ts` removes the CIDR suffix, then the zone,
then checks the length of what is left:

```ts
const zone = constants6.RE_ZONE_STRING.exec(address);

if (zone) {
  this.zone = zone[0];

  address = address.replace(constants6.RE_ZONE_STRING, '');
}

const longest = this.groups * 5 + 5;

if (address.length > longest) {
  throw new AddressError(`IPv6 addresses are at most ${longest} characters.`);
}
```

`RE_ZONE_STRING` is `/%.*$/`. It has no anchor at its start, `.` does
not match a line terminator (`\n`, `\r`, U+2028 or U+2029), and without
the `m` flag `$` matches only at the end of the input. For `%` repeated
N times and then `\n`, the engine starts a match at the first `%`, `.*`
consumes the remaining `%` characters up to the newline, `$` fails
there, and backtracking through every shorter `.*` fails too. The engine
then starts again at the second `%`, and so on: N starts, each
proportional to N. The length limit that follows rejects the string in
constant time, after the scan has already run.

The line terminator need not be last. Any string in which many `%`
characters precede a line terminator behaves the same way.

Every entry point that passes a caller's string to the `Address6`
constructor is affected: `new Address6()`, `isValid()`, both arguments
of `fromAddressAndMask()` and `fromAddressAndWildcardMask()`, and the
prefix argument of `fromAddress4Nat64()` and `toAddress4Nat64()`.
`fromWildcard()` rejects a `%` before it constructs anything,
`fromURL()` admits only hex digits, colons and dots in a host, and
`fromArpa()` checks the nibble grammar first, so those three are
unaffected. `Address4` has no zone and is unaffected.

##### Affected versions

`<= 10.7.3`. The zone pattern has been in the constructor since 1.0.0;
5.9.4, 9.0.5 and 10.7.0 show the same timings as 10.7.3.

##### Impact

`Address6.isValid()` on N `%` characters and a newline, measured on
ip-address 10.7.3 and node 24.21.0:

| Input | Wall time | Same length of `!` |
|---|---|---|
| 5,461 characters | 13 ms | 0.1 ms |
| 16 KiB | 108 ms | 0.1 ms |
| 100 KB | 3.9 s | 0.1 ms |
| 256 KiB | 27 s | 0.2 ms |

The parse is synchronous, so the event loop is blocked for the whole of
the wall time and nothing else on that process is served. No memory is
retained and the process resumes when the call returns.

##### Reachability

The input needs a line terminator after the `%` characters, which
decides where it can arrive. An HTTP header value cannot carry a
carriage return or a line feed, so a host or address taken from a header
does not reach this. A URL can carry both characters percent-encoded at
three bytes each, and Node's default 16 KB limit on the request line and
headers admits about 5,461 of them: 13 ms. A request body is where the
larger sizes come from. Common body parsers default to between 100 KB
and 1 MB, and at 100 KB one field passed to the parser unchecked blocks
the process for 3.9 s.

##### Proof of concept

`npm i ip-address@10.7.3`, then:

```js
const { Address6 } = require('ip-address');

function time(input) {
  const start = process.hrtime.bigint();

  Address6.isValid(input);

  return `${(Number(process.hrtime.bigint() - start) / 1e6).toFixed(1)} ms`;
}

for (const n of [10000, 20000, 40000, 100000]) {
  console.log(`${n}: ${time(`${'%'.repeat(n)}\n`)}, without the newline ${time('%'.repeat(n))}`);
}
```

On affected versions (node 24.21.0):

```
10000: 41.0 ms, without the newline 0.0 ms
20000: 161.1 ms, without the newline 0.0 ms
40000: 632.4 ms, without the newline 0.1 ms
100000: 3899.8 ms, without the newline 0.1 ms
```

Each doubling of the input multiplies the time by four.

##### Remediation

Upgrade to the patched release. In the fix, the constructor finds the
zone by the index of the first `%` and accepts the remainder as a zone
only when it holds no line terminator, which reads the input once. 1 MiB
of the input above is rejected in about a millisecond. Every address
that parsed before parses to the same result, and a string with a line
terminator after a `%` is rejected as it was.

`RE_ZONE_STRING` stays exported from `v6/constants` for code that
imports it directly and is marked `@deprecated`; the library itself does
not call it.

If you cannot upgrade immediately, reject a candidate longer than an
address with a zone identifier can be before you parse it:

```js
if (host.length > 64) throw new Error('not an IP address');
```

#### Severity
- CVSS Score: 6.3 / 10 (Medium)
- Vector String:
`CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

#### References
-
[https://github.com/beaugunderson/ip-address/security/advisories/GHSA-rxp7-6hxx-x8q5](https://redirect.github.com/beaugunderson/ip-address/security/advisories/GHSA-rxp7-6hxx-x8q5)
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-111997](https://nvd.nist.gov/vuln/detail/CVE-2026-111997)
-
[ec80fcd5d7)
-
[https://github.com/beaugunderson/ip-address](https://redirect.github.com/beaugunderson/ip-address)
-
[https://github.com/beaugunderson/ip-address/releases/tag/v10.7.4](https://redirect.github.com/beaugunderson/ip-address/releases/tag/v10.7.4)

This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-rxp7-6hxx-x8q5) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### Nodemailer: A ">" inside a quoted local part ends an angle-addr
early in addressparser, delivering to a domain the header does not name

[GHSA-85x2-q946-cp5h](https://redirect.github.com/advisories/GHSA-85x2-q946-cp5h)

<details>
<summary>More information</summary>

#### Details
##### Vulnerability summary

addressparser ends an angle-addr at the first `>` it sees, including one
inside a quoted local part, a comment or a domain literal. The domain is
then read off the text in front of that `>`. `<"a@evil.com>"@good.com>`
is the mailbox `"a@evil.com>"@good.com` under RFC 5322, and Nodemailer
read it as an address at `evil.com`. The unbracketed spelling of the
same value was already read correctly. Affected: 3.0.0 through 10.1.3.

##### Attacker capabilities

The attacker controls the text of a recipient or sender address that an
application passes to Nodemailer, for example a To value entered in a
contact or invite form, or the header of an inbound message parsed with
mailparser. No access to the application, its configuration or its
credentials is needed. The value is a syntactically valid RFC 5322
address that conformant parsers accept without defects.

##### Realistic exploitation scenario

An application lets users send invitations or notifications only to
addresses at an allowed domain and validates the submitted value with a
conformant parser or by checking its domain. The attacker submits
`<"a@evil.com>"@good.com>`, which validates as a `good.com` mailbox.
Nodemailer then parses the same value, issues `RCPT TO:<"\"a"@evil.com>`
and the message, with whatever content the application puts into it, is
delivered to the attacker's domain. The security boundary crossed is the
application's recipient allow list. In the inbound direction, mailparser
reports a different address than a conformant reader of the same header,
so a display or policy layer built on the two disagrees.

##### Proof of concept

```js
const addressparser = require('nodemailer/lib/addressparser');
console.log(addressparser("<\"a@evil.com>\"@good.com>"));
// [ { address: '"a@evil.com', name: '@good.com>' } ]
```

Python's `email._header_value_parser.get_address_list` reads the same
value as `"a@evil.com>"@good.com`, with no defects reported.

The envelope a message gets is built from the same parse, so `sendMail({
to: "<\"a@evil.com>\"@good.com>" })` issues the RCPT TO shown above.

##### Security impact

Mail that an application intends for an allowed domain is delivered to a
domain chosen by the attacker, which discloses its content. It is a
security vulnerability rather than a parsing bug because the misreading
only occurs for values that a conformant validator approves, so
validation done the right way is bypassed. Affected are applications
that pass user influenced addresses to Nodemailer and consumers of the
standalone parser such as mailparser.

The fix tracks quoted strings, comments and domain literals inside an
angle-addr and reads only a `>` outside them.

Found in an internal review of addressparser on 2026-10-18. Verified on
3.0.0, 6.9.16 and 10.1.3.

#### Severity
- CVSS Score: 6.5 / 10 (Medium)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`

#### References
-
[https://github.com/nodemailer/nodemailer/security/advisories/GHSA-85x2-q946-cp5h](https://redirect.github.com/nodemailer/nodemailer/security/advisories/GHSA-85x2-q946-cp5h)
-
[1cd57d2b8c)
-
[https://github.com/nodemailer/nodemailer](https://redirect.github.com/nodemailer/nodemailer)
-
[https://github.com/nodemailer/nodemailer/releases/tag/v10.1.4](https://redirect.github.com/nodemailer/nodemailer/releases/tag/v10.1.4)

This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-85x2-q946-cp5h) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### Nodemailer: A nested comment ends early in addressparser, releasing
the rest of the comment as a recipient

[GHSA-8c8m-p3m8-cjg8](https://redirect.github.com/advisories/GHSA-8c8m-p3m8-cjg8)

<details>
<summary>More information</summary>

#### Details
##### Vulnerability summary

RFC 5322 comments nest. addressparser ended a comment at the first `)`,
including the one that closes a nested comment, and parsed the rest of
the outer comment as header text. `Victim (x(y) <evil@evil.com>)
<v@victim.com>` names `v@victim.com` with `x(y) <evil@evil.com>` as a
comment, and Nodemailer read it as the address `evil@evil.com`. This is
the same shape as the escaped parenthesis fixed in 10.1.2, reached
through nesting instead of a quoted-pair. Affected: 3.0.0 through
10.1.3.

##### Attacker capabilities

The attacker controls the text of an address that an application passes
to Nodemailer, or the From or To header of an inbound message parsed
with mailparser. No access to the application, its configuration or its
credentials is needed. The value is a syntactically valid RFC 5322
address that conformant parsers accept without defects.

##### Realistic exploitation scenario

An application validates a submitted address with a conformant parser
and allows only its own domain. The attacker submits `Victim (x(y)
<evil@evil.com>) <v@victim.com>`, which validates as `v@victim.com`.
Nodemailer delivers to `evil@evil.com`. In the inbound direction, a
DMARC or display layer built on a conformant parser and a mail client
built on mailparser disagree on the author of the same message, which is
the setting for sender spoofing. The boundary crossed is the
application's recipient allow list, or the author check of the receiving
side.

##### Proof of concept

```js
const addressparser = require('nodemailer/lib/addressparser');
console.log(addressparser("Victim (x(y) <evil@evil.com>) <v@victim.com>"));
// [ { address: 'evil@evil.com', name: 'Victim) v@victim.com' } ]
```

Python's `email._header_value_parser.get_address_list` reads the same
value as `v@victim.com` with the display name `Victim`, with no defects
reported.

The envelope a message gets is built from the same parse, so `sendMail({
to: "Victim (x(y) <evil@evil.com>) <v@victim.com>" })` issues the RCPT
TO shown above.

##### Security impact

Mail intended for an approved recipient is delivered to an attacker
chosen domain, disclosing its content, and parsers built on this module
report a different author than conformant ones. The misreading only
occurs on values a conformant validator approves, so correct validation
is bypassed. Affected are applications that pass user influenced
addresses to Nodemailer and consumers of the standalone parser such as
mailparser.

The fix counts comment depth and ends a comment only at the `)` that
closes the outermost one.

Found in an internal review of addressparser on 2026-10-18. Verified on
3.0.0, 6.9.16 and 10.1.3.

#### Severity
- CVSS Score: 6.5 / 10 (Medium)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`

#### References
-
[https://github.com/nodemailer/nodemailer/security/advisories/GHSA-8c8m-p3m8-cjg8](https://redirect.github.com/nodemailer/nodemailer/security/advisories/GHSA-8c8m-p3m8-cjg8)
-
[0a8761762a)
-
[https://github.com/nodemailer/nodemailer](https://redirect.github.com/nodemailer/nodemailer)
-
[https://github.com/nodemailer/nodemailer/releases/tag/v10.1.4](https://redirect.github.com/nodemailer/nodemailer/releases/tag/v10.1.4)

This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-8c8m-p3m8-cjg8) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### Nodemailer: A ";" inside a quoted string or comment ends an address
group early in addressparser, turning display text into a recipient

[GHSA-m943-m63m-w62w](https://redirect.github.com/advisories/GHSA-m943-m63m-w62w)

<details>
<summary>More information</summary>

#### Details
##### Vulnerability summary

addressparser ends an RFC 5322 group at the first `;`, including one
inside a quoted display name or a comment. The text after it is parsed
again as top level recipients with the quoting flipped, so text that
every conformant parser reads as a display name or comment becomes a
live address. `G: (a; <evil@evil.com>) <v@victim.com>;` names only
`v@victim.com`, and Nodemailer read it as the single recipient
`evil@evil.com`. Affected: 3.0.0 through 10.1.3.

##### Attacker capabilities

The attacker controls the text of an address field that an application
passes to Nodemailer, or the header of an inbound message parsed with
mailparser. No access to the application, its configuration or its
credentials is needed. The value is a syntactically valid RFC 5322 group
that conformant parsers accept without defects.

##### Realistic exploitation scenario

An application validates the recipients of a submitted address list with
a conformant parser and only allows addresses at its own domain. The
attacker submits `G: (a; <evil@evil.com>) <v@victim.com>;`. The
validator sees one mailbox, `v@victim.com`, and approves it. Nodemailer
delivers to `evil@evil.com` only. The same works through a quoted
display name, `G: "a;" "<evil@evil.com>" <v@victim.com>;`. The boundary
crossed is the application's recipient allow list.

##### Proof of concept

```js
const addressparser = require('nodemailer/lib/addressparser');
console.log(addressparser("G: (a; <evil@evil.com>) <v@victim.com>;"));
// [ { name: 'G', group: [ [Object] ] }, { address: 'evil@evil.com', name: ') v@victim.com' } ]
```

Python's `email._header_value_parser.get_address_list` reads the same
value as the single mailbox `v@victim.com`, with no defects reported.

The envelope a message gets is built from the same parse, so `sendMail({
to: "G: (a; <evil@evil.com>) <v@victim.com>;" })` issues the RCPT TO
shown above.

##### Security impact

Mail that an application intends for an approved recipient goes to a
recipient chosen by the attacker, which discloses its content, and the
intended recipient never receives it. The misreading only occurs on
values a conformant validator approves, so correct validation is
bypassed, which makes it a security issue rather than a parsing bug.
Affected are applications that pass user influenced address lists to
Nodemailer and consumers of the standalone parser such as mailparser.

The fix tracks quoted strings and comments inside a group and reads only
a `;` outside them.

Found in an internal review of addressparser on 2026-10-18. Verified on
3.0.0, 6.9.16 and 10.1.3.

#### Severity
- CVSS Score: 6.5 / 10 (Medium)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`

#### References
-
[https://github.com/nodemailer/nodemailer/security/advisories/GHSA-m943-m63m-w62w](https://redirect.github.com/nodemailer/nodemailer/security/advisories/GHSA-m943-m63m-w62w)
-
[1cd57d2b8c)
-
[https://github.com/nodemailer/nodemailer](https://redirect.github.com/nodemailer/nodemailer)
-
[https://github.com/nodemailer/nodemailer/releases/tag/v10.1.4](https://redirect.github.com/nodemailer/nodemailer/releases/tag/v10.1.4)

This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-m943-m63m-w62w) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### qs : qs.stringify with arrayFormat 'comma' throws an uncaught
TypeError on array elements carrying a non-callable own toString (DoS)
[CVE-2026-110816](https://nvd.nist.gov/vuln/detail/CVE-2026-110816) /
[GHSA-6pq8-jhm2-2vcw](https://redirect.github.com/advisories/GHSA-6pq8-jhm2-2vcw)

<details>
<summary>More information</summary>

#### Details
##### Summary

`qs.stringify(obj, { arrayFormat: 'comma' })` throws an uncaught
`TypeError: Cannot convert object to primitive value` when an array in
`obj` contains an element that carries an own, non-callable `toString`
property (for example `{ a: [ { toString: 'x' } ] }`). A remote,
unauthenticated attacker who can influence an object that the
application later re-serializes with the comma array format triggers the
throw. In a service that lacks a synchronous error boundary around the
serialization call, the uncaught exception crashes the worker process,
producing a denial of service.

##### Root Cause

When `arrayFormat: 'comma'` is selected, the comma branch collapses the
whole array into a single value via `Array.prototype.join`, or, under
`encodeValuesOnly: true`, maps each element through the value encoder
before joining. Both paths perform an implicit string coercion
(`ToPrimitive` with hint `"string"`) on each element. For an object
whose own `toString` is a non-callable value, coercion skips the
shadowed non-callable `toString`, falls through to
`Object.prototype.valueOf` (which returns the object rather than a
primitive), and throws. The comma branch runs this coercion before the
per-element null and skip handling in the main loop, so nothing
downstream can neutralize the hostile element, and the throw is never
caught inside the library.

```text
lib/stringify.js  (comma-array branch)
  line 152-154: obj = utils.maybeMap(obj, function (v) { return v == null ? v : encoder(v); });  // encodeValuesOnly path
  line 156:     objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];   // default comma path
lib/utils.js
  line 292:     string = String(str);   // value encoder coercion reached via the encodeValuesOnly path
```

##### Impact

Prerequisites: the application calls `qs.stringify` with `arrayFormat:
'comma'` (a documented, supported option) on an object whose shape can
be influenced by attacker input. Attacker-controllable sources include
`qs.parse(input, { allowPrototypes: true })`, which retains a `toString`
segment (Express 4's default query parser, Express 5's `extended` query
parser, and body-parser's `extended` urlencoded parser all set it),
`qs.parse(input, { plainObjects: true })`, whose null-prototype elements
throw even without a `toString` key (eg, `a[][b]=c`), and `JSON.parse`
of a request body, which needs no qs parse option at all. No
authentication or user interaction is required. Demonstrated capability:
a single request forces an uncaught synchronous `TypeError` in the
serialization call. In a naive single-process Node service with no
synchronous error boundary, this crashes the process and takes the
service offline (availability impact). Under a framework such as Express
that traps synchronous handler throws, the plausible outcome is a
per-request 500 rather than a full outage; that lower-impact case is
noted but not the worst credible supported deployment. There is no
confidentiality or integrity impact, no memory unsafety, and no
prototype pollution.

##### Proof of Concept

`Install qs at the affected version (for example 6.16.0) and run the
following script with Node.js. No network setup is required; it
demonstrates the throw in isolation.`

```js
var qs = require('qs');

// Source A: qs.parse with allowPrototypes retains the hostile toString segment
qs.stringify(qs.parse('a[0][toString]=x', { allowPrototypes: true }), { arrayFormat: 'comma' });

// Source B: a JSON request body, no qs parse option needed
qs.stringify(JSON.parse('{"a":[{"toString":"x"}]}'), { arrayFormat: 'comma' });

// Also affected: the encodeValuesOnly sub-path
qs.stringify(JSON.parse('{"a":[{"toString":"x"}]}'), { arrayFormat: 'comma', encodeValuesOnly: true });
```

```text
A default-join (allowPrototypes) => THREW: TypeError: Cannot convert object to primitive value
B default-join (JSON.parse) => THREW: TypeError: Cannot convert object to primitive value
C encodeValuesOnly path => THREW: TypeError: Cannot convert object to primitive value
N2 callable toString => NO THROW; output="a=z"
N3 isBuffer vector (CVE-2026-82417) => NO THROW; output="a%5Bconstructor%5D%5BisBuffer%5D=x"
qs version: 6.16.0
```

##### Attack Chain

1. **Exposure:** A remote, unauthenticated request reaches an endpoint
whose handler eventually serializes attacker-influenced data with
`qs.stringify(obj, { arrayFormat: 'comma' })`.
2. **Control:** The attacker supplies data that becomes `{ a: [ {
toString: <non-callable value> } ] }`, either via `a[0][toString]=x`
parsed with `allowPrototypes`, or via a JSON body
`{"a":[{"toString":"x"}]}`.
3. **Path:** In `stringify`, the primitive/buffer guard at
`lib/stringify.js:134` is false for an array, so control reaches the
comma branch at `lib/stringify.js:149`.
4. **Guard:** On the `encodeValuesOnly` path, the closure `v == null ? v
: encoder(v)` at `lib/stringify.js:152-154` passes only
`null`/`undefined` through; a non-null object still reaches the encoder.
The default path skips that closure entirely and reaches `obj.join(',')`
at `lib/stringify.js:156` with no guard at all.
5. **Primitive:** The element is coerced to a string
(`Array.prototype.join`, or `String(str)` at `lib/utils.js:292`).
`ToPrimitive` skips the non-callable own `toString`, `valueOf` returns
the object, and a `TypeError` is thrown.
6. **Result:** The uncaught synchronous exception propagates out of the
serialization call, failing the request and, in a service without a
synchronous error boundary, crashing the process (denial of service).

##### Bypass Evidence

This is a different element type on the code path CVE-2026-8723
(GHSA-q8mj-m7cp-5q26) patche

> [!IMPORTANT]
> ✂ PR body was truncated to here.

---------

Co-authored-by: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-10-29 13:45:34 +00: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
Dane - AI (Mastra)
07c1bf2362
chore(deps): update dependency @ai-sdk/provider-utils@>=3.0.0 <3.0.38 to v3.0.42 (#28773) 2026-10-28 18:08:16 -07:00
Dane - AI (Mastra)
f2ad3844f3
chore(deps): update opentelemetry (#28581)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-10-28 16:48:54 -07: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
Dane - AI (Mastra)
29747ebd1d
chore(deps): update better-auth monorepo to v1.7.13 (#28538)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
|
[@better-auth/drizzle-adapter@<1.7.7](https://www.better-auth.com/docs/adapters/drizzle)
([source](https://redirect.github.com/better-auth/better-auth/tree/HEAD/packages/drizzle-adapter))
| pnpm-workspace.overrides | patch | [`1.7.7` →
`1.7.13`](https://renovatebot.com/diffs/npm/@better-auth%2fdrizzle-adapter@<1.7.7/1.7.7/1.7.13)
| `1.7.14` |
| [better-auth](https://better-auth.com)
([source](https://redirect.github.com/better-auth/better-auth/tree/HEAD/packages/better-auth))
| pnpm-workspace.overrides | patch | [`^1.7.7` →
`^1.7.13`](https://renovatebot.com/diffs/npm/better-auth/1.7.7/1.7.13) |
`1.7.14` |
| [better-auth](https://better-auth.com)
([source](https://redirect.github.com/better-auth/better-auth/tree/HEAD/packages/better-auth))
| dependencies | patch | [`^1.7.12` →
`^1.7.13`](https://renovatebot.com/diffs/npm/better-auth/1.7.12/1.7.13)
| `1.7.14` |

---

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

---

### Release Notes

<details>
<summary>better-auth/better-auth
(@&#8203;better-auth/drizzle-adapter@<1.7.7)</summary>

###
[`v1.7.13`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/drizzle-adapter/CHANGELOG.md#1713)

[Compare
Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.12...v1.7.13)

###
[`v1.7.12`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/drizzle-adapter/CHANGELOG.md#1712)

[Compare
Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.11...v1.7.12)

###
[`v1.7.11`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/drizzle-adapter/CHANGELOG.md#1711)

[Compare
Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.10...v1.7.11)

###
[`v1.7.10`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/drizzle-adapter/CHANGELOG.md#1710)

[Compare
Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.9...v1.7.10)

###
[`v1.7.9`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/drizzle-adapter/CHANGELOG.md#179)

[Compare
Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.8...v1.7.9)

###
[`v1.7.8`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/drizzle-adapter/CHANGELOG.md#178)

[Compare
Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.7...v1.7.8)

##### Patch Changes

-
[#&#8203;11512](https://redirect.github.com/better-auth/better-auth/pull/11512)
[`4175b34`](4175b34a8f)
Thanks [@&#8203;bytaesu](https://redirect.github.com/bytaesu)! - Align
the installed `@better-auth/utils` version with `better-call` while
accepting `^0.4.2 || ^0.5.0` across official package peers.

-
[#&#8203;11731](https://redirect.github.com/better-auth/better-auth/pull/11731)
[`0cfe07d`](0cfe07dccd)
Thanks
[@&#8203;gustavovalverde](https://redirect.github.com/gustavovalverde)!
- Drizzle schemas that store dates in string columns now work:
`timestamp({ mode: "string" })`, MySQL `datetime({ mode: "string" })`,
and SQLite `text()`, including on Cloudflare D1. Before, the adapter
passed a JavaScript `Date` to those columns. Drivers such as
postgres-js, better-sqlite3 and D1 rejected it, so email sign-up, social
sign-in and session refresh failed. Filtering on those columns, for
example when listing sessions, failed the same way. Better Auth now
writes these dates as UTC text and reads a value without a time zone as
UTC.

If your server's time zone is not UTC and you use node-postgres or
mysql2 with a string column that has no time zone, existing rows were
written in the server's local time. They now read back shifted by the
server's UTC offset, so sessions and verification codes created before
the upgrade can expire early or late. Schemas generated by the CLI use
date columns and are unaffected.

</details>

<details>
<summary>better-auth/better-auth (better-auth)</summary>

###
[`v1.7.13`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/better-auth/CHANGELOG.md#1713)

[Compare
Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.12...v1.7.13)

##### Patch Changes

-
[#&#8203;11985](https://redirect.github.com/better-auth/better-auth/pull/11985)
[`9cb95fe`](9cb95fe3d0)
Thanks [@&#8203;bytaesu](https://redirect.github.com/bytaesu)! - Type
declarations no longer list type-only exports as values, so importing
one as a value now fails type checking instead of failing at runtime.

- Updated dependencies
\[[`2712441`](2712441e35),
[`1cf4b2c`](1cf4b2c8f5)]:
-
[@&#8203;better-auth/core](https://redirect.github.com/better-auth/core)@1.7.13
-
[@&#8203;better-auth/drizzle-adapter](https://redirect.github.com/better-auth/drizzle-adapter)@1.7.13
-
[@&#8203;better-auth/kysely-adapter](https://redirect.github.com/better-auth/kysely-adapter)@1.7.13
-
[@&#8203;better-auth/memory-adapter](https://redirect.github.com/better-auth/memory-adapter)@1.7.13
-
[@&#8203;better-auth/mongo-adapter](https://redirect.github.com/better-auth/mongo-adapter)@1.7.13
-
[@&#8203;better-auth/prisma-adapter](https://redirect.github.com/better-auth/prisma-adapter)@1.7.13
-
[@&#8203;better-auth/telemetry](https://redirect.github.com/better-auth/telemetry)@1.7.13

###
[`v1.7.12`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/better-auth/CHANGELOG.md#1712)

[Compare
Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.11...v1.7.12)

##### Patch Changes

-
[#&#8203;11925](https://redirect.github.com/better-auth/better-auth/pull/11925)
[`fb48619`](fb48619083)
Thanks [@&#8203;bytaesu](https://redirect.github.com/bytaesu)! - The JWT
plugin now verifies JWTs and session cookie-cache JWTs with the
algorithm of the stored key instead of the one named in the token
header, and logs a warning when it signs or verifies a JWT without an
issuer or audience.

-
[#&#8203;11924](https://redirect.github.com/better-auth/better-auth/pull/11924)
[`681aa5c`](681aa5c443)
Thanks [@&#8203;bytaesu](https://redirect.github.com/bytaesu)! -
`auth.api.getSession()` now keeps the original database error as
`error.cause` when the session lookup fails, so server code can tell a
transient failure from a bug.

-
[#&#8203;11930](https://redirect.github.com/better-auth/better-auth/pull/11930)
[`b18e3b8`](b18e3b8fdf)
Thanks [@&#8203;bytaesu](https://redirect.github.com/bytaesu)! - OAuth
callbacks completed through the OAuth proxy now run the same checks as
the standard OAuth callback, including issuer and ID token nonce
validation.

- Updated dependencies
\[[`681aa5c`](681aa5c443),
[`4bc78ba`](4bc78baa83),
[`876608d`](876608da86),
[`083a743`](083a74329b),
[`492134a`](492134aeba)]:
-
[@&#8203;better-auth/core](https://redirect.github.com/better-auth/core)@1.7.12
-
[@&#8203;better-auth/drizzle-adapter](https://redirect.github.com/better-auth/drizzle-adapter)@1.7.12
-
[@&#8203;better-auth/kysely-adapter](https://redirect.github.com/better-auth/kysely-adapter)@1.7.12
-
[@&#8203;better-auth/memory-adapter](https://redirect.github.com/better-auth/memory-adapter)@1.7.12
-
[@&#8203;better-auth/mongo-adapter](https://redirect.github.com/better-auth/mongo-adapter)@1.7.12
-
[@&#8203;better-auth/prisma-adapter](https://redirect.github.com/better-auth/prisma-adapter)@1.7.12
-
[@&#8203;better-auth/telemetry](https://redirect.github.com/better-auth/telemetry)@1.7.12

###
[`v1.7.11`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/better-auth/CHANGELOG.md#1711)

[Compare
Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.10...v1.7.11)

##### Patch Changes

-
[#&#8203;10719](https://redirect.github.com/better-auth/better-auth/pull/10719)
[`bd65db0`](bd65db02c1)
Thanks [@&#8203;rendermani](https://redirect.github.com/rendermani)! -
Recognize PostgreSQL `int8` as a valid number type in migration diffs.
Kysely's introspector reports `pg_type.typname`, so Better Auth's own
`bigint` columns (such as the database-backed rate limiter's
`lastRequest`) came back as `int8` and were reported as a type mismatch
on every run.

-
[#&#8203;11521](https://redirect.github.com/better-auth/better-auth/pull/11521)
[`37a75c9`](37a75c95d1)
Thanks [@&#8203;aryan1306](https://redirect.github.com/aryan1306)! - Fix
database-backed rate limiting returning an excessively large
`X-Retry-After` header instead of the remaining seconds in the
rate-limit window.

- Updated dependencies
\[[`ce96569`](ce965696d1),
[`2f6ca3f`](2f6ca3f370),
[`dfd8dd2`](dfd8dd287a)]:
-
[@&#8203;better-auth/core](https://redirect.github.com/better-auth/core)@1.7.11
-
[@&#8203;better-auth/drizzle-adapter](https://redirect.github.com/better-auth/drizzle-adapter)@1.7.11
-
[@&#8203;better-auth/kysely-adapter](https://redirect.github.com/better-auth/kysely-adapter)@1.7.11
-
[@&#8203;better-auth/memory-adapter](https://redirect.github.com/better-auth/memory-adapter)@1.7.11
-
[@&#8203;better-auth/mongo-adapter](https://redirect.github.com/better-auth/mongo-adapter)@1.7.11
-
[@&#8203;better-auth/prisma-adapter](https://redirect.github.com/better-auth/prisma-adapter)@1.7.11
-
[@&#8203;better-auth/telemetry](https://redirect.github.com/better-auth/telemetry)@1.7.11

###
[`v1.7.10`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/better-auth/CHANGELOG.md#1710)

[Compare
Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.9...v1.7.10)

##### Patch Changes

-
[#&#8203;11393](https://redirect.github.com/better-auth/better-auth/pull/11393)
[`eebd47a`](eebd47a0e7)
Thanks [@&#8203;breken-ai](https://redirect.github.com/breken-ai)! - If
you use the `lastLoginMethod` plugin with `oneTap`, signing in through
Google One Tap now records `"google"`, the same value as signing in with
the Google button. Before, a One Tap sign-in recorded nothing: the
`better-auth.last_used_login_method` cookie kept its previous value or
stayed unset, and so did `user.lastLoginMethod` with `storeInDatabase`.

If your `customResolveMethod` includes a `/one-tap/callback` →
`"google"` workaround, remove that mapping; keep the resolver if it
handles other routes.

-
[#&#8203;11821](https://redirect.github.com/better-auth/better-auth/pull/11821)
[`09d07e6`](09d07e6fea)
Thanks
[@&#8203;gustavovalverde](https://redirect.github.com/gustavovalverde)!
- The Google One Tap prompt (`authClient.oneTap()` without `button`) no
longer calls `getSkippedReason()`, which Google's FedCM migration guide
says to remove. Before, it called it under any `promptOptions.fedCM`
setting.

A skipped prompt now ends the flow and calls `onPromptNotification`
right away instead of retrying. Google doesn't report why a prompt was
skipped, and a prompt the user closed stays hidden for Google's cooldown
period, so the retries could not bring it back. Dismissed prompts still
retry as before.

Google Identity Services still logs its FedCM migration warning, because
it does so whenever `prompt()` receives a listener. The plugin needs the
listener to track dismissals and skips, so the warning is expected and
safe to ignore.

-
[#&#8203;11819](https://redirect.github.com/better-auth/better-auth/pull/11819)
[`eaecb72`](eaecb7229e)
Thanks
[@&#8203;gustavovalverde](https://redirect.github.com/gustavovalverde)!
- Google One Tap now applies your
`socialProviders.google.mapProfileToUser` and custom `getUserInfo`, the
same as the standard Google sign-in. Before, One Tap ignored both and
always stored the token's `name`, `email`, `email_verified`, and
`picture` claims.

If you configured either one, users created through One Tap now get the
fields it returns, including any extra fields such as a first name from
`given_name`. Returning users are updated from it on each One Tap
sign-in when `socialProviders.google.overrideUserInfoOnSignIn` is on,
and so are existing users that One Tap links when
`account.accountLinking.updateUserInfoOnLink` is on. Check that your
mapper suits One Tap users too.

If you set `socialProviders.google.overrideUserInfoOnSignIn`, One Tap
sign-ins now update returning users' name, image, and email from Google,
as the redirect sign-in already does.

Setups that configure none of these, including `oneTap({ clientId })`
with no Google provider, are unaffected.

-
[#&#8203;11820](https://redirect.github.com/better-auth/better-auth/pull/11820)
[`88c9a37`](88c9a37856)
Thanks
[@&#8203;gustavovalverde](https://redirect.github.com/gustavovalverde)!
- If you set `autoSelect` or `cancelOnTapOutside` on `oneTapClient()`,
the One Tap prompt and the Sign in with Google button now use them.
Before, only values passed to `authClient.oneTap()` took effect, so with
`autoSelect: true` on the plugin, returning users still had to pick an
account. Values passed to `oneTap()` still override the plugin's. Apps
that set these options only on `oneTap()`, or not at all, are
unaffected.

-
[#&#8203;11696](https://redirect.github.com/better-auth/better-auth/pull/11696)
[`0cf1f7c`](0cf1f7c6bc)
Thanks [@&#8203;drewsephski](https://redirect.github.com/drewsephski)! -
You can now import the One Tap plugin from
`better-auth/plugins/one-tap`, as you can for other plugins. Previously
this import failed with a "not exported" error. Imports from
`better-auth/plugins` and `better-auth/client/plugins` are unchanged.

-
[#&#8203;11822](https://redirect.github.com/better-auth/better-auth/pull/11822)
[`414e845`](414e845f12)
Thanks
[@&#8203;gustavovalverde](https://redirect.github.com/gustavovalverde)!
- You can now import the Captcha and OpenAPI plugins from
`better-auth/plugins/captcha` and `better-auth/plugins/open-api`, as you
can for other plugins. Previously these imports failed with a "not
exported" error. Imports from `better-auth/plugins` are unchanged.

If your TypeScript config uses `"moduleResolution": "node"` (or
`node10`), `better-auth/plugins/multi-session` and `better-auth/test`
now resolve their types. Previously TypeScript reported that it could
not find their declarations. Projects using `bundler`, `node16`, or
`nodenext` resolution are unaffected.

- Updated dependencies
\[[`fedd055`](fedd05586c),
[`bbd0a19`](bbd0a19c30),
[`99cdfe7`](99cdfe7c2e)]:
-
[@&#8203;better-auth/core](https://redirect.github.com/better-auth/core)@1.7.10
-
[@&#8203;better-auth/mongo-adapter](https://redirect.github.com/better-auth/mongo-adapter)@1.7.10
-
[@&#8203;better-auth/drizzle-adapter](https://redirect.github.com/better-auth/drizzle-adapter)@1.7.10
-
[@&#8203;better-auth/kysely-adapter](https://redirect.github.com/better-auth/kysely-adapter)@1.7.10
-
[@&#8203;better-auth/memory-adapter](https://redirect.github.com/better-auth/memory-adapter)@1.7.10
-
[@&#8203;better-auth/prisma-adapter](https://redirect.github.com/better-auth/prisma-adapter)@1.7.10
-
[@&#8203;better-auth/telemetry](https://redirect.github.com/better-auth/telemetry)@1.7.10

###
[`v1.7.9`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/better-auth/CHANGELOG.md#179)

[Compare
Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.8...v1.7.9)

##### Patch Changes

-
[#&#8203;11766](https://redirect.github.com/better-auth/better-auth/pull/11766)
[`6edaa61`](6edaa61e62)
Thanks [@&#8203;bytaesu](https://redirect.github.com/bytaesu)! - An
`onAPIError.onError` handler that throws or rejects no longer fails the
request or causes an unhandled promise rejection. The error is logged
and the original error response is returned. Async handlers now finish
before the response is sent.

- Updated dependencies \[]:
-
[@&#8203;better-auth/core](https://redirect.github.com/better-auth/core)@1.7.9
-
[@&#8203;better-auth/drizzle-adapter](https://redirect.github.com/better-auth/drizzle-adapter)@1.7.9
-
[@&#8203;better-auth/kysely-adapter](https://redirect.github.com/better-auth/kysely-adapter)@1.7.9
-
[@&#8203;better-auth/memory-adapter](https://redirect.github.com/better-auth/memory-adapter)@1.7.9
-
[@&#8203;better-auth/mongo-adapter](https://redirect.github.com/better-auth/mongo-adapter)@1.7.9
-
[@&#8203;better-auth/prisma-adapter](https://redirect.github.com/better-auth/prisma-adapter)@1.7.9
-
[@&#8203;better-auth/telemetry](https://redirect.github.com/better-auth/telemetry)@1.7.9

###
[`v1.7.8`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/better-auth/CHANGELOG.md#178)

[Compare
Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.7...v1.7.8)

##### Patch Changes

-
[#&#8203;11512](https://redirect.github.com/better-auth/better-auth/pull/11512)
[`4175b34`](4175b34a8f)
Thanks [@&#8203;bytaesu](https://redirect.github.com/bytaesu)! - Align
the installed `@better-auth/utils` version with `better-call` while
accepting `^0.4.2 || ^0.5.0` across official package peers.

-
[#&#8203;11565](https://redirect.github.com/better-auth/better-auth/pull/11565)
[`b1cfc1e`](b1cfc1ec1e)
Thanks [@&#8203;bytaesu](https://redirect.github.com/bytaesu)! - Omit
non-returned custom fields from inferred output schema types.

-
[#&#8203;11540](https://redirect.github.com/better-auth/better-auth/pull/11540)
[`678c555`](678c555beb)
Thanks [@&#8203;bytaesu](https://redirect.github.com/bytaesu)! - Align
cookie security attributes with RFC 6265bis.

-
[#&#8203;10591](https://redirect.github.com/better-auth/better-auth/pull/10591)
[`193efff`](193efff3d2)
Thanks [@&#8203;kdelay](https://redirect.github.com/kdelay)! - Expired
or revoked sessions now clear stale cookies when using `customSession`.

-
[#&#8203;11625](https://redirect.github.com/better-auth/better-auth/pull/11625)
[`369176e`](369176e7f6)
Thanks
[@&#8203;gustavovalverde](https://redirect.github.com/gustavovalverde)!
- Fixed single-use checks for apps that set
`advanced.database.generateId: "uuid"`. Default id generation is
unaffected, and no migration is needed.

- On SQLite and MySQL, SAML sign-in, DPoP-bound requests checked against
the database replay store, `private_key_jwt` client authentication, and
magic link or email OTP sign-ins that adopt an unverified account failed
with a `NOT NULL` error on the `id` column. They now work. SIWE sign-in
ignored the `email` field and used the wallet-derived address; it now
uses the supplied email when no other account has it.
- On Postgres and MongoDB, a reused SAML assertion, DPoP proof, or
client assertion was accepted. Each one is now accepted only once.

With `generateId: "serial"`, behavior is unchanged: these checks need
string ids, and Better Auth now logs a warning the first time one of
these flows runs.

-
[#&#8203;11391](https://redirect.github.com/better-auth/better-auth/pull/11391)
[`352d04c`](352d04c8eb)
Thanks [@&#8203;breken-ai](https://redirect.github.com/breken-ai)! - Fix
`customSession` treating session lookup failures as signed-out users.
Server-side `getSession` now throws an API error, and HTTP clients
receive an error response.

-
[#&#8203;11750](https://redirect.github.com/better-auth/better-auth/pull/11750)
[`e9d9921`](e9d9921217)
Thanks
[@&#8203;gustavovalverde](https://redirect.github.com/gustavovalverde)!
- Generic OAuth providers configured with `discoveryUrl` now recover
without a restart when discovery fails at startup. Since 1.7.3, a
provider whose discovery request failed at boot (for example, because
the identity provider was still starting) was skipped, and every sign-in
returned `PROVIDER_NOT_FOUND` until the app restarted. Better Auth now
retries discovery on the next sign-in, callback, or account-linking
request for that provider, and the provider works as soon as discovery
succeeds. While discovery keeps failing, sign-in and account linking
still return `PROVIDER_NOT_FOUND` and callbacks redirect with
`error=oauth_provider_not_found`, and each request may wait up to 10
seconds for the retry.

-
[#&#8203;11549](https://redirect.github.com/better-auth/better-auth/pull/11549)
[`1bd5c37`](1bd5c37884)
Thanks [@&#8203;bytaesu](https://redirect.github.com/bytaesu)! - Fix
`lastLoginMethod` failing sign-in when `cookieName` or `maxAge` is
explicitly `undefined`.

-
[#&#8203;11174](https://redirect.github.com/better-auth/better-auth/pull/11174)
[`766cfb3`](766cfb3f42)
Thanks [@&#8203;Bekacru](https://redirect.github.com/Bekacru)! - Stop
double-decoding `callbackURL`, `newUserCallbackURL` and
`errorCallbackURL` on magic link verify so percent-encoded characters in
callback query params are preserved.

-
[#&#8203;11505](https://redirect.github.com/better-auth/better-auth/pull/11505)
[`c46992f`](c46992f6ce)
Thanks [@&#8203;bytaesu](https://redirect.github.com/bytaesu)! -
Preserve the referenced model and field keys when generating Kysely
migrations, so custom table names that match another model key produce
the intended foreign keys.

-
[#&#8203;11718](https://redirect.github.com/better-auth/better-auth/pull/11718)
[`1d95ebf`](1d95ebf3fe)
Thanks [@&#8203;bytaesu](https://redirect.github.com/bytaesu)! - Fix
missing device sessions and failed automatic session switching after
cache eviction when `storeSessionInDatabase` is enabled and
`preserveSessionInDatabase` is disabled. Automatic switching now follows
the order of held sessions, and large lists or sessions whose users no
longer exist no longer cause valid sessions to disappear.

-
[#&#8203;10266](https://redirect.github.com/better-auth/better-auth/pull/10266)
[`c68b2cd`](c68b2cd8a5)
Thanks [@&#8203;shiminshen](https://redirect.github.com/shiminshen)! -
Projects that enable `exactOptionalPropertyTypes` can use the
`oauthProvider()` and `mcp()` plugins again. Since 1.7.0, adding either
plugin to `betterAuth()` failed to type-check with a TS2322 error.

-
[#&#8203;11637](https://redirect.github.com/better-auth/better-auth/pull/11637)
[`2627237`](2627237fae)
Thanks
[@&#8203;gustavovalverde](https://redirect.github.com/gustavovalverde)!
- Projects using the organization plugin with `skipLibCheck: false` no
longer get `TS2536: Type '"role"' cannot be used to index type ...` from
`crud-members.d.mts`. The `role` returned by `getActiveMemberRole` is
now typed as the organization's role names directly. Projects with
`skipLibCheck: true` (the default in most templates) were unaffected.

-
[#&#8203;10866](https://redirect.github.com/better-auth/better-auth/pull/10866)
[`3d1f008`](3d1f008ae3)
Thanks [@&#8203;heliohm](https://redirect.github.com/heliohm)! - The
organization plugin no longer pulls every zod locale into server
bundles.

-
[#&#8203;11626](https://redirect.github.com/better-auth/better-auth/pull/11626)
[`67743ed`](67743ed6e8)
Thanks
[@&#8203;gustavovalverde](https://redirect.github.com/gustavovalverde)!
- Password resets and password changes no longer keep the new password
when revoking the user's sessions fails. With
`revokeSessionsOnPasswordReset` or `revokeOtherSessions`, database
sessions are revoked and the password is saved in one transaction when
transactions are enabled for the adapter, so a failure leaves the old
password and sessions in place. Sessions in secondary storage are still
removed after commit, on a best-effort basis. This covers
`/reset-password`, the email OTP and phone number reset endpoints, and
`/change-password`. `onPasswordReset` now runs after sessions are
revoked, so a throwing callback no longer leaves them active, and a
callback that lists the user's sessions no longer sees the revoked ones.

-
[#&#8203;10698](https://redirect.github.com/better-auth/better-auth/pull/10698)
[`f0ce580`](f0ce580fbd)
Thanks
[@&#8203;jashkarangiya](https://redirect.github.com/jashkarangiya)! - If
you set the phone number plugin's `verifyOTP` option,
`/phone-number/reset-password` now checks the code with it, as
`/phone-number/verify` already does. Before, password reset always
compared the code with the one Better Auth generated, so apps that
verify codes through a provider such as Twilio Verify could not reset
passwords. If your `sendPasswordResetOTP` sends the code Better Auth
generates, make sure `verifyOTP` accepts that code. Apps that don't set
`verifyOTP` are unaffected.

-
[#&#8203;11646](https://redirect.github.com/better-auth/better-auth/pull/11646)
[`07a0938`](07a09389ef)
Thanks
[@&#8203;gustavovalverde](https://redirect.github.com/gustavovalverde)!
- A failed password reset no longer spends the reset link or OTP.
`/reset-password`, `/email-otp/reset-password` and
`/phone-number/reset-password` now check the token or code without
consuming it, validate and hash the new password, then consume it in the
same transaction as the session revocation and password write. A
rejected password, such as one refused by `haveIBeenPwned`, always
leaves the link or OTP usable. A later failure, such as a failed session
revocation or password write, also leaves it usable when the adapter's
transactions are enabled and verification values are stored in the
database (the default without secondary storage, or
`verification.storeInDatabase: true`). Wrong codes still count against
the OTP attempt limit.

-
[#&#8203;11643](https://redirect.github.com/better-auth/better-auth/pull/11643)
[`92dfcea`](92dfceaa14)
Thanks
[@&#8203;gustavovalverde](https://redirect.github.com/gustavovalverde)!
- A sign-up that fails after its session is created no longer leaves
that session in secondary storage. With `storeSessionInDatabase` enabled
and `preserveSessionInDatabase` off, the secondary-storage copy is
written only after the sign-up commits, and listing a user's sessions
now reads the database, so a session whose cached copy failed to write
is still listed and revoked. With other secondary-storage settings,
sign-up, passkey registration and SSO sign-in with `resolveUser` keep
the session write inside their transaction, so a storage failure rolls
back the new user, passkey or account instead of keeping them without a
session. A session revoked by a `session.create.after` database hook
also stays revoked.

-
[#&#8203;11488](https://redirect.github.com/better-auth/better-auth/pull/11488)
[`e15625f`](e15625ff38)
Thanks [@&#8203;Bekacru](https://redirect.github.com/Bekacru)! -
SvelteKit 3 projects can now install Better Auth without
`--legacy-peer-deps`. The `@sveltejs/kit` peer range now includes
`^3.0.0`; SvelteKit 2 projects are unaffected.

- Updated dependencies
\[[`4175b34`](4175b34a8f),
[`435645e`](435645e5eb),
[`369176e`](369176e7f6),
[`0cfe07d`](0cfe07dccd),
[`9904b29`](9904b29ece),
[`e78f15a`](e78f15aa31),
[`60525e0`](60525e08fd),
[`8133265`](813326536c),
[`ea85d13`](ea85d133d6),
[`916ef5c`](916ef5c530),
[`1d95ebf`](1d95ebf3fe),
[`6214610`](62146108c7),
[`67743ed`](67743ed6e8),
[`c46d2a6`](c46d2a6ac4),
[`92dfcea`](92dfceaa14),
[`a9f455d`](a9f455d586),
[`9725f1b`](9725f1b361)]:
-
[@&#8203;better-auth/core](https://redirect.github.com/better-auth/core)@1.7.8
-
[@&#8203;better-auth/drizzle-adapter](https://redirect.github.com/better-auth/drizzle-adapter)@1.7.8
-
[@&#8203;better-auth/kysely-adapter](https://redirect.github.com/better-auth/kysely-adapter)@1.7.8
-
[@&#8203;better-auth/memory-adapter](https://redirect.github.com/better-auth/memory-adapter)@1.7.8
-
[@&#8203;better-auth/mongo-adapter](https://redirect.github.com/better-auth/mongo-adapter)@1.7.8
-
[@&#8203;better-auth/prisma-adapter](https://redirect.github.com/better-auth/prisma-adapter)@1.7.8
-
[@&#8203;better-auth/telemetry](https://redirect.github.com/better-auth/telemetry)@1.7.8

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 6am every weekday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

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

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend Renovate
CLI](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODYuNCIsInVwZGF0ZWRJblZlciI6IjQ0LjE5Mi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWF0aW9uIl19-->

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-10-28 19:24:36 +00:00
Ward Peeters
f1964c0256
ci(e2e): publish a single e2e-test dist-tag for every suite (#28688)
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-10-28 14:09:29 +01: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
Dane - AI (Mastra)
40a522c142
chore(deps): update build tools (#27997) 2026-10-22 14:33:21 +02:00
shreyas-mastra
a15ea70e71
security: Vanta remediation (2026-10-21) (#28018) 2026-10-21 09:12:30 -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
Shane Thomas
49c4b0dfa5
fix(deployer-cloudflare): stub @opentelemetry/api so Wrangler builds work with posthog-node 5.56 (#27079)
Fixes #27037.

`posthog-node` 5.56.1 (published today, pulled in by `@mastra/core`)
added a lazy `import('@opentelemetry/api')` for an optional peer
dependency. Wrangler tries to bundle every import it finds, so any
Cloudflare build of a project that doesn't install `@opentelemetry/api`
now fails with `Could not resolve "@opentelemetry/api"`. That's what is
turning `E2E deployers` red on every PR, and fresh user projects hit the
same error.

When no `node_modules` at or above the build output contains
`@opentelemetry/api`, the Cloudflare deployer now writes a small stub
and aliases the package to it in the generated Wrangler config, the same
way it already stubs `typescript`, `execa` and `module`:

```js
// .mastra/output/opentelemetry-api-stub.mjs
throw new Error('@opentelemetry/api is not installed');
```

A dynamic import of it rejects just like a missing optional peer does,
and `posthog-node` already catches that (it only uses the API for
`$exception` events, which Mastra doesn't send). Projects that install
`@opentelemetry/api`, or alias it themselves, get no stub and no alias.

I checked this against a real fixture built from a local registry with
`posthog-node@5.56.1`: without the alias, `wrangler deploy --dry-run`
fails with the same two errors as CI, and with it both `wrangler.json`
and the project-root `wrangler.jsonc` build. The cloudflare deployer E2E
(`wrangler dev`, `/test` and `/api/tools`) passes locally, and I ran the
stub inside workerd to confirm the import rejects and PostHog still
sends events. New unit tests cover the missing, installed and
user-aliased cases.


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

## ELI5

Some Cloudflare builds fail because a package looks for an optional tool
that the project may not have installed. This change makes Wrangler use
a small stub only when that tool is missing, so the build can continue
without changing projects that install it or provide their own alias.

## Changes

- The Cloudflare deployer checks for `@opentelemetry/api` in
`node_modules` directories from the output directory upward.
- If the package is missing and the user has not configured an alias,
the deployer writes a stub that throws an installation error and adds
the stub alias to both generated Wrangler configurations.
- Unit tests cover the missing-package, installed-package, and
user-alias cases. The Cloudflare E2E test checks the generated alias.
- A patch changeset documents the fix for the Wrangler resolution
failure reported in `#27037`.

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

---------

Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
Co-authored-by: Mastra CI <ci@mastra.ai>
Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
2026-10-14 16:47:18 -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
4573441fde
fix(deps): Vanta 2026-10-09 security updates (handlebars, hono, follow-redirects, @whatwg-node/fetch) (#26532) 2026-10-09 17:32:23 -07:00
shreyas-mastra
ec1b661764
security: Vanta remediation pass 2026-10-08 (http-cache-semantics) (#26430) 2026-10-08 07:51:11 -07:00
shreyas-mastra
bf0dd07091
security: Vanta remediation pass 2026-10-05 (#25966)
Update 2026-10-06 (commits added on this branch; origin/main merged in
to clear the lockfile conflict)

Dependabot opened new alerts overnight (4 critical). This pass adds:
- braintrust ^3.24.0 -> ^3.36.0 in @mastra/braintrust. braintrust 3.27
pulled in simple-git 3.36.0, which has critical and high advisories
(GHSA-x6jw-m9v5-85vh, GHSA-v5rq-49vh-5v5c via @simple-git/argv-parser
1.1.1, GHSA-858h-whjf-mvg5, GHSA-g4wm-2vf7-vfgr). Those are only fixed
in simple-git 4. braintrust 3.36 no longer depends on simple-git, so
simple-git drops out of the lockfile. @mastra/braintrust only uses
initLogger and currentSpan.
- wrangler ^4.110.0 -> ^4.147.0 (devDependency of
@mastra/deployer-cloudflare, type-only import). This moves workerd
1.20260708.1 -> 1.20261001.1 on that chain (Aikido medium). workerd
1.20260714.1 is still there through the miniflare 4 devDependency in
stores/cloudflare and stores/cloudflare-d1.
- source-map-js 1.2.1 -> 1.2.2 (GHSA-68fv-2mgg-jv7q, high). Added the
floor `source-map-js@>=1.0.0 <1.2.2: 1.2.2` in the root and in 15 nested
pnpm workspaces (9 e2e projects, mastracode/web, otel-bridge agent-hub
and hono-multi, agent-builder, mcp and memory integration-tests).
postcss, css-tree, magicast and @tailwindcss/node all declare ^1.2.x. In
the customer-refund template, a plain npm lock refresh was enough (no
override).
- postcss-selector-parser: raised the existing floor from `>=7.1.0
<7.1.3: 7.1.3` to `>=7.1.0 <7.1.6: 7.1.6` (GHSA-rj75-hqrm-r3gf, medium).
- observability/_examples/otel-bridge/hono-multi: tsx catalog ^4.21.0 ->
^4.23.15. tsx 4.23 uses esbuild ~0.28, so esbuild 0.27.2 is gone (Aikido
high and low, fixed in 0.28.1).
- Changeset `.changeset/vanta-2026-10-06.md`: patch for
@mastra/braintrust.

Still not fixed (as of 2026-10-06)
- sprintf-js 1.0.3/1.1.3 (GHSA-hp3w-g68c-fv3c): no patched release.
- postcss-selector-parser 6.0.10/6.1.3: the fix is only in 7.1.6.
@tailwindcss/typography 0.5.20 pins 6.0.10 exactly, and cssnano
6/postcss-calc 9 use ^6.
- katex 0.16.47 (GHSA-238p-pmpm-9mq7, low): the fix is in 0.18.2.
mermaid 12.1.0 still declares ^0.16.47.
- http-cache-semantics: 4.3.0 is now older than 24h, but it still
doesn't touch the max-stale path, and the advisory still lists no
patched version.
- braces 3.0.3 has no new release.
- The rest of the deferred list below is unchanged.

---

Vanta remediation for 2026-10-05. The finding list was rebuilt from
GitHub Dependabot, OSV-scanner on every tracked lockfile, and Aikido
intel (full intel.aikido.dev feed re-pulled today). It is not a Vanta
export.

What changed

Package bumps
- probe-image-size ^7.2.3 -> ^7.4.0 in @mastra/memory
(GHSA-gjj5-9665-rwrc, high).
- verdaccio ^6.10.4 -> ^6.10.5 in the 9 e2e projects. That moves
@verdaccio/core to 8.3.2 and js-yaml 5.2.2 -> 5.4.1
(GHSA-r3ph-w7gj-g6xm, medium).
- smol-toml 1.8.0 -> 1.9.0 pin in @mastra/code-sdk.

Root lockfile refresh (no range changes)
- serialize-javascript 7.0.5 -> 7.1.2, shell-quote 1.10.0 -> 1.12.0, ws
7.5.11 -> 7.5.13, enhanced-resolve -> 5.26.0, fs-extra 11.3.5 -> 11.4.1,
@sinclair/typebox 0.27.8 -> 0.27.12, @zip.js/zip.js 2.8.26 -> 2.23.0,
memfs/@jsonjoy.com/fs-snapshot 4.57.2 -> 4.80.0, @vue/* 3.5.38 ->
3.5.43.

pnpm overrides, for parents that pin an exact vulnerable version. All
stay in the same major.
- modern-tar 0.7.7 (just-bash), smol-toml 1.9.0 (just-bash,
@blaxel/core, @react-grab/cli, modal), strnum 2.4.2 (fast-xml-parser
5.10.1), inline-style-parser 0.2.9 (style-to-object 1.0.11),
`@opentelemetry/configuration>yaml` 2.9.1 (sdk-node 0.221).

Nested lockfiles
- shell-quote floor raised from <1.10.0 to <1.11.0 in examples/agent,
examples/voice-agent and otel-bridge/agent-hub.
- yaml 2.9.0 -> 2.9.1 in e2e-tests/pkg-outputs, examples/durable-agents,
mastracode/web, packages/mcp/integration-tests and the customer-refund
template.
- next 16.3.6 -> 16.3.8 in packages/memory/integration-tests.
- customer-refund template: tinypool 2.1.0 -> 2.1.2 through an override
scoped to oxfmt. oxfmt 0.59 pins it exactly, and bumping oxfmt would
change the template's format check.

Not fixed here
- braces 3.0.3 (GHSA-vfj7-8cjw-p6xm) and http-cache-semantics 4.2.0
(GHSA-ch52-4w7c-c8xp): no patched release. http-cache-semantics 4.3.0 is
outside the advisory range, but it doesn't change the max-stale code
path, so bumping to it would only hide the alert.
- extract-zip 2.0.1: no patched release. It comes from the webdriverio
chain that #25855 removes.
- workerd 1.20260708/1.20260714 (Aikido medium): miniflare 4.x stops at
workerd 1.20260730. The fix needs miniflare 5, which is only published
as an alpha.
- Major-only: @ai-sdk/provider-utils 2.2.8 / ai 4.3.19 (AI SDK v4),
@opentelemetry/core 1.30.1, esbuild 0.18/0.25/0.27.0 (convex pins 0.27.0
exactly), js-yaml 3, brace-expansion 1/2, uuid 11, zod 3, pino 8/9,
undici 6, plus other Aikido lows.
- websocket-driver 0.7.5: Aikido says the fix is 0.8.x, but no 0.8 is
published on npm.

The changeset is a patch for @mastra/memory and @mastra/code-sdk.


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

This PR updates several dependencies that have security fixes. It also
adds version rules so nested projects use safer versions of related
packages.

## Changes

- Updates `probe-image-size` in `@mastra/memory` to `^7.4.0` and pins
`smol-toml` in `@mastra/code-sdk` to `1.9.0`.
- Updates Verdaccio to `^6.10.5` in nine end-to-end test projects.
- Raises `shell-quote` overrides to `1.11.0` and adds overrides for
transitive dependencies, including `yaml`, `source-map-js`,
`postcss-selector-parser`, `modern-tar`, `smol-toml`, `strnum`,
`inline-style-parser`, and `tinypool`.
- Updates `braintrust` to `^3.36.0`, `wrangler` to `^4.147.0`, and `tsx`
to `^4.23.15`.
- Adds patch changesets for `@mastra/memory`, `@mastra/code-sdk`, and
`@mastra/braintrust`. The changesets report no API changes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-10-06 10:35:09 -04:00
shreyas-mastra
4358322b7b
chore(deps): override upstream-blocked vulnerable transitive deps (#25853) 2026-10-02 18:03:50 -07:00
shreyas-mastra
dd16328874
security: Vanta remediation pass 2026-10-02 (#25816) 2026-10-02 12:12:12 -07:00
shreyas-mastra
1d9c1ecf81
chore(e2e): drop unused npm-cli-login (removes request/uuid@3) (#25828)
`npm-cli-login` is declared in six e2e projects (commonjs,
create-mastra, deployers, monorepo, no-bundling, type-check) but nothing
imports or calls it. It was the only path to `npm-registry-client` ->
`request@2.88.2` -> `uuid@3.4.0`, which Dependabot and OSV keep flagging
and which have no fixed release.

This removes the dependency and refreshes the six nested lockfiles. No
test code changes.

Not one of the current Vanta findings, but it was on the deferred list
from #25816.


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

## ELI5

Six e2e test projects no longer use `npm-cli-login`. This removes an
unused dependency and refreshes each project’s lockfile.

## Changes

- Removed `npm-cli-login` from the `commonjs`, `create-mastra`,
`deployers`, `monorepo`, `no-bundling`, and `type-check` projects.
- Refreshed the six nested lockfiles to remove the dependency and its
transitive packages, including the reported path to `uuid@3.4.0`.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-10-02 14:17:40 -04: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
6c82d74c13
security: scrub nested proxy-addr@2.0.7 + floor @fastify/proxy-addr 5.1.1 (Vanta zero) (#24597)
## Summary
- Scrub **all** nested `pnpm-lock.yaml` files that still pinned
`proxy-addr@2.0.7` (e2e + examples), via nested `pnpm-workspace.yaml` /
`package.json` overrides + lock regenerate.
- Floor **`@fastify/proxy-addr@<=5.1.0 → 5.1.1`** (AIKIDO-2026-296561 /
CVE-2026-92395) in root + nested otel-bridge examples.
- Expand Vanta/Aikido floors (overrides allowed): `fast-uri` 3.1.8 /
4.2.1, `ip-address` 10.7.2, `compression` 1.8.2, `@fastify/busboy`
3.2.2, `@fastify/forwarded` 3.0.2, `systeminformation` 5.33.13,
`tinypool` 2.1.2, `axios` 1.20.0, `better-auth` ^1.6.26, `jose`
≥4.14→6.2.12, `ajv` 8.20.0, `hono` <4.13.8→4.13.8, `zod` 4.x→4.6.5.

## Dependabot expectation after merge
| Alert | Expectation |
|---|---|
| `extract-zip@2.0.1` (High ×2) | **Remain open** — no patched release
(`<=2.0.1`). Pulled by `@puppeteer/browsers`. Residual; dismiss with “no
patched release / transitive via puppeteer” or replace puppeteer browser
fetch path later. |
| `@ai-sdk/provider-utils` <3.0.28 (Low ×4) | **3.x/4.x/5.x lines
already floored**. Residual on **`2.2.8`** in `packages/_vendored/ai_v4`
+ AI SDK v4 consumers — bumping to 3.x breaks AI SDK v4 contract. Keep /
dismiss as risk-accepted until vendored AI SDK v4 is retired. |

## Residuals (mastra Aikido / intentional)
- **`zod@3.25.76`** — AIKIDO fixes are 4.x-only; zod-v3 e2e + AI SDK v4
peers still need 3.x.
- **`raw-body@2.5.3` / `3.0.2`** — only fix is 4.0.0 (major); leave
until Express/body-parser adopt it.
- **`undici@6.28.1` / `7.29.1`** — some AIKIDO IDs only fixed on newer
majors; same-major already at current floors.
- **`yargs@17.7.3`** — fix is 18.1.0 (major).
- **`extract-zip@2.0.1`**, **`@ai-sdk/provider-utils@2.2.8`** — see
Dependabot table.

## Test plan
- [x] `pnpm install --frozen-lockfile` at repo root
- [x] No `proxy-addr@2.0.7` in any lockfile on branch
- [x] Root lock has `@fastify/proxy-addr@5.1.1`
- [ ] Required CI green on this PR (do not merge)

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

## ELI5

This PR tells the project to use safer versions of several third-party
packages. It also updates nested dependency locks so security scans no
longer find the affected vulnerable versions.

## Summary

- Added or updated pnpm overrides across the root project, e2e
workspaces, examples, and OTEL bridge examples.
- Removed references to `proxy-addr@2.0.7` from affected nested
lockfiles.
- Raised dependency floors for:
  - `@fastify/proxy-addr`
  - `fast-uri`
  - `ip-address`
  - `compression`
  - `@fastify/busboy`
  - `@fastify/forwarded`
  - `systeminformation`
  - `tinypool`
  - `axios`
  - `better-auth`
  - `jose`
  - `ajv`
  - `hono`
  - `zod`
- Updated `minimumReleaseAgeExclude` entries for selected patched
package versions.
- Added workspace overrides for related transitive dependencies,
including `qs`, `brace-expansion`, `nanoid`, `js-yaml`, `adm-zip`, and
`image-size`.
- Updated OTEL bridge build permissions for `esbuild` and `protobufjs`.
- Residual findings remain for dependencies such as `extract-zip@2.0.1`
and `@ai-sdk/provider-utils@2.2.8` because of compatibility or patch
availability constraints.
- Test results and CI completion status are not established by the
supplied change summaries.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-22 10:57:10 -04:00
shreyas-mastra
a2c9876f0d
security: Vanta direct-dependency bumps (no overrides) (#24308) 2026-09-17 12:24:05 -07:00
Ward Peeters
8616fda3ac
fix(deployer): install bundles from source lockfiles (#24226)
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-09-17 09:20:33 +02:00
mastra-platform[bot]
cac4f09428
fix(e2e): stop transient npm registry failures from breaking E2E test installs (#21681)
Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
Co-authored-by: Mastra Code (anthropic/claude-opus-5) <noreply@mastra.ai>
2026-08-17 17:04:13 -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)
1aad6198fd
chore(deps): lock file maintenance (#19903) 2026-07-22 17:05:00 +02:00
Dane - AI (Mastra)
de2e407f7a
chore(deps): update dependency typescript to v7 (#19271)
Co-authored-by: wardpeet <ward@coding-tech.com>
2026-07-20 14:15:43 +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)
b44fed7da6
chore(deps): update e2e tests (major) (#17968)
> ℹ️ **Note**
> 
> This PR body was truncated due to platform limits.

This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [@hono/node-server](https://redirect.github.com/honojs/node-server) |
dependencies | major | [`^1.19.14` →
`^2.0.8`](https://renovatebot.com/diffs/npm/@hono%2fnode-server/1.19.14/2.0.8)
| `2.0.9` |
| [date-fns](https://redirect.github.com/date-fns/date-fns) |
dependencies | major | [`2.30.0` →
`4.4.0`](https://renovatebot.com/diffs/npm/date-fns/2.30.0/4.4.0) | |
| [form-data](https://redirect.github.com/form-data/form-data) |
dependencies | major | [`^2.5.6` →
`^4.0.6`](https://renovatebot.com/diffs/npm/form-data/2.5.6/4.0.6) | |
| [round-to](https://redirect.github.com/sindresorhus/round-to) |
dependencies | major | [`^6.0.0` →
`^7.0.0`](https://renovatebot.com/diffs/npm/round-to/6.0.0/7.0.0) | |
| [verdaccio-auth-memory](https://verdaccio.org)
([source](https://redirect.github.com/verdaccio/verdaccio/tree/HEAD/packages/plugins/auth-memory))
| devDependencies | major | [`^10.3.3` →
`^13.0.3`](https://renovatebot.com/diffs/npm/verdaccio-auth-memory/10.3.3/13.0.3)
| |
| [verdaccio-auth-memory](https://verdaccio.org)
([source](https://redirect.github.com/verdaccio/verdaccio/tree/HEAD/packages/plugins/auth-memory))
| dependencies | major | [`^10.3.3` →
`^13.0.3`](https://renovatebot.com/diffs/npm/verdaccio-auth-memory/10.3.3/13.0.3)
| |

---

### Release Notes

<details>
<summary>honojs/node-server (@&#8203;hono/node-server)</summary>

###
[`v2.0.8`](https://redirect.github.com/honojs/node-server/releases/tag/v2.0.8)

[Compare
Source](https://redirect.github.com/honojs/node-server/compare/v2.0.6...v2.0.8)

#### What's Changed

- ci(release): add `--no-git-checks` option for `pnpm stage publish` by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;369](https://redirect.github.com/honojs/node-server/pull/369)

**Full Changelog**:
<https://github.com/honojs/node-server/compare/v2.0.7...v2.0.8>

###
[`v2.0.6`](https://redirect.github.com/honojs/node-server/releases/tag/v2.0.6)

[Compare
Source](https://redirect.github.com/honojs/node-server/compare/v2.0.5...v2.0.6)

#### What's Changed

- ci: publish to npm from CI with OIDC trusted publishing and bump `np`
by [@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;361](https://redirect.github.com/honojs/node-server/pull/361)
- ci: use npm Staged publishing by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;364](https://redirect.github.com/honojs/node-server/pull/364)
- fix: preserve status and statusText when cloning a Response with
liveheaders by [@&#8203;usualoma](https://redirect.github.com/usualoma)
in
[#&#8203;363](https://redirect.github.com/honojs/node-server/pull/363)

**Full Changelog**:
<https://github.com/honojs/node-server/compare/v2.0.5...v2.0.6>

###
[`v2.0.5`](https://redirect.github.com/honojs/node-server/releases/tag/v2.0.5)

[Compare
Source](https://redirect.github.com/honojs/node-server/compare/v2.0.4...v2.0.5)

#### Security Fix

Fixed a security issue in Serve Static Middleware where prefix-mounted
middleware could be bypassed on Windows. This only affects applications
running on Windows that use Serve Static Middleware. Affected users are
encouraged to upgrade to this version.

See GHSA-frvp-7c67-39w9 for details.

###
[`v2.0.4`](https://redirect.github.com/honojs/node-server/releases/tag/v2.0.4)

[Compare
Source](https://redirect.github.com/honojs/node-server/compare/v2.0.3...v2.0.4)

#### What's Changed

- fix: stub ws types to prevent them leaking in public types by
[@&#8203;BlankParticle](https://redirect.github.com/BlankParticle) in
[#&#8203;359](https://redirect.github.com/honojs/node-server/pull/359)

**Full Changelog**:
<https://github.com/honojs/node-server/compare/v2.0.3...v2.0.4>

###
[`v2.0.3`](https://redirect.github.com/honojs/node-server/releases/tag/v2.0.3)

[Compare
Source](https://redirect.github.com/honojs/node-server/compare/v2.0.2...v2.0.3)

#### What's Changed

- chore(ci): update GitHub Actions versions by
[@&#8203;BlankParticle](https://redirect.github.com/BlankParticle) in
[#&#8203;352](https://redirect.github.com/honojs/node-server/pull/352)
- docs: Align the `ServeStaticOptions` comment with the current spec by
[@&#8203;kakkokari-gtyih](https://redirect.github.com/kakkokari-gtyih)
in
[#&#8203;356](https://redirect.github.com/honojs/node-server/pull/356)
- fix: preserve headers mutated after raw Response construction by
[@&#8203;abdulmunimjemal](https://redirect.github.com/abdulmunimjemal)
in
[#&#8203;357](https://redirect.github.com/honojs/node-server/pull/357)

#### New Contributors

- [@&#8203;kakkokari-gtyih](https://redirect.github.com/kakkokari-gtyih)
made their first contribution in
[#&#8203;356](https://redirect.github.com/honojs/node-server/pull/356)
- [@&#8203;abdulmunimjemal](https://redirect.github.com/abdulmunimjemal)
made their first contribution in
[#&#8203;357](https://redirect.github.com/honojs/node-server/pull/357)

**Full Changelog**:
<https://github.com/honojs/node-server/compare/v2.0.2...v2.0.3>

###
[`v2.0.2`](https://redirect.github.com/honojs/node-server/releases/tag/v2.0.2)

[Compare
Source](https://redirect.github.com/honojs/node-server/compare/v2.0.1...v2.0.2)

#### What's Changed

- fix(serve-static): stop using file birthtime for Date header by
[@&#8203;usualoma](https://redirect.github.com/usualoma) in
[#&#8203;350](https://redirect.github.com/honojs/node-server/pull/350)
- fix: handle serveStatic stream fallback backpressure by
[@&#8203;usualoma](https://redirect.github.com/usualoma) in
[#&#8203;351](https://redirect.github.com/honojs/node-server/pull/351)

**Full Changelog**:
<https://github.com/honojs/node-server/compare/v2.0.1...v2.0.2>

###
[`v2.0.1`](https://redirect.github.com/honojs/node-server/releases/tag/v2.0.1)

[Compare
Source](https://redirect.github.com/honojs/node-server/compare/v2.0.0...v2.0.1)

#### What's Changed

- fix: forward Hono response headers during WebSocket upgrade by
[@&#8203;gentamura](https://redirect.github.com/gentamura) in
[#&#8203;346](https://redirect.github.com/honojs/node-server/pull/346)

#### New Contributors

- [@&#8203;gentamura](https://redirect.github.com/gentamura) made their
first contribution in
[#&#8203;346](https://redirect.github.com/honojs/node-server/pull/346)

**Full Changelog**:
<https://github.com/honojs/node-server/compare/v2.0.0...v2.0.1>

###
[`v2.0.0`](https://redirect.github.com/honojs/node-server/releases/tag/v2.0.0)

[Compare
Source](https://redirect.github.com/honojs/node-server/compare/v1.19.14...v2.0.0)

Now, we release the second major version of the Hono Node.js adapter 🎉 🎉
🎉

#### The Hono Node.js adapter is now up to 2.3x faster

v2 of the [Hono Node.js
adapter](https://redirect.github.com/honojs/node-server) reaches **up to
2.3x the throughput of v1** — that's the peak number, measured on the
body-parsing scenario of
[`bun-http-framework-benchmark`](https://redirect.github.com/SaltyAom/bun-http-framework-benchmark).
The other scenarios (Ping, Query) get a smaller but real boost too.

Install or upgrade with:

```bash
npm i @&#8203;hono/node-server@latest
```

#### v2

The Node.js adapter is going through a major version bump to v2. That
said, the public API stays the same — the headline of this release is
the large performance improvement described above.

#### What does the Node.js adapter do?

A quick refresher on what the Node.js adapter actually does — it exists
so that Hono applications can run on Node.js. Hono is built on the Web
Standards APIs, but you cannot serve those directly from Node.js. The
adapter bridges the Web Standards APIs and the Node.js APIs, which is
what lets a Hono app — and more generally a Web-Standards-style app —
run on top of Node.js.

If you write the following code and run `node ./index.js`, a server
starts up on `localhost:3000`. And it really is plain Node.js
underneath.

```ts
import { Hono } from 'hono'
import { serve } from '@&#8203;hono/node-server'

const app = new Hono()
app.get('/', (c) => c.text('Hello World!'))

serve(app)
```

#### The early performance story

The very first implementation of the Node.js adapter looked roughly like
this in pseudocode:

```ts
export const getRequestListener = (fetchCallback: FetchCallback) => {
  return async (incoming: IncomingMessage, outgoing: ServerResponse) => {
    const method = incoming.method || 'GET'
    const url = `http://${incoming.headers.host}${incoming.url}`

    // ...

    const init = {
      method: method,
      headers: headerRecord,
    }

    // app is a Hono application
    const res = await app.fetch(new Request(url, init))
    const buffer = await res.arrayBuffer()
    outgoing.writeHead(res.status, resHeaderRecord)
    outgoing.end(new Uint8Array(buffer))
  }
}
```

So the flow was:

- a request comes in as an `IncomingMessage`
- it gets converted into a `Request` object and handed to the app
- the `Response` returned by the app is written back to the outgoing
`ServerResponse`

In diagram form:

```
IncomingMessage => Request => app => Response => ServerResponse
```

This is, frankly, inefficient. So whenever Hono went head-to-head with
other Node.js frameworks we kept losing — all we could do was shrug and
say "well, it's slow on Node.js."

#### Introducing LightweightRequest / LightweightResponse

The huge step forward that fixed this was a legendary PR from
[@&#8203;usualoma](https://redirect.github.com/usualoma):

[#&#8203;95](https://redirect.github.com/honojs/node-server/pull/95)

It made things up to **2.7x faster**.


![SS](https://storage.googleapis.com/zenn-user-upload/a1f2363426cf-20260417.png)

I previously wrote about this in detail in this post:

<https://zenn.dev/yusukebe/articles/7ac501716ae1f7?locale=en>

In short, the trick is wonderfully simple. It just follows the golden
rule of performance tuning: *don't do work you don't have to do*.
Lightweight versions of `Request` and `Response` are constructed and
used first — and that path is fast. Only when something actually needs
the contents of the `Request`, e.g. when you call `req.json()`, does a
real `new Request()` get instantiated under the hood and used from then
on. The result is fast, and behavior stays correct.

#### …but body parsing was still slow

"Fast" here was for a very simple "Hello World" benchmark — a GET that
just returns text.

There are many ways to benchmark, but the one we tend to reach for is
this:

<https://github.com/SaltyAom/bun-http-framework-benchmark>

It tests three scenarios: **Ping**, **Query**, and **Body**. Let's pit
Hono against the major Node.js frameworks:


![SS](https://storage.googleapis.com/zenn-user-upload/94b9545318dd-20260417.png)

As you can see, the **Body** case is very slow. The handler being
measured is essentially this:

```ts
import { Hono } from 'hono'
import { serve } from '@&#8203;hono/node-server'

const app = new Hono()

app.post('/json', async (c) => {
  const data = await c.req.json()
  return c.json(data)
})

serve(app)
```

`c.req.json()` is the slow part. The reason is well understood: inside
the Node.js adapter, when `json()` is called the LightweightRequest path
can't be used, so a real `new Request()` ends up being constructed.

#### perf: optimize request body reading

The 2.3x figure above comes from one PR specifically — [PR
#&#8203;301](https://redirect.github.com/honojs/node-server/pull/301) by
[@&#8203;mgcrea](https://redirect.github.com/mgcrea):

The PR bundles a few changes, but the key one is *"optimize request body
reading"*. Quoting from the PR description:

> The fix overrides `text()`, `json()`, `arrayBuffer()`, and `blob()` on
the request prototype to read directly from the Node.js
`IncomingMessage` using event-based I/O.

In other words, in the `json()` case above, we no longer convert into a
`Request` at all — we read the body straight off the Node.js APIs. A
classic fast path. That alone gives a large jump in body-parsing
throughput.

The same PR also includes two other tuning improvements:

- **URL construction fast-path** — skip building a `URL` object except
in edge cases
- **`buildOutgoingHttpHeaders` optimization** — skip the `set-cookie`
header comparison when there are no cookies

v2 ships several other performance PRs as well —
`newHeadersFromIncoming` and signal fast-paths, `Response` fast-paths
and `responseViaCache` improvements, method-key caching, a regex-based
`buildUrl` rewrite, and more (see the full list below). They all add up,
but
[#&#8203;301](https://redirect.github.com/honojs/node-server/issues/301)
is by far the largest single contributor, which is why it gets the
spotlight here.

#### v2 performance

Now let's measure the final v2 build.

First, comparing against the v1 Node.js adapter. `dev` here is v2.
**Body** improves by 2.3x, and the other scenarios get faster too:


![SS](https://storage.googleapis.com/zenn-user-upload/575829c94f70-20260417.png)

Next, the same comparison against other frameworks. With the **Body**
score jumping, Hono passes Koa and Fastify and **takes first place**:


![SS](https://storage.googleapis.com/zenn-user-upload/8ec1ae1c0590-20260417.png)

> \[!CAUTION]
> **Updated**: The h3 entry in the earlier framework comparison was an
older snapshot. Its successor
[`srvx`](https://redirect.github.com/h3js/srvx) now ships a
`FastResponse` mode, and in srvx's own benchmark
([h3js/srvx/test/bench-node](https://redirect.github.com/h3js/srvx/tree/main/test/bench-node))
`srvx-fast` (≈68,560 req/sec) beats `hono-fast` (≈59,477 req/sec). The
methodology is different from the benchmarks above, but worth being
upfront: with `FastResponse` enabled, `srvx` is faster than Hono v2 in
that setup.

#### Breaking changes

There are two breaking changes in v2.

##### Dropped support for Node.js v18

Node.js v18 reached end-of-life, so v2 requires **Node.js v20 or
later**.

##### Removed the Vercel adapter

The Vercel adapter (`@hono/node-server/vercel`) has been removed. It is
no longer needed for Vercel's modern runtimes, so the recommendation is
to deploy without it.

If you still need the previous behavior, the old adapter was a one-liner
on top of `getRequestListener` and you can write the same thing in your
own project:

```ts
import type { Hono } from 'hono'
import { getRequestListener } from '@&#8203;hono/node-server'

export const handle = (app: Hono) => {
  return getRequestListener(app.fetch)
}
```

Then use it the same way you used `handle` from
`@hono/node-server/vercel` before.

#### All changes

A full list of what landed in [PR
#&#8203;316](https://redirect.github.com/honojs/node-server/pull/316).

##### Performance

- perf: optimize request body reading and URL construction
([#&#8203;301](https://redirect.github.com/honojs/node-server/pull/301))
by [@&#8203;mgcrea](https://redirect.github.com/mgcrea)
- perf: optimize `buildOutgoingHttpHeaders` for the common case
([#&#8203;301](https://redirect.github.com/honojs/node-server/pull/301))
by [@&#8203;mgcrea](https://redirect.github.com/mgcrea)
- perf(request): cache method key
([#&#8203;319](https://redirect.github.com/honojs/node-server/pull/319))
by [@&#8203;yusukebe](https://redirect.github.com/yusukebe)
- perf(url): mark host with port `:` as safe host
([#&#8203;320](https://redirect.github.com/honojs/node-server/pull/320))
by [@&#8203;yusukebe](https://redirect.github.com/yusukebe)
- perf(request): optimize `newHeadersFromIncoming` and signal fast-path
([#&#8203;332](https://redirect.github.com/honojs/node-server/pull/332))
by
[@&#8203;GavinMeierSonos](https://redirect.github.com/GavinMeierSonos)
- perf(response, listener): `Response` fast-paths and `responseViaCache`
improvements
([#&#8203;333](https://redirect.github.com/honojs/node-server/pull/333))
by
[@&#8203;GavinMeierSonos](https://redirect.github.com/GavinMeierSonos)
- perf: replace `Uint8Array` lookup tables with regex in `buildUrl`
([#&#8203;345](https://redirect.github.com/honojs/node-server/pull/345))
by [@&#8203;usualoma](https://redirect.github.com/usualoma)

##### Features

- feat: first-class support for WebSockets
([#&#8203;328](https://redirect.github.com/honojs/node-server/pull/328))
by [@&#8203;BlankParticle](https://redirect.github.com/BlankParticle)

##### Breaking changes

- feat: end support for Node.js v18
([#&#8203;317](https://redirect.github.com/honojs/node-server/pull/317))
by [@&#8203;yusukebe](https://redirect.github.com/yusukebe)
- feat!: obsolete the Vercel adapter
([#&#8203;335](https://redirect.github.com/honojs/node-server/pull/335))
by [@&#8203;yusukebe](https://redirect.github.com/yusukebe)

##### Fixes & refactors

- fix: more strictly determine when `new URL()` should be used
([#&#8203;310](https://redirect.github.com/honojs/node-server/pull/310))
by [@&#8203;usualoma](https://redirect.github.com/usualoma)
- refactor: improved compatibility with the Web Standard `Request`
object
([#&#8203;311](https://redirect.github.com/honojs/node-server/pull/311))
by [@&#8203;usualoma](https://redirect.github.com/usualoma)
- fix(request): return an error object instead of throwing
([#&#8203;318](https://redirect.github.com/honojs/node-server/pull/318))
by [@&#8203;usualoma](https://redirect.github.com/usualoma)
- refactor: improve handling of null body in response
([#&#8203;341](https://redirect.github.com/honojs/node-server/pull/341))
by [@&#8203;usualoma](https://redirect.github.com/usualoma)
- fix: ensure close handler is attached for `Blob`/`ReadableStream`
cacheable responses
([#&#8203;342](https://redirect.github.com/honojs/node-server/pull/342))
by [@&#8203;usualoma](https://redirect.github.com/usualoma)
- fix: improve `Response.json()` and `Response.redirect()` spec
compliance and efficiency
([#&#8203;343](https://redirect.github.com/honojs/node-server/pull/343))
by [@&#8203;usualoma](https://redirect.github.com/usualoma)

##### Build & tooling

- build: migrate from tsup to tsdown
([#&#8203;302](https://redirect.github.com/honojs/node-server/pull/302))
by [@&#8203;tommy-ish](https://redirect.github.com/tommy-ish)
- feat(test): migrate Jest to Vitest
([#&#8203;303](https://redirect.github.com/honojs/node-server/pull/303))
by [@&#8203;koralle](https://redirect.github.com/koralle)
- fix: only build exported entrypoints
([#&#8203;323](https://redirect.github.com/honojs/node-server/pull/323))
by [@&#8203;BlankParticle](https://redirect.github.com/BlankParticle)
- chore: add `type: module` to `package.json`
([#&#8203;336](https://redirect.github.com/honojs/node-server/pull/336))
by [@&#8203;yusukebe](https://redirect.github.com/yusukebe)

#### Wrap-up

So that's v2 of the Node.js adapter — significantly faster, with the
same API. Just upgrading should give you a real performance boost. No
more "Hono is slow on Node.js" excuses. Please use Hono — fast not only
on Cloudflare, Bun, and Deno, but now also on Node.js.

</details>

<details>
<summary>date-fns/date-fns (date-fns)</summary>

###
[`v4.4.0`](https://redirect.github.com/date-fns/date-fns/releases/tag/v4.4.0)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v4.3.0...v4.4.0)

This release revisits the approach to CDN usage and introduces a new
package, `@date-fns/cdn` and deprecates the `date-fns` CDN scripts. It
allowed reducing the zipped package size from `5.83 MB` down to `3.96
MB` without introducing any breaking changes.

In `v5.0.0-alpha.0` where CDN scripts are completely removed from
`date-fns` the change is more significant and brings the zipped package
size down to `2.89 MB`.

It is just the first step in optimizing the package size. Expect further
size reduction in the future v4 and v5 versions.

##### Changed

- **DEPRECATED**: The `date-fns` CDN scripts are now deprecated and will
be removed in the next major release. Please switch to the new
`@date-fns/cdn` package for CDN usage.

- Removed CDN source maps to reduce the package size. If you rely on
them, please switch to the new `@date-fns/cdn` package that still
includes them.

###
[`v4.3.0`](https://redirect.github.com/date-fns/date-fns/releases/tag/v4.3.0)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v4.2.1...v4.3.0)

Kudos to [@&#8203;ImRodry](https://redirect.github.com/ImRodry) and
[@&#8203;puneetdixit200](https://redirect.github.com/puneetdixit200) for
their contributions.

##### Fixed

- Fixed missing modularized optimization fallback ([for Next.js and
others](https://x.com/kossnocorp/status/1731181274579325260)). See
[#&#8203;4193](https://x.com/kossnocorp/status/1731181274579325260).

- Fixed `pt` locale first day of week to be Sunday. See
[#&#8203;4195](https://redirect.github.com/date-fns/date-fns/pull/4195)
by [@&#8203;ImRodry](https://redirect.github.com/ImRodry).

- Fixed `zh-CN`, `zh-HK`, and `zh-TW` locale month parsing for October,
November, and December. See
[#&#8203;4194](https://redirect.github.com/date-fns/date-fns/pull/4194)
by [@&#8203;puneetdixit200](https://redirect.github.com/puneetdixit200).

###
[`v4.2.1`](https://redirect.github.com/date-fns/date-fns/releases/tag/v4.2.1)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v4.2.0...v4.2.1)

##### Fixed

- Fixed type definitions missing in v4.2.0 due to TypeScript
misconfiguration.

###
[`v4.2.0`](https://redirect.github.com/date-fns/date-fns/releases/tag/v4.2.0)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v4.1.0...v4.2.0)

This is a minor release in all senses, it only includes documentation
updates (first of many) that points to the new [You Don't Need
date-fns\*](https://date-fns.org/you-dont-need-date-fns) page.

\* Not really

##### Changed

- Added Temporal API references to the JSDoc annotations of `add`,
`addBusinessDays`, and `addDays`.

###
[`v4.1.0`](https://redirect.github.com/date-fns/date-fns/releases/tag/v4.1.0)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v4.0.0...v4.1.0)

This release adds time zone support to format functions (that I somehow
missed when working on the feature) and fixes a few bugs.

Make sure also upgrade `TZDate` to v1.0.2 as it [includes a bunch of
critical bug
fixes](https://redirect.github.com/date-fns/tz/blob/main/CHANGELOG.md#v102---2024-09-14).

##### Fixed

- Fixed internal `constructFrom` throwing an exception on `null`
arguments. While `null` isn't allowed, the functions should rather
return `Invalid Date` or `NaN` in such cases. See
[#&#8203;3885](https://redirect.github.com/date-fns/date-fns/issues/3885).

##### Added

- Added missing time zone support to `format`, `formatISO`,
`formatISO9075`, `formatRelative` and `formatRFC3339`. See
[#&#8203;3886](https://redirect.github.com/date-fns/date-fns/issues/3886).

###
[`v4.0.0`](https://redirect.github.com/date-fns/date-fns/releases/tag/v4.0.0)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.6.0...v4.0.0)

I have great news! First, ten years after its release, date-fns finally
gets first-class time zone support.

Another great news is that there aren't many breaking changes in this
release. All of them are type-related and will affect only those
explicitly using internal date-fns types. Finally, it has been less than
a year since the last major release, which is an improvement over the
previous four years between v2 and v3. I plan on keeping the pace and
minimizing breaking changes moving forward.

[Read more about the release in the announcement blog
post](https://blog.date-fns.org/v40-with-time-zone-support/).

\- [Sasha @&#8203;kossnocorp](https://twitter.com/kossnocorp)

##### Added

- Added time zones support via
[`@date-fns/tz`](https://redirect.github.com/date-fns/tz)'s `TZDate`
class and `tz` helper function. See its
[README](https://redirect.github.com/date-fns/tz) for the details about
the API.

- All relevant functions now accept the context `in` option, which
allows to specify the time zone to make the calculations in. If the
function also returns a date, it will be in the specified time zone:

  ```ts
  import { addDays, startOfDay } from "date-fns";
  import { tz } from "@&#8203;date-fns/tz";

  startOfDay(addDays(Date.now(), 5, { in: tz("Asia/Singapore") }));
  //=> "2024-09-16T00:00:00.000+08:00"
  ```

In the example, `addDays` will get the current date and time in
Singapore and add 5 days to it. `startOfDay` will inherit the date type
and return the start of the day in Singapore.

##### Changed

- The function arguments, as well as `Interval`'s `start` and `end`, now
can be of different types, allowing you to mix `UTCDate`, `TZDate`,
`Date`, and other extensions, as well as primitives (strings and
numbers).

The functions will normalize these values, make calculations, and return
the result in the same type, preventing any bugs caused by the
discrepancy. If passed, the type will be inferred from the context `in`
option or the first encountered argument object type. The `Interval`'s
`start` and `end` will be considered separately, starting from `start`.

In the given example, the result will be in the `TZDate` as the first
argument is a number, and the `start` takes precedence over the `end`.

  ```ts
  clamp(Date.now(), {
    start: new TZDate(start, "Asia/Singapore"),
    end: new UTCDate(),
  });
  //=> TZDate
  ```

- **BREAKING**: This release contains a bunch of types changes that
should not affect the library's expected usage. The changes are
primarily internal and nuanced, so rather than listing them here, I
recommend you run the type checker after the upgrade. If there are
unfixable problems, please [open an
issue](https://redirect.github.com/date-fns/date-fns/issues/new).

- **BREAKING**: The package is now ESM-first. CommonJS is still
supported, and it should not affect most users, but it might break in
certain environments. If you encounter any issues, please [report
them](https://redirect.github.com/date-fns/date-fns/issues/new).

##### Fixed

- Fixed CDN build compatibility with jQuery and other tools that expose
`$` by properly wrapping the code in an IIFE.

###
[`v3.6.0`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.6.0)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.5.0...v3.6.0)

On this release worked
[@&#8203;kossnocorp](https://redirect.github.com/kossnocorp) and
[@&#8203;world1dan](https://redirect.github.com/world1dan). Also, thanks
to [@&#8203;seated](https://redirect.github.com/seated) [for sponsoring
me](https://redirect.github.com/sponsors/kossnocorp).

##### Fixed

- [Fixed weeks in the Belarisuan locale's
`formatDistance`.](https://redirect.github.com/date-fns/date-fns/pull/3720)

##### Added

- [Added CDN versions of modules compatible with older
browsers.](https://redirect.github.com/date-fns/date-fns/pull/3737) [See
the CDN guide.](https://date-fns.org/docs/CDN)

###
[`v3.5.0`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.5.0)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.4.0...v3.5.0)

Kudos to [@&#8203;fturmel](https://redirect.github.com/fturmel),
[@&#8203;kossnocorp](https://redirect.github.com/kossnocorp),
[@&#8203;makstyle119](https://redirect.github.com/makstyle119),
[@&#8203;tan75](https://redirect.github.com/tan75),
[@&#8203;marcreichel](https://redirect.github.com/marcreichel),
[@&#8203;tareknatsheh](https://redirect.github.com/tareknatsheh) and
[@&#8203;audunru](https://redirect.github.com/audunru) for working on
the release. Also, thanks to
[@&#8203;seated](https://redirect.github.com/seated) [for sponsoring
me](https://redirect.github.com/sponsors/kossnocorp).

##### Fixed

- [Fixed functions that use current date internally and made them work
with date extensions like
`UTCDate`.](https://redirect.github.com/date-fns/date-fns/issues/3730)

- [Fixed `daysToWeeks` returning negative
0.](882ced61c6)

- [Fixed German grammar for the "half a minute"
string.](https://redirect.github.com/date-fns/date-fns/pull/3715)

##### Added

- [Added the Northern Sámi (`se`)
locale.](https://redirect.github.com/date-fns/date-fns/pull/3724)

- Added the `constructNow` function that creates the current date using
the passed reference date's constructor.

###
[`v3.4.0`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.4.0)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.3.1...v3.4.0)

Kudos to [@&#8203;kossnocorp](https://redirect.github.com/kossnocorp),
[@&#8203;sakamossan](https://redirect.github.com/sakamossan), and
[@&#8203;Revan99](https://redirect.github.com/Revan99) for working on
the release. Also, thanks to
[@&#8203;seated](https://redirect.github.com/seated) for sponsoring me.

##### Added

- [Added `roundToNearestHours`
function.](https://redirect.github.com/date-fns/date-fns/pull/2752)

- [Added Central Kurdish (`ckb`)
locale.](https://redirect.github.com/date-fns/date-fns/pull/3421)

###
[`v3.3.1`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.3.1)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.3.0...v3.3.1)

Kudos to [@&#8203;kossnocorp](https://redirect.github.com/kossnocorp)
and [@&#8203;fturmel](https://redirect.github.com/fturmel) for working
on the release.

##### Fixed

- Fixed DST issue in `getOverlappingDaysInIntervals`, resulting in an
inconsistent number of days returned for intervals starting and ending
in different DST periods.

- Fixed functions incorrectly using `trunc` instead of `round`. The bug
was introduced in v3.3.0. The affected functions:
`differenceInCalendarDays`, `differenceInCalendarISOWeeks`,
`differenceInCalendarWeeks`, `getISOWeek`, `getWeek`, and
`getISOWeeksInYear`.

###
[`v3.3.0`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.3.0)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.2.0...v3.3.0)

On this release worked
[@&#8203;kossnocorp](https://redirect.github.com/kossnocorp),
[@&#8203;TheKvikk](https://redirect.github.com/TheKvikk),
[@&#8203;fturmel](https://redirect.github.com/fturmel) and
[@&#8203;ckcherry23](https://redirect.github.com/ckcherry23).

##### Fixed

- Fixed the bug in `getOverlappingDaysInIntervals` caused by incorrect
sorting of interval components that led to 0 for timestamps of different
lengths.

- Fixed bugs when working with negative numbers caused by using
`Math.floor` (`-1.1` → `-2`) instead of `Math.trunc` (`-1.1` → `-1`).
Most of the conversion functions (i.e., `hoursToMinutes`) were affected
when passing some negative fractional input. Also, some other functions
that could be possibly affected by unfortunate timezone/date
combinations were fixed.

The functions that were affected: `format`, `parse`, `getUnixTime`,
`daysToWeeks`, `hoursToMilliseconds`, `hoursToMinutes`,
`hoursToSeconds`, `milliseconds`, `minutesToMilliseconds`,
`millisecondsToMinutes`, `monthsToYears`, `millisecondsToHours`,
`millisecondsToSeconds`, `minutesToHours`, `minutesToSeconds`,
`yearsToQuarters`, `yearsToMonths`, `yearsToDays`, `weeksToDays`,
`secondsToMinutes`, `secondsToHours`, `quartersToYears`,
`quartersToMonths` and `monthsToQuarters`.

- [Fixed the Czech locale's `formatDistance` to include `1` in
`formatDistance`.](https://redirect.github.com/date-fns/date-fns/pull/3269)

- Fixed `differenceInSeconds` and other functions relying on rounding
options that can produce a negative 0.

- [Added a preprocessor to the locales API, enabling fixing a
long-standing bug in the French
locale.](https://redirect.github.com/date-fns/date-fns/pull/3662)
([#&#8203;1391](https://redirect.github.com/date-fns/date-fns/issues/1391))

- Added missing `yearsToDays` to the FP submodule.

- Made functions using rounding methods always return `0` instead of
`-0`.

##### Added

- [Added `format` alias `formatDate` with corresponding
`FormatDateOptions`
interface](https://redirect.github.com/date-fns/date-fns/pull/3653).

###
[`v3.2.0`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.2.0)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.1.0...v3.2.0)

This release is brought to you by
[@&#8203;kossnocorp](https://redirect.github.com/kossnocorp),
[@&#8203;fturmel](https://redirect.github.com/fturmel),
[@&#8203;grossbart](https://redirect.github.com/grossbart),
[@&#8203;MelvinVermeer](https://redirect.github.com/MelvinVermeer), and
[@&#8203;jcarstairs-scottlogic](https://redirect.github.com/jcarstairs-scottlogic).

##### Fixed

- Fixed types compatibility with Lodash's `flow` and fp-ts's `pipe`.
([#&#8203;3641](https://redirect.github.com/date-fns/date-fns/issues/3641))

- [Fixed inconsistent behavior of
`roundToNearestMinutes`.](https://redirect.github.com/date-fns/date-fns/pull/3132)

##### Added

- Added exports of `format`, `lightFormat`, and `parse` internals that
enable 3rd-parties to consume those.

###
[`v3.1.0`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.1.0)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.0.6...v3.1.0)

This release is brought to you by
[@&#8203;kossnocorp](https://redirect.github.com/kossnocorp),
[@&#8203;makstyle119](https://redirect.github.com/makstyle119) and
[@&#8203;dmgawel](https://redirect.github.com/dmgawel).

##### Fixed

- [Fixed the plural form of weeks in
Swedish](https://redirect.github.com/date-fns/date-fns/pull/3448).

##### Added

- [Added `yearsToDays`
function](https://redirect.github.com/date-fns/date-fns/pull/3540).

- Added a warning about using protected tokens like `Y` or `D` without
passing a corresponding option. [See
#&#8203;2950](https://redirect.github.com/date-fns/date-fns/issues/2950).

###
[`v3.0.6`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.0.6)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.0.5...v3.0.6)

On this release worked
[@&#8203;imwh0im](https://redirect.github.com/imwh0im),
[@&#8203;jamcry](https://redirect.github.com/jamcry) and
[@&#8203;tyrw](https://redirect.github.com/tyrw).

##### Fixed

- [Fixed bug in `areIntervalsOverlapping` caused by incorrect
sorting](https://redirect.github.com/date-fns/date-fns/pull/3628)
([#&#8203;3614](https://redirect.github.com/date-fns/date-fns/issues/3614))

###
[`v3.0.5`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.0.5)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.0.4...v3.0.5)

This release is brought to you by
[@&#8203;goku4199](https://redirect.github.com/goku4199).

##### Fixed

- [Fixed internal `toDate` not processing string arguments
properly](https://redirect.github.com/date-fns/date-fns/pull/3626)

###
[`v3.0.4`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.0.4)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.0.3...v3.0.4)

This release is brought to you by
[@&#8203;kossnocorp](https://redirect.github.com/kossnocorp).

##### Fixed

- Fixed isWithinInterval bug caused by incorrectly sorting dates
([#&#8203;3623](https://redirect.github.com/date-fns/date-fns/issues/3623)).

###
[`v3.0.3`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.0.3)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.0.2...v3.0.3)

##### Fixed

- Rolled back pointing ESM types to the same `d.ts` files. Instead, now
it copies the content to avoid [the Masquerading as CJS
problem](https://redirect.github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md)
reported by "Are the types wrong?".

###
[`v3.0.2`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.0.2)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.0.1...v3.0.2)

##### Fixed

- Fixed [yet another issue caused by ESM
types](https://redirect.github.com/date-fns/date-fns/issues/3620) by
pointing to the same `d.ts` files.

- [Added `package.json` to
exports](https://redirect.github.com/date-fns/date-fns/pull/3601) to
provide access to tooling.

- [Fixed TypeScript 5.4 build
break](https://redirect.github.com/date-fns/date-fns/pull/3598) by using
the latest type names.

###
[`v3.0.1`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.0.1)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v3.0.0...v3.0.1)

#### Fixed

- [Fixed an
error](https://redirect.github.com/date-fns/date-fns/pull/3618) in
certain environments caused by `d.mts` files exporting only types.

###
[`v3.0.0`](https://redirect.github.com/date-fns/date-fns/releases/tag/v3.0.0)

[Compare
Source](https://redirect.github.com/date-fns/date-fns/compare/v2.30.0...v3.0.0)

##### Changed

- **BREAKING**: date-fns is now a dual-package with the support of both
ESM and CommonJS. The files exports are now explicitly in the
`package.json`. The ESM files now have `.mjs` extension.

- **BREAKING**: The package now has a flat structure, meaning functions
are now named `node_modules/date-fns/add.mjs`, locales are
`node_modules/date-fns/locale/enUS.mjs`, etc.

- **BREAKING**: Now all file content’s exported via named exports
instead of `export default`, which will require change direct imports
i.e. `const addDays = require(‘date-fns/addDays’)` to `const { addDays }
= require(‘date-fns/addDays’)`.

- **BREAKING**: TypeScript types are now completely rewritten, check out
the `d.ts` files for more information.

- **BREAKING**: `constants` now is not exported via the index, so to
import one use `import { daysInYear } from "date-fns/constants";`. It
improves compatibility with setups that modularize imports [like
Next.js](https://twitter.com/kossnocorp/status/1731181274579325260).

- **BREAKING**: Functions now don’t check the number of passed
arguments, delegating this task to type checkers. The functions are now
slimmer because of this.

- **BREAKING** The arguments are not explicitly converted to the target
types. Instead, they are passed as is, delegating this task to type
checkers.

- **BREAKING**: Functions that accept `Interval` arguments now do not
throw an error if the start is before the end and handle it as a
negative interval. If one of the properties in an `Invalid Date`, these
functions also do not throw and handle them as invalid intervals.

- `areIntervalsOverlapping` normalize intervals before comparison, so `{
start: a, end: b }` is practically equivalent to `{ start: b, end: a }`.
When comparing intervals with one of the properties being `Invalid
Date`, the function will return false unless the others are valid and
equal, given the `inclusive` option is passed. Otherwise, and when even
one of the intervals has both properties invalid, the function will
always return `false`.

- `getOverlappingDaysInIntervals` now normalizes intervals before
comparison, so `{ start: a, end: b }` is practically equivalent to `{
start: b, end: a }`. If any of the intervals’ properties is an `Invalid
Date`, the function will always return 0.

- `isWithinInterval` now normalizes intervals before comparison, so `{
start: a, end: b }` is practically equivalent to `{ start: b, end: a }`.
If any of the intervals’ properties is an `Invalid Date`, the function
will always return false.

- `intervalToDuration` now returns negative durations for negative
intervals. If one or both of the interval properties are invalid, the
function will return an empty object.

- The eachXOfInterval functions (`eachDayOfInterval`,
`eachHourOfInterval`, `eachMinuteOfInterval`, `eachMonthOfInterval`,
`eachWeekendOfInterval`, `eachWeekendOfMonth`, `eachWeekendOfYear`,
`eachWeekOfInterval`, `eachYearOfInterval`) now return a reversed array
if the passed interval’s start is after the end. Invalid properties will
result in an empty array. Functions that accept the `step` option now
also allow negative, 0, and NaN values and return reversed results if
the step is negative and an empty array otherwise.

- **BREAKING**: `intervalToDuration` now skips 0 values in the resulting
duration, resulting in more compact objects with only relevant
properties.

- **BREAKING**: `roundToNearestMinutes` now returns `Invalid Date`
instead of throwing an error when `nearestTo` option is less than 1 or
more than 30.

- **BREAKING**: IE is no longer supported.

- **BREAKING**: Now all functions use `Math.trunc` rounding method where
rounding is required. The behavior is configurable on a per-function
basis.

- **BREAKING**: Undocumented `onlyNumeric` option was removed from `nn`
and `sv` locales. If you relied on it, [please contact
me](mailto:koss@nocorp.me).

- **BREAKING**: Flow is not supported anymore. If you relied on it,
[please contact me](mailto:koss@nocorp.me).

- **BREAKING**: The locales now use regular functions instead of the UTC
version, which should not break any code unless you used locales
directly.

##### Added

- All functions that accept date arguments now also accept strings.

- All functions now export options interfaces.

- Now functions allow passing custom Date extensions like
[UTCDate](https://redirect.github.com/date-fns/utc). They will detect
and use the arguments constructor to generate the result of the same
class.

- `eachMonthOfInterval`, `eachQuarterOfInterval`, `eachWeekOfInterval`,
and `eachYearOfInterval` now accept the `step` option like most of the
eachXOfInterval functions.

- A new `interval` function that validates interval, emulating the v2
interval functions behavior.

- `differenceInX` functions now accept options and allow setting up
`roundingMethod` that configures how the result is rounded. `Math.trunc`
is the default method.

</details>

<details>
<summary>form-data/form-data (form-data)</summary>

###
[`v4.0.6`](https://redirect.github.com/form-data/form-data/blob/HEAD/CHANGELOG.md#v406---2026-06-12)

[Compare
Source](https://redirect.github.com/form-data/form-data/compare/v4.0.5...v4.0.6)

##### Commits

- \[Fix] escape CR, LF, and `"` in field names and filenames
[`8dff42c`](8dff42c6da)
- \[Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `tape`
[`f31d21e`](f31d21ef10)
- \[Deps] update `hasown`, `mime-types`
[`92ae0eb`](92ae0eb5da)
- \[Dev Deps] update `js-randomness-predictor`
[`67b0f65`](67b0f65c2e)

###
[`v4.0.5`](https://redirect.github.com/form-data/form-data/blob/HEAD/CHANGELOG.md#v405---2025-11-17)

[Compare
Source](https://redirect.github.com/form-data/form-data/compare/v4.0.4...v4.0.5)

##### Commits

- \[Tests] Switch to newer v8 prediction library; enable node 24 testing
[`16e0076`](16e0076534)
- \[Dev Deps] update `@ljharb/eslint-config`, `eslint`
[`5822467`](5822467f0e)
- \[Fix] set Symbol.toStringTag in the proper place
[`76d0dee`](76d0dee439)

###
[`v4.0.4`](https://redirect.github.com/form-data/form-data/blob/HEAD/CHANGELOG.md#v404---2025-07-16)

[Compare
Source](https://redirect.github.com/form-data/form-data/compare/v4.0.3...v4.0.4)

##### Commits

- \[meta] add `auto-changelog`
[`811f682`](811f68282f)
- \[Tests] handle predict-v8-randomness failures in node < 17 and node >
23
[`1d11a76`](1d11a76434)
- \[Fix] Switch to using `crypto` random for boundary values
[`3d17230`](3d1723080e)
- \[Tests] fix linting errors
[`5e34080`](5e340800b5)
- \[meta] actually ensure the readme backup isn’t published
[`316c82b`](316c82ba93)
- \[Dev Deps] update `@ljharb/eslint-config`
[`58c25d7`](58c25d7640)
- \[meta] fix readme capitalization
[`2300ca1`](2300ca1959)

###
[`v4.0.3`](https://redirect.github.com/form-data/form-data/blob/HEAD/CHANGELOG.md#v403---2025-06-05)

[Compare
Source](https://redirect.github.com/form-data/form-data/compare/v4.0.2...v4.0.3)

##### Fixed

- \[Fix] `append`: avoid a crash on nullish values
[`#577`](https://redirect.github.com/form-data/form-data/issues/577)

##### Commits

- \[eslint] use a shared config
[`426ba9a`](426ba9ac44)
- \[eslint] fix some spacing issues
[`2094191`](20941917f0)
- \[Refactor] use `hasown`
[`81ab41b`](81ab41b46f)
- \[Fix] validate boundary type in `setBoundary()` method
[`8d8e469`](8d8e469309)
- \[Tests] add tests to check the behavior of `getBoundary` with
non-strings
[`837b8a1`](837b8a1f75)
- \[Dev Deps] remove unused deps
[`870e4e6`](870e4e6659)
- \[meta] remove local commit hooks
[`e6e83cc`](e6e83ccb54)
- \[Dev Deps] update `eslint`
[`4066fd6`](4066fd6f65)
- \[meta] fix scripts to use prepublishOnly
[`c4bbb13`](c4bbb13c0e)

###
[`v4.0.2`](https://redirect.github.com/form-data/form-data/blob/HEAD/CHANGELOG.md#v402---2025-02-14)

[Compare
Source](https://redirect.github.com/form-data/form-data/compare/v4.0.1...v4.0.2)

##### Merged

- \[Fix] set `Symbol.toStringTag` when available
[`#573`](https://redirect.github.com/form-data/form-data/pull/573)
- \[Fix] set `Symbol.toStringTag` when available
[`#573`](https://redirect.github.com/form-data/form-data/pull/573)
- fix (npmignore): ignore temporary build files
[`#532`](https://redirect.github.com/form-data/form-data/pull/532)
- fix (npmignore): ignore temporary build files
[`#532`](https://redirect.github.com/form-data/form-data/pull/532)

##### Fixed

- \[Fix] set `Symbol.toStringTag` when available
([#&#8203;573](https://redirect.github.com/form-data/form-data/issues/573))
[`#396`](https://redirect.github.com/form-data/form-data/issues/396)
- \[Fix] set `Symbol.toStringTag` when available
([#&#8203;573](https://redirect.github.com/form-data/form-data/issues/573))
[`#396`](https://redirect.github.com/form-data/form-data/issues/396)
- \[Fix] set `Symbol.toStringTag` when available
[`#396`](https://redirect.github.com/form-data/form-data/issues/396)

##### Commits

- Merge tags v2.5.3 and v3.0.3
[`92613b9`](92613b9208)
- \[Tests] migrate from travis to GHA
[`806eda7`](806eda7774)
- \[Tests] migrate from travis to GHA
[`8fdb3bc`](8fdb3bc6b5)
- \[Refactor] use `Object.prototype.hasOwnProperty.call`
[`7fecefe`](7fecefe4ba)
- \[Refactor] use `Object.prototype.hasOwnProperty.call`
[`6e682d4`](6e682d4bd4)
- \[Refactor] use `Object.prototype.hasOwnProperty.call`
[`df3c1e6`](df3c1e6f09)
- \[Dev Deps] update `@types/node`, `browserify`, `coveralls`,
`cross-spawn`, `eslint`, `formidable`, `in-publish`, `pkgfiles`,
`pre-commit`, `puppeteer`, `request`, `tape`, `typescript`
[`8261fcb`](8261fcb8bf)
- \[Dev Deps] update `@types/node`, `browserify`, `coveralls`,
`cross-spawn`, `eslint`, `formidable`, `in-publish`, `pkgfiles`,
`pre-commit`, `puppeteer`, `request`, `tape`, `typescript`
[`fb66cb7`](fb66cb740e)
- \[Dev Deps] update `@types/node`, `browserify`, `coveralls`, `eslint`,
`formidable`, `in-publish`, `phantomjs-prebuilt`, `pkgfiles`,
`pre-commit`, `request`, `tape`, `typescript`
[`819f6b7`](819f6b7a54)
- \[eslint] clean up ignores
[`3217b3d`](3217b3ded8)
- \[eslint] clean up ignores
[`3a9d480`](3a9d480232)
- \[Fix] `Buffer.from` and `Buffer.alloc` require node 4+
[`c499f76`](c499f76f1f)
- Only apps should have lockfiles
[`b82f590`](b82f59093c)
- Only apps should have lockfiles
[`b170ee2`](b170ee2b22)
- \[Deps] update `combined-stream`, `mime-types`
[`6b1ca1d`](6b1ca1dc73)
- \[Dev Deps] pin `request` which via `tough-cookie` ^2.4 depends on
`psl`
[`e5df7f2`](e5df7f2438)
- \[Deps] update `mime-types`
[`5a5bafe`](5a5bafee89)
- Bumped version 2.5.3
[`9457283`](9457283e1d)
- \[Dev Deps] pin `request` which via `tough-cookie` ^2.4 depends on
`psl`
[`9dbe192`](9dbe192be3)
- Merge tags v2.5.2 and v3.0.2
[`d53265d`](d53265d86c)
- Bumped version 2.5.2
[`7020dd4`](7020dd4c12)
- \[Dev Deps] downgrade `cross-spawn`
[`3fc1a9b`](3fc1a9b62d)
- fix: move util.isArray to Array.isArray
([#&#8203;564](https://redirect.github.com/form-data/form-data/issues/564))
[`edb555a`](edb555a811)
- fix: move util.isArray to Array.isArray
([#&#8203;564](https://redirect.github.com/form-data/form-data/issues/564))
[`10418d1`](10418d1fe4)

###
[`v4.0.1`](https://redirect.github.com/form-data/form-data/blob/HEAD/CHANGELOG.md#v401---2024-10-10)

[Compare
Source](https://redirect.github.com/form-data/form-data/compare/v4.0.0...v4.0.1)

##### Commits

- \[Tests] migrate from travis to GHA
[`757b4e3`](757b4e32e9)
- \[eslint] clean up ignores
[`e8f0d80`](e8f0d80cd7)
- fix (npmignore): ignore temporary build files
[`335ad19`](335ad19c6e)
- fix: move util.isArray to Array.isArray
[`440d3be`](440d3bed75)

###
[`v4.0.0`](https://redirect.github.com/form-data/form-data/blob/HEAD/CHANGELOG.md#v400---2021-02-15)

[Compare
Source](https://redirect.github.com/form-data/form-data/compare/v3.0.5...v4.0.0)

##### Merged

- Handle custom stream
[`#382`](https://redirect.github.com/form-data/form-data/pull/382)

##### Commits

- Fix typo
[`e705c0a`](e705c0a1fd)
- Update README for custom stream behavior
[`6dd8624`](6dd8624b29)

###
[`v3.0.5`](https://redirect.github.com/form-data/form-data/blob/HEAD/CHANGELOG.md#v305---2026-06-12)

[Compare
Source](https://redirect.github.com/form-data/form-data/compare/v3.0.4...v3.0.5)

##### Commits

- \[Fix] escape CR, LF, and `"` in field names and filenames
[`8777e67`](8777e67fbd)
- \[Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`,
`eslint`, `tape`
[`27c61a5`](27c61a5dee)
- \[Deps] update `hasown`
[`6a8a1c6`](6a8a1c6d04)

###
[`v3.0.4`](https://redirect.github.com/form-data/form-data/blob/HEAD/CHANGELOG.md#v304---2025-07-16)

[Compare
Source](https://redirect.github.com/form-data/form-data/compare/v3.0.3...v3.0.4)

##### Fixed

- \[Fix] `append`: avoid a crash on nullish values
[`#577`](https://redirect.github.com/form-data/form-data/issues/577)

##### Commits

- \[eslint] update linting config
[`f5e7eb0`](f5e7eb024b)
- \[meta] add `auto-changelog`
[`d2eb290`](d2eb290a3e)
- \[Tests] handle predict-v8-randomness failures in node < 17 and node >
23
[`e8c574c`](e8c574cb07)
- \[Fix] Switch to using `crypto` random for boundary values
[`c6ced61`](c6ced61d4f)
- \[Refactor] use `hasown`
[`1a78b5d`](1a78b5dd05)
- \[Fix] validate boundary type in `setBoundary()` method
[`70bbaa0`](70bbaa0b39)
- \[Tests] add tests to check the behavior of `getBoundary` with
non-strings
[`b22a64e`](b22a64ef94)
- \[meta] actually ensure the readme backup isn’t published
[`0150851`](01508513ff)
- \[meta] remove local commit hooks
[`fc42bb9`](fc42bb9315)
- \[Dev Deps] remove unused deps
[`a14d09e`](a14d09ea8e)
- \[meta] fix scripts to use prepublishOnly
[`11d9f73`](11d9f7338f)
- \[meta] fix readme capitalization
[`fc38b48`](fc38b4834a)

###
[`v3.0.3`](https://redirect.github.com/form-data/form-data/blob/HEAD/CHANGELOG.md#v402---2025-02-14)

[Compare
Source](https://redirect.github.com/form-data/form-data/compare/v3.0.2...v3.0.3)

##### Merged

- \[Fix] set `Symbol.toStringTag` when available
[`#573`](https://redirect.github.com/form-data/form-data/pull/573)
- \[Fix] set `Symbol.toStringTag` when available
[`#573`](https://redirect.github.com/form-data/form-data/pull/573)
- fix (npmignore): ignore temporary build files
[`#532`](https://redirect.github.com/form-data/form-data/pull/532)
- fix (npmignore): ignore temporary build files
[`#532`](https://redirect.github.com/form-data/form-data/pull/532)

##### Fixed

- \[Fix] set `Symbol.toStringTag` when available
([#&#8203;573](https://redirect.github.com/form-data/form-data/issues/573))
[`#396`](https://redirect.github.com/form-data/form-data/issues/396)
- \[Fix] set `Symbol.toStringTag` when available
([#&#8203;573](https://redirect.github.com/form-data/form-data/issues/573))
[`#396`](https://redirect.github.com/form-data/form-data/issues/396)
- \[Fix] set `Symbol.t

> ✂ **Note**
> 
> 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](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWF0aW9uIl19-->
2026-07-15 08:59:21 +02:00
Dane - AI (Mastra)
0532405a28
chore(deps): update build tools (#18043) 2026-07-14 23:01:34 +02:00
Dane - AI (Mastra)
93a74f0e64
chore(deps): update e2e tests (#17150)
> ℹ️ **Note**
> 
> This PR body was truncated due to platform limits.

This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [@ai-sdk/openai](https://ai-sdk.dev/docs)
([source](https://redirect.github.com/vercel/ai/tree/HEAD/packages/openai))
| dependencies | patch | [`^2.0.89` →
`^2.0.110`](https://renovatebot.com/diffs/npm/@ai-sdk%2fopenai/2.0.89/2.0.110)
| `2.0.111` |
| [@ast-grep/napi](https://ast-grep.github.io)
([source](https://redirect.github.com/ast-grep/ast-grep)) | dependencies
| minor | [`^0.40.0` →
`^0.44.1`](https://renovatebot.com/diffs/npm/@ast-grep%2fnapi/0.40.0/0.44.1)
| |
| [@hono/node-server](https://redirect.github.com/honojs/node-server) |
dependencies | patch | [`^1.19.11` →
`^1.19.14`](https://renovatebot.com/diffs/npm/@hono%2fnode-server/1.19.14/1.19.14)
| |
| [form-data](https://redirect.github.com/form-data/form-data) |
dependencies | patch | [`^2.5.5` →
`^2.5.6`](https://renovatebot.com/diffs/npm/form-data/2.5.6/2.5.6) | |
| [form-data](https://redirect.github.com/form-data/form-data) |
dependencies | patch | [`^2.5.4` →
`^2.5.6`](https://renovatebot.com/diffs/npm/form-data/2.5.6/2.5.6) | |
| [get-port](https://redirect.github.com/sindresorhus/get-port) |
devDependencies | patch | [`^7.1.0` →
`^7.2.0`](https://renovatebot.com/diffs/npm/get-port/7.2.0/7.2.0) | |
| [get-port](https://redirect.github.com/sindresorhus/get-port) |
devDependencies | minor | [`^7.1.0` →
`^7.2.0`](https://renovatebot.com/diffs/npm/get-port/7.1.0/7.2.0) | |
| [get-port](https://redirect.github.com/sindresorhus/get-port) |
dependencies | minor | [`^7.1.0` →
`^7.2.0`](https://renovatebot.com/diffs/npm/get-port/7.1.0/7.2.0) | |
| [get-port](https://redirect.github.com/sindresorhus/get-port) |
dependencies | patch | [`^7.1.0` →
`^7.2.0`](https://renovatebot.com/diffs/npm/get-port/7.2.0/7.2.0) | |
| [hono](https://hono.dev)
([source](https://redirect.github.com/honojs/hono)) | dependencies |
patch | [`^4.12.25` →
`^4.12.29`](https://renovatebot.com/diffs/npm/hono/4.12.25/4.12.29) |
`4.12.30` |
| [hono](https://hono.dev)
([source](https://redirect.github.com/honojs/hono)) | dependencies |
patch | [`^4.12.8` →
`^4.12.29`](https://renovatebot.com/diffs/npm/hono/4.12.25/4.12.29) |
`4.12.30` |
| [tinyglobby](https://superchupu.dev/tinyglobby)
([source](https://redirect.github.com/SuperchupuDev/tinyglobby)) |
devDependencies | patch | [`^0.2.16` →
`^0.2.17`](https://renovatebot.com/diffs/npm/tinyglobby/0.2.17/0.2.17) |
|
| [tinyglobby](https://superchupu.dev/tinyglobby)
([source](https://redirect.github.com/SuperchupuDev/tinyglobby)) |
dependencies | patch | [`^0.2.16` →
`^0.2.17`](https://renovatebot.com/diffs/npm/tinyglobby/0.2.17/0.2.17) |
|
| [tinyrainbow](https://redirect.github.com/tinylibs/tinyrainbow) |
dependencies | minor | [`^3.0.3` →
`^3.1.0`](https://renovatebot.com/diffs/npm/tinyrainbow/3.0.3/3.1.0) | |
| [verdaccio](https://verdaccio.org)
([source](https://redirect.github.com/verdaccio/verdaccio)) |
devDependencies | patch | [`^6.2.5` →
`^6.7.4`](https://renovatebot.com/diffs/npm/verdaccio/6.7.4/6.7.4) |
`6.8.0` |
| [verdaccio](https://verdaccio.org)
([source](https://redirect.github.com/verdaccio/verdaccio)) |
devDependencies | minor | [`^6.3.2` →
`^6.7.4`](https://renovatebot.com/diffs/npm/verdaccio/6.6.0/6.7.4) |
`6.8.0` |
| [verdaccio](https://verdaccio.org)
([source](https://redirect.github.com/verdaccio/verdaccio)) |
dependencies | patch | [`^6.2.5` →
`^6.7.4`](https://renovatebot.com/diffs/npm/verdaccio/6.7.4/6.7.4) |
`6.8.0` |
| [verdaccio-auth-memory](https://verdaccio.org)
([source](https://redirect.github.com/verdaccio/verdaccio/tree/HEAD/packages/plugins/auth-memory))
| devDependencies | patch | [`^10.3.1` →
`^10.3.3`](https://renovatebot.com/diffs/npm/verdaccio-auth-memory/10.3.3/10.3.3)
| |
| [verdaccio-auth-memory](https://verdaccio.org)
([source](https://redirect.github.com/verdaccio/verdaccio/tree/HEAD/packages/plugins/auth-memory))
| devDependencies | patch | [`^10.3.1` →
`^10.3.3`](https://renovatebot.com/diffs/npm/verdaccio-auth-memory/10.3.1/10.3.3)
| |
| [verdaccio-auth-memory](https://verdaccio.org)
([source](https://redirect.github.com/verdaccio/verdaccio/tree/HEAD/packages/plugins/auth-memory))
| dependencies | patch | [`^10.3.1` →
`^10.3.3`](https://renovatebot.com/diffs/npm/verdaccio-auth-memory/10.3.3/10.3.3)
| |
| [wrangler](https://redirect.github.com/cloudflare/workers-sdk)
([source](https://redirect.github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler))
| devDependencies | minor | [`^4.61.1` →
`^4.110.0`](https://renovatebot.com/diffs/npm/wrangler/4.61.1/4.110.0) |
|

---

### Release Notes

<details>
<summary>vercel/ai (@&#8203;ai-sdk/openai)</summary>

###
[`v2.0.110`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.110)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.109...@ai-sdk/openai@2.0.110)

##### Patch Changes

- Updated dependencies
\[[`b85c4fb`](b85c4fb)]
-
[@&#8203;ai-sdk/provider-utils](https://redirect.github.com/ai-sdk/provider-utils)@&#8203;3.0.28

###
[`v2.0.109`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.109)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.108...@ai-sdk/openai@2.0.109)

##### Patch Changes

- [`f8e6a5c`](f8e6a5c):
feat(openai): add orchestration token usage details to Responses API
usage

###
[`v2.0.108`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.108)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.107...@ai-sdk/openai@2.0.108)

##### Patch Changes

- Updated dependencies
\[[`9169261`](9169261)]
-
[@&#8203;ai-sdk/provider-utils](https://redirect.github.com/ai-sdk/provider-utils)[@&#8203;3](https://redirect.github.com/3).0.27

###
[`v2.0.107`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.107)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.106...@ai-sdk/openai@2.0.107)

##### Patch Changes

- Updated dependencies
\[[`9f67efe`](9f67efe)]
- Updated dependencies
\[[`eea9166`](eea9166)]
-
[@&#8203;ai-sdk/provider-utils](https://redirect.github.com/ai-sdk/provider-utils)[@&#8203;3](https://redirect.github.com/3).0.26

###
[`v2.0.106`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.106)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.105...@ai-sdk/openai@2.0.106)

##### Patch Changes

- [`3a7454a`](3a7454a):
chore(provider/openai): add type for image model options for type-safe
processing

###
[`v2.0.105`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.105)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.104...@ai-sdk/openai@2.0.105)

##### Patch Changes

- [`783fa6c`](783fa6c):
chore: ensure consistent import handling and avoid import duplicates or
cycles
- Updated dependencies
\[[`783fa6c`](783fa6c)]
-
[@&#8203;ai-sdk/provider-utils](https://redirect.github.com/ai-sdk/provider-utils)@&#8203;3.0.25
-
[@&#8203;ai-sdk/provider](https://redirect.github.com/ai-sdk/provider)@&#8203;2.0.3

###
[`v2.0.104`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.104)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.103...@ai-sdk/openai@2.0.104)

##### Patch Changes

- [`0a00b9b`](0a00b9b):
trigger release for all packages after provenance setup
- [`11c7bdd`](11c7bdd):
feat(provider/openai): add gpt-image-2 model support
- Updated dependencies
\[[`0a00b9b`](0a00b9b)]
-
[@&#8203;ai-sdk/provider](https://redirect.github.com/ai-sdk/provider)@&#8203;2.0.2
-
[@&#8203;ai-sdk/provider-utils](https://redirect.github.com/ai-sdk/provider-utils)@&#8203;3.0.24

###
[`v2.0.103`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.103)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.102...@ai-sdk/openai@2.0.103)

##### Patch Changes

- [`5543cd1`](5543cd1): Add
AI Gateway hint to provider READMEs

###
[`v2.0.102`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.102)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.101...@ai-sdk/openai@2.0.102)

##### Patch Changes

- Updated dependencies
\[[`a27a978`](a27a978)]
-
[@&#8203;ai-sdk/provider-utils](https://redirect.github.com/ai-sdk/provider-utils)@&#8203;3.0.23

###
[`v2.0.101`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.101)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.100...@ai-sdk/openai@2.0.101)

##### Patch Changes

- [`316517c`](316517c): Add
`gpt-5.4-mini`, `gpt-5.4-mini-2026-03-17`, `gpt-5.4-nano`, and
`gpt-5.4-nano-2026-03-17` models.

###
[`v2.0.100`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.100)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.99...@ai-sdk/openai@2.0.100)

##### Patch Changes

- [`216151a`](216151a):
fix(provider/openai): drop reasoning parts without encrypted content
when store: false

###
[`v2.0.99`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.99)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.98...@ai-sdk/openai@2.0.99)

##### Patch Changes

- [`0aab803`](0aab803):
feat(provider/openai): add `gpt-5.3-chat-latest`

###
[`v2.0.98`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.98)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.97...@ai-sdk/openai@2.0.98)

##### Patch Changes

- [`392dc94`](392dc94):
feat(provider/openai): add GPT-5.4 model support

###
[`v2.0.97`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.97)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.96...@ai-sdk/openai@2.0.97)

##### Patch Changes

- Updated dependencies
\[[`6a2f01b`](6a2f01b)]
- Updated dependencies
\[[`17d64e3`](17d64e3)]
-
[@&#8203;ai-sdk/provider-utils](https://redirect.github.com/ai-sdk/provider-utils)@&#8203;3.0.22

###
[`v2.0.96`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.96)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.95...@ai-sdk/openai@2.0.96)

##### Patch Changes

- [`e867b5c`](e867b5c):
Support `phase` parameter on Responses API message items. The `phase`
field (`'commentary'` or `'final_answer'`) is returned by models like
`gpt-5.3-codex` on assistant message output items and must be preserved
when sending follow-up requests. The phase value is available in
`providerMetadata.openai.phase` on text parts and is automatically
included on assistant messages sent back to the API.

###
[`v2.0.95`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.95)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.94...@ai-sdk/openai@2.0.95)

##### Patch Changes

- [`b08351e`](b08351e):
fix(openai): allow null/undefined type in streaming tool call deltas

Azure AI Foundry and Mistral deployed on Azure omit the `type` field in
streaming tool\_calls deltas. The chat stream parser now accepts a
missing
  `type` field (treating it as `"function"`) instead of throwing
  `InvalidResponseDataError: Expected 'function' type.`

Fixes
[#&#8203;12770](https://redirect.github.com/vercel/ai/issues/12770)

###
[`v2.0.94`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.94)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.93...@ai-sdk/openai@2.0.94)

##### Patch Changes

- [`42815ac`](42815ac):
feat(provider/openai): add `gpt-5.3-codex`

###
[`v2.0.93`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.93)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.92...@ai-sdk/openai@2.0.93)

##### Patch Changes

- [`fa64d70`](fa64d70):
fix(openai): change web search tool action to be optional

###
[`v2.0.92`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.92)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.91...@ai-sdk/openai@2.0.92)

##### Patch Changes

- [`c680a01`](c680a01):
fix(openai): add changeset and tests for per-image usage metadata

###
[`v2.0.91`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.91)

[Compare
Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/openai@2.0.90...@ai-sdk/openai@2.0.91)

##### Patch Changes

- [`6a0adb7`](6a0adb7):
feat: differentiate text vs image input tokens

###
[`v2.0.90`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/openai%402.0.90)

##### Patch Changes

- Updated dependencies
\[[`20565b8`](20565b8)]
-
[@&#8203;ai-sdk/provider-utils](https://redirect.github.com/ai-sdk/provider-utils)@&#8203;3.0.21

</details>

<details>
<summary>ast-grep/ast-grep (@&#8203;ast-grep/napi)</summary>

###
[`v0.44.1`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0441)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.44.0...0.44.1)

- chore(deps): update rust crate napi to v3.10.3
[`#2786`](https://redirect.github.com/ast-grep/ast-grep/pull/2786)
- chore(deps): update rust crate napi-derive to v3.5.9
[`#2785`](https://redirect.github.com/ast-grep/ast-grep/pull/2785)
- chore(deps): update dependency oxlint to v1.72.0
[`#2780`](https://redirect.github.com/ast-grep/ast-grep/pull/2780)
- chore(deps): update rust crate terminal-light to v1.9.0
[`#2781`](https://redirect.github.com/ast-grep/ast-grep/pull/2781)
- chore(deps): update rust crate clap\_complete to v4.6.7
[`#2783`](https://redirect.github.com/ast-grep/ast-grep/pull/2783)
- chore(deps): update rust crate ignore to v0.4.27
[`#2784`](https://redirect.github.com/ast-grep/ast-grep/pull/2784)
- fix(cli): bound outline file queue
[`#2787`](https://redirect.github.com/ast-grep/ast-grep/pull/2787)
- chore(deps): update rust crate clap\_complete to v4.6.6
[`#2782`](https://redirect.github.com/ast-grep/ast-grep/pull/2782)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.44.0
[`#2764`](https://redirect.github.com/ast-grep/ast-grep/pull/2764)
- chore(deps): update rust crate tree-sitter to v0.26.10
[`#2779`](https://redirect.github.com/ast-grep/ast-grep/pull/2779)
- chore(deps): update dependency web-tree-sitter to v0.26.10
[`#2778`](https://redirect.github.com/ast-grep/ast-grep/pull/2778)
- chore(deps): update dependency dprint to v0.55.1
[`#2776`](https://redirect.github.com/ast-grep/ast-grep/pull/2776)
- chore(deps): update dependency
[@&#8203;napi-rs/cli](https://redirect.github.com/napi-rs/cli) to v3.7.2
[`#2667`](https://redirect.github.com/ast-grep/ast-grep/pull/2667)
- chore(deps): update rust crate napi to v3.9.4
[`#2696`](https://redirect.github.com/ast-grep/ast-grep/pull/2696)
- chore(deps): update rust crate napi-derive to v3.5.7
[`#2768`](https://redirect.github.com/ast-grep/ast-grep/pull/2768)
- chore(deps): update rust crate anyhow to v1.0.103
[`#2774`](https://redirect.github.com/ast-grep/ast-grep/pull/2774)
- feat: load custom language outline rules from config
[`#2777`](https://redirect.github.com/ast-grep/ast-grep/pull/2777)
- fix(deps): update rust-wasm-bindgen monorepo
[`#2775`](https://redirect.github.com/ast-grep/ast-grep/pull/2775)
- chore(deps): update actions/cache action to v6
[`#2767`](https://redirect.github.com/ast-grep/ast-grep/pull/2767)
- feat: Support \*.bazel files in python
[`#2771`](https://redirect.github.com/ast-grep/ast-grep/pull/2771)
- chore(deps): update oxlint monorepo
[`#2765`](https://redirect.github.com/ast-grep/ast-grep/pull/2765)
- feat: add outline rules for more builtin languages
[`07778fb`](07778fb326)
- fix: update pyo3 deps
[`1713e86`](1713e86fd5)

###
[`v0.44.0`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0440)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.43.0...0.44.0)

> 21 June 2026

- chore: move outline docs and benchmarks out of repo
[`#2763`](https://redirect.github.com/ast-grep/ast-grep/pull/2763)
- chore(deps): update dependency smol-toml to v1.7.0
[`#2762`](https://redirect.github.com/ast-grep/ast-grep/pull/2762)
- Add JavaScript outline rules and stream JSON files
[`#2761`](https://redirect.github.com/ast-grep/ast-grep/pull/2761)
- fix: reject root multi-metavariable patterns
[`#2727`](https://redirect.github.com/ast-grep/ast-grep/pull/2727)
- fix: don't leak metavar bindings across siblings in nthChild ofRule
[`#2677`](https://redirect.github.com/ast-grep/ast-grep/pull/2677)
- fix: extract python from-import modules in outline
[`#2758`](https://redirect.github.com/ast-grep/ast-grep/pull/2758)
- fix: match go outline types by declaration
[`#2759`](https://redirect.github.com/ast-grep/ast-grep/pull/2759)
- fix: skip empty files in outline
[`#2757`](https://redirect.github.com/ast-grep/ast-grep/pull/2757)
- feat: mark duplicate outline names
[`#2756`](https://redirect.github.com/ast-grep/ast-grep/pull/2756)
- refactor: inline outline member kind lookup
[`#2755`](https://redirect.github.com/ast-grep/ast-grep/pull/2755)
- refactor: make outline extract return iterator
[`#2754`](https://redirect.github.com/ast-grep/ast-grep/pull/2754)
- refactor: stream outline extraction items
[`#2753`](https://redirect.github.com/ast-grep/ast-grep/pull/2753)
- perf: use single traversal for outline extraction
[`#2751`](https://redirect.github.com/ast-grep/ast-grep/pull/2751)
- perf: cache transform replace regexes
[`#2750`](https://redirect.github.com/ast-grep/ast-grep/pull/2750)
- fix: don't leak metavar bindings from a negated `not` rule
[`#2676`](https://redirect.github.com/ast-grep/ast-grep/pull/2676)
- refactor: fold outline extract options into extractors
[`#2749`](https://redirect.github.com/ast-grep/ast-grep/pull/2749)
- refactor: split outline extract options and style
[`#2748`](https://redirect.github.com/ast-grep/ast-grep/pull/2748)
- refactor: map outline cli to core options
[`#2747`](https://redirect.github.com/ast-grep/ast-grep/pull/2747)
- feat: apply outline extractor options
[`#2746`](https://redirect.github.com/ast-grep/ast-grep/pull/2746)
- feat: add outline extractor options
[`#2745`](https://redirect.github.com/ast-grep/ast-grep/pull/2745)
- fix: simplify some code
[`#2744`](https://redirect.github.com/ast-grep/ast-grep/pull/2744)
- fix: trailing ast-grep-ignore on a multi-line statement suppresses it
[`#2678`](https://redirect.github.com/ast-grep/ast-grep/pull/2678)
- chore(deps): update actions/checkout action to v7
[`#2731`](https://redirect.github.com/ast-grep/ast-grep/pull/2731)
- fix: cover async rust outline rules
[`#2743`](https://redirect.github.com/ast-grep/ast-grep/pull/2743)
- feat: add bundled outline rules for more languages
[`#2739`](https://redirect.github.com/ast-grep/ast-grep/pull/2739)
- feat: add outline CLI command
[`#2738`](https://redirect.github.com/ast-grep/ast-grep/pull/2738)
- perf: use cursor-backed outline traversal
[`#2737`](https://redirect.github.com/ast-grep/ast-grep/pull/2737)
- feat: run outline extractors
[`#2729`](https://redirect.github.com/ast-grep/ast-grep/pull/2729)
- chore(deps): update oxlint monorepo to v1.70.0
[`#2726`](https://redirect.github.com/ast-grep/ast-grep/pull/2726)
- refactor: split fixer variable validation
[`#2724`](https://redirect.github.com/ast-grep/ast-grep/pull/2724)
- refactor: validate rule core directly
[`#2723`](https://redirect.github.com/ast-grep/ast-grep/pull/2723)
- test: move matcher tests to rule core
[`#2722`](https://redirect.github.com/ast-grep/ast-grep/pull/2722)
- refactor: wrap rewriter config errors
[`#2721`](https://redirect.github.com/ast-grep/ast-grep/pull/2721)
- test: validate global rule fix vars via rule config
[`#2719`](https://redirect.github.com/ast-grep/ast-grep/pull/2719)
- fix: check undefined meta var in fix
[`#2718`](https://redirect.github.com/ast-grep/ast-grep/pull/2718)
- **Breaking change:** fix: remove fix from SerializableCore
[`#2717`](https://redirect.github.com/ast-grep/ast-grep/pull/2717)
- fix: preserve unused suppression fixer
[`#2716`](https://redirect.github.com/ast-grep/ast-grep/pull/2716)
- **Breaking change:** refactor: move optional fixer to RuleConfig
[`#2715`](https://redirect.github.com/ast-grep/ast-grep/pull/2715)
- fix: add fixer var check
[`#2714`](https://redirect.github.com/ast-grep/ast-grep/pull/2714)
- Refactor rule config
[`#2713`](https://redirect.github.com/ast-grep/ast-grep/pull/2713)
- **Breaking change:** refactor: mvoe rewriters into
SerializableRuleCore
[`#2711`](https://redirect.github.com/ast-grep/ast-grep/pull/2711)
- refactor: move rewriter out
[`#2712`](https://redirect.github.com/ast-grep/ast-grep/pull/2712)
- feat: add outline rule schema
[`#2710`](https://redirect.github.com/ast-grep/ast-grep/pull/2710)
- docs: remove outline target alias fields
[`#2709`](https://redirect.github.com/ast-grep/ast-grep/pull/2709)
- chore(deps): update rust crate smallvec to v1.15.2
[`#2701`](https://redirect.github.com/ast-grep/ast-grep/pull/2701)
- fix(deps): update rust-wasm-bindgen monorepo
[`#2704`](https://redirect.github.com/ast-grep/ast-grep/pull/2704)
- fix: remove unused trait/methods
[`#2708`](https://redirect.github.com/ast-grep/ast-grep/pull/2708)
- feat: add outline entry model
[`#2703`](https://redirect.github.com/ast-grep/ast-grep/pull/2703)
- refactor: remove legacy outline placeholders
[`#2702`](https://redirect.github.com/ast-grep/ast-grep/pull/2702)
- feat: add outline CLI shell
[`#2700`](https://redirect.github.com/ast-grep/ast-grep/pull/2700)
- fix(deps): update rust-wasm-bindgen monorepo
[`#2693`](https://redirect.github.com/ast-grep/ast-grep/pull/2693)
- chore(deps): update oxlint monorepo to v1.69.0
[`#2692`](https://redirect.github.com/ast-grep/ast-grep/pull/2692)
- chore(deps): update rust crate regex to v1.12.4
[`#2694`](https://redirect.github.com/ast-grep/ast-grep/pull/2694)
- chore(deps): update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v24.13.2
[`#2698`](https://redirect.github.com/ast-grep/ast-grep/pull/2698)
- doc: design outline command
[`#2699`](https://redirect.github.com/ast-grep/ast-grep/pull/2699)
- Outline first builtin rule
[`#2695`](https://redirect.github.com/ast-grep/ast-grep/pull/2695)
- chore(deps): update rust crate tree-sitter-swift to v0.7.3
[`#2672`](https://redirect.github.com/ast-grep/ast-grep/pull/2672)
- chore(deps): update astral-sh/setup-uv action to v8.2.0
[`#2680`](https://redirect.github.com/ast-grep/ast-grep/pull/2680)
- feat: add outline rule definition
[`#2691`](https://redirect.github.com/ast-grep/ast-grep/pull/2691)
- feat: add outline item model
[`#2690`](https://redirect.github.com/ast-grep/ast-grep/pull/2690)
- chore(deps): update codecov/codecov-action action to v7
[`#2686`](https://redirect.github.com/ast-grep/ast-grep/pull/2686)
- feat: add outline command stub
[`#2689`](https://redirect.github.com/ast-grep/ast-grep/pull/2689)
- chore(deps): update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v24.13.1
[`#2682`](https://redirect.github.com/ast-grep/ast-grep/pull/2682)
- chore(deps): update rust crate ignore to v0.4.26
[`#2683`](https://redirect.github.com/ast-grep/ast-grep/pull/2683)
- fix: remove all impl, start from scratch
[`#2688`](https://redirect.github.com/ast-grep/ast-grep/pull/2688)
- fix: remove all impl, start from scratch
[`#2687`](https://redirect.github.com/ast-grep/ast-grep/pull/2687)
- fix: report unfixable scan hits with update-all
[`#2684`](https://redirect.github.com/ast-grep/ast-grep/pull/2684)
- Fix typos in comments and grammar in --help text
[`#2674`](https://redirect.github.com/ast-grep/ast-grep/pull/2674)
- chore(deps): update dependency oxlint to v1.68.0
[`#2673`](https://redirect.github.com/ast-grep/ast-grep/pull/2673)
- fix: don't leak metavar bindings from ellipsis-end lookahead
[`#2670`](https://redirect.github.com/ast-grep/ast-grep/pull/2670)
- refactor: collapse nested ifs with let chains
[`#2671`](https://redirect.github.com/ast-grep/ast-grep/pull/2671)
- chore(deps): update rust crate toml\_edit to v0.25.12
[`#2666`](https://redirect.github.com/ast-grep/ast-grep/pull/2666)
- chore(deps): update dependency oxlint to v1.67.0
[`#2665`](https://redirect.github.com/ast-grep/ast-grep/pull/2665)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.43.0
[`#2664`](https://redirect.github.com/ast-grep/ast-grep/pull/2664)
- add benchmark
[`b488bd3`](b488bd3ea1)
- vibe
[`6f89a3d`](6f89a3d8b9)
- fix: update outline rule loading
[`202d8b8`](202d8b89dd)

###
[`v0.43.0`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0430)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.42.3...0.43.0)

> 25 May 2026

- chore(deps): update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v24.12.4
[`#2636`](https://redirect.github.com/ast-grep/ast-grep/pull/2636)
- chore(deps): update rust crate assert\_cmd to v2.2.2
[`#2632`](https://redirect.github.com/ast-grep/ast-grep/pull/2632)
- chore(deps): update rust crate similar to v3.1.1
[`#2662`](https://redirect.github.com/ast-grep/ast-grep/pull/2662)
- fix(lsp): initialize tracing subscriber to surface tower-lsp errors
[`#2639`](https://redirect.github.com/ast-grep/ast-grep/pull/2639)
- fix(deps): update rust-wasm-bindgen monorepo
[`#2660`](https://redirect.github.com/ast-grep/ast-grep/pull/2660)
- chore(deps): update rust crate tree-sitter to v0.26.9
[`#2656`](https://redirect.github.com/ast-grep/ast-grep/pull/2656)
- chore(deps): update rust crate serde\_json to v1.0.150
[`#2659`](https://redirect.github.com/ast-grep/ast-grep/pull/2659)
- chore(deps): update rust crate clap\_complete to v4.6.5
[`#2634`](https://redirect.github.com/ast-grep/ast-grep/pull/2634)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.42.3
[`#2653`](https://redirect.github.com/ast-grep/ast-grep/pull/2653)
- chore(deps): update dependency oxlint to v1.66.0
[`#2651`](https://redirect.github.com/ast-grep/ast-grep/pull/2651)
- chore(deps): update dependency web-tree-sitter to v0.26.9
[`#2654`](https://redirect.github.com/ast-grep/ast-grep/pull/2654)
- fix: strip trailing comment artifact in comment suppression
[`#2644`](https://redirect.github.com/ast-grep/ast-grep/issues/2644)
- feat: support ESQuery style selector in run command
[`#2663`](https://redirect.github.com/ast-grep/ast-grep/issues/2663)
- feat: add --follow arg for sg test
[`#2657`](https://redirect.github.com/ast-grep/ast-grep/issues/2657)
- test: add test for run --kind
[`d0d0b30`](d0d0b3003e)
- feat: add markdown support
[`beacc9e`](beacc9e40c)
- fix: use Rule instead of pattern in run
[`2759fda`](2759fdaeb9)

###
[`v0.42.3`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0423)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.42.2...0.42.3)

> 19 May 2026

- feat: support nth-last-child esquery
[`#2631`](https://redirect.github.com/ast-grep/ast-grep/pull/2631)
- chore(deps): update rust crate dashmap to v6.2.1
[`#2645`](https://redirect.github.com/ast-grep/ast-grep/pull/2645)
- chore(deps): update dependency oxlint to v1.65.0
[`#2635`](https://redirect.github.com/ast-grep/ast-grep/pull/2635)
- chore(deps): update rust crate napi-derive to v3.5.6
[`#2642`](https://redirect.github.com/ast-grep/ast-grep/pull/2642)
- chore(deps): update rust crate napi-build to v2.3.2
[`#2641`](https://redirect.github.com/ast-grep/ast-grep/pull/2641)
- chore(deps): update rust crate napi to v3.9.0
[`#2643`](https://redirect.github.com/ast-grep/ast-grep/pull/2643)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.42.2
[`#2630`](https://redirect.github.com/ast-grep/ast-grep/pull/2630)
- fix: fix windows installation
[`4021ae0`](4021ae076f)

###
[`v0.42.2`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0422)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.42.1...0.42.2)

> 10 May 2026

- chore(deps): update rust crate tokio to v1.52.3
[`#2620`](https://redirect.github.com/ast-grep/ast-grep/pull/2620)
- fix(deps): update rust-wasm-bindgen monorepo
[`#2623`](https://redirect.github.com/ast-grep/ast-grep/pull/2623)
- chore(deps): update rust crate clap\_complete to v4.6.4
[`#2627`](https://redirect.github.com/ast-grep/ast-grep/pull/2627)
- chore(deps): update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v24.12.3
[`#2624`](https://redirect.github.com/ast-grep/ast-grep/pull/2624)
- chore(deps): update rust crate tree-sitter-swift to v0.7.2
[`#2619`](https://redirect.github.com/ast-grep/ast-grep/pull/2619)
- chore(deps): update dependency oxlint to v1.63.0
[`#2621`](https://redirect.github.com/ast-grep/ast-grep/pull/2621)
- fix: replace postinstall script with binary resolution in ast-grep
[`#2595`](https://redirect.github.com/ast-grep/ast-grep/pull/2595)
- fix(lsp): use cwd instead of config dir as workspace fallback
[`#2600`](https://redirect.github.com/ast-grep/ast-grep/pull/2600)
- fix(deps): update rust-wasm-bindgen monorepo
[`#2613`](https://redirect.github.com/ast-grep/ast-grep/pull/2613)
- chore(deps): update rust crate napi-derive to v3.5.5
[`#2615`](https://redirect.github.com/ast-grep/ast-grep/pull/2615)
- chore(deps): update rust crate napi to v3.8.6
[`#2614`](https://redirect.github.com/ast-grep/ast-grep/pull/2614)
- chore(deps): update rust crate clap\_complete to v4.6.3
[`#2610`](https://redirect.github.com/ast-grep/ast-grep/pull/2610)
- chore(deps): update dependency oxlint to v1.62.0
[`#2611`](https://redirect.github.com/ast-grep/ast-grep/pull/2611)
- chore(deps): update astral-sh/setup-uv action to v8
[`#2604`](https://redirect.github.com/ast-grep/ast-grep/pull/2604)
- chore(deps): update rust crate tree-sitter-c to v0.24.2
[`#2608`](https://redirect.github.com/ast-grep/ast-grep/pull/2608)
- fix(deps): update rust crate tree-sitter-dart to 0.2.0
[`#2609`](https://redirect.github.com/ast-grep/ast-grep/pull/2609)
- chore(deps): update robinraju/release-downloader action to v1.13
[`#2606`](https://redirect.github.com/ast-grep/ast-grep/pull/2606)
- fix(lsp): report unused suppressions without rules
[`#2607`](https://redirect.github.com/ast-grep/ast-grep/pull/2607)
- chore(deps): update rust crate clap\_complete to v4.6.2
[`#2589`](https://redirect.github.com/ast-grep/ast-grep/pull/2589)
- chore(deps): update dependency oxlint to v1.61.0
[`#2605`](https://redirect.github.com/ast-grep/ast-grep/pull/2605)
- chore(deps): update rust crate similar to v3.1.0
[`#2587`](https://redirect.github.com/ast-grep/ast-grep/pull/2587)
- fix(deps): update rust crate tree-sitter-scala to 0.26.0
[`#2602`](https://redirect.github.com/ast-grep/ast-grep/pull/2602)
- chore(deps): update rust crate tree-sitter-scala to v0.25.1
[`#2601`](https://redirect.github.com/ast-grep/ast-grep/pull/2601)
- chore(deps): update rust crate tree-sitter-c-sharp to v0.23.5
[`#2591`](https://redirect.github.com/ast-grep/ast-grep/pull/2591)
- chore(deps): update dependency oxlint to v1.60.0
[`#2588`](https://redirect.github.com/ast-grep/ast-grep/pull/2588)
- chore(deps): update rust crate assert\_cmd to v2.2.1
[`#2599`](https://redirect.github.com/ast-grep/ast-grep/pull/2599)
- chore(deps): update dependency typescript to v6.0.3
[`#2598`](https://redirect.github.com/ast-grep/ast-grep/pull/2598)
- chore(deps): update dependency
[@&#8203;napi-rs/cli](https://redirect.github.com/napi-rs/cli) to v3.6.2
[`#2593`](https://redirect.github.com/ast-grep/ast-grep/pull/2593)
- chore(deps): update rust crate napi-derive to v3.5.4
[`#2597`](https://redirect.github.com/ast-grep/ast-grep/pull/2597)
- chore(deps): update rust crate napi to v3.8.5
[`#2596`](https://redirect.github.com/ast-grep/ast-grep/pull/2596)
- chore(deps): update rust crate tokio to v1.52.1
[`#2592`](https://redirect.github.com/ast-grep/ast-grep/pull/2592)
- chore(deps): update rust crate clap to v4.6.1
[`#2594`](https://redirect.github.com/ast-grep/ast-grep/pull/2594)
- chore(deps): update pyo3/maturin-action action to v1.51.0
[`#2510`](https://redirect.github.com/ast-grep/ast-grep/pull/2510)
- fix(deps): update rust-wasm-bindgen monorepo
[`#2568`](https://redirect.github.com/ast-grep/ast-grep/pull/2568)
- chore(deps): update dependency
[@&#8203;napi-rs/cli](https://redirect.github.com/napi-rs/cli) to v3.6.1
[`#2583`](https://redirect.github.com/ast-grep/ast-grep/pull/2583)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.42.1
[`#2580`](https://redirect.github.com/ast-grep/ast-grep/pull/2580)
- chore(deps): update dependency oxlint to v1.59.0
[`#2581`](https://redirect.github.com/ast-grep/ast-grep/pull/2581)
- chore(deps): update rust crate toml\_edit to v0.25.11
[`#2582`](https://redirect.github.com/ast-grep/ast-grep/pull/2582)
- chore(deps): update rust crate tokio to v1.51.1
[`#2584`](https://redirect.github.com/ast-grep/ast-grep/pull/2584)
- chore(deps): update dependency dprint to v0.54.0
[`#2585`](https://redirect.github.com/ast-grep/ast-grep/pull/2585)
- chore(deps): update rust crate clap\_complete to v4.6.1
[`#2586`](https://redirect.github.com/ast-grep/ast-grep/pull/2586)
- chore(deps): update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v24.12.2
[`#2579`](https://redirect.github.com/ast-grep/ast-grep/pull/2579)
- fix: enable npx install fallback but still keep postinstall
[`fbc5b9b`](fbc5b9b67d)
- chore: bump kotlin version
[`6f09a5b`](6f09a5b02d)
- fix: solve linting
[`945328a`](945328aa31)

###
[`v0.42.1`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0421)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.42.0...0.42.1)

> 4 April 2026

- feat: Support Dart again
[`#2534`](https://redirect.github.com/ast-grep/ast-grep/pull/2534)
- chore(deps): update dependency oxlint to v1.58.0
[`#2569`](https://redirect.github.com/ast-grep/ast-grep/pull/2569)
- chore(deps): update rust crate toml\_edit to v0.25.10
[`#2571`](https://redirect.github.com/ast-grep/ast-grep/pull/2571)
- fix(deps): update rust crate similar to v3
[`#2574`](https://redirect.github.com/ast-grep/ast-grep/pull/2574)
- chore(deps): update rust crate tokio to v1.51.0
[`#2578`](https://redirect.github.com/ast-grep/ast-grep/pull/2578)
- chore(deps): update dependency web-tree-sitter to v0.26.8
[`#2570`](https://redirect.github.com/ast-grep/ast-grep/pull/2570)
- chore(deps): update rust crate tree-sitter to v0.26.8
[`#2572`](https://redirect.github.com/ast-grep/ast-grep/pull/2572)
- chore(deps): update dependency dprint to v0.53.2
[`#2573`](https://redirect.github.com/ast-grep/ast-grep/pull/2573)
- chore(deps): update rust crate bit-set to 0.10.0
[`#2566`](https://redirect.github.com/ast-grep/ast-grep/pull/2566)
- fix(deps): update rust-wasm-bindgen monorepo
[`#2561`](https://redirect.github.com/ast-grep/ast-grep/pull/2561)
- chore(deps): update dependency smol-toml to v1.6.1
[`#2556`](https://redirect.github.com/ast-grep/ast-grep/pull/2556)
- chore(deps): update rust crate napi to v3.8.4
[`#2562`](https://redirect.github.com/ast-grep/ast-grep/pull/2562)
- chore(deps): update rust crate toml\_edit to v0.25.8
[`#2552`](https://redirect.github.com/ast-grep/ast-grep/pull/2552)
- chore(deps): update rust crate napi-derive to v3.5.3
[`#2563`](https://redirect.github.com/ast-grep/ast-grep/pull/2563)
- chore(deps): update codecov/codecov-action action to v6
[`#2560`](https://redirect.github.com/ast-grep/ast-grep/pull/2560)
- chore(deps): update rust crate tree-sitter-rust to v0.24.2
[`#2554`](https://redirect.github.com/ast-grep/ast-grep/pull/2554)
- chore(deps): update dependency
[@&#8203;napi-rs/cli](https://redirect.github.com/napi-rs/cli) to v3.6.0
[`#2564`](https://redirect.github.com/ast-grep/ast-grep/pull/2564)
- chore(deps): update dependency dprint to v0.53.1
[`#2559`](https://redirect.github.com/ast-grep/ast-grep/pull/2559)
- chore(deps): update dependency oxlint to v1.57.0
[`#2549`](https://redirect.github.com/ast-grep/ast-grep/pull/2549)
- chore(deps): update dependency typescript to v6
[`#2557`](https://redirect.github.com/ast-grep/ast-grep/pull/2557)
- Added a license field to package.json so scanners can pick it up more
easily
[`#2558`](https://redirect.github.com/ast-grep/ast-grep/pull/2558)
- feat: add --color flag to test command
[`#2555`](https://redirect.github.com/ast-grep/ast-grep/pull/2555)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.42.0
[`#2548`](https://redirect.github.com/ast-grep/ast-grep/pull/2548)
- feat: add new built in rule no-suppress-all
[`#2575`](https://redirect.github.com/ast-grep/ast-grep/issues/2575)
- fix: fix SIGSEGV caused by SharedReference stackoverflow
[`#2553`](https://redirect.github.com/ast-grep/ast-grep/issues/2553)
- fix: update ts
[`7fa0e3f`](7fa0e3f3fc)
- refactor: use more concise style object to manage test output
[`a017fd5`](a017fd5133)
- refactor: some code clean up for no-suppress
[`ef7fc1a`](ef7fc1a918)

###
[`v0.42.0`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0420)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.41.1...0.42.0)

> 15 March 2026

- chore(deps): update dependency dprint to v0.53.0
[`#2547`](https://redirect.github.com/ast-grep/ast-grep/pull/2547)
- chore(deps): update rust crate tree-sitter to v0.26.7
[`#2541`](https://redirect.github.com/ast-grep/ast-grep/pull/2541)
- chore(deps): update dependency web-tree-sitter to v0.26.7
[`#2540`](https://redirect.github.com/ast-grep/ast-grep/pull/2540)
- chore(deps): update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v24.12.0
[`#2518`](https://redirect.github.com/ast-grep/ast-grep/pull/2518)
- fix(deps): update rust crate tree-sitter-lua to 0.5.0
[`#2506`](https://redirect.github.com/ast-grep/ast-grep/pull/2506)
- chore(deps): update rust crate clap to v4.6.0
[`#2538`](https://redirect.github.com/ast-grep/ast-grep/pull/2538)
- fix(deps): update rust crate tree-sitter-scala to 0.25.0
[`#2536`](https://redirect.github.com/ast-grep/ast-grep/pull/2536)
- chore(deps): update dependency oxlint to v1.55.0
[`#2533`](https://redirect.github.com/ast-grep/ast-grep/pull/2533)
- chore(deps): update rust crate clap\_complete to v4.6.0
[`#2539`](https://redirect.github.com/ast-grep/ast-grep/pull/2539)
- chore(deps): update rust crate bit-set to v0.9.1
[`#2537`](https://redirect.github.com/ast-grep/ast-grep/pull/2537)
- chore(deps): update rust crate bit-set to 0.9.0
[`#2527`](https://redirect.github.com/ast-grep/ast-grep/pull/2527)
- chore(deps): update rust crate assert\_cmd to v2.2.0
[`#2529`](https://redirect.github.com/ast-grep/ast-grep/pull/2529)
- chore(deps): update rust crate tempfile to v3.27.0
[`#2531`](https://redirect.github.com/ast-grep/ast-grep/pull/2531)
- fix(lsp): scan injected languages for diagnostics
[`#2528`](https://redirect.github.com/ast-grep/ast-grep/pull/2528)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.41.1
[`#2526`](https://redirect.github.com/ast-grep/ast-grep/pull/2526)
- chore(deps): update dependency oxlint to v1.52.0
[`#2524`](https://redirect.github.com/ast-grep/ast-grep/pull/2524)
- feat: support nth-child esquery
[`#2546`](https://redirect.github.com/ast-grep/ast-grep/issues/2546)
- feat: support :is selector
[`#2545`](https://redirect.github.com/ast-grep/ast-grep/issues/2545)
- feat: support :not selector
[`#2544`](https://redirect.github.com/ast-grep/ast-grep/issues/2544)
- feat: support :has rule
[`#2543`](https://redirect.github.com/ast-grep/ast-grep/issues/2543)
- fix(lsp): scan injected languages for diagnostics
([#&#8203;2528](https://redirect.github.com/ast-grep/ast-grep/issues/2528))
[`#2522`](https://redirect.github.com/ast-grep/ast-grep/issues/2522)
- feat: add parameterized util
[`3d90372`](3d903727c2)
- refactor: limit parameterized utils to globals
[`2d69a34`](2d69a3425b)
- refactor: move parameterized\_util
[`c77e38d`](c77e38d842)

###
[`v0.41.1`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0411)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.41.0...0.41.1)

> 10 March 2026

- fix: lsp on change encounter deadlock
[`#2511`](https://redirect.github.com/ast-grep/ast-grep/pull/2511)
- chore(deps): update dependency oxlint to v1.51.0
[`#2512`](https://redirect.github.com/ast-grep/ast-grep/pull/2512)
- chore(deps): update rust crate tempfile to v3.26.0
[`#2497`](https://redirect.github.com/ast-grep/ast-grep/pull/2497)
- chore(deps): update rust crate inquire to v0.9.4
[`#2498`](https://redirect.github.com/ast-grep/ast-grep/pull/2498)
- chore(deps): update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v24.11.0
[`#2502`](https://redirect.github.com/ast-grep/ast-grep/pull/2502)
- chore(deps): update dependency dprint to v0.52.0
[`#2499`](https://redirect.github.com/ast-grep/ast-grep/pull/2499)
- fix: override severity on `rule` & `inline-rules` flags
[`#2505`](https://redirect.github.com/ast-grep/ast-grep/pull/2505)
- chore(deps): update github artifact actions
[`#2507`](https://redirect.github.com/ast-grep/ast-grep/pull/2507)
- chore(deps): update rust crate tree-sitter to v0.26.6
[`#2501`](https://redirect.github.com/ast-grep/ast-grep/pull/2501)
- chore(deps): update dependency web-tree-sitter to v0.26.6
[`#2500`](https://redirect.github.com/ast-grep/ast-grep/pull/2500)
- chore(deps): update dependency ava to v7
[`#2508`](https://redirect.github.com/ast-grep/ast-grep/pull/2508)
- chore(deps): update dependency oxlint to v1.50.0
[`#2495`](https://redirect.github.com/ast-grep/ast-grep/pull/2495)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.41.0
[`#2494`](https://redirect.github.com/ast-grep/ast-grep/pull/2494)
- fix: bump ls-types version
[`#2525`](https://redirect.github.com/ast-grep/ast-grep/issues/2525)
- refactor: change versioned ast work
[`a86b2ab`](a86b2abe5d)
- fix: bump wasm-bindgen
[`d23e334`](d23e3344df)
- fix: fix wasm package
[`0b92e94`](0b92e941ef)

###
[`v0.41.0`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0410)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.40.5...0.41.0)

> 22 February 2026

- chore(deps): update pyo3/maturin-action action to v1.50.0
[`#2465`](https://redirect.github.com/ast-grep/ast-grep/pull/2465)
- fix(deps): update rust-wasm-bindgen monorepo
[`#2491`](https://redirect.github.com/ast-grep/ast-grep/pull/2491)
- chore(deps): update rust crate toml\_edit to v0.25.3
[`#2469`](https://redirect.github.com/ast-grep/ast-grep/pull/2469)
- chore(deps): update dependency web-tree-sitter to ^0.26.0
[`#2492`](https://redirect.github.com/ast-grep/ast-grep/pull/2492)
- refactor: addr\_of\_mut to OnceLock
[`#2486`](https://redirect.github.com/ast-grep/ast-grep/pull/2486)
- feat: support ast-grep-wasm
[`#2484`](https://redirect.github.com/ast-grep/ast-grep/pull/2484)
- chore(deps): update rust crate clap to v4.5.60
[`#2483`](https://redirect.github.com/ast-grep/ast-grep/pull/2483)
- chore(deps): update rust crate anyhow to v1.0.102
[`#2489`](https://redirect.github.com/ast-grep/ast-grep/pull/2489)
- chore(deps): update dependency oxlint to v1.49.0
[`#2488`](https://redirect.github.com/ast-grep/ast-grep/pull/2488)
- feat: make default rule id to filename
[`#2482`](https://redirect.github.com/ast-grep/ast-grep/pull/2482)
- chore(deps): update dependency oxlint to v1.48.0
[`#2481`](https://redirect.github.com/ast-grep/ast-grep/pull/2481)
- chore(deps): update rust crate napi-derive to v3.5.2
[`#2475`](https://redirect.github.com/ast-grep/ast-grep/pull/2475)
- chore(deps): update rust crate napi to v3.8.3
[`#2474`](https://redirect.github.com/ast-grep/ast-grep/pull/2474)
- chore(deps): update rust crate futures to v0.3.32
[`#2476`](https://redirect.github.com/ast-grep/ast-grep/pull/2476)
- chore(deps): update rust crate clap to v4.5.58
[`#2470`](https://redirect.github.com/ast-grep/ast-grep/pull/2470)
- fix: parse each language injection region as independent tree
[`#2479`](https://redirect.github.com/ast-grep/ast-grep/pull/2479)
- chore(deps): update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v24.10.13
[`#2467`](https://redirect.github.com/ast-grep/ast-grep/pull/2467)
- chore(deps): update rust crate clap\_complete to v4.5.66
[`#2471`](https://redirect.github.com/ast-grep/ast-grep/pull/2471)
- chore(deps): update rust crate predicates to v3.1.4
[`#2472`](https://redirect.github.com/ast-grep/ast-grep/pull/2472)
- chore(deps): update dependency oxlint to v1.47.0
[`#2468`](https://redirect.github.com/ast-grep/ast-grep/pull/2468)
- chore(deps): update rust crate tempfile to v3.25.0
[`#2466`](https://redirect.github.com/ast-grep/ast-grep/pull/2466)
- fix(deps): update rust crate toml\_edit to 0.25.0
[`#2473`](https://redirect.github.com/ast-grep/ast-grep/pull/2473)
- chore(deps): update rust crate tree-sitter to v0.26.5
[`#2458`](https://redirect.github.com/ast-grep/ast-grep/pull/2458)
- chore(deps): update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v24.10.12
[`#2438`](https://redirect.github.com/ast-grep/ast-grep/pull/2438)
- chore(deps): update rust crate schemars to v1.2.1
[`#2457`](https://redirect.github.com/ast-grep/ast-grep/pull/2457)
- chore(deps): update rust crate clap to v4.5.57
[`#2455`](https://redirect.github.com/ast-grep/ast-grep/pull/2455)
- chore(deps): update rust crate anyhow to v1.0.101
[`#2462`](https://redirect.github.com/ast-grep/ast-grep/pull/2462)
- chore(deps): update rust crate inquire to v0.9.3
[`#2463`](https://redirect.github.com/ast-grep/ast-grep/pull/2463)
- chore(deps): update dependency oxlint to v1.43.0
[`#2459`](https://redirect.github.com/ast-grep/ast-grep/pull/2459)
- chore(deps): update rust crate regex to v1.12.3
[`#2461`](https://redirect.github.com/ast-grep/ast-grep/pull/2461)
- chore(deps): update rust crate clap to v4.5.55
[`#2454`](https://redirect.github.com/ast-grep/ast-grep/pull/2454)
- chore(deps): update dependency oxlint to v1.42.0
[`#2452`](https://redirect.github.com/ast-grep/ast-grep/pull/2452)
- chore(deps): update dependency oxlint to v1.41.0
[`#2447`](https://redirect.github.com/ast-grep/ast-grep/pull/2447)
- chore(deps): update rust crate assert\_cmd to v2.1.2
[`#2437`](https://redirect.github.com/ast-grep/ast-grep/pull/2437)
- chore(deps): update rust crate thiserror to v2.0.18
[`#2446`](https://redirect.github.com/ast-grep/ast-grep/pull/2446)
- chore(deps): update dependency oxlint to v1.39.0
[`#2442`](https://redirect.github.com/ast-grep/ast-grep/pull/2442)
- chore(deps): update rust crate inquire to v0.9.2
[`#2445`](https://redirect.github.com/ast-grep/ast-grep/pull/2445)
- fix: improve max diagnostic impl to use one atomic op
[`781ec81`](781ec81cb4)
- fix: udpate schema
[`e645fdf`](e645fdfa1a)
- fix: move dumping to core crate
[`0b2acb9`](0b2acb96bc)

###
[`v0.40.5`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0405)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.40.4...0.40.5)

> 10 January 2026

- fix: fix error code returning 1 for non-result related error
[`#2403`](https://redirect.github.com/ast-grep/ast-grep/issues/2403)
- feat: support case insensitive option in files/ignores
[`#2432`](https://redirect.github.com/ast-grep/ast-grep/issues/2432)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.40.4
[`4fca101`](4fca10150b)
- chore(deps): update dependency oxlint to v1.38.0
[`622da37`](622da3765f)
- chore(deps): update dependency oxlint to v1.37.0
[`1a021ba`](1a021ba41f)

###
[`v0.40.4`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0404)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.40.3...0.40.4)

> 4 January 2026

- feat: support --files-with-matches to list all files like ripgrep
[`#2371`](https://redirect.github.com/ast-grep/ast-grep/issues/2371)
- fix: use new assert\_cmd command
[`#2399`](https://redirect.github.com/ast-grep/ast-grep/issues/2399)
- chore(deps): update dependency dprint to v0.51.1
[`9d00e5b`](9d00e5bef1)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.40.3
[`80f9c2b`](80f9c2be29)
- chore(deps): update dependency oxlint to v1.36.0
[`dea9153`](dea91530d5)

###
[`v0.40.3`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0403)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.40.2...0.40.3)

> 15 December 2025

- chore(deps): update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v24.10.4
[`6a429db`](6a429db049)
- fix: remove debug println! from KindMatcher
[`fa5cc7b`](fa5cc7b5f1)

###
[`v0.40.2`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0402)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.40.1...0.40.2)

> 14 December 2025

- fix: exit status to 1 when no match
[`#2392`](https://redirect.github.com/ast-grep/ast-grep/pull/2392)
- fix: reject unknown keys for pattern
[`#2390`](https://redirect.github.com/ast-grep/ast-grep/issues/2390)
- fix: allow number in identifier
[`#2387`](https://redirect.github.com/ast-grep/ast-grep/issues/2387)
- chore(deps): update dependency
[@&#8203;napi-rs/cli](https://redirect.github.com/napi-rs/cli) to v3.5.0
[`090fcd0`](090fcd0046)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.40.1
[`ac69fd7`](ac69fd7cce)
- chore: bump lsp version
[`58138ad`](58138ad289)

###
[`v0.40.1`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0401)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.40.0...0.40.1)

> 11 December 2025

- chore: add a link to the badges
[`#2370`](https://redirect.github.com/ast-grep/ast-grep/pull/2370)
- fix: fix AST strictness check
[`#2361`](https://redirect.github.com/ast-grep/ast-grep/issues/2361)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.40.0
[`c98f0dc`](c98f0dcee9)
- fix: use individual flag for parser
[`2bdcecb`](2bdcecb1bf)
- chore(deps): update dependency oxlint to v1.32.0
[`b058028`](b058028925)

</details>

<details>
<summary>sindresorhus/get-port (get-port)</summary>

###
[`v7.2.0`](https://redirect.github.com/sindresorhus/get-port/releases/tag/v7.2.0)

[Compare
Source](https://redirect.github.com/sindresorhus/get-port/compare/v7.1.0...v7.2.0)

- Add `reserve` option to lock ports for the process lifetime
[`8af215b`](8af215b)

***

</details>

<details>
<summary>honojs/hono (hono)</summary>

###
[`v4.12.29`](https://redirect.github.com/honojs/hono/releases/tag/v4.12.29)

[Compare
Source](https://redirect.github.com/honojs/hono/compare/v4.12.28...v4.12.29)

##### What's Changed

- fix(client): merge function headers with per-request headers by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;5092](https://redirect.github.com/honojs/hono/pull/5092)
- chore: fix no-op tsc in test script by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;5093](https://redirect.github.com/honojs/hono/pull/5093)
- fix(lambda-edge): resolve the handler with the value passed to the
callback by [@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;5094](https://redirect.github.com/honojs/hono/pull/5094)
- docs(language): add JSDoc
[@&#8203;example](https://redirect.github.com/example) to
languageDetector by
[@&#8203;codebybilal18](https://redirect.github.com/codebybilal18) in
[#&#8203;5081](https://redirect.github.com/honojs/hono/pull/5081)
- test(workerd): add `compatibilityDate` by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;5100](https://redirect.github.com/honojs/hono/pull/5100)
- fix(lambda-edge): base64 encode content-encoded response bodies by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;5099](https://redirect.github.com/honojs/hono/pull/5099)
- fix(aws-lambda): treat any non-identity content-encoding as binary by
[@&#8203;yusukebe](https://redirect.github.com/yusukeb

> ✂ **Note**
> 
> 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](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI2Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWF0aW9uIl19-->
2026-07-14 08:57:43 +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)
66046a3baf
chore(deps): update dependency typescript to v6 (#19113) 2026-07-08 14:34:02 +02:00
Ward Peeters
d4ff441441
ci: centralize E2E Verdaccio publishing (#18821)
Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-07-08 13:12:13 +02: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)
f167390ef0
chore(deps): update security updates [security] (#17953)
Co-authored-by: wardpeet <ward@coding-tech.com>
Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-06-16 12:06:48 +02:00
Dane - AI (Mastra)
a27d561d37
chore(deps): update build tools (#17657) 2026-06-15 13:37:09 +02:00
Dane - AI (Mastra)
092d5f5923
chore(deps): lock file maintenance (#16519) 2026-06-11 16:57:09 +02:00
Tyler Barnes
fb88481957
chore: migrate workspace to pnpm v11 (#17038)
Migrates the workspace to pnpm 11.3.0 and moves pnpm config out of
package.json into pnpm-workspace.yaml, which is where pnpm v11 reads
these settings.

It also enables the global virtual store for faster git worktree
installs:

```yaml
# Share pnpm's virtual store across git worktrees: https://pnpm.io/git-worktrees
enableGlobalVirtualStore: true
```

I also moved the standalone e2e fixture pnpm settings into local
pnpm-workspace.yaml files so their overrides and build approvals still
apply under pnpm v11.

Verified with pnpm 11.3.0 install --frozen-lockfile and git diff
--check.


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

This PR upgrades the repository to pnpm v11 (11.3.0), moves workspace
pnpm settings out of package.json into pnpm-workspace.yaml so pnpm v11
reads them, and enables a shared global virtual store to speed up
installs (useful for git worktrees). It also updates tests, fixtures,
and CI to use pnpm-specific env vars and workspace-aware installs.

## Changes Overview

### Core changes
- Bumped required pnpm in root package.json: engines.pnpm → >=11.0.0 and
updated packageManager to pnpm@11.3.0 (with new integrity).
- Added/expanded top-level pnpm-workspace.yaml:
- enableGlobalVirtualStore: true to share pnpm’s virtual store across
git worktrees.
- Reworked patchedDependencies to versioned patch entries (e.g.,
`@changesets/get-dependents-graph`@2.1.3/2.1.4, tsup@8.5.1).
  - Added packageExtensions (e.g., `@uiw/codemirror-theme-dracula`@*).
- Extended trustPolicyExclude and expanded overrides to constrain many
deps (ssri, qs, zod variants, etc.).
- Broadened allowBuilds to explicitly disable builds for many packages.

### E2E & fixture workspace changes
- Removed pnpm/resolutions and top-level pnpm blocks from many
package.json files and introduced local pnpm-workspace.yaml files in
fixture/e2e directories (commonjs, create-mastra, deployers, monorepo,
no-bundling, type-check, memory, agent-builder, mcp, playground
kitchen-sink, pkg-outputs, etc.).
- Those local pnpm-workspace.yaml files reintroduce necessary overrides
(e.g., ssri >=6.0.2, qs ^6.15.1) and allowBuilds settings so
fixture-specific build allowances and overrides continue to apply under
pnpm v11.

### Tests & tooling updates
- Updated many e2e tests and setup scripts to export pnpm-specific env
vars (pnpm_config_registry, pnpm_config_minimum_release_age, etc.)
instead of npm_config_* so pnpm receives registry/minimum-release-age
configs.
- Extended pnpm-specific env var allowlist (packages/_types-builder)
with additional pnpm_config_* keys.
- Small TypeScript typings and build tweaks (tsup externals, various
Droppable typing updates).
- Patch update: changesets-get-dependents-graph patch updated to
construct Range with includePrerelease: true.

### CI & GitHub Actions
- Composite action explicitly sets up Node 22 via actions/setup-node@v6
and continues to install pnpm via pnpm/action-setup@v4.
- Turbo action now runs turborepo via pnpm dlx (pnpm dlx turbo ...) and
disables telemetry.
- Multiple CI steps and workflows changed pnpm install
--ignore-workspace → pnpm install to be workspace-aware where
appropriate.

### Commit / migration notes
- Added commit(s) to preserve nested pnpm workspace configs for
fixtures, add missing packageExtensions, and make other adjustments
required by pnpm v11 (including explicit allowBuilds in nested
workspaces so frozen installs pass).
- Author verified migration with pnpm 11.3.0 using install
--frozen-lockfile and git diff --check, but noted further
testing/investigation will follow (primary motivation: enable
worktree/global virtual store behavior).

## Impact & reviewer notes
- Requires pnpm >=11.0.0 locally and in CI (declared 11.3.0). Update
local tooling if needed.
- Workspace overrides, patched deps, and build allowances were relocated
to pnpm-workspace.yaml — reviewers should confirm fixture behavior,
package linking, and build approvals still match expectations.
- enableGlobalVirtualStore changes dependency layout/hoisting for
worktree installs; test git worktree installs and CI runs.
- Verify e2e fixtures, CI jobs, and any environment-specific
registry/settings propagate correctly via pnpm_config_* env vars.

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/mastra-ai/mastra/pull/17038?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)

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

---------

Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-05-28 09:45:07 -07:00