Commit Graph

565 Commits (88bb11657a5730d2258a38e01a8442eef730d68d)

Author SHA1 Message Date
Yusuke Wada f51320bed0
chore: formatted to ensure successful build (#905) 2024-12-25 18:16:30 +09:00
Yusuke Wada 7a401b0850
chore: use the latest eslint and `@hono/eslint-config` (#904)
* chore: use the latest eslint and `@hono/eslint-config`

* update codes
2024-12-25 18:08:43 +09:00
ktKongTong 755d5cb84d
docs(zod-validator): add usage docs for `zErrValidator` (#900)
* docs(zod-validator): add usage docs for `zErrValidator`, throw a validating error instead of directly returning an error response. (#890)

* docs(zod-validator): change zod error to Hono HTTPException

* remove useless generic
2024-12-25 10:32:07 +09:00
github-actions[bot] c9d96ee6c2
Version Packages (#902) 2024-12-23 11:24:35 +09:00
Gabriel Massadas b71d817f71
feat(cloudflare-access): Handle Access organization does not exist and Access not available cases (#898) 2024-12-23 11:19:56 +09:00
Yusuke Wada cd6c667ee2
docs(zod-openapi): add docs for lacking proper Content-Type in a request (#893) 2024-12-19 10:26:01 +09:00
github-actions[bot] f30f7ee28c
Version Packages (#889) 2024-12-15 18:59:37 +09:00
miyaji255 c63470e491
feat(typia-validator): support typia http module (#888)
* feature(typia-validator): support typia http module

* feature(typia-validator): add change-set & update README
2024-12-15 18:54:40 +09:00
github-actions[bot] f58f47ebd1
Version Packages (#886) 2024-12-13 17:22:31 +09:00
Gabriel Massadas 2720ac7172
feat: Add Cloudflare Access middleware (#880) 2024-12-13 17:16:11 +09:00
github-actions[bot] 9150550bb8
Version Packages (#885) 2024-12-13 17:01:35 +09:00
Anthony Skorupskyy 803f011e41
fix(zod-validator): support for case-insensitive `headers` target validation (#860) 2024-12-13 16:57:49 +09:00
github-actions[bot] 27ff98f26e
Version Packages (#877) 2024-12-10 13:02:09 +09:00
Husam Elbashir a092ffaadb
fix(node-ws): websocket upgrade header value case sensitivity (#876) 2024-12-10 12:58:31 +09:00
github-actions[bot] 6524a92a9e
Version Packages (#868) 2024-12-03 17:52:25 +09:00
Lindelwe Michael Ncube c815055bb6
feat(typebox-validator): Add strict schema (#866) 2024-12-03 16:14:44 +09:00
github-actions[bot] 21403ec5c0
Version Packages (#867) 2024-12-03 10:06:18 +09:00
Gaubee d67e279d82
fix(trpc-server) The Request.url getter can only be used on instances of Request (#864) 2024-12-03 09:59:58 +09:00
github-actions[bot] 17659346dd
Version Packages (#863) 2024-12-02 11:03:37 +09:00
Yuichiro Yamashita 739d4a01fc
feat(effect-validator): support `effect@3.10.0` (#859)
* upgrade effect to 3.10.0

* add changeset

* tidy import

* update lock file

* remove RemoveReadonly
2024-12-02 10:56:10 +09:00
github-actions[bot] 71c1e669e2
Version Packages (#862) 2024-12-02 10:13:22 +09:00
Gaubee ee83665c5e
feat: Use honoReq's bodyCache to provide a body function for trpc's req (#850)
Some middleware (in createContext) may need to read the body. If the raw request instance is provided directly, the body will be consumed prematurely, blocking the development of middleware.
2024-12-02 10:08:18 +09:00
github-actions[bot] 3bd19aec54
Version Packages (#858) 2024-11-29 21:12:25 +09:00
Jani 3f63c46fa6
fix(zod-openapi): support default response (#855)
* fix(zod-openapi): support default response

* chore: changeset
2024-11-29 21:07:33 +09:00
github-actions[bot] b1fdf7202f
Version Packages (#854) 2024-11-28 19:05:51 +09:00
Yusuke Wada a9804afe71
fix(zod-openapi): return `Response` if response is not text or JSON (#853)
* fix(zod-openapi): return `Response` if response is not text or JSON

Co-authored-by: sushichan044 <mail@sushichan.live>

* fixed tests and correct types

* add changeset

---------

Co-authored-by: sushichan044 <mail@sushichan.live>
2024-11-28 18:35:21 +09:00
github-actions[bot] a2ffc34b31
Version Packages (#851) 2024-11-28 10:57:56 +09:00
Anthony Skorupskyy 4ebecc6142
fix(zod-openapi): multi-middleware complex type inference (#849) 2024-11-28 10:54:26 +09:00
github-actions[bot] 83cc76469e
Version Packages (#848) 2024-11-26 08:29:37 +09:00
rwv 934b3932c1
feat: customize html title for swagger-ui (#845)
* feat: customize html title for swagger-ui

* chore: add changeset
2024-11-26 08:21:30 +09:00
github-actions[bot] c063c66a55
Version Packages (#838) 2024-11-19 11:00:17 +09:00
Yusuke Wada ebd70a0e03
feat(zod-openapi): support `enum` (#837)
* feat(zod-openapi): support `enum`

* add changeset

* add changeset
2024-11-19 10:53:55 +09:00
github-actions[bot] 672ff939bc
Version Packages (#835) 2024-11-18 11:14:07 +09:00
Yusuke Wada 88e54c1b9d
chore(tsyringe): add a build command (#834)
* chore(tsyringe): add a build command

* add changeset
2024-11-18 11:05:17 +09:00
github-actions[bot] 013e0ecf1b
Version Packages (#833) 2024-11-17 05:50:53 +09:00
蒼時弦也 932d651aaf
feat(tsyringe): add @hono/tsyringe middleware (#785) 2024-11-17 05:36:39 +09:00
github-actions[bot] 68753ca8b2
Version Packages (#830) 2024-11-16 09:50:57 +09:00
Daniel Pedersen bbb48ef368
fix(zod-openapi): infer env type parameter from middleware (#828)
* fix(zod-openapi): infer env type parameter from middleware

* add test
2024-11-16 09:46:13 +09:00
github-actions[bot] e37c31392c
Version Packages (#829) 2024-11-15 17:36:35 +09:00
Illia Khvost c9f63deb95
feat(ajv-validator): Add Ajv validator middleware (#794) 2024-11-15 05:17:22 +09:00
Yusuke Wada b0320d91f0
chore(zod-openapi): format code and fixed the type (#827) 2024-11-14 16:52:38 +09:00
Yusuke Wada 72e7070acd
chore(zod-validator): use `tsup` for build (#826) 2024-11-14 15:54:50 +09:00
github-actions[bot] b8bee02ec6
Version Packages (#824) 2024-11-13 05:34:59 +09:00
Aditya Mathur 553112c2c6
fix: exported Hook type in valibot and typebox validators (#821)
* fix: exported Hook type

* chore: add changeset packages
2024-11-13 05:31:42 +09:00
github-actions[bot] f997ee0d9a
Version Packages (#820) 2024-11-10 18:51:50 +09:00
Fabian Hiller d6fcbbd336
feat(valibot-validator): upgrade valibot peer dependency (#819) 2024-11-10 18:46:22 +09:00
oberbeck 2f55c21d62
docs(zod-openapi): use tuple in middleware example (#812) 2024-11-09 10:05:26 +09:00
github-actions[bot] 0ebcc6f276
Version Packages (#816) 2024-11-08 12:26:21 +09:00
Pr0m3th3us a5c20b3428
feat: class validator middleware for Hono (#788)
* setup middleware package

* add implementation middleware

* add documentation + updae tsconfig for decorator handling

* add tests

* fix format class-validator middleware

* Add Readme

* Update changelog & changeset

* update changelog 2

* update changelog 2

* fix working directory ci

* rm jest dependencies

change to tsup for build

fix ci name

* revert changes not related to class-validator

* remove the changeset since Changesets will add a changeset automatically

* package description
2024-11-08 12:08:18 +09:00
github-actions[bot] 28ca0f3284
Version Packages (#815) 2024-11-08 04:55:22 +09:00