Update dependency @hono/zod-openapi to v1.6.3 #120

Open
renovate-bot wants to merge 1 commit from renovate/hono-zod-openapi-1.x into main
Collaborator

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@hono/zod-openapi (source) 1.4.01.6.3 age adoption passing confidence

Release Notes

honojs/middleware (@​hono/zod-openapi)

v1.6.3

Compare Source

Patch Changes

v1.6.2

Compare Source

Patch Changes

v1.6.1

Compare Source

Patch Changes

v1.6.0

Compare Source

Minor Changes

v1.5.3

Compare Source

Patch Changes

v1.5.2

Compare Source

Patch Changes
  • #​2069 fc0377c5595bde3147d181e5013a3fc710175e40 Thanks @​edenbuilds! - fix(zod-openapi): keep the z import edge so .openapi() survives bundling

    Re-exporting zod's z as a pass-through let esbuild code-splitting resolve
    import { z } from '@hono/zod-openapi' straight to zod and drop the edge to the
    module that runs extendZodWithOpenApi(z), so schemas could be built before the
    patch applied and .openapi() was undefined at runtime. Export z as an alias
    declaration instead: it compiles to a binding local to the module, which keeps
    that edge, while still carrying zod's type namespace so z.infer, z.ZodType
    and the rest continue to work. Fixes #​2051.

v1.5.1

Compare Source

Patch Changes

v1.5.0

Compare Source

Minor Changes
  • #​1878 443a8dc5cd8a6a65daa2bec1f251adfc605b05ce Thanks @​SAY-5! - feat: inherit defaultHook from parent app on nested routes mounted via app.route()

    Behavior change: if a parent app has a defaultHook and a mounted sub-app does not declare its own, the sub-app's routes now use the parent's defaultHook instead of the built-in validation response.

Patch Changes
  • #​2033 740123c01aadb6c2ed742d1c67c2763a4cdc4f1f Thanks @​yusukebe! - fix: resolve defaultHook through the ancestor chain on nested routes

  • #​2031 bf52ec2f18e32479ec85c00922c8aede68dc8286 Thanks @​tokiya-takai! - fix(zod-openapi): preserve onError()/notFound() set after basePath()

    OpenAPIHono.basePath() used to rebuild the instance by spreading the plain Hono clone returned by super.basePath().
    That spread copied the clone's arrow-function instance fields (onError, notFound, request, fetch),
    which stay bound to the discarded clone — so calling .onError() (or .notFound()) after .basePath() mutated the throwaway clone instead of the returned app and silently had no effect (the parent's handler ran instead).
    basePath() now transplants only the routing state onto a properly constructed OpenAPIHono, keeping its own correctly-bound methods. Fixes #​2021.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

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

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

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


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [@hono/zod-openapi](https://github.com/honojs/middleware) ([source](https://github.com/honojs/middleware/tree/HEAD/packages/zod-openapi)) | [`1.4.0` → `1.6.3`](https://renovatebot.com/diffs/npm/@hono%2fzod-openapi/1.4.0/1.6.3) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@hono%2fzod-openapi/1.6.3?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@hono%2fzod-openapi/1.6.3?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@hono%2fzod-openapi/1.4.0/1.6.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@hono%2fzod-openapi/1.4.0/1.6.3?slim=true) | --- ### Release Notes <details> <summary>honojs/middleware (@&#8203;hono/zod-openapi)</summary> ### [`v1.6.3`](https://github.com/honojs/middleware/blob/HEAD/packages/zod-openapi/CHANGELOG.md#163) [Compare Source](https://github.com/honojs/middleware/compare/@hono/zod-openapi@1.6.2...@hono/zod-openapi@1.6.3) ##### Patch Changes - [#&#8203;2087](https://github.com/honojs/middleware/pull/2087) [`3b0860026438694e76c3155737cf0b8df32384f5`](https://github.com/honojs/middleware/commit/3b0860026438694e76c3155737cf0b8df32384f5) Thanks [@&#8203;WolfieLeader](https://github.com/WolfieLeader)! - fix: return 415 when a JSON or form request body's Content-Type matches none of the route's declared media types, instead of validating an empty object ### [`v1.6.2`](https://github.com/honojs/middleware/blob/HEAD/packages/zod-openapi/CHANGELOG.md#162) [Compare Source](https://github.com/honojs/middleware/compare/@hono/zod-openapi@1.6.1...@hono/zod-openapi@1.6.2) ##### Patch Changes - [#&#8203;2115](https://github.com/honojs/middleware/pull/2115) [`525564dc5c275bfe8468b330902ea12dc450f54d`](https://github.com/honojs/middleware/commit/525564dc5c275bfe8468b330902ea12dc450f54d) Thanks [@&#8203;scttcper](https://github.com/scttcper)! - Flatten batched route type inference so large `openapiRoutes` tuples do not hit TypeScript's recursive instantiation limit. - [#&#8203;2116](https://github.com/honojs/middleware/pull/2116) [`38232db06e1c366e5eb1fb7cf6949c2541debd8c`](https://github.com/honojs/middleware/commit/38232db06e1c366e5eb1fb7cf6949c2541debd8c) Thanks [@&#8203;scttcper](https://github.com/scttcper)! - Reuse projected response types between `openapi()` route handlers and returned schemas to reduce TypeScript checker work. - [#&#8203;1986](https://github.com/honojs/middleware/pull/1986) [`28f1d39cd2a480d9d3bd557df9037c054a674279`](https://github.com/honojs/middleware/commit/28f1d39cd2a480d9d3bd557df9037c054a674279) Thanks [@&#8203;VihaanAgarwal](https://github.com/VihaanAgarwal)! - fix(zod-openapi): infer route middleware env in `defineOpenAPIRoute` handler ### [`v1.6.1`](https://github.com/honojs/middleware/blob/HEAD/packages/zod-openapi/CHANGELOG.md#161) [Compare Source](https://github.com/honojs/middleware/compare/@hono/zod-openapi@1.6.0...@hono/zod-openapi@1.6.1) ##### Patch Changes - [#&#8203;1988](https://github.com/honojs/middleware/pull/1988) [`4fce28c6fbba41795b316becaf7d8cffa11fb521`](https://github.com/honojs/middleware/commit/4fce28c6fbba41795b316becaf7d8cffa11fb521) Thanks [@&#8203;thekiwi](https://github.com/thekiwi)! - Reduce route-typing type instantiations (\~54% on TS6, \~48% on TS7 in a 100-route benchmark) by binding expensive sub-expressions once and sharing the input intersection / response-shape conditional. ### [`v1.6.0`](https://github.com/honojs/middleware/blob/HEAD/packages/zod-openapi/CHANGELOG.md#160) [Compare Source](https://github.com/honojs/middleware/compare/@hono/zod-openapi@1.5.3...@hono/zod-openapi@1.6.0) ##### Minor Changes - [#&#8203;2086](https://github.com/honojs/middleware/pull/2086) [`1dc1a4a5418be24d571652e1013b8a6a925824c0`](https://github.com/honojs/middleware/commit/1dc1a4a5418be24d571652e1013b8a6a925824c0) Thanks [@&#8203;WolfieLeader](https://github.com/WolfieLeader)! - feat: support the HTTP QUERY method in `createRoute()` by bumping `@asteasolutions/zod-to-openapi` to v9 ### [`v1.5.3`](https://github.com/honojs/middleware/blob/HEAD/packages/zod-openapi/CHANGELOG.md#153) [Compare Source](https://github.com/honojs/middleware/compare/@hono/zod-openapi@1.5.2...@hono/zod-openapi@1.5.3) ##### Patch Changes - [#&#8203;2084](https://github.com/honojs/middleware/pull/2084) [`9a9324937cfa77db210a966be33e8c73bbbe33e3`](https://github.com/honojs/middleware/commit/9a9324937cfa77db210a966be33e8c73bbbe33e3) Thanks [@&#8203;kamaal111](https://github.com/kamaal111)! - Revert the local z binding export because it causes zod types to degrade to any when built with tsdown. ### [`v1.5.2`](https://github.com/honojs/middleware/blob/HEAD/packages/zod-openapi/CHANGELOG.md#152) [Compare Source](https://github.com/honojs/middleware/compare/@hono/zod-openapi@1.5.1...@hono/zod-openapi@1.5.2) ##### Patch Changes - [#&#8203;2069](https://github.com/honojs/middleware/pull/2069) [`fc0377c5595bde3147d181e5013a3fc710175e40`](https://github.com/honojs/middleware/commit/fc0377c5595bde3147d181e5013a3fc710175e40) Thanks [@&#8203;edenbuilds](https://github.com/edenbuilds)! - fix(zod-openapi): keep the `z` import edge so `.openapi()` survives bundling Re-exporting zod's `z` as a pass-through let esbuild code-splitting resolve `import { z } from '@hono/zod-openapi'` straight to zod and drop the edge to the module that runs `extendZodWithOpenApi(z)`, so schemas could be built before the patch applied and `.openapi()` was undefined at runtime. Export `z` as an alias declaration instead: it compiles to a binding local to the module, which keeps that edge, while still carrying zod's type namespace so `z.infer`, `z.ZodType` and the rest continue to work. Fixes [#&#8203;2051](https://github.com/honojs/middleware/issues/2051). ### [`v1.5.1`](https://github.com/honojs/middleware/blob/HEAD/packages/zod-openapi/CHANGELOG.md#151) [Compare Source](https://github.com/honojs/middleware/compare/@hono/zod-openapi@1.5.0...@hono/zod-openapi@1.5.1) ##### Patch Changes - Updated dependencies \[[`7bc11dffa7dd5b639c614b12c34bd76722d76354`](https://github.com/honojs/middleware/commit/7bc11dffa7dd5b639c614b12c34bd76722d76354)]: - [@&#8203;hono/zod-validator](https://github.com/hono/zod-validator)@0.9.0 ### [`v1.5.0`](https://github.com/honojs/middleware/blob/HEAD/packages/zod-openapi/CHANGELOG.md#150) [Compare Source](https://github.com/honojs/middleware/compare/@hono/zod-openapi@1.4.0...@hono/zod-openapi@1.5.0) ##### Minor Changes - [#&#8203;1878](https://github.com/honojs/middleware/pull/1878) [`443a8dc5cd8a6a65daa2bec1f251adfc605b05ce`](https://github.com/honojs/middleware/commit/443a8dc5cd8a6a65daa2bec1f251adfc605b05ce) Thanks [@&#8203;SAY-5](https://github.com/SAY-5)! - feat: inherit `defaultHook` from parent app on nested routes mounted via `app.route()` Behavior change: if a parent app has a `defaultHook` and a mounted sub-app does not declare its own, the sub-app's routes now use the parent's `defaultHook` instead of the built-in validation response. ##### Patch Changes - [#&#8203;2033](https://github.com/honojs/middleware/pull/2033) [`740123c01aadb6c2ed742d1c67c2763a4cdc4f1f`](https://github.com/honojs/middleware/commit/740123c01aadb6c2ed742d1c67c2763a4cdc4f1f) Thanks [@&#8203;yusukebe](https://github.com/yusukebe)! - fix: resolve defaultHook through the ancestor chain on nested routes - [#&#8203;2031](https://github.com/honojs/middleware/pull/2031) [`bf52ec2f18e32479ec85c00922c8aede68dc8286`](https://github.com/honojs/middleware/commit/bf52ec2f18e32479ec85c00922c8aede68dc8286) Thanks [@&#8203;tokiya-takai](https://github.com/tokiya-takai)! - fix(zod-openapi): preserve `onError()`/`notFound()` set after `basePath()` `OpenAPIHono.basePath()` used to rebuild the instance by spreading the plain `Hono` clone returned by `super.basePath()`. That spread copied the clone's arrow-function instance fields (`onError`, `notFound`, `request`, `fetch`), which stay bound to the discarded clone — so calling `.onError()` (or `.notFound()`) *after* `.basePath()` mutated the throwaway clone instead of the returned app and silently had no effect (the parent's handler ran instead). `basePath()` now transplants only the routing state onto a properly constructed `OpenAPIHono`, keeping its own correctly-bound methods. Fixes [#&#8203;2021](https://github.com/honojs/middleware/issues/2021). </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTIuNCIsInVwZGF0ZWRJblZlciI6IjQ0LjY1LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImJhY2tlbmQiLCJyZW5vdmF0ZSJdfQ==-->
renovate-bot force-pushed renovate/hono-zod-openapi-1.x from bc6d920fb2 to 1cefcbc682 2026-08-10 13:08:40 +01:00 Compare
renovate-bot changed title from Update dependency @hono/zod-openapi to v1.5.1 to Update dependency @hono/zod-openapi to v1.5.2 2026-08-10 13:08:45 +01:00
renovate-bot force-pushed renovate/hono-zod-openapi-1.x from 1cefcbc682 to 3338e8b283 2026-08-14 06:01:59 +01:00 Compare
renovate-bot changed title from Update dependency @hono/zod-openapi to v1.5.2 to Update dependency @hono/zod-openapi to v1.6.0 2026-08-14 06:02:00 +01:00
renovate-bot force-pushed renovate/hono-zod-openapi-1.x from 3338e8b283 to d251dd9250 2026-08-20 06:02:01 +01:00 Compare
renovate-bot changed title from Update dependency @hono/zod-openapi to v1.6.0 to Update dependency @hono/zod-openapi to v1.6.1 2026-08-20 06:02:03 +01:00
renovate-bot force-pushed renovate/hono-zod-openapi-1.x from d251dd9250 to 59886c5612 2026-09-03 06:01:39 +01:00 Compare
renovate-bot changed title from Update dependency @hono/zod-openapi to v1.6.1 to Update dependency @hono/zod-openapi to v1.6.2 2026-09-03 06:01:39 +01:00
renovate-bot force-pushed renovate/hono-zod-openapi-1.x from 59886c5612 to 65288be9a9 2026-09-05 06:01:39 +01:00 Compare
renovate-bot changed title from Update dependency @hono/zod-openapi to v1.6.2 to Update dependency @hono/zod-openapi to v1.6.3 2026-09-05 06:01:39 +01:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/hono-zod-openapi-1.x:renovate/hono-zod-openapi-1.x
git switch renovate/hono-zod-openapi-1.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/hono-zod-openapi-1.x
git switch renovate/hono-zod-openapi-1.x
git rebase main
git switch main
git merge --ff-only renovate/hono-zod-openapi-1.x
git switch renovate/hono-zod-openapi-1.x
git rebase main
git switch main
git merge --no-ff renovate/hono-zod-openapi-1.x
git switch main
git merge --squash renovate/hono-zod-openapi-1.x
git switch main
git merge --ff-only renovate/hono-zod-openapi-1.x
git switch main
git merge renovate/hono-zod-openapi-1.x
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MobiusReactor/TicTacToeV2!120
No description provided.