Skip to content

chore(deps): bump @hono/zod-openapi from 0.19.10 to 1.4.0#37

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/hono/zod-openapi-1.4.0
Open

chore(deps): bump @hono/zod-openapi from 0.19.10 to 1.4.0#37
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/hono/zod-openapi-1.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 14, 2026

Copy link
Copy Markdown
Contributor

Bumps @hono/zod-openapi from 0.19.10 to 1.4.0.

Release notes

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

@​hono/zod-openapi@​1.4.0

Minor Changes

  • #1881 e90e4fb30877f3e3f4b0588bdb2bbfc337efbf67 Thanks @​T4ko0522! - fix(zod-openapi): bump peerDependencies.hono to >=4.10.0 to match the runtime requirement coming through @hono/zod-validator.

    @hono/zod-openapi lists @hono/zod-validator as a direct (non-peer) dependency, so its peer range must be at least as strict as @hono/zod-validator's. After the typed-400 fix bumps @hono/zod-validator's peerDependencies.hono to >=4.10.0, leaving @hono/zod-openapi's peer at >=4.3.6 would let consumers install @hono/zod-openapi against e.g. hono@4.9.9, where the bundled @hono/zod-validator types reference the 4-argument MiddlewareHandler<E, P, I, R> (introduced in Hono v4.10.0) and fail to compile (TS2707).

Patch Changes

@​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

... (truncated)

Changelog

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

1.4.0

Minor Changes

  • #1881 e90e4fb30877f3e3f4b0588bdb2bbfc337efbf67 Thanks @​T4ko0522! - fix(zod-openapi): bump peerDependencies.hono to >=4.10.0 to match the runtime requirement coming through @hono/zod-validator.

    @hono/zod-openapi lists @hono/zod-validator as a direct (non-peer) dependency, so its peer range must be at least as strict as @hono/zod-validator's. After the typed-400 fix bumps @hono/zod-validator's peerDependencies.hono to >=4.10.0, leaving @hono/zod-openapi's peer at >=4.3.6 would let consumers install @hono/zod-openapi against e.g. hono@4.9.9, where the bundled @hono/zod-validator types reference the 4-argument MiddlewareHandler<E, P, I, R> (introduced in Hono v4.10.0) and fail to compile (TS2707).

Patch Changes

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

... (truncated)

Commits
  • a08b023 Version Packages (#1887)
  • e90e4fb feat(zod-validator): surface the default 400 on the no-hook overload and keep...
  • 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)
  • 27d8981 Version Packages (#1749)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​hono/zod-openapi since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 14, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/hono/zod-openapi-1.4.0 branch 2 times, most recently from fbbad1c to ed7d65e Compare June 14, 2026 15:43
Bumps [@hono/zod-openapi](https://github.com/honojs/middleware/tree/HEAD/packages/zod-openapi) from 0.19.10 to 1.4.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.4.0/packages/zod-openapi)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/hono/zod-openapi-1.4.0 branch from ed7d65e to 80f82e4 Compare June 14, 2026 15:47
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