Skip to content

Commit

Permalink
Update dependency hono to v4.6.19 (#191)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hono](https://hono.dev/)
([source](https://redirect.github.com/honojs/hono)) | [`4.6.14` ->
`4.6.19`](https://renovatebot.com/diffs/npm/hono/4.6.14/4.6.19) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/hono/4.6.19?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/hono/4.6.19?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/hono/4.6.14/4.6.19?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/hono/4.6.14/4.6.19?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#### What's Changed

- fix(types): missing response type on `OnHandlerInterface` by
[@&#8203;sor4chi](https://redirect.github.com/sor4chi) in
[https://github.com/honojs/hono/pull/3852](https://redirect.github.com/honojs/hono/pull/3852)
- fix(helper/adapter): `env` should set `c` type correctly by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/3856](https://redirect.github.com/honojs/hono/pull/3856)

**Full Changelog**:
honojs/hono@v4.6.18...v4.6.19

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

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

#### What's Changed

- perf(types): improve Utilities in `types.ts` by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/3836](https://redirect.github.com/honojs/hono/pull/3836)
- perf(types): define `ParamKey` simply by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/3837](https://redirect.github.com/honojs/hono/pull/3837)
- fix(types): Calculate Context<Env> type for each handler by
[@&#8203;sushichan044](https://redirect.github.com/sushichan044) in
[https://github.com/honojs/hono/pull/3675](https://redirect.github.com/honojs/hono/pull/3675)
- fix(factory): correct the type of `factory.createMiddleware()` by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/3849](https://redirect.github.com/honojs/hono/pull/3849)

**Full Changelog**:
honojs/hono@v4.6.17...v4.6.18

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

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

#### What's Changed

- fix(helper/factory): Reduce the code size of createMiddleware by
[@&#8203;miyaji255](https://redirect.github.com/miyaji255) in
[https://github.com/honojs/hono/pull/3824](https://redirect.github.com/honojs/hono/pull/3824)
- fix(compress): don't compress server-sent events by
[@&#8203;dmitri-gb](https://redirect.github.com/dmitri-gb) in
[https://github.com/honojs/hono/pull/3833](https://redirect.github.com/honojs/hono/pull/3833)
- perf(build): Use WebWorker when removing private fields by
[@&#8203;miyaji255](https://redirect.github.com/miyaji255) in
[https://github.com/honojs/hono/pull/3821](https://redirect.github.com/honojs/hono/pull/3821)
- chore: deleted mistake comments by
[@&#8203;EdamAme-x](https://redirect.github.com/EdamAme-x) in
[https://github.com/honojs/hono/pull/3835](https://redirect.github.com/honojs/hono/pull/3835)

#### New Contributors

- [@&#8203;miyaji255](https://redirect.github.com/miyaji255) made their
first contribution in
[https://github.com/honojs/hono/pull/3824](https://redirect.github.com/honojs/hono/pull/3824)
- [@&#8203;dmitri-gb](https://redirect.github.com/dmitri-gb) made their
first contribution in
[https://github.com/honojs/hono/pull/3833](https://redirect.github.com/honojs/hono/pull/3833)

**Full Changelog**:
honojs/hono@v4.6.16...v4.6.17

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

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

#### What's Changed

- fix(jsx/dom): should not return memoized result when context is
changed by [@&#8203;usualoma](https://redirect.github.com/usualoma) in
[https://github.com/honojs/hono/pull/3792](https://redirect.github.com/honojs/hono/pull/3792)
- fix(context): single body overrides other returns by
[@&#8203;askorupskyy](https://redirect.github.com/askorupskyy) in
[https://github.com/honojs/hono/pull/3800](https://redirect.github.com/honojs/hono/pull/3800)
- fix(types): correct `app.on(method,path[],middleware,handler)` type by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/3802](https://redirect.github.com/honojs/hono/pull/3802)

**Full Changelog**:
honojs/hono@v4.6.15...v4.6.16

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

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

#### `c.json()` etc. throwing type error when the status is contentless
code, e.g., 204

From this release, when `c.json()`, `c.text()`, or `c.html()` returns
content, specifying a contentless status code such as 204 will now throw
a type error.

![CleanShot 2024-12-28 at 16 47
39@&#8203;2x](https://redirect.github.com/user-attachments/assets/8c0eb744-8bde-45a1-b516-38ffc7a3de45)

At first glance, this seems like a breaking change but not. It is not
possible to return a contentless response with `c.json()` or `c.text()`.
So, in that case, please use `c.body()`.

```ts
app.get('/', (c) => {
  return c.body(null, 204)
})
```

#### What's Changed

- fix(jsr): exclude unused markdown files by
[@&#8203;ryuapp](https://redirect.github.com/ryuapp) in
[https://github.com/honojs/hono/pull/3767](https://redirect.github.com/honojs/hono/pull/3767)
- feat(hono/context): contentful status code typing by
[@&#8203;askorupskyy](https://redirect.github.com/askorupskyy) in
[https://github.com/honojs/hono/pull/3763](https://redirect.github.com/honojs/hono/pull/3763)
- refactor(context): remove lint errors by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/3769](https://redirect.github.com/honojs/hono/pull/3769)
- feat(context): `ResponseInit` accepts generics `StatusCode` for
`status` by [@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/3770](https://redirect.github.com/honojs/hono/pull/3770)
- feat(utils/cookie): Ability to set a priority to cookies in setCookie
options by [@&#8203;Beyondo](https://redirect.github.com/Beyondo) in
[https://github.com/honojs/hono/pull/3762](https://redirect.github.com/honojs/hono/pull/3762)
- fix(hono-base): don't use Symbol for `COMPOSED_HANDLER` by
[@&#8203;yusukebe](https://redirect.github.com/yusukebe) in
[https://github.com/honojs/hono/pull/3773](https://redirect.github.com/honojs/hono/pull/3773)

#### New Contributors

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

**Full Changelog**:
honojs/hono@v4.6.14...v4.6.15

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* 0-3 * * 1" in timezone
America/Chicago, Automerge - At any time (no schedule defined).

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

♻ **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/autoblocksai/cli).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44NS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTI1LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 28, 2025
1 parent 78af497 commit ed171a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ed171a4

Please sign in to comment.