2023-01-01 23:10:06 +08:00
# @hono/zod-validator
2025-07-19 09:26:47 +08:00
## 0.7.2
### Patch Changes
- [#1315 ](https://github.com/honojs/middleware/pull/1315 ) [`c6a16ab7aa8fba2403d4294e7673f96796020c65` ](https://github.com/honojs/middleware/commit/c6a16ab7aa8fba2403d4294e7673f96796020c65 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - fix: support transform
2025-07-13 19:10:52 +08:00
## 0.7.1
### Patch Changes
- [#1302 ](https://github.com/honojs/middleware/pull/1302 ) [`9f6278f51c846a171a9baa6335fb8fbd9b42cb1c` ](https://github.com/honojs/middleware/commit/9f6278f51c846a171a9baa6335fb8fbd9b42cb1c ) Thanks [@kiki-kanri ](https://github.com/kiki-kanri )! - correctly set the zod version to follow the official website doc
- [#1302 ](https://github.com/honojs/middleware/pull/1302 ) [`9f6278f51c846a171a9baa6335fb8fbd9b42cb1c` ](https://github.com/honojs/middleware/commit/9f6278f51c846a171a9baa6335fb8fbd9b42cb1c ) Thanks [@kiki-kanri ](https://github.com/kiki-kanri )! - upgrade zod to v4 and import style to be more tree-shakeable in README.md
2025-05-30 10:16:13 +08:00
## 0.7.0
### Minor Changes
- [#1180 ](https://github.com/honojs/middleware/pull/1180 ) [`5c3f61f889f5d96f2ff4a79c9df89c03e25dd7f3` ](https://github.com/honojs/middleware/commit/5c3f61f889f5d96f2ff4a79c9df89c03e25dd7f3 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - feat: update peerDependency to Zod `^3.25.0` and fix the types
2025-05-27 16:55:25 +08:00
## 0.6.0
### Minor Changes
- [#1173 ](https://github.com/honojs/middleware/pull/1173 ) [`a62b59f4505d10f41523a36ad7c02776f9e1cb01` ](https://github.com/honojs/middleware/commit/a62b59f4505d10f41523a36ad7c02776f9e1cb01 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - feat: support Zod v4
2025-04-27 19:30:24 +08:00
## 0.5.0
### Minor Changes
- [#1140 ](https://github.com/honojs/middleware/pull/1140 ) [`8ed99d9d791ed6bd8b897c705289b0464947e632` ](https://github.com/honojs/middleware/commit/8ed99d9d791ed6bd8b897c705289b0464947e632 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - feat: add `validationFunction` option
2025-02-15 09:44:19 +08:00
## 0.4.3
### Patch Changes
- [#968 ](https://github.com/honojs/middleware/pull/968 ) [`b65d5a58616f861520047dd08babc9cd1d81cbd1` ](https://github.com/honojs/middleware/commit/b65d5a58616f861520047dd08babc9cd1d81cbd1 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - fix: fix commonjs import problem
2024-12-13 16:01:35 +08:00
## 0.4.2
### Patch Changes
- [#860 ](https://github.com/honojs/middleware/pull/860 ) [`803f011e41ecb3da503ddb2b3286c6d7606d9c4b` ](https://github.com/honojs/middleware/commit/803f011e41ecb3da503ddb2b3286c6d7606d9c4b ) Thanks [@askorupskyy ](https://github.com/askorupskyy )! - Case-insensitive Zod schemas for headers
2024-10-06 13:16:02 +08:00
## 0.4.1
### Patch Changes
- [#766 ](https://github.com/honojs/middleware/pull/766 ) [`ed27af46ecb8a7c3b5399b725feded4feaf6f8a6` ](https://github.com/honojs/middleware/commit/ed27af46ecb8a7c3b5399b725feded4feaf6f8a6 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - chore: releasing correctly
2024-10-06 12:28:47 +08:00
## 0.4.0
### Minor Changes
- [#763 ](https://github.com/honojs/middleware/pull/763 ) [`2a45247d805520c08501727af0d00fd52d34b429` ](https://github.com/honojs/middleware/commit/2a45247d805520c08501727af0d00fd52d34b429 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - feat: support enum types for `query`
2024-09-26 11:04:09 +08:00
## 0.3.0
### Minor Changes
- [#695 ](https://github.com/honojs/middleware/pull/695 ) [`eda35847916cf7f7e84289eba29a8e5517615c6b` ](https://github.com/honojs/middleware/commit/eda35847916cf7f7e84289eba29a8e5517615c6b ) Thanks [@bartekbp ](https://github.com/bartekbp )! - feat(zod-validator): pass target to a hook
2024-06-01 10:40:07 +08:00
## 0.2.2
### Patch Changes
- [#552 ](https://github.com/honojs/middleware/pull/552 ) [`aa055494974eb911ec784e6462691aafefd98125` ](https://github.com/honojs/middleware/commit/aa055494974eb911ec784e6462691aafefd98125 ) Thanks [@EdamAme-x ](https://github.com/EdamAme-x )! - fix: support async hook
2024-03-26 08:26:33 +08:00
## 0.2.1
### Patch Changes
- [#431 ](https://github.com/honojs/middleware/pull/431 ) [`c721d14d4b90b9702936ad64f54d15bfd7ecfc88` ](https://github.com/honojs/middleware/commit/c721d14d4b90b9702936ad64f54d15bfd7ecfc88 ) Thanks [@MAKS11060 ](https://github.com/MAKS11060 )! - fix export esm module
2024-03-06 18:40:46 +08:00
## 0.2.0
### Minor Changes
- [#411 ](https://github.com/honojs/middleware/pull/411 ) [`4875e1c53146d2c67846b8159d3630d465c2a310` ](https://github.com/honojs/middleware/commit/4875e1c53146d2c67846b8159d3630d465c2a310 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - feat: support coerce
2023-10-30 05:19:00 +08:00
## 0.1.11
### Patch Changes
- [#215 ](https://github.com/honojs/middleware/pull/215 ) [`ab2176b` ](https://github.com/honojs/middleware/commit/ab2176bf6ef6cf93b6b4ee67d9614fd83e8d3fb0 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - fix: bump Hono version of `peerDependencie`
2023-10-23 04:20:38 +08:00
## 0.1.10
### Patch Changes
- [#208 ](https://github.com/honojs/middleware/pull/208 ) [`46575b4` ](https://github.com/honojs/middleware/commit/46575b4395011f4fdf8cd1dcf87f4a662e342cbe ) Thanks [@MonsterDeveloper ](https://github.com/MonsterDeveloper )! - fix(zod-validator): make validation input optional when schema is optional
2023-09-26 16:21:38 +08:00
## 0.1.9
### Patch Changes
- [#175 ](https://github.com/honojs/middleware/pull/175 ) [`a9123dd` ](https://github.com/honojs/middleware/commit/a9123dd9e3e90d4d73f495d6b407ebacf9ea0ad8 ) Thanks [@WildEgo ](https://github.com/WildEgo )! - add: Async zod support
2023-08-19 01:40:34 +08:00
## 0.1.8
### Patch Changes
- [#119 ](https://github.com/honojs/middleware/pull/119 ) [`3b37eb4` ](https://github.com/honojs/middleware/commit/3b37eb4aefb22f6e7711c390f94b022eaa3695cf ) Thanks [@yusukebe ](https://github.com/yusukebe )! - fix(zod-validator): fixed zod-validator hook types
2023-08-18 23:16:28 +08:00
## 0.1.7
### Patch Changes
- [#116 ](https://github.com/honojs/middleware/pull/116 ) [`c271b6d` ](https://github.com/honojs/middleware/commit/c271b6d502f1b9e193beb897ff561e08e3877ce5 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - fix(zod-validator): convert TypedResponse to Response in hook
2023-08-18 22:59:36 +08:00
## 0.1.6
### Patch Changes
- [#114 ](https://github.com/honojs/middleware/pull/114 ) [`3de3d7c` ](https://github.com/honojs/middleware/commit/3de3d7cd1bfc064f4f2c38da35f46da4998dac35 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - fix(zod-validator): support TypedResponse in hook
2023-08-07 21:32:45 +08:00
## 0.1.5
### Patch Changes
- [#107 ](https://github.com/honojs/middleware/pull/107 ) [`8eb3967` ](https://github.com/honojs/middleware/commit/8eb3967477fce4ccbaf995e811b6d6a014c2e052 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - fix passing data to hook
2023-08-07 17:47:38 +08:00
## 0.1.4
### Patch Changes
- [#104 ](https://github.com/honojs/middleware/pull/104 ) [`1fb2ab1` ](https://github.com/honojs/middleware/commit/1fb2ab1dad5e1f7c4071e33af342a08690832054 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - fix a Hook type
2023-06-02 05:37:33 +08:00
## 0.1.3
### Patch Changes
- [#87 ](https://github.com/honojs/middleware/pull/87 ) [`b7fe359` ](https://github.com/honojs/middleware/commit/b7fe359dbc63b493d275df09f00c676de80b3f11 ) Thanks [@Sacramentix ](https://github.com/Sacramentix )! - merge zod import into 1 line
2023-03-21 17:30:09 +08:00
## 0.1.2
### Patch Changes
- [#74 ](https://github.com/honojs/middleware/pull/74 ) [`7d84e06` ](https://github.com/honojs/middleware/commit/7d84e069431ad15ecfb86c953b940c3bb99a2a96 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - refactor: pass the path to Context for the hook
2023-03-21 09:43:17 +08:00
## 0.1.1
### Patch Changes
- [#69 ](https://github.com/honojs/middleware/pull/69 ) [`f263d58` ](https://github.com/honojs/middleware/commit/f263d58c8734c09c622fd3e7734fa6bba1a6b706 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - patch: refactor types
2023-03-17 16:04:13 +08:00
## 0.1.0
### Minor Changes
- [#63 ](https://github.com/honojs/middleware/pull/63 ) [`3c9dca1` ](https://github.com/honojs/middleware/commit/3c9dca1c2d1cb0bff34dfdbedfc4e0a502dafd98 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - feat: Support Hono v3.1.0
2023-02-18 22:29:55 +08:00
## 0.0.6
### Patch Changes
- [#48 ](https://github.com/honojs/middleware/pull/48 ) [`81d06f7` ](https://github.com/honojs/middleware/commit/81d06f7c9c2fef680f757d3bb25b2d40607d5ce8 ) Thanks [@yusukebe ](https://github.com/yusukebe )! - chore: bump up Hono version to v3
2023-02-14 05:40:51 +08:00
## 0.0.5
### Patch Changes
- [#46 ](https://github.com/honojs/middleware/pull/46 ) [`72604c7` ](https://github.com/honojs/middleware/commit/72604c74dafffeebf360e35f2fc03d94385214ab ) Thanks [@yusukebe ](https://github.com/yusukebe )! - refactor: rename `ValidationType` to `ValidationTargets`
2023-02-09 19:34:33 +08:00
## 0.0.4
### Patch Changes
- e1a49cf: bump up Hono version
2023-02-01 05:55:41 +08:00
## 0.0.3
### Patch Changes
- e45805f: bump up Hono version to v3.0.0-rc.9
2023-01-18 20:58:11 +08:00
## 0.0.2
### Patch Changes
- a831696: fix and refactor types
2023-01-01 23:10:06 +08:00
## 0.0.1
### Patch Changes
- 58e42aa: first release