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

20 commits

Author SHA1 Message Date
Ward Peeters
ce5d4731ee
chore(deps): update dependencies across the monorepo (#28417)
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-10-26 16:59:30 +01:00
shreyas-mastra
164e197aa5
fix: bump vulnerable dependencies to patched releases (#24027)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-09-15 13:58:48 -07:00
Ward Peeters
3a507cbd42
chore: migrate repository formatting to oxfmt (#19807)
Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-07-24 16:18:33 +02:00
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
Abhi Aiyer
e05265308a
test: fix msw resolution, stale LLM recordings, and keyless client-js E2E failures (#19424)
Co-authored-by: Mastra Code (anthropic/claude-fable-5) <noreply@mastra.ai>
2026-07-14 17:45:09 +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
Taofeeq Oluderu
493a328f43
feat(core): run agentic loop on the evented workflow engine (#16796)
## Summary

- Migrates the agent's internal agentic loop onto the evented workflow
engine. Each LLM call and tool call now runs as a workflow step, sharing
suspend/resume and observability with the rest of the workflow system.
No user-visible behavior change yet — this is the structural
prerequisite for future durability and event-based observability
features.
- Fixes a nested-workflow bug where `resumeLabel` wasn't propagated up
through a parent's suspendedPaths, so resuming a nested workflow by
label silently failed.


🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
ELI5: This change moves the agent's internal loop to run as a series of
steps in the evented workflow engine so each model call and tool call is
tracked like a tiny workflow. That makes suspend/resume, observability,
and future durability much easier and also fixes a bug that broke
resuming nested workflows by label.

- What it does
- Migrates the agentic loop so each LLM and tool call executes as
evented workflow steps (uses createEventedWorkflow /
createEventedWorkflow factory).
- Agents can run without a user-provided Mastra by creating a
lazily-initialized ephemeral Mastra (InMemoryStore + EventEmitterPubSub)
and starting ephemeral workers on first use.
- Adds a per-run runScope (PrepareStreamRunScope) to thread
non-JSON-safe runtime state (MessageList, processorStates,
convertedTools, loopOptions) across prepare-stream workflow steps
instead of passing those objects through step inputs/outputs.
- Introduces runId-scoped internal workflow registration/unregistration
to avoid collisions for concurrent/nested runs.

- Bug fixes / behavioral corrections
- Fixes nested-workflow resume-by-label: resumeLabel is propagated
through parent suspendedPaths and nested suspend metadata so resuming a
nested workflow by label works reliably.
- Preserves and aggregates suspendPayloads (not just resumeLabels)
across suspended foreach iterations and when storage persistence is
skipped/absent.
- Ensures persisted snapshots are retained for pending/paused/suspended
states (not only suspended).
- Tightens internal workflow lookup to prefer runId-scoped internal
workflow instances, preventing wrong closure/registration resolution in
nested/concurrent cases.

- Implementation details / notable API surface changes
- New helper: createEventedWorkflow(...) exported from workflows
entrypoint (throws if evented factory not loaded).
  - Mastra changes:
- Defaults to InMemoryStore when storage not provided (with warning) and
augments the store.
- Internal workflow registry supports runId-scoped keys; added
__unregisterInternalWorkflow and updated __registerInternalWorkflow /
__hasInternalWorkflow / __getInternalWorkflow signatures.
  - Evented processor and execution engine:
- Nested workflow resolution now passes runId to getNestedWorkflow and
resolveWorkflow.
- Workflow event processor rebuilt resumeLabels and suspend payload
propagation; adjusted foreach aggregation and merge behavior when
storage updates are absent.
- In-memory workflow storage replaced JSON-serialize deep-copy with a
cycle-safe deep clone preserving Dates, Errors, Maps/Sets, prototypes,
typed arrays, etc.

- Tests / tooling
- Added suspend/resume test to validate resuming a suspended nested
workflow step by label and updated many tests to run against an evented
Mastra (InMemoryStore + EventEmitterPubSub) with worker lifecycle
management helpers (createTestMastra, start/stop workers).
- Multiple test updates to use real InMemoryStore + evented pubsub
instead of mocked storage or missing worker lifecycles.

- Minor / UX
- Updated background-task generated system prompt to clarify _background
behavior and placeholder result guidance.
- stream/loop runtime: distinguishes "pre-run" queued signals from
normal "pending" signals and exposes drainPendingSignals(runId, scope?)
with scope 'pending'|'pre-run'; stream lifecycle registers/unregisters
run-scoped internal workflows to prevent leakage on suspend.

- Risk / review notes
- Structural and high-impact refactor touching core agent loop, workflow
engine integration, storage cloning, and Mastra internals—review effort:
high in multiple areas (agent, workflows, mastra, storage, evented
processor).

<!-- 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/16796?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: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Mastra Code (anthropic/claude-opus-4-6) <noreply@mastra.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Abhi Aiyer <abhi@mastra.ai>
Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
2026-06-09 00:13:36 +01:00
Tyler Barnes
97b974e292
chore: add missing lint-staged configs (#17220)
This fills in missing package-local lint-staged configs so staged files
in those workspaces get formatted/fixed before CI catches import
ordering.

It also switches the Husky hook to Corepack so the hook can resolve the
repo's pnpm version consistently. On my machine, plain `pnpm` was
failing in the hook env and the fallback made the hook silently skip
lint-staged.

Before:

```sh
pnpm --version || exit 0
pnpm lint-staged --quiet
```

After:

```sh
corepack pnpm@10.29.3 --version || exit 0
corepack pnpm@10.29.3 lint-staged --quiet
```

I checked workspace coverage and verified package-local lint-staged runs
cleanly against the branch diff with:

```sh
corepack pnpm@10.29.3 exec lint-staged --diff HEAD --quiet
```


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

This PR makes sure every package in the repo automatically formats and
fixes staged files before you commit, and it makes the pre-commit hook
run a specific, consistent pnpm version so those fixes actually run
reliably.

## Changes to Pre-Commit Hook

- Updated .husky/pre-commit to run pnpm via Corepack with an explicit
pin: corepack pnpm@10.29.3 --version || exit 0 and corepack pnpm@10.29.3
lint-staged --quiet (replacing plain pnpm). This ensures the hook
resolves the repository's pnpm version consistently and prevents
lint-staged from being skipped in environments where a global pnpm may
be absent or incompatible.

## Workspace Package lint-staged Configs

- Added package-local lint-staged configuration files
(lint-staged.config.js or .mjs) across ~40+ workspace packages and
subpackages.
- Two consistent patterns applied:
- TypeScript/TSX-focused packages: run eslint --fix --max-warnings=0
then prettier --write on *.{ts,tsx}, and run prettier --write on
*.{js,jsx} and *.{json,md,yml,yaml}.
- Prettier-only packages (test-utils and simpler packages): run prettier
--write for *.{ts,tsx,js,jsx,json,md,yml,yaml}.
- These package-local configs ensure staged files within each workspace
are formatted and lint-fixed (including TS import ordering via eslint
--fix) before commit, reducing CI failures and manual formatting fixes.

## Other Notes

- Author verified workspace coverage and confirmed package-local
lint-staged runs cleanly against the branch diff using: corepack
pnpm@10.29.3 exec lint-staged --diff HEAD --quiet.
- Commit message notes an adjustment to align with pnpm 11 in a
follow-up commit (chore: align lint-staged hook with pnpm 11).

<!-- 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/17220?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 12:01:09 -07:00
Eric Pinzur
50f5884b41
draft: Add MastraPlatformExporter and MastraStorageExporter, deprecate CloudExporter and DefaultExporter (#16223)
## Description

Renames two built-in observability exporters in `@mastra/observability`
to clearer names that better describe what they do. Both renames use a
**duplicate-and-deprecate** pattern: the original classes are preserved
unchanged (same exporter `name` strings, same error IDs, same runtime
behavior) and marked `@deprecated`; the new classes ship in their own
files with updated identifiers.

| Old | New |
| - | - |
| `CloudExporter` | `MastraPlatformExporter` |
| `DefaultExporter` | `MastraStorageExporter` |

This means existing imports keep working without modification, and any
monitoring rules or dashboards matching the old `CLOUD_EXPORTER_*` error
IDs / `mastra-cloud-observability-exporter` name /
`mastra-default-observability-exporter` name keep firing until users
migrate.

### What changed

- **New classes**:
- `MastraPlatformExporter` in
`observability/mastra/src/exporters/mastra-platform.ts` (uses
`MASTRA_PLATFORM_EXPORTER_*` error IDs and `mastra-platform-exporter`
name).
- `MastraStorageExporter` in
`observability/mastra/src/exporters/mastra-storage.ts` (uses
`mastra-storage-exporter` name).
- Each has its own test file (`mastra-platform.test.ts`,
`mastra-storage.test.ts`).
- **Deprecated classes** in `cloud.ts` and `default.ts` — implementation
byte-identical to the previous release, but now carry `@deprecated`
JSDoc pointing at the new classes. The deprecated reference doc pages
stay at their original URLs
(`/reference/observability/tracing/exporters/cloud-exporter` and
`/.../default-exporter`) so existing bookmarks keep working.
- **Public exports**: all four classes (and their config interfaces) are
exported from `@mastra/observability`.
- **Internal callers** updated to use the new classes: the deprecated
`default` observability config in `default.ts`, the `mastracode` runtime
bootstrap, the `mastra` CLI `init` template, and `@mastra/core` JSDoc
and bootstrap warning messages.
- **Templates and examples**: all 11 templates, the `agent-v6` and
`agent` examples, the `e2e-tests/no-bundling` and `e2e-tests/client-js`
fixtures, and the `examples/inngest` README now use the new classes.
- **Docs**: every overview page, exporter page, processor page,
migration guide, storage reference page, and tracing reference page now
recommends the new classes. Two doc pages were renamed (`cloud.mdx` →
`mastra-platform.mdx`, `default.mdx` → `mastra-storage.mdx`) with
permanent redirects from the old URLs in `docs/vercel.json`. Sidebars
now list both deprecated reference pages alongside the new ones; the
deprecated entries get a `(deprecated)` label and a
`sidebar-item-deprecated` className hook.
- **Codemod**: added `MastraPlatformExporter` and `MastraStorageExporter
→ @mastra/observability` mappings alongside the existing `CloudExporter`
/ `DefaultExporter` entries.

### Trade-off

Each pair of files (`cloud.ts` / `mastra-platform.ts`, `default.ts` /
`mastra-storage.ts`) is ~99% identical today. Bug fixes to the new
classes will not auto-apply to the deprecated ones — but since the
deprecated classes are now frozen for back-compat, that's the intended
outcome until they're removed in a future major.

### Migration

```ts
// Before
import { Observability, DefaultExporter, CloudExporter, SensitiveDataFilter } from '@mastra/observability'
new Observability({
  configs: {
    default: {
      serviceName: 'my-app',
      exporters: [new DefaultExporter(), new CloudExporter()],
      spanOutputProcessors: [new SensitiveDataFilter()],
    },
  },
})

// After
import { Observability, MastraStorageExporter, MastraPlatformExporter, SensitiveDataFilter } from '@mastra/observability'
new Observability({
  configs: {
    default: {
      serviceName: 'my-app',
      exporters: [new MastraStorageExporter(), new MastraPlatformExporter()],
      spanOutputProcessors: [new SensitiveDataFilter()],
    },
  },
})
```

Constructor signatures, environment variables
(`MASTRA_CLOUD_ACCESS_TOKEN`, `MASTRA_PROJECT_ID`,
`MASTRA_CLOUD_TRACES_ENDPOINT`), and runtime behavior are all unchanged.
Update monitoring rules that match on `CLOUD_EXPORTER_*` IDs,
`mastra-cloud-observability-exporter`, or
`mastra-default-observability-exporter` when you migrate — the new
classes use `MASTRA_PLATFORM_EXPORTER_*`, `mastra-platform-exporter`,
and `mastra-storage-exporter`.

## Type of Change

- [x] New feature (non-breaking change that adds functionality)
- [x] Documentation update
- [x] Code refactoring

## Checklist

- [x] Documentation updated (overview, reference, migration guides,
dedicated exporter pages)
- [x] Tests added for the new classes (`mastra-platform.test.ts`,
`mastra-storage.test.ts`); existing `cloud.test.ts` and
`default.test.ts` retained unchanged for the deprecated classes
- [x] Backward compatibility preserved: `CloudExporter` and
`DefaultExporter` keep their original error IDs, exporter `name`, and
runtime behavior

https://claude.ai/code/session_014DDGpY9LbumVTqdWX5aGmr

Co-authored-by: Claude <noreply@anthropic.com>
2026-05-11 15:51:43 +02:00
Anurag Ojha
8f6b65181d
fix(client-js): align Vector return types with server (#16036)
## Description

Aligns three Vector resource return types in `@mastra/client-js` with
what the server actually returns. The previous types described shapes
that did not exist on the wire, leading to silent runtime failures with
no TypeScript errors.

- Changed `vector.getIndexes()` from `Promise<{ indexes: string[] }>` to
`Promise<string[]>`
- Changed `vector.upsert()` from `Promise<string[]>` to `Promise<{ ids:
string[] }>`
- Changed `vector.query()` from `Promise<QueryVectorResponse>` to
`Promise<QueryResult[]>`
- Updated the public `QueryVectorResponse` type from `{ results:
QueryResult[] }` to a `QueryResult[]` alias so external imports still
resolve
- Fixed unit-test mocks in `vector.test.ts` to match real server
response shapes, closing the loophole that hid the bug at unit level
- Removed `: any` casts and `TODO(#15089)` workarounds in
`e2e-tests/client-js/_test-utils/src/vector-tests.ts`
- Server is unchanged — alignment was done on the SDK side to preserve
the public HTTP contract

## Related Issue(s)

Fixes #15089

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [x] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [x] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have addressed all Coderabbit comments on this PR

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

This PR fixes the client library so its TypeScript types match what the
server actually sends. Previously the SDK promised different shapes than
the server returned, causing runtime crashes; now the SDK types and
tests reflect the real responses.

## Changes

### Method Return Type Corrections
- getIndexes(): Promise<{ indexes: string[] }> → Promise<string[]>
- upsert(): Promise<string[]> → Promise<{ ids: string[] }>
- query(): Promise<QueryVectorResponse> → Promise<QueryResult[]>

### Type Definition Updates
- client-sdks/client-js/src/types.ts: `QueryVectorResponse` changed from
`interface { results: QueryResult[] }` to `export type
QueryVectorResponse = QueryResult[]` (keeps external imports resolvable
while matching server shape).

### Tests and E2E Test Utilities
- client-sdks/client-js/src/resources/vector.test.ts: mocked fetch
payloads and assertions updated to the real server response shapes for
getIndexes, upsert, and query.
- e2e-tests/client-js/_test-utils/src/vector-tests.ts: removed `: any`
casts and TODO(#15089) workarounds so inferred types reflect corrected
SDK types.

### Release Notes / Changeset
- .changeset/vector-sdk-return-types.md added documenting the breaking
changes with before/after examples and referencing issue #15089.

## Breaking Changes
- This is a breaking change for @mastra/client-js: consumers must update
call sites that expected the old wrapped/ unwrapped shapes (e.g., stop
using `result.indexes` and use the array directly, handle `{ ids:
string[] }` for upsert, treat query responses as an array).

## Server Compatibility
- No server changes: the SDK is updated to match the existing server
HTTP responses (non-breaking to the server/API).
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-05-01 22:42:04 +05:30
Anurag Ojha
ec3253e9bb
feat(e2e): add client-js e2e tests for agents, memory, workflows, tools, and vectors (#13081)
## Description

Adds end-to-end tests for `@mastra/client-js` that validate the full
stack: **MastraClient → Hono Server → LibSQL Storage**.

Following the existing `createObservabilityTests()` factory pattern,
this PR adds test factories for the remaining coverage areas:

- **`agent-tests.ts`** — list agents, get agent details, error handling
for non-existent agents
- **`memory-tests.ts`** — create/get/update/delete threads, save and
list messages
- **`workflow-tests.ts`** — list workflows, get details, create and
execute runs
- **`tool-tests.ts`** — list tools, get details, execute tools, invalid
input handling
- **`vector-tests.ts`** — create/delete indexes, upsert vectors, query
by similarity

All new tests use **no LLM calls** — they rely on simple compute-only
operations (math, string concat) and in-memory LibSQL storage for fast,
isolated execution.

### Changes

- Extended `server-setup.ts` with Memory, Workflows, Tools, and Vector
configurations
- Added 5 new test factory files in `_test-utils/src/`
- Added corresponding test files in both `zod-v3/` and `zod-v4/`
variants
- Updated `_test-utils/src/index.ts` to export new factories
- Added `@mastra/memory` dependency to `_test-utils/package.json`

## Related Issue(s)

Fixes #11342

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [x] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [x] I have added tests that prove my fix is effective or that my
feature works

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

* **Tests**
* Expanded end-to-end coverage with reusable suites for agents, memory,
tools, vectors, and workflows.
* Registered Zod v3 and v4 test runs and added reusable test harnesses
for each area.

* **Chores**
* Extended test infrastructure to support memory, vector, tool, and
workflow scenarios and exports.
* Cleaned up test bootstrapping/typing and added runtime test setup and
teardown improvements.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: intojhanurag <aojharaj2004@gmail.com>
2026-04-06 21:58:16 +02:00
Eric Pinzur
8de355572c
Adds new endpoints to server & client for metrics, logs, scores, and feedbacks. (#14270) 2026-03-17 18:19:48 +01:00
Ward Peeters
bbcbbce4f0
chore: update dependencies and fix mcp build for @modelcontextprotocol/sdk@1.27.1 (#14260)
Co-authored-by: Mastra Code (anthropic/claude-opus-4-6) <noreply@mastra.ai>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-16 15:12:37 +01:00
dane-ai-mastra[bot]
7f9081bc32 chore: version - exit prerelease mode 2026-03-04 10:09:16 +00:00
Dane - AI (Mastra)
7e331464c9
chore(deps): update e2e tests (#11589)
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)) | dependencies | patch
| [`^2.0.44` ->
`^2.0.89`](https://renovatebot.com/diffs/npm/@ai-sdk%2fopenai/2.0.44/2.0.89)
| |
| [@hono/node-server](https://redirect.github.com/honojs/node-server) |
dependencies | patch | [`^1.14.3` ->
`^1.19.9`](https://renovatebot.com/diffs/npm/@hono%2fnode-server/1.19.6/1.19.9)
| |
| [ai](https://ai-sdk.dev/docs)
([source](https://redirect.github.com/vercel/ai)) | dependencies | patch
| [`^5.0.101` ->
`^5.0.124`](https://renovatebot.com/diffs/npm/ai/5.0.101/5.0.124) |
`5.0.126` (+1) |
| [execa](https://redirect.github.com/sindresorhus/execa) |
devDependencies | patch | [`^9.6.0` ->
`^9.6.1`](https://renovatebot.com/diffs/npm/execa/9.6.1/9.6.1) | |
| [globby](https://redirect.github.com/sindresorhus/globby) |
devDependencies | patch | [`^16.0.0` ->
`^16.1.0`](https://renovatebot.com/diffs/npm/globby/16.1.0/16.1.0) | |
| [globby](https://redirect.github.com/sindresorhus/globby) |
devDependencies | minor | [`^16.0.0` ->
`^16.1.0`](https://renovatebot.com/diffs/npm/globby/16.0.0/16.1.0) | |
| [hono](https://hono.dev)
([source](https://redirect.github.com/honojs/hono)) | dependencies |
minor | [`^4.9.10` ->
`^4.11.7`](https://renovatebot.com/diffs/npm/hono/4.9.10/4.11.7) | |
| [hono](https://hono.dev)
([source](https://redirect.github.com/honojs/hono)) | dependencies |
patch | [`^4.6.0` ->
`^4.11.7`](https://renovatebot.com/diffs/npm/hono/4.11.4/4.11.7) | |
| [lodash](https://lodash.com/)
([source](https://redirect.github.com/lodash/lodash)) | dependencies |
patch | [`^4.17.21` ->
`^4.17.23`](https://renovatebot.com/diffs/npm/lodash/4.17.21/4.17.23) |
|
| [openai-v4](https://ai-sdk.dev/docs)
([source](https://redirect.github.com/vercel/ai)) | dependencies | minor
| [`^1.0.0` ->
`^1.3.24`](https://renovatebot.com/diffs/npm/openai-v4/1.0.0/1.3.24) | |
| [openai-v5](https://ai-sdk.dev/docs)
([source](https://redirect.github.com/vercel/ai)) | dependencies | patch
| [`^2.0.0` ->
`^2.0.89`](https://renovatebot.com/diffs/npm/openai-v5/2.0.0/2.0.89) | |
|
[unicorn-magic](https://redirect.github.com/sindresorhus/unicorn-magic)
| dependencies | minor | [`0.3.0` ->
`0.4.0`](https://renovatebot.com/diffs/npm/unicorn-magic/0.3.0/0.4.0) |
|
| [verdaccio](https://verdaccio.org)
([source](https://redirect.github.com/verdaccio/verdaccio)) |
devDependencies | patch | [`^6.2.0` ->
`^6.2.5`](https://renovatebot.com/diffs/npm/verdaccio/6.2.4/6.2.5) | |
| [verdaccio](https://verdaccio.org)
([source](https://redirect.github.com/verdaccio/verdaccio)) |
devDependencies | patch | [`^6.2.2` ->
`^6.2.5`](https://renovatebot.com/diffs/npm/verdaccio/6.2.4/6.2.5) | |
| [verdaccio](https://verdaccio.org)
([source](https://redirect.github.com/verdaccio/verdaccio)) |
devDependencies | patch | [`^6.2.4` ->
`^6.2.5`](https://renovatebot.com/diffs/npm/verdaccio/6.2.4/6.2.5) | |
| [wrangler](https://redirect.github.com/cloudflare/workers-sdk)
([source](https://redirect.github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler))
| devDependencies | minor | [`^4.42.1` ->
`^4.61.1`](https://renovatebot.com/diffs/npm/wrangler/4.42.1/4.61.1) |
`4.63.0` (+1) |

---

### Release Notes

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

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

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

##### Patch Changes

- [`4953414`](4953414):
fix: trigger new release for `@ai-v5` dist-tag
- Updated dependencies
\[[`4953414`](4953414)]
-
[@&#8203;ai-sdk/provider](https://redirect.github.com/ai-sdk/provider)[@&#8203;2](https://redirect.github.com/2).0.1
-
[@&#8203;ai-sdk/provider-utils](https://redirect.github.com/ai-sdk/provider-utils)[@&#8203;3](https://redirect.github.com/3).0.20

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

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

##### Patch Changes

- [`2352cdf`](2352cdf):
feat (provider/openai): add gpt-image-1.5 model support

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

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

##### Patch Changes

- [`72d76cc`](72d76cc): Add
GPT-5.2 support for non-reasoning parameters (temperature, topP,
logProbs) when reasoningEffort is none.

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

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

##### Patch Changes

- [`a909bcf`](a909bcf):
fix(openai); fix url\_citation schema in chat api

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

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

##### Patch Changes

- [`e79430b`](e79430b):
fix(openai): change find action type to find\_in\_page action type

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

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

##### Patch Changes

- [`041a4fc`](041a4fc):
feat(openai): add gpt-5.2 models

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

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

##### Patch Changes

- [`edc807f`](edc807f):
feat(provider/openai): add GPT 5.1 Codex Max to OpenAI Responses model
IDs list

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

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

##### Patch Changes

- [`e31dfa4`](e31dfa4):
feat(provider/openai): add support for OpenAI xhigh reasoning effort

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

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

##### Patch Changes

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

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

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

##### Patch Changes

- [`707a163`](707a163):
feat(openai): additional settings for file search tool

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

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

##### Patch Changes

- [`5b6aa88`](5b6aa88):
fix(openai): fix parameter exclusion logic

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

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

##### Patch Changes

- [`e245b61`](e245b61):
fix(openai): allow temperature etc setting when reasoning effort is none
for gpt-5.1

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

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

##### Patch Changes

- [`31f6c20`](31f6c20):
fix(openai): allow open\_page action type url to be nullish

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

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

##### Patch Changes

- [`61545c4`](61545c4):
feat (provider/openai): include more image generation response metadata

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

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

##### Patch Changes

- [`1c7ff4a`](1c7ff4a):
distinguish between OpenAI and Azure in Responses API providerMetadata

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

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

##### Patch Changes

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

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

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

##### Patch Changes

- [`2e2fd83`](2e2fd83):
refactoring(provider/openai): simplify code

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

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

##### Patch Changes

- [`53d2fcc`](53d2fcc):
added support for external\_web\_access parameter on web\_search tool

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

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

##### Patch Changes

- [`29a5595`](29a5595):
Azure OpenAI enabled web-search-preview

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

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

##### Patch Changes

- [`dafda29`](dafda29): Set
the annotations from the Responses API to doStream

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

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

##### Patch Changes

- [`38a9f48`](38a9f48):
fix: error schema for Responses API

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

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

##### Patch Changes

- [`a4c6a12`](a4c6a12):
feat(provider/openai): support conversations api

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

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

##### Patch Changes

- [`3735f5a`](3735f5a):
feat(openai): Add support for 'promptCacheRetention: 24h' for gpt5.1
series

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

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

##### Patch Changes

- [`73f9178`](73f9178):
feat(openai): add 'gpt-5.1' modelID

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

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

##### Patch Changes

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

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

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

##### Patch Changes

- [`d251e53`](d251e53):
feat(openai): add `o3-deep-research` and `o4-mini-deep-research` models

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

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

##### Patch Changes

- [`3b62c49`](3b62c49):
fix(openai): extract meta data from first chunk that contains any

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

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

##### Patch Changes

- [`51aa5de`](51aa5de):
backport: test server
- Updated dependencies
\[[`51aa5de`](51aa5de)]
-
[@&#8203;ai-sdk/provider-utils](https://redirect.github.com/ai-sdk/provider-utils)[@&#8203;3](https://redirect.github.com/3).0.16

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

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

##### Patch Changes

- [`28ce89a`](28ce89a):
fix(openai): add support for sources type 'api'

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

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

##### Patch Changes

- [`3e42838`](3e42838):
fix: remove code for unsuported o1-mini and o1-preview models

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

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

##### Patch Changes

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

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

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

##### Patch Changes

- [`0f9d079`](0f9d079):
fix(openai): revised\_prompt sometimes returns null, causing errors

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

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

##### Patch Changes

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

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

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

##### Patch Changes

- [`b82d23b`](b82d23b):
feat(openai): preserve file\_id when converting file citations

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

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

##### Patch Changes

- [`2f4a59a`](2f4a59a):
feat(openai): add sources in web-search actions

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

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

##### Patch Changes

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

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

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

##### Patch Changes

- [`5464bf0`](5464bf0):
fix(provider/openai): add truncation parameter support for Responses API

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

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

##### Patch Changes

- [`8de8de5`](8de8de5):
fix(provider/openai): end reasoning parts earlier

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

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

##### Patch Changes

- [`cad5c1d`](cad5c1d):
fix(provider/openai): fix web search tool input types

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

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

##### Patch Changes

- [`c336b43`](c336b43):
feat(provider/openai): send assistant text and tool call parts as
reference ids when store: true

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

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

##### Patch Changes

- [`f4287d0`](f4287d0):
feat(provider/openai): automatically add reasoning.encrypted\_content
include when store = false

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

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

##### Patch Changes

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

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

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

##### Patch Changes

- [`99e2a2a`](99e2a2a):
feat(provider/openai): support file and image tool results

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

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

##### Patch Changes

- [`66f69e7`](66f69e7): Add
'default' as service tier

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

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

##### Patch Changes

- [`6f0644c`](6f0644c):
chore: use import \* from zod/v4
- [`6f0644c`](6f0644c):
chore: load zod schemas lazily
- Updated dependencies
\[[`6f0644c`](6f0644c)]
- Updated dependencies
\[[`6f0644c`](6f0644c)]
-
[@&#8203;ai-sdk/provider-utils](https://redirect.github.com/ai-sdk/provider-utils)[@&#8203;3](https://redirect.github.com/3).0.11

</details>

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

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

[Compare
Source](https://redirect.github.com/honojs/node-server/compare/v1.19.8...v1.19.9)

##### What's Changed

- fix(globals): Stop overwriting global.fetch by
[@&#8203;usualoma](https://redirect.github.com/usualoma) in
[#&#8203;295](https://redirect.github.com/honojs/node-server/pull/295)

**Full Changelog**:
<https://github.com/honojs/node-server/compare/v1.19.8...v1.19.9>

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

[Compare
Source](https://redirect.github.com/honojs/node-server/compare/v1.19.7...v1.19.8)

##### What's Changed

- docs: add guide for listening to UNIX domain socket by
[@&#8203;TransparentLC](https://redirect.github.com/TransparentLC) in
[#&#8203;292](https://redirect.github.com/honojs/node-server/pull/292)
- fix(serve-static): Use Readable.toWeb in serveStatic by
[@&#8203;otya128](https://redirect.github.com/otya128) in
[#&#8203;293](https://redirect.github.com/honojs/node-server/pull/293)

##### New Contributors

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

**Full Changelog**:
<https://github.com/honojs/node-server/compare/v1.19.7...v1.19.8>

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

[Compare
Source](https://redirect.github.com/honojs/node-server/compare/v1.19.6...v1.19.7)

##### What's Changed

- fix: Fix for hono issue 4563 - incorrect content-length after
following symlink by
[@&#8203;tshmieldev](https://redirect.github.com/tshmieldev) in
[#&#8203;290](https://redirect.github.com/honojs/node-server/pull/290)
- chore: add `configVersion` to bun.lock by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;291](https://redirect.github.com/honojs/node-server/pull/291)

##### New Contributors

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

**Full Changelog**:
<https://github.com/honojs/node-server/compare/v1.19.6...v1.19.7>

</details>

<details>
<summary>sindresorhus/globby (globby)</summary>

###
[`v16.1.0`](https://redirect.github.com/sindresorhus/globby/releases/tag/v16.1.0)

[Compare
Source](https://redirect.github.com/sindresorhus/globby/compare/v16.0.0...v16.1.0)

- Add
[`expandNegationOnlyPatterns`](https://redirect.github.com/sindresorhus/globby?tab=readme-ov-file#expandnegationonlypatterns)
option
[`eb78791`](eb78791)
- Fix: Normalize leading-slash negation patterns before task generation
[`59e269f`](59e269f)

***

</details>

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

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

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

##### Security Release

This release includes security fixes for multiple vulnerabilities in
Hono and related middleware. We recommend upgrading if you are using any
of the affected components.

##### Components

##### IP Restriction Middleware

Fixed an IPv4 address validation bypass that could allow IP-based access
control to be bypassed under certain configurations.

##### Cache Middleware

Fixed an issue where responses marked with `Cache-Control: private` or
`no-store` could be cached, potentially leading to information
disclosure on some runtimes.

##### Serve Static Middleware (Cloudflare Workers adapter)

Fixed an issue that could allow unintended access to internal asset keys
when serving static files with user-controlled paths.

##### hono/jsx `ErrorBoundary`

Fixed a reflected Cross-Site Scripting (XSS) issue in the
`ErrorBoundary` component that could occur when untrusted strings were
rendered without proper escaping.

##### Recommendation

Users are encouraged to upgrade to this release, especially if they:

- Use IP Restriction Middleware
- Use Cache Middleware on Deno, Bun, or Node.js
- Use Serve Static Middleware with user-controlled paths on Cloudflare
Workers
- Render untrusted data inside `ErrorBoundary` components

##### Security Advisories & CVEs

- **IP Restriction Middleware – IPv4 address validation bypass**
- Advisory:
<https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhh>
  - CVE: CVE-2026-24398

- **Cache Middleware ignores `Cache-Control: private`**
- Advisory:
<https://github.com/honojs/hono/security/advisories/GHSA-6wqw-2p9w-4vw4>
  - CVE: CVE-2026-24472

- **Serve Static Middleware (Cloudflare Workers adapter) – Arbitrary key
read**
- Advisory:
<https://github.com/honojs/hono/security/advisories/GHSA-w332-q679-j88p>
  - CVE: CVE-2026-24473

- **hono/jsx `ErrorBoundary` – Cross-Site Scripting (XSS)**
- Advisory:
<https://github.com/honojs/hono/security/advisories/GHSA-9r54-q6cx-xmh5>
  - CVE: Pending

***

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.11.6...v4.11.7>

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

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

##### What's Changed

- refactor: use `unique symbol` for more accurate typing. by
[@&#8203;usualoma](https://redirect.github.com/usualoma) in
[#&#8203;4651](https://redirect.github.com/honojs/hono/pull/4651)
- docs: align CODE\_OF\_CONDUCT.md wording with Contributor Covenant by
[@&#8203;sano-suguru](https://redirect.github.com/sano-suguru) in
[#&#8203;4630](https://redirect.github.com/honojs/hono/pull/4630)
- fix(sse): handle `\r` and `\r\n` line endings in writeSSE by
[@&#8203;AprilNEA](https://redirect.github.com/AprilNEA) in
[#&#8203;4644](https://redirect.github.com/honojs/hono/pull/4644)
- feat(bun): export getBunServer by
[@&#8203;artemtam](https://redirect.github.com/artemtam) in
[#&#8203;4626](https://redirect.github.com/honojs/hono/pull/4626)

##### New Contributors

- [@&#8203;sano-suguru](https://redirect.github.com/sano-suguru) made
their first contribution in
[#&#8203;4630](https://redirect.github.com/honojs/hono/pull/4630)
- [@&#8203;AprilNEA](https://redirect.github.com/AprilNEA) made their
first contribution in
[#&#8203;4644](https://redirect.github.com/honojs/hono/pull/4644)
- [@&#8203;artemtam](https://redirect.github.com/artemtam) made their
first contribution in
[#&#8203;4626](https://redirect.github.com/honojs/hono/pull/4626)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.11.5...v4.11.6>

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

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

##### What's Changed

- fix(client): exclude $all from ClientRequest type by
[@&#8203;paveg](https://redirect.github.com/paveg) in
[#&#8203;4611](https://redirect.github.com/honojs/hono/pull/4611)
- refactor(jwks): mark allowedAlgorithms, so the user can pass a
\`const… by [@&#8203;nikeee](https://redirect.github.com/nikeee) in
[#&#8203;4641](https://redirect.github.com/honojs/hono/pull/4641)
- feat(jwt): export `AlgorithmTypes` by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;4642](https://redirect.github.com/honojs/hono/pull/4642)

##### New Contributors

- [@&#8203;paveg](https://redirect.github.com/paveg) made their first
contribution in
[#&#8203;4611](https://redirect.github.com/honojs/hono/pull/4611)
- [@&#8203;nikeee](https://redirect.github.com/nikeee) made their first
contribution in
[#&#8203;4641](https://redirect.github.com/honojs/hono/pull/4641)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.11.4...v4.11.5>

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

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

#### Security

Fixed a JWT algorithm confusion issue in the JWT and JWK/JWKS
middleware.

Both middlewares now require an explicit algorithm configuration to
prevent the verification algorithm from being influenced by untrusted
JWT header values.

If you are using the JWT or JWK/JWKS middleware, please update to the
latest version as soon as possible.

##### JWT middleware

```ts
import { jwt } from 'hono/jwt'

app.use(
  '/auth/*',
  jwt({
    secret: 'it-is-very-secret',
    alg: 'HS256', // required
  })
)
```

##### JWK/JWKS middleware

```ts
import { jwk } from 'hono/jwk'

app.use(
  '/auth/*',
  jwk({
    jwks_uri: 'https://example.com/.well-known/jwks.json',
    alg: ['RS256'], // required (asymmetric algorithms only)
  })
)
```

For more details, see the Security Advisory.

-
<https://github.com/honojs/hono/security/advisories/GHSA-f67f-6cw9-8mq4>
-
<https://github.com/honojs/hono/security/advisories/GHSA-3vhc-576x-3qv4>

#### What's Changed

- test(utils/jwt): add missing algorithm types in jwa.test.ts by
[@&#8203;flathill404](https://redirect.github.com/flathill404) in
[#&#8203;4607](https://redirect.github.com/honojs/hono/pull/4607)
- chore: bump `@hono/eslint-config` and enable curly rule by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;4620](https://redirect.github.com/honojs/hono/pull/4620)
- docs(bun/websocket): Fixed a typo in hono/bun deprecation message and
updated test. by
[@&#8203;Itsnotaka](https://redirect.github.com/Itsnotaka) in
[#&#8203;4618](https://redirect.github.com/honojs/hono/pull/4618)
- test: support `alg` option for JWT middleware by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;4624](https://redirect.github.com/honojs/hono/pull/4624)

#### New Contributors

- [@&#8203;flathill404](https://redirect.github.com/flathill404) made
their first contribution in
[#&#8203;4607](https://redirect.github.com/honojs/hono/pull/4607)
- [@&#8203;Itsnotaka](https://redirect.github.com/Itsnotaka) made their
first contribution in
[#&#8203;4618](https://redirect.github.com/honojs/hono/pull/4618)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.11.3...v4.11.4>

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

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

#### What's Changed

- fix(types): fix middleware union type merging in
MergeMiddlewareResponse by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;4602](https://redirect.github.com/honojs/hono/pull/4602)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.11.2...v4.11.3>

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

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

#### What's Changed

- docs: improve grammar in contributing documentation by
[@&#8203;Ishiezz](https://redirect.github.com/Ishiezz) in
[#&#8203;4581](https://redirect.github.com/honojs/hono/pull/4581)
- fix(validator): preserve literal union types in input type inference
by [@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;4583](https://redirect.github.com/honojs/hono/pull/4583)
- chore: bump typescript-go preview for accurate benchmarking by
[@&#8203;sushichan044](https://redirect.github.com/sushichan044) in
[#&#8203;4586](https://redirect.github.com/honojs/hono/pull/4586)
- refactor(hono-base): add type annotations by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;4591](https://redirect.github.com/honojs/hono/pull/4591)
- refactor(client): refactor `HonoURL` types by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;4592](https://redirect.github.com/honojs/hono/pull/4592)
- perf(types): reduce `Simplify` in `ToSchema` by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;4597](https://redirect.github.com/honojs/hono/pull/4597)
- perf(types): optimize `MergeMiddlewareResponse` type by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;4598](https://redirect.github.com/honojs/hono/pull/4598)

#### New Contributors

- [@&#8203;Ishiezz](https://redirect.github.com/Ishiezz) made their
first contribution in
[#&#8203;4581](https://redirect.github.com/honojs/hono/pull/4581)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.11.1...v4.11.2>

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

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

#### What's Changed

- fix(types): fix app.on method array type inference by
[@&#8203;kosei28](https://redirect.github.com/kosei28) in
[#&#8203;4578](https://redirect.github.com/honojs/hono/pull/4578)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.11.0...v4.11.1>

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

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

### Release Notes

Hono v4.11.0 is now available!

This release includes new features for the Hono client, middleware
improvements, and an important type system fix.

#### Type System Fix for Middleware

We've fixed a bug in the type system for middleware. Previously, `app`
did not have the correct type with pathless handlers:

```ts
const app = new Hono()
  .use(async (c, next) => {
    await next()
  })
  .get('/a', async (c, next) => {
    await next()
  })
  .get((c) => {
    return c.text('Hello')
  })

// app's type was incorrect
```

This has now been fixed.

Thanks [@&#8203;kosei28](https://redirect.github.com/kosei28)!

#### Typed URL for Hono Client

You can now pass the base URL as the second type parameter to `hc` to
get more precise URL types:

```ts
const client = hc<typeof app, 'http://localhost:8787'>(
  'http://localhost:8787/'
)

const url = client.api.posts.$url()
// url is TypedURL with precise type information
// including protocol, host, and path
```

This is useful when you want to use the URL as a type-safe key for
libraries like SWR.

Thanks [@&#8203;miyaji255](https://redirect.github.com/miyaji255)!

#### Custom NotFoundResponse Type

You can now customize the `NotFoundResponse` type using module
augmentation. This allows `c.notFound()` to return a typed response:

```ts
import { Hono, TypedResponse } from 'hono'

declare module 'hono' {
  interface NotFoundResponse
    extends Response,
      TypedResponse<{ error: string }, 404, 'json'> {}
}

const app = new Hono()
  .get('/posts/:id', async (c) => {
    const post = await getPost(c.req.param('id'))
    if (!post) {
      return c.notFound()
    }
    return c.json({ post }, 200)
  })
  .notFound((c) => c.json({ error: 'not found' }, 404))
```

Now the client can correctly infer the 404 response type.

Thanks [@&#8203;miyaji255](https://redirect.github.com/miyaji255)!

#### tryGetContext Helper

The new `tryGetContext()` helper in the Context Storage middleware
returns `undefined` instead of throwing an error when the context is not
available:

```ts
import { tryGetContext } from 'hono/context-storage'

const context = tryGetContext<Env>()
if (context) {
  // Context is available
  console.log(context.var.message)
}
```

Thanks [@&#8203;AyushCoder9](https://redirect.github.com/AyushCoder9)!

#### Custom Query Serializer

You can now customize how query parameters are serialized using the
`buildSearchParams` option:

```ts
const client = hc<AppType>('http://localhost', {
  buildSearchParams: (query) => {
    const searchParams = new URLSearchParams()
    for (const [k, v] of Object.entries(query)) {
      if (v === undefined) continue
      if (Array.isArray(v)) {
        v.forEach((item) => searchParams.append(`${k}[]`, item))
      } else {
        searchParams.set(k, v)
      }
    }
    return searchParams
  },
})
```

Thanks [@&#8203;bolasblack](https://redirect.github.com/bolasblack)!

#### New features

- feat(types): make Hono client's $url return the exact URL type
[#&#8203;4502](https://redirect.github.com/honojs/hono/pull/4502)
- feat(types): enhance NotFoundHandler to support custom
NotFoundResponse type
[#&#8203;4518](https://redirect.github.com/honojs/hono/pull/4518)
- feat(timing): add wrapTime to simplify usage
[#&#8203;4519](https://redirect.github.com/honojs/hono/pull/4519)
- feat(pretty-json): support force option
[#&#8203;4531](https://redirect.github.com/honojs/hono/pull/4531)
- feat(client): add buildSearchParams option to customize query
serialization
[#&#8203;4535](https://redirect.github.com/honojs/hono/pull/4535)
- feat(context-storage): add optional tryGetContext helper
[#&#8203;4539](https://redirect.github.com/honojs/hono/pull/4539)
- feat(secure-headers): add CSP report-to and report-uri directive
support
[#&#8203;4555](https://redirect.github.com/honojs/hono/pull/4555)
- fix(types): replace schema-based path tracking with CurrentPath
parameter
[#&#8203;4552](https://redirect.github.com/honojs/hono/pull/4552)

#### All changes

- chore: update esbuild to version 0.27.1 by
[@&#8203;kosei28](https://redirect.github.com/kosei28) in
[#&#8203;4571](https://redirect.github.com/honojs/hono/pull/4571)
- fix(hono/jsx): display blank when children is nullish by
[@&#8203;techfish-11](https://redirect.github.com/techfish-11) in
[#&#8203;4573](https://redirect.github.com/honojs/hono/pull/4573)
- feat(types): make Hono client's $url return the exact URL type by
[@&#8203;miyaji255](https://redirect.github.com/miyaji255) in
[#&#8203;4502](https://redirect.github.com/honojs/hono/pull/4502)
- feat(types): enhance NotFoundHandler to support custom
NotFoundResponse type by
[@&#8203;miyaji255](https://redirect.github.com/miyaji255) in
[#&#8203;4518](https://redirect.github.com/honojs/hono/pull/4518)
- feat(timing): add wrapTime to simplify usage by
[@&#8203;PassiDel](https://redirect.github.com/PassiDel) in
[#&#8203;4519](https://redirect.github.com/honojs/hono/pull/4519)
- feat(pretty-json): support force option by
[@&#8203;missinglink](https://redirect.github.com/missinglink) in
[#&#8203;4531](https://redirect.github.com/honojs/hono/pull/4531)
- feat(context-storage): Add optional tryGetContext helper to
context-storage middleware by
[@&#8203;AyushCoder9](https://redirect.github.com/AyushCoder9) in
[#&#8203;4539](https://redirect.github.com/honojs/hono/pull/4539)
- feat(client): add buildSearchParams option to customize query
serialization by
[@&#8203;bolasblack](https://redirect.github.com/bolasblack) in
[#&#8203;4535](https://redirect.github.com/honojs/hono/pull/4535)
- feat(secure-headers): Add CSP report-to and report-uri directive
support by [@&#8203;cruzz77](https://redirect.github.com/cruzz77) in
[#&#8203;4555](https://redirect.github.com/honojs/hono/pull/4555)
- fix(types): replace schema-based path tracking with CurrentPath
parameter by [@&#8203;kosei28](https://redirect.github.com/kosei28) in
[#&#8203;4552](https://redirect.github.com/honojs/hono/pull/4552)
- Next by [@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;4574](https://redirect.github.com/honojs/hono/pull/4574)

#### New Contributors

- [@&#8203;missinglink](https://redirect.github.com/missinglink) made
their first contribution in
[#&#8203;4531](https://redirect.github.com/honojs/hono/pull/4531)
- [@&#8203;bolasblack](https://redirect.github.com/bolasblack) made
their first contribution in
[#&#8203;4535](https://redirect.github.com/honojs/hono/pull/4535)
- [@&#8203;cruzz77](https://redirect.github.com/cruzz77) made their
first contribution in
[#&#8203;4555](https://redirect.github.com/honojs/hono/pull/4555)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.10.8...v4.11.0>

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

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

#### What's Changed

- chore: bump linter and formatter by
[@&#8203;ryuapp](https://redirect.github.com/ryuapp) in
[#&#8203;4568](https://redirect.github.com/honojs/hono/pull/4568)
- chore: bump github actions by
[@&#8203;ryuapp](https://redirect.github.com/ryuapp) in
[#&#8203;4569](https://redirect.github.com/honojs/hono/pull/4569)
- fix(linear-router): incorrect path matching by
[@&#8203;cromery](https://redirect.github.com/cromery) in
[#&#8203;4567](https://redirect.github.com/honojs/hono/pull/4567)
- docs(cookie): update outdated RFC links by
[@&#8203;AyushCoder9](https://redirect.github.com/AyushCoder9) in
[#&#8203;4557](https://redirect.github.com/honojs/hono/pull/4557)
- feat(csrf): Support async `IsAllowedOriginHandler` by
[@&#8203;baseballyama](https://redirect.github.com/baseballyama) in
[#&#8203;4558](https://redirect.github.com/honojs/hono/pull/4558)
- feat(csrf): Support async `IsAllowedSecFetchSiteHandler` by
[@&#8203;baseballyama](https://redirect.github.com/baseballyama) in
[#&#8203;4559](https://redirect.github.com/honojs/hono/pull/4559)

#### New Contributors

- [@&#8203;cromery](https://redirect.github.com/cromery) made their
first contribution in
[#&#8203;4567](https://redirect.github.com/honojs/hono/pull/4567)
- [@&#8203;AyushCoder9](https://redirect.github.com/AyushCoder9) made
their first contribution in
[#&#8203;4557](https://redirect.github.com/honojs/hono/pull/4557)
- [@&#8203;baseballyama](https://redirect.github.com/baseballyama) made
their first contribution in
[#&#8203;4558](https://redirect.github.com/honojs/hono/pull/4558)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.10.7...v4.10.8>

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

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

#### What's Changed

- fix(validator): fix incomplete types and wrong tests by
[@&#8203;EdamAme-x](https://redirect.github.com/EdamAme-x) in
[#&#8203;4521](https://redirect.github.com/honojs/hono/pull/4521)
- refactor(types): delete type `NotSpecified` and `StrictVerifyOptions`
by [@&#8203;ysknsid25](https://redirect.github.com/ysknsid25) in
[#&#8203;4525](https://redirect.github.com/honojs/hono/pull/4525)
- fix: add JSX type for hono/jsx/dom by
[@&#8203;ssssota](https://redirect.github.com/ssssota) in
[#&#8203;4534](https://redirect.github.com/honojs/hono/pull/4534)
- fix(adapter/bun): fix TypeError: null is not an object
([#&#8203;4429](https://redirect.github.com/honojs/hono/issues/4429)) by
[@&#8203;brenc](https://redirect.github.com/brenc) in
[#&#8203;4538](https://redirect.github.com/honojs/hono/pull/4538)
- chore: add config version to `bun.lock` by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;4548](https://redirect.github.com/honojs/hono/pull/4548)

#### New Contributors

- [@&#8203;ysknsid25](https://redirect.github.com/ysknsid25) made their
first contribution in
[#&#8203;4525](https://redirect.github.com/honojs/hono/pull/4525)
- [@&#8203;brenc](https://redirect.github.com/brenc) made their first
contribution in
[#&#8203;4538](https://redirect.github.com/honojs/hono/pull/4538)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.10.6...v4.10.7>

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

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

#### Deperecated

##### bearer-auth options

The following options are deprecated and will be removed in a future
version:

- `noAuthenticationHeaderMessage` => use
`noAuthenticationHeader.message`
- `invalidAuthenticationHeaderMessage` => use
`invalidAuthenticationHeader.message`
- `invalidTokenMessage` => use `invalidToken.message`

#### What's Changed

- feat(aws-lambda): handle AWS Lattice events by
[@&#8203;anho](https://redirect.github.com/anho) in
[#&#8203;4451](https://redirect.github.com/honojs/hono/pull/4451)
- feat(secure-headers): support CSP TrustedTypePolicy by
[@&#8203;RosApr](https://redirect.github.com/RosApr) in
[#&#8203;4500](https://redirect.github.com/honojs/hono/pull/4500)
- feat: Improve auth middlewares by
[@&#8203;MathurAditya724](https://redirect.github.com/MathurAditya724)
in [#&#8203;4485](https://redirect.github.com/honojs/hono/pull/4485)

#### New Contributors

- [@&#8203;anho](https://redirect.github.com/anho) made their first
contribution in
[#&#8203;4451](https://redirect.github.com/honojs/hono/pull/4451)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.10.5...v4.10.6>

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

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

#### What's Changed

- docs(CONTRIBUTING): use bun instead of yarn in local development setup
by [@&#8203;taichi-1](https://redirect.github.com/taichi-1) in
[#&#8203;4503](https://redirect.github.com/honojs/hono/pull/4503)
- docs: grammar issue by
[@&#8203;WuMingDao](https://redirect.github.com/WuMingDao) in
[#&#8203;4508](https://redirect.github.com/honojs/hono/pull/4508)
- fix(utils/url): make \_getQueryParam search behind question mark by
[@&#8203;tuzi3040](https://redirect.github.com/tuzi3040) in
[#&#8203;4507](https://redirect.github.com/honojs/hono/pull/4507)
- fix(jsx): self-close wrapped empty tags by
[@&#8203;jakelee8](https://redirect.github.com/jakelee8) in
[#&#8203;4511](https://redirect.github.com/honojs/hono/pull/4511)
- chore: improve private field removal by
[@&#8203;BlankParticle](https://redirect.github.com/BlankParticle) in
[#&#8203;4513](https://redirect.github.com/honojs/hono/pull/4513)
- fix(middleware/cache): skip caching when `Vary: *` is present by
[@&#8203;pHo9UBenaA](https://redirect.github.com/pHo9UBenaA) in
[#&#8203;4504](https://redirect.github.com/honojs/hono/pull/4504)

#### New Contributors

- [@&#8203;taichi-1](https://redirect.github.com/taichi-1) made their
first contribution in
[#&#8203;4503](https://redirect.github.com/honojs/hono/pull/4503)
- [@&#8203;WuMingDao](https://redirect.github.com/WuMingDao) made their
first contribution in
[#&#8203;4508](https://redirect.github.com/honojs/hono/pull/4508)
- [@&#8203;tuzi3040](https://redirect.github.com/tuzi3040) made their
first contribution in
[#&#8203;4507](https://redirect.github.com/honojs/hono/pull/4507)
- [@&#8203;jakelee8](https://redirect.github.com/jakelee8) made their
first contribution in
[#&#8203;4511](https://redirect.github.com/honojs/hono/pull/4511)
- [@&#8203;pHo9UBenaA](https://redirect.github.com/pHo9UBenaA) made
their first contribution in
[#&#8203;4504](https://redirect.github.com/honojs/hono/pull/4504)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.10.4...v4.10.5>

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

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

#### What's Changed

- chore: add a monochrome logo image by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;4487](https://redirect.github.com/honojs/hono/pull/4487)
- chore: fix the monochrome logo by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[#&#8203;4488](https://redirect.github.com/honojs/hono/pull/4488)
- fix(secure-headers): proposed features typo spelling mistake by
[@&#8203;RosApr](https://redirect.github.com/RosApr) in
[#&#8203;4494](https://redirect.github.com/honojs/hono/pull/4494)
- fix(types): preserve handler response typing in createHandlers by
[@&#8203;s-junio](https://redirect.github.com/s-junio) in
[#&#8203;4492](https://redirect.github.com/honojs/hono/pull/4492)

#### New Contributors

- [@&#8203;RosApr](https://redirect.github.com/RosApr) made their first
contribution in
[#&#8203;4494](https://redirect.github.com/honojs/hono/pull/4494)
- [@&#8203;s-junio](https://redirect.github.com/s-junio) made their
first contribution in
[#&#8203;4492](https://redirect.github.com/honojs/hono/pull/4492)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.10.3...v4.10.4>

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

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

#### Securiy Fix

A security issue in the CORS middleware has been fixed. In some cases, a
request header could affect the Vary response header. Please update to
the latest version if you are using the CORS middleware.

#### What's Changed

- fix(aws-lambda): serve microsoft office files as binary in lambda
handler by
[@&#8203;matthiasfeist](https://redirect.github.com/matthiasfeist) in
[#&#8203;4469](https://redirect.github.com/honojs/hono/pull/4469)
- fix(request-id): validation accepts `=` by
[@&#8203;ryuapp](https://redirect.github.com/ryuapp) in
[#&#8203;4478](https://redirect.github.com/honojs/hono/pull/4478)
- refactor(jwt): reduce the size of the code generated by minification
by [@&#8203;usualoma](https://redirect.github.com/usualoma) in
[#&#8203;4480](https://redirect.github.com/honojs/hono/pull/4480)

#### New Contributors

- [@&#8203;matthiasfeist](https://redirect.github.com/matthiasfeist)
made their first contribution in
[#&#8203;4469](https://redirect.github.com/honojs/hono/pull/4469)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.10.2...v4.10.3>

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

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

#### Security hardening improvement

If you are using JWT middleware, please read the following and consider
applying the configuration.

##### Improper Authorization in Hono (JWT Audience Validation)

Hono’s JWT authentication middleware did not validate the aud (Audience)
claim by default. As a result, applications using the middleware without
an explicit audience check could accept tokens intended for other
audiences, leading to potential cross-service access (token mix-up).

The issue is addressed by adding a new `verification.aud` configuration
option to allow RFC 7519–compliant audience validation. This change is
classified as a security hardening improvement, but the lack of
validation can still be considered a vulnerability in deployments that
rely on default JWT verification.

##### Recommended secure configuration

You can enable RFC 7519–compliant audience validation using the new
`verification.aud` option:

```ts
import { Hono } from 'hono'
import { jwt } from 'hono/jwt'

const app = new Hono()

app.use(
  '/api/*',
  jwt({
    secret: 'my-secret',
    verification: {
      // Require this API to only accept tokens with aud = 'service-a'
      aud: 'service-a',
    },
  })
)
```

#### What's Changed

- tests: Fix test case of handlers without a path by
[@&#8203;IAmSSH](https://redirect.github.com/IAmSSH) in
[#&#8203;4472](https://redirect.github.com/honojs/hono/pull/4472)

#### New Contributors

- [@&#8203;IAmSSH](https://redirect.github.com/IAmSSH) made their first
contribution in
[#&#8203;4472](https://redirect.github.com/honojs/hono/pull/4472)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.10.1...v4.10.2>

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

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

#### What's Changed

- fix(types): cannot `.use` non-return mw from `createMiddleware` by
[@&#8203;NamesMT](https://redirect.github.com/NamesMT) in
[#&#8203;4465](https://redirect.github.com/honojs/hono/pull/4465)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.10.0...v4.10.1>

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

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

### Release Notes

Hono v4.10.0 is now available!

This release brings improved TypeScript support and new utilities.

The main highlight is the enhanced middleware type definitions that
solve a long-standing issue with type safety for RPC clients.

#### Middleware Type Improvements

Imagine the following app:

```ts
import { Hono } from 'hono'

const app = new Hono()

const routes = app.get(
  '/',
  (c) => {
    return c.json({ errorMessage: 'Error!' }, 500)
  },
  (c) => {
    return c.json({ message: 'Success!' }, 200)
  }
)
```

The client with RPC:

```ts
import { hc } from 'hono/client'

const client = hc<typeof routes>('/')

const res = await client.index.$get()

if (res.status === 500) {
}

if (res.status === 200) {
}
```

Previously, it couldn't infer the responses from middleware, so a type
error was thrown.

<img width="1538" height="724" alt="CleanShot 2025-10-17 at 06 51
48@&#8203;2x"
src="https://github.com/user-attachments/assets/7e660db0-6c52-4249-9a3d-2932614bbace"
/>

Now the responses are correctly typed.

<img width="1586" height="876" alt="CleanShot 2025-10-17 at 06 54
13@&#8203;2x"
src="https://github.com/user-attachments/assets/ef6136f1-bc26-4625-9238-0aec25110efc"
/>

***

This was a long-standing issue and we were thinking it was super
difficult to resolve it. But now come true.

Thank you for the great work
[@&#8203;slawekkolodziej](https://redirect.github.com/slawekkolodziej)!

#### cloneRawRequest Utility

The new `cloneRawRequest` utility allows you to clone the raw Request
object after it has been consumed by validators or middleware.

```ts
import { cloneRawRequest } from 'hono/request'

app.post('/api', async (c) => {
  const body = await c.req.json()

  // Clone the consumed request
  const clonedRequest = cloneRawRequest(c.req)
  await externalLibrary.process(clonedRequest)
})
```

Thanks [@&#8203;kamaal111](https://redirect.github.com/kamaal111)!

#### New features

- feat(types): passing middleware types
[#&#8203;4393](https://redirect.github.com/honojs/hono/pull/4393)
- feat(ssg): add default plugin that defines the recommended behavior
[#&#8203;4394](https://redirect.github.com/honojs/hono/pull/4394)
- feat(request): add cloneRawRequest utility for request cloning
[#&#8203;4382](https://redirect.github.com/honojs/hono/pull/4382)

#### All changes

- feat(types): passing middleware types by
[@&#8203;slawekkolodziej](https://redirect.github.com/slawekkolodziej)
in [#&#8203;4393](https://redirect.github.com/honojs/hono/pull/4393)
- feat(ssg): add default plugin that defines the recommended behavior by
[@&#8203;3w36zj6](https://redirect.github.com/3w36zj6) in
[#&#8203;4394](https://redirect.github.com/honojs/hono/pull/4394)
- feat(request): add cloneRawRequest utility for request cloning by
[@&#8203;kamaal111](https://redirect.github.com/kamaal111) in
[#&#8203;4382](https://redirect.github.com/honojs/hono/pull/4382)
- fix(proxy): Correct hop-by-hop header handling per RFC 9110 by
[@&#8203;sugar-cat7](https://redirect.github.com/sugar-cat7) in
[#&#8203;4459](https://redirect.github.com/honojs/hono/pull/4459)

#### New Contributors

- [@&#8203;slawekkolodziej](https://redirect.github.com/slawekkolodziej)
made their first contribution in
[#&#8203;4393](https://redirect.github.com/honojs/hono/pull/4393)
- [@&#8203;kamaal111](https://redirect.github.com/kamaal111) made their
first contribution in
[#&#8203;4382](https://redirect.github.com/honojs/hono/pull/4382)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.9.12...v4.10.0>

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

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

#### What's Changed

- refactor: internal structure of `PreparedRegExpRouter` for
optimization and added tests by
[@&#8203;usualoma](https://redirect.github.com/usualoma) in
[#&#8203;4456](https://redirect.github.com/honojs/hono/pull/4456)
- refactor: use protected methods instead of computed properties to
allow `tree shaking` by
[@&#8203;usualoma](https://redirect.github.com/usualoma) in
[#&#8203;4458](https://redirect.github.com/honojs/hono/pull/4458)

**Full Changelog**:
<https://github.com/honojs/hono/compare/v4.9.11...v4.9.12>

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

[Compare Sou

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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-->

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: daneatmastra <dane@mastra.ai>
Co-authored-by: wardpeet <ward@coding-tech.com>
2026-02-05 14:37:13 +01:00
Marvin Frachet
c3892d9c9d
fix(e2e): fix client-js observability tests (#12355)
Fixes the client-js e2e tests that were failing:
- **zod-v3**: 12/15 tests failed (no traces returned)
- **zod-v4**: 2/15 tests failed (entityId filter tests)

Two issues fixed:

1. The test agent had `id: 'test-agent'` but `name: 'testAgent'`. When
filtering by `entityId`, the tests used the name but spans record the
id. Changed id to match name.

2. The 1s wait wasn't enough for the batch-with-updates strategy (5s
flush interval) to persist traces. Increased to 5s.

All 15 tests now pass in both zod-v3 and zod-v4.

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

## Summary by CodeRabbit

* **Tests**
* Updated test infrastructure timing and configuration to improve test
reliability and consistency.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

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

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 13:56:27 +01:00
Roamin
acb2a31ae3
fix(ci): prevent turbo cache contamination and OOM errors (#12337)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 09:16:04 +01:00
Lennart
5678965ff9
chore(docs): Update msg format on .generate()/.stream() (#12049) 2026-01-19 14:58:37 +01:00
Eric Pinzur
42bdc2348b
Fix failing client JS e2e tests on CI (#11827)
## Description

The MastraServer.init() method only registers built-in SERVER_ROUTES,
not custom routes from mastra.server.apiRoutes. This caused the
/e2e/reset-storage endpoint to return 404 in CI.

Fix by manually registering custom routes (similar to how the deployer
does it) before calling registerRoutes(). This ensures the reset-storage
endpoint is available for clearing observability storage between tests.

No changset required.

## Related Issue(s)

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [X] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works


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

## Summary by CodeRabbit

* **Tests**
* Refactored test server initialization to implement explicit middleware
registration and improved custom API route handling through separate
registration of dynamic and built-in routes.

* **Refactor**
* Updated server setup sequence to separate middleware registration from
route handling for better control and maintainability of the
initialization process.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

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

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-12 16:59:46 -05:00
Eric Pinzur
e649f2e816
added new client-js e2e tests (#11721)
## Description

Added new `client-js` e2e tests, which run against both zod v3 & v4
dependencies. They test client->server->storage.

Currently these only test observability endpoints, but we should add
more coverage soon.

These were used to diagnose and fix an issue with the API parsing
complex query params here:


https://github.com/mastra-ai/mastra/pull/11711/changes#diff-a85fa6725ca52eb46a715cf3f03348d150e15bcb1158d6bfe64f847ebae89f79

No changeset required.

## Related Issue(s)


## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [X] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works


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

* **Chores**
* Added a client-JS E2E workflow job and integrated it into
success/failure pipelines.
* Registered three new workspace packages, added a top-level script to
run client-JS E2E tests, and pinned Zod versions via overrides.
* **Tests**
  * Added shared test utilities for observability and server setup.
* Added full end-to-end suites for Zod v3 and Zod v4 with configs and
setup harnesses.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-09 12:05:06 +01:00