@hono/zod-openapi 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @hono/zod-openapi
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1881](https://github.com/honojs/middleware/pull/1881) [`e90e4fb30877f3e3f4b0588bdb2bbfc337efbf67`](https://github.com/honojs/middleware/commit/e90e4fb30877f3e3f4b0588bdb2bbfc337efbf67) Thanks [@T4ko0522](https://github.com/T4ko0522)! - fix(zod-openapi): bump `peerDependencies.hono` to `>=4.10.0` to match the runtime requirement coming through `@hono/zod-validator`.
8
+
9
+ `@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`).
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [[`e90e4fb30877f3e3f4b0588bdb2bbfc337efbf67`](https://github.com/honojs/middleware/commit/e90e4fb30877f3e3f4b0588bdb2bbfc337efbf67)]:
14
+ - @hono/zod-validator@0.8.0
15
+
3
16
  ## 1.3.0
4
17
 
5
18
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hono/zod-openapi",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "A wrapper class of Hono which supports OpenAPI.",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "homepage": "https://github.com/honojs/middleware",
43
43
  "peerDependencies": {
44
- "hono": ">=4.3.6",
44
+ "hono": ">=4.10.0",
45
45
  "zod": "^4.0.0"
46
46
  },
47
47
  "devDependencies": {
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@asteasolutions/zod-to-openapi": "^8.5.0",
57
- "@hono/zod-validator": "^0.7.6",
57
+ "@hono/zod-validator": "^0.8.0",
58
58
  "openapi3-ts": "^4.5.0"
59
59
  },
60
60
  "engines": {