unstale

npm / @hono/zod-openapi

@hono/zod-openapi

What changed in @hono/zod-openapi 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.

1 breaking1 performance2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

@hono/zod-openapi 14 changes

Breaking changes 1

  • JSON or form requests whose Content-Type matches none of the route's declared media types now return 415 instead of validating an empty object.

    1.6.3release notes

Performance 1

  • Projected response types are reused between route handlers and returned schemas to reduce TypeScript checker work.

    1.6.2release notes

Fixes and other changes 2

  • The handler now infers the route middleware environment.

    1.6.2release notes

  • Batched route type inference is flattened so large openapiRoutes tuples do not hit TypeScript's recursive instantiation limit.

    1.6.2release notes