-
Notifications
You must be signed in to change notification settings - Fork 55
Commit f597f8e
authored
Update dependency hono to v4.9.1 (#699)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [hono](https://hono.dev)
([source](https://redirect.github.com/honojs/hono)) | [`4.8.5` ->
`4.9.1`](https://renovatebot.com/diffs/npm/hono/4.8.5/4.9.1) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>honojs/hono (hono)</summary>
###
[`v4.9.1`](https://redirect.github.com/honojs/hono/compare/v4.9.0...31f2406336d2a6e475c590ed594832f2799c0273)
[Compare
Source](https://redirect.github.com/honojs/hono/compare/v4.9.0...v4.9.1)
###
[`v4.9.0`](https://redirect.github.com/honojs/hono/releases/tag/v4.9.0)
[Compare
Source](https://redirect.github.com/honojs/hono/compare/v4.8.12...v4.9.0)
### Release Notes
Hono v4.9.0 is now available!
This release introduces several enhancements and utilities.
The main highlight is the new `parseResponse` utility that makes it
easier to work with RPC client responses.
#### parseResponse Utility
The new `parseResponse` utility provides a convenient way to parse
responses from Hono RPC clients (`hc`). It automatically handles
different response formats and throws structured errors for failed
requests.
```ts
import { parseResponse, DetailedError } from 'hono/client'
// result contains the parsed response body (automatically parsed based on Content-Type)
const result = await parseResponse(client.hello.$get()).catch(
// parseResponse automatically throws an error if response is not ok
(e: DetailedError) => {
console.error(e)
}
)
```
This makes working with RPC client responses much more straightforward
and type-safe.
Thanks [@​NamesMT](https://redirect.github.com/NamesMT)!
#### New features
- feat(bun): allow importing upgradeWebSocket and websocket directly
[https://github.com/honojs/hono/pull/4242](https://redirect.github.com/honojs/hono/pull/4242)
- feat(aws-lambda): specify content-type as binary
[https://github.com/honojs/hono/pull/4250](https://redirect.github.com/honojs/hono/pull/4250)
- feat(jwt): add validation for the issuer (iss) claim
[https://github.com/honojs/hono/pull/4253](https://redirect.github.com/honojs/hono/pull/4253)
- feat(jwk): add headerName to JWK middleware
[https://github.com/honojs/hono/pull/4279](https://redirect.github.com/honojs/hono/pull/4279)
- feat(cookie): add generateCookie and generateSignedCookie helpers
[https://github.com/honojs/hono/pull/4285](https://redirect.github.com/honojs/hono/pull/4285)
- feat(serve-static): use join to correct path resolution
[https://github.com/honojs/hono/pull/4291](https://redirect.github.com/honojs/hono/pull/4291)
- feat(jwt): expose utility function verifyWithJwks for external use
[https://github.com/honojs/hono/pull/4302](https://redirect.github.com/honojs/hono/pull/4302)
- feat: add parseResponse util to smartly parse hc's Response
[https://github.com/honojs/hono/pull/4314](https://redirect.github.com/honojs/hono/pull/4314)
- feat(ssg): mark old hook options as deprecated
[https://github.com/honojs/hono/pull/4331](https://redirect.github.com/honojs/hono/pull/4331)
#### All changes
- feat(aws-lambda): specify content-type as binary by
[@​Kanahiro](https://redirect.github.com/Kanahiro) in
[https://github.com/honojs/hono/pull/4250](https://redirect.github.com/honojs/hono/pull/4250)
- feat(jwt): added validation for the issuer (`iss`) claim by
[@​yolocat-dev](https://redirect.github.com/yolocat-dev) in
[https://github.com/honojs/hono/pull/4253](https://redirect.github.com/honojs/hono/pull/4253)
- feat(jwk): Add custom `headerName` to JWK middleware by
[@​JoaquinGimenez1](https://redirect.github.com/JoaquinGimenez1)
in
[https://github.com/honojs/hono/pull/4279](https://redirect.github.com/honojs/hono/pull/4279)
- feat(cookie): generateCookie and generateSignedCookie helpers by
[@​Soviut](https://redirect.github.com/Soviut) in
[https://github.com/honojs/hono/pull/4285](https://redirect.github.com/honojs/hono/pull/4285)
- feat(serve-static): use `join` to correct path resolution by
[@​yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/4291](https://redirect.github.com/honojs/hono/pull/4291)
- feat(jwt): Exposing utility function `verifyWithJwks` for external use
by [@​Beyondo](https://redirect.github.com/Beyondo) in
[https://github.com/honojs/hono/pull/4302](https://redirect.github.com/honojs/hono/pull/4302)
- feat: add `parseResponse` util to smartly parse `hc`'s Response by
[@​NamesMT](https://redirect.github.com/NamesMT) in
[https://github.com/honojs/hono/pull/4314](https://redirect.github.com/honojs/hono/pull/4314)
- feat(ssg): mark old hook options as deprecated by
[@​3w36zj6](https://redirect.github.com/3w36zj6) in
[https://github.com/honojs/hono/pull/4331](https://redirect.github.com/honojs/hono/pull/4331)
- fix(bun): exports functions related to websocket by
[@​yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/4341](https://redirect.github.com/honojs/hono/pull/4341)
- Next by [@​yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/4340](https://redirect.github.com/honojs/hono/pull/4340)
- chore: enable `skipLibCheck` to resolve TypeScript compilation issues
by [@​yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/4342](https://redirect.github.com/honojs/hono/pull/4342)
#### New Contributors
- [@​yolocat-dev](https://redirect.github.com/yolocat-dev) made
their first contribution in
[https://github.com/honojs/hono/pull/4253](https://redirect.github.com/honojs/hono/pull/4253)
- [@​JoaquinGimenez1](https://redirect.github.com/JoaquinGimenez1)
made their first contribution in
[https://github.com/honojs/hono/pull/4279](https://redirect.github.com/honojs/hono/pull/4279)
- [@​Soviut](https://redirect.github.com/Soviut) made their first
contribution in
[https://github.com/honojs/hono/pull/4285](https://redirect.github.com/honojs/hono/pull/4285)
**Full Changelog**:
honojs/hono@v4.8.12...v4.9.0
###
[`v4.8.12`](https://redirect.github.com/honojs/hono/releases/tag/v4.8.12)
[Compare
Source](https://redirect.github.com/honojs/hono/compare/v4.8.11...v4.8.12)
#### What's Changed
- fix(router): support `/files/:name{.*}` by
[@​yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/4329](https://redirect.github.com/honojs/hono/pull/4329)
**Full Changelog**:
honojs/hono@v4.8.11...v4.8.12
###
[`v4.8.11`](https://redirect.github.com/honojs/hono/releases/tag/v4.8.11)
[Compare
Source](https://redirect.github.com/honojs/hono/compare/v4.8.10...v4.8.11)
#### What's Changed
- fix(types): should populate `output` type for `c.body()` by
[@​NamesMT](https://redirect.github.com/NamesMT) in
[https://github.com/honojs/hono/pull/4318](https://redirect.github.com/honojs/hono/pull/4318)
- ci: add editorconfig-checker by
[@​3w36zj6](https://redirect.github.com/3w36zj6) in
[https://github.com/honojs/hono/pull/4321](https://redirect.github.com/honojs/hono/pull/4321)
- fix(service-worker): pass `FetchEvent` as second argument to
`app.fetch` by [@​yusukebe](https://redirect.github.com/yusukebe)
in
[https://github.com/honojs/hono/pull/4328](https://redirect.github.com/honojs/hono/pull/4328)
- chore(ci): upgrade bun version to 1.2.19 by
[@​BarryThePenguin](https://redirect.github.com/BarryThePenguin)
in
[https://github.com/honojs/hono/pull/4323](https://redirect.github.com/honojs/hono/pull/4323)
- chore: bump `@hono/eslint-config` by
[@​yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/4330](https://redirect.github.com/honojs/hono/pull/4330)
- chore: autofix ci by
[@​BarryThePenguin](https://redirect.github.com/BarryThePenguin)
in
[https://github.com/honojs/hono/pull/4322](https://redirect.github.com/honojs/hono/pull/4322)
**Full Changelog**:
honojs/hono@v4.8.10...v4.8.11
###
[`v4.8.10`](https://redirect.github.com/honojs/hono/releases/tag/v4.8.10)
[Compare
Source](https://redirect.github.com/honojs/hono/compare/v4.8.9...v4.8.10)
##### What's Changed
- chore: add EditorConfig by
[@​3w36zj6](https://redirect.github.com/3w36zj6) in
[https://github.com/honojs/hono/pull/4309](https://redirect.github.com/honojs/hono/pull/4309)
- chore: format JSON, YAML, and Markdown by
[@​yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/4310](https://redirect.github.com/honojs/hono/pull/4310)
- chore: format and lint `benchmarks/*` by
[@​yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/4317](https://redirect.github.com/honojs/hono/pull/4317)
- refactor(types): bring adapter/service-worker types up to date by
[@​idealsh](https://redirect.github.com/idealsh) in
[https://github.com/honojs/hono/pull/4315](https://redirect.github.com/honojs/hono/pull/4315)
- chore: add editorconfig-checker by
[@​3w36zj6](https://redirect.github.com/3w36zj6) in
[https://github.com/honojs/hono/pull/4312](https://redirect.github.com/honojs/hono/pull/4312)
- fix(cookie): support lowercase priority for compatibility with other
libraries by [@​bytaesu](https://redirect.github.com/bytaesu) in
[https://github.com/honojs/hono/pull/4293](https://redirect.github.com/honojs/hono/pull/4293)
##### New Contributors
- [@​idealsh](https://redirect.github.com/idealsh) made their
first contribution in
[https://github.com/honojs/hono/pull/4315](https://redirect.github.com/honojs/hono/pull/4315)
- [@​bytaesu](https://redirect.github.com/bytaesu) made their
first contribution in
[https://github.com/honojs/hono/pull/4293](https://redirect.github.com/honojs/hono/pull/4293)
**Full Changelog**:
honojs/hono@v4.8.9...v4.8.10
###
[`v4.8.9`](https://redirect.github.com/honojs/hono/releases/tag/v4.8.9)
[Compare
Source](https://redirect.github.com/honojs/hono/compare/v4.8.8...v4.8.9)
##### What's Changed
- fix(context): use `isByteString` in `c.redirect` by
[@​yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/4307](https://redirect.github.com/honojs/hono/pull/4307)
**Full Changelog**:
honojs/hono@v4.8.8...v4.8.9
###
[`v4.8.8`](https://redirect.github.com/honojs/hono/releases/tag/v4.8.8)
[Compare
Source](https://redirect.github.com/honojs/hono/compare/v4.8.7...v4.8.8)
#### What's Changed
- docs: simplify the readme by
[@​yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/4305](https://redirect.github.com/honojs/hono/pull/4305)
- fix(utils/url): prevent double encoding in `safeEncodeURI` by
[@​yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/4306](https://redirect.github.com/honojs/hono/pull/4306)
**Full Changelog**:
honojs/hono@v4.8.7...v4.8.8
###
[`v4.8.7`](https://redirect.github.com/honojs/hono/releases/tag/v4.8.7)
[Compare
Source](https://redirect.github.com/honojs/hono/compare/v4.8.6...v4.8.7)
#### What's Changed
- chore: fix the deno version for publishing to jsr by
[@​yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/4304](https://redirect.github.com/honojs/hono/pull/4304)
**Full Changelog**:
honojs/hono@v4.8.6...v4.8.7
###
[`v4.8.6`](https://redirect.github.com/honojs/hono/releases/tag/v4.8.6)
[Compare
Source](https://redirect.github.com/honojs/hono/compare/v4.8.5...v4.8.6)
#### What's Changed
- perf(types): remove unnecessary default types by
[@​yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/4282](https://redirect.github.com/honojs/hono/pull/4282)
- fix(context): encode the redirect location by
[@​yayugu](https://redirect.github.com/yayugu) in
[https://github.com/honojs/hono/pull/4297](https://redirect.github.com/honojs/hono/pull/4297)
**Full Changelog**:
honojs/hono@v4.8.5...v4.8.6
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/get-convex/convex-helpers).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS40MC4wIiwidXBkYXRlZEluVmVyIjoiNDEuNjAuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 74d5377 commit f597f8eCopy full SHA for f597f8e
File tree
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedFilter options
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changed+3-3Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments