Skip to content

fix(deps): update dependency @hono/zod-openapi to v1.3.0#4424

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/hono-zod-openapi-1.x
Open

fix(deps): update dependency @hono/zod-openapi to v1.3.0#4424
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/hono-zod-openapi-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 13, 2026

This PR contains the following updates:

Package Change Age Confidence
@hono/zod-openapi (source) 1.2.41.3.0 age confidence

Release Notes

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

v1.3.0

Compare Source

Minor Changes
  • #​1752 fe0f8e4b44ca8e78d2ed60ed8591f415cd85eaa9 Thanks @​destroSunRay! - This PR adds two new utilities to improve route definition and registration in @hono/zod-openapi:

    • defineOpenAPIRoute: Provides explicit type safety for route definitions
    • openapiRoutes: Enables batch registration of multiple routes with full type safety
    • Registering many routes individually was repetitive and verbose
    • Type inference for complex route configurations was challenging
    • Organizing routes across multiple files was difficult
    • No built-in support for conditional route registration
    • RPC type safety was hard to maintain across scattered route registrations
    • defineOpenAPIRoute: Wraps route definitions with explicit types for better IDE support and type checking
    • openapiRoutes: Accepts an array of route definitions and registers them all at once
    • Supports addRoute flag for conditional registration
    • Maintains full type safety and RPC support through recursive type merging
    • Enables clean modular organization of routes
    • ✅ Reduced boilerplate code
    • ✅ Better type inference and IDE autocomplete
    • ✅ Easier code organization and maintainability
    • ✅ Declarative conditional routes
    • ✅ Full backward compatibility

    See the updated README for usage examples.

    • All existing tests pass (102/102)
    • Added tests for new functionality
    • Verified type inference works correctly
    • Updated package README with usage examples

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants