honojs-middleware/packages/zod-openapi/src
Yusuke Wada a62b59f450
feat(zod-validator): support Zod v4 (#1173)
* feat(zod-validator): support Zod v4

* changeset

* oops. using `any`

* remove the not used value

* [wip] support both v3 and v4

* update

* avoid the type error on build

* remove unnecessary `unknown`

* fixed type and add test

* avoid the type error

* rename the test

* don't use `schema instanceof ZodObject`

* update README

* use released `3.25.6`

* changeset

* use `zod` instead of `zod/v3`

* don't update the peerDependencies

* use both v3 and v4 types if Zod has v4

* fix ZodError

* fixed

* update lock file

* update README

* remove unnecessary cast
2025-05-27 17:47:54 +09:00
..
createRoute.test.ts test: move tests to src directory (#1075) 2025-03-28 18:50:19 +09:00
handler.test-d.ts build: typescript project references (#1077) 2025-04-02 18:28:02 +09:00
index.test-d.ts fix(zod-openapi): infer Env correctly if the middleware is `[]` (#1106) 2025-04-07 18:41:04 +09:00
index.test.ts test: move tests to src directory (#1075) 2025-03-28 18:50:19 +09:00
index.ts feat(zod-validator): support Zod v4 (#1173) 2025-05-27 17:47:54 +09:00