---
title: "@hono/zod-openapi 1.0.0 Breaking Changes on npm | Since.dev"
description: "What each @hono/zod-openapi release removed, renamed or changed: 4 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@hono/zod-openapi
last_updated: 2026-12-04
---

# @hono/zod-openapi breaking changes

@hono/zod-openapi 1.0.0 (July 18, 2025) is its newest release with breaking changes, 2 of them. The first: Adds Zod v4 support; the zod peer dependency now requires 4.0.0 or higher in @hono/zod-openapi 1.0.0. Every breaking API change we have recorded in @hono/zod-openapi on npm: 4 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.6.4`, released December 4, 2026. 

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.19.0](#v-0-19-0) to [1.0.0](#v-1-0-0): 2 breaking changes in 1 version.

## @hono/zod-openapi 1.0.0 breaking changes

@hono/zod-openapi 1.0.0, released July 18, 2025: 2 breaking changes.

- **Configuration changed**  

The package now targets Zod v4, so the zod peer dependency must be 4.0.0 or higher. Projects still on Zod v3 need to upgrade zod to use this version. [github.com](https://github.com/honojs/middleware/releases/tag/%40hono/zod-openapi%401.0.0)
- **Signature changed** `z`  

Was export {z} from 'zod'; now export {z} from 'zod/v4'. [npmjs.com](https://www.npmjs.com/package/@hono/zod-openapi/v/1.0.0)

## @hono/zod-openapi 0.19.0 breaking changes

@hono/zod-openapi 0.19.0, released February 28, 2025: 2 breaking changes.

- **Signature changed** `OpenAPIHono.openapi`  

Was openapi: \<R extends RouteConfig, I extends Input = InputTypeBase\<R, "params", "param"> & InputTypeBase\<R, "query", "query"> & InputTypeBase\<R, "headers", "header"> & InputTypeBase\<R, "cookies", "cookie"> & InputTypeForm\<R> &... [npmjs.com](https://www.npmjs.com/package/@hono/zod-openapi/v/0.19.0)
- **Signature changed** `RouteConfig`  

Was type RouteConfig = RouteConfig$1 & {middleware?: MiddlewareHandler | MiddlewareHandler\[\];}; now type RouteConfig = RouteConfig$1 & {middleware?: MiddlewareHandler | MiddlewareHandler\[\]; hide?: boolean;}. [npmjs.com](https://www.npmjs.com/package/@hono/zod-openapi/v/0.19.0)

## Related packages

- [@hono/node-server](https://since.dev/packages/npm/@hono/node-server.md)
- [@hono/zod-validator](https://since.dev/packages/npm/@hono/zod-validator.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
