Skip to content

Bump @hono/zod-openapi from 1.2.2 to 1.3.0#28

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/hono/zod-openapi-1.3.0
Open

Bump @hono/zod-openapi from 1.2.2 to 1.3.0#28
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/hono/zod-openapi-1.3.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 13, 2026

Bumps @hono/zod-openapi from 1.2.2 to 1.3.0.

Release notes

Sourced from @​hono/zod-openapi's releases.

@​hono/zod-openapi@​1.3.0

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

@​hono/zod-openapi@​1.2.4

Patch Changes

@​hono/zod-openapi@​1.2.3

Patch Changes

Changelog

Sourced from @​hono/zod-openapi's changelog.

1.3.0

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

1.2.4

Patch Changes

1.2.3

Patch Changes

Commits
  • 5eeca71 Version Packages (#1849)
  • fe0f8e4 feat(zod-openapi): add defineOpenAPIRoute and openapiRoutes for batch route r...
  • a6f4ef5 Version Packages (#1832)
  • 40ede9c fix(zod-openapi): publish to JSR (#1831)
  • 38993fa Version Packages (#1811)
  • db8fd16 fix(zod-openapi): bump @​asteasolutions/zod-to-openapi to allow nested discrim...
  • e762ac0 feat(eslint): ignoring variables and parameters prefixed with _ (#1772)
  • See full diff in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [@hono/zod-openapi](https://github.com/honojs/middleware/tree/HEAD/packages/zod-openapi) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/honojs/middleware/releases)
- [Changelog](https://github.com/honojs/middleware/blob/main/packages/zod-openapi/CHANGELOG.md)
- [Commits](https://github.com/honojs/middleware/commits/@hono/zod-openapi@1.3.0/packages/zod-openapi)

---
updated-dependencies:
- dependency-name: "@hono/zod-openapi"
  dependency-version: 1.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels 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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants