Loading workspace insights... Statistics interval
7 days30 daysLatest CI Pipeline Executions
1fb8d838 chore(deps): bump hono from 4.11.9 to 4.12.1 (#4000)
Bumps [hono](https://github.com/honojs/hono) from 4.11.9 to 4.12.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/honojs/hono/releases">hono's
releases</a>.</em></p>
<blockquote>
<h2>v4.12.1</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(client): export <code>ApplyGlobalResponse</code> from
<code>hono/client</code> by <a
href="https://github.com/sushichan044"><code>@sushichan044</code></a>
in <a
href="https://redirect.github.com/honojs/hono/pull/4743">honojs/hono#4743</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/honojs/hono/compare/v4.12.0...v4.12.1">https://github.com/honojs/hono/compare/v4.12.0...v4.12.1</a></p>
<h2>v4.12.0</h2>
<h1>Release Notes</h1>
<p>Hono v4.12.0 is now available!</p>
<p>This release includes new features for the Hono client, middleware
improvements, adapter enhancements, and significant performance
improvements to the router and context.</p>
<h2><code>$path</code> for Hono Client</h2>
<p>The Hono client now has a <code>$path()</code> method that returns
the path string instead of a full URL. This is useful when you need just
the path portion for routing or key-based operations:</p>
<pre lang="ts"><code>const client = hc<typeof
app>('http://localhost:8787')
<p>// Get the path string
const path = client.api.posts.$path()
// => '/api/posts'</p>
<p>// With path parameters
const postPath = client.api.posts[':id'].$path({
param: { id: '123' },
})
// => '/api/posts/123'</p>
<p>// With query parameters
const searchPath = client.api.posts.$path({
query: { filter: 'test' },
})
// => '/api/posts?filter=test'
</code></pre></p>
<p>Unlike <code>$url()</code> which returns a <code>URL</code> object,
<code>$path()</code> returns a plain path string, making it convenient
for use with routers or as cache keys.</p>
<p>Thanks <a
href="https://github.com/ShaMan123"><code>@ShaMan123</code></a>!</p>
<h2><code>ApplyGlobalResponse</code> Type Helper for RPC Client</h2>
<p>The new <code>ApplyGlobalResponse</code> type helper allows you to
add global error response types to all routes in the RPC client. This is
useful for typing common error responses from <code>app.onError()</code>
or global middlewares:</p>
<pre lang="ts"><code>const app = new Hono()
.get('/api/users', (c) => c.json({ users: ['alice', 'bob'] }, 200))
.onError((err, c) => c.json({ error: err.message }, 500))
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/honojs/hono/commit/2de30d7c2a25885c5df03c454582c305a34da771"><code>2de30d7</code></a>
4.12.1</li>
<li><a
href="https://github.com/honojs/hono/commit/91ef235f9fd34266dbb473a4c43d999465be3c87"><code>91ef235</code></a>
fix(client): export <code>ApplyGlobalResponse</code> from
<code>hono/client</code> (<a
href="https://redirect.github.com/honojs/hono/issues/4743">#4743</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/d2ed2e9c966d82e2369bd74bdae4acd4e8f57807"><code>d2ed2e9</code></a>
4.12.0</li>
<li><a
href="https://github.com/honojs/hono/commit/01e78adc637de2bc4ae532cf4a80bf7863652f8e"><code>01e78ad</code></a>
Merge pull request <a
href="https://redirect.github.com/honojs/hono/issues/4735">#4735</a>
from honojs/next</li>
<li><a
href="https://github.com/honojs/hono/commit/a340a25fc6065f41328a20068c495f8a32410401"><code>a340a25</code></a>
perf(context): use <code>createResponseInstance</code> for new Response
(<a
href="https://redirect.github.com/honojs/hono/issues/4733">#4733</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/bd26c3129f8e159864d3f96522f44e900516e847"><code>bd26c31</code></a>
perf(trie-router): improve performance (1.5x ~ 2.0x) (<a
href="https://redirect.github.com/honojs/hono/issues/4724">#4724</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/b85c1e032864322c581f4d04652d37ef59130eee"><code>b85c1e0</code></a>
feat(types): Add exports field to ExecutionContext (<a
href="https://redirect.github.com/honojs/hono/issues/4719">#4719</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/02346c6d945a10c98f54ae51622e8c7afbe3bad4"><code>02346c6</code></a>
feat(language): add progressive locale code truncation to
normalizeLanguage (...</li>
<li><a
href="https://github.com/honojs/hono/commit/7438ab93553ce61773e2a74376972777602f08ff"><code>7438ab9</code></a>
perf(context): add fast path to c.json() matching c.text() optimization
(<a
href="https://redirect.github.com/honojs/hono/issues/4707">#4707</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/034223f1bf8db3c98e4bf2d11d597c94362729d7"><code>034223f</code></a>
feat(trailing-slash): add <code>alwaysRedirect</code> option to support
wildcard routes ...</li>
<li>Additional commits viewable in <a
href="https://github.com/honojs/hono/compare/v4.11.9...v4.12.1">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/AmadeusITGroup/otter/network/alerts).
</details> 1fb8d838 chore(deps): bump hono from 4.11.9 to 4.12.1 (#4000)
Bumps [hono](https://github.com/honojs/hono) from 4.11.9 to 4.12.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/honojs/hono/releases">hono's
releases</a>.</em></p>
<blockquote>
<h2>v4.12.1</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(client): export <code>ApplyGlobalResponse</code> from
<code>hono/client</code> by <a
href="https://github.com/sushichan044"><code>@sushichan044</code></a>
in <a
href="https://redirect.github.com/honojs/hono/pull/4743">honojs/hono#4743</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/honojs/hono/compare/v4.12.0...v4.12.1">https://github.com/honojs/hono/compare/v4.12.0...v4.12.1</a></p>
<h2>v4.12.0</h2>
<h1>Release Notes</h1>
<p>Hono v4.12.0 is now available!</p>
<p>This release includes new features for the Hono client, middleware
improvements, adapter enhancements, and significant performance
improvements to the router and context.</p>
<h2><code>$path</code> for Hono Client</h2>
<p>The Hono client now has a <code>$path()</code> method that returns
the path string instead of a full URL. This is useful when you need just
the path portion for routing or key-based operations:</p>
<pre lang="ts"><code>const client = hc<typeof
app>('http://localhost:8787')
<p>// Get the path string
const path = client.api.posts.$path()
// => '/api/posts'</p>
<p>// With path parameters
const postPath = client.api.posts[':id'].$path({
param: { id: '123' },
})
// => '/api/posts/123'</p>
<p>// With query parameters
const searchPath = client.api.posts.$path({
query: { filter: 'test' },
})
// => '/api/posts?filter=test'
</code></pre></p>
<p>Unlike <code>$url()</code> which returns a <code>URL</code> object,
<code>$path()</code> returns a plain path string, making it convenient
for use with routers or as cache keys.</p>
<p>Thanks <a
href="https://github.com/ShaMan123"><code>@ShaMan123</code></a>!</p>
<h2><code>ApplyGlobalResponse</code> Type Helper for RPC Client</h2>
<p>The new <code>ApplyGlobalResponse</code> type helper allows you to
add global error response types to all routes in the RPC client. This is
useful for typing common error responses from <code>app.onError()</code>
or global middlewares:</p>
<pre lang="ts"><code>const app = new Hono()
.get('/api/users', (c) => c.json({ users: ['alice', 'bob'] }, 200))
.onError((err, c) => c.json({ error: err.message }, 500))
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/honojs/hono/commit/2de30d7c2a25885c5df03c454582c305a34da771"><code>2de30d7</code></a>
4.12.1</li>
<li><a
href="https://github.com/honojs/hono/commit/91ef235f9fd34266dbb473a4c43d999465be3c87"><code>91ef235</code></a>
fix(client): export <code>ApplyGlobalResponse</code> from
<code>hono/client</code> (<a
href="https://redirect.github.com/honojs/hono/issues/4743">#4743</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/d2ed2e9c966d82e2369bd74bdae4acd4e8f57807"><code>d2ed2e9</code></a>
4.12.0</li>
<li><a
href="https://github.com/honojs/hono/commit/01e78adc637de2bc4ae532cf4a80bf7863652f8e"><code>01e78ad</code></a>
Merge pull request <a
href="https://redirect.github.com/honojs/hono/issues/4735">#4735</a>
from honojs/next</li>
<li><a
href="https://github.com/honojs/hono/commit/a340a25fc6065f41328a20068c495f8a32410401"><code>a340a25</code></a>
perf(context): use <code>createResponseInstance</code> for new Response
(<a
href="https://redirect.github.com/honojs/hono/issues/4733">#4733</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/bd26c3129f8e159864d3f96522f44e900516e847"><code>bd26c31</code></a>
perf(trie-router): improve performance (1.5x ~ 2.0x) (<a
href="https://redirect.github.com/honojs/hono/issues/4724">#4724</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/b85c1e032864322c581f4d04652d37ef59130eee"><code>b85c1e0</code></a>
feat(types): Add exports field to ExecutionContext (<a
href="https://redirect.github.com/honojs/hono/issues/4719">#4719</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/02346c6d945a10c98f54ae51622e8c7afbe3bad4"><code>02346c6</code></a>
feat(language): add progressive locale code truncation to
normalizeLanguage (...</li>
<li><a
href="https://github.com/honojs/hono/commit/7438ab93553ce61773e2a74376972777602f08ff"><code>7438ab9</code></a>
perf(context): add fast path to c.json() matching c.text() optimization
(<a
href="https://redirect.github.com/honojs/hono/issues/4707">#4707</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/034223f1bf8db3c98e4bf2d11d597c94362729d7"><code>034223f</code></a>
feat(trailing-slash): add <code>alwaysRedirect</code> option to support
wildcard routes ...</li>
<li>Additional commits viewable in <a
href="https://github.com/honojs/hono/compare/v4.11.9...v4.12.1">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/AmadeusITGroup/otter/network/alerts).
</details>