Commit Graph

398 Commits (41ab4b029d225901b7369d88fb29b64f6c217dda)

Author SHA1 Message Date
github-actions[bot] e5434ffc2f
Version Packages (#213) 2023-10-27 16:58:49 +09:00
Vaggelis Yfantis a18da2a545
feat: Clerk Middleware (#151)
* initial commit

* wip

* Update README.md

* tests(clerk-auth): Setup testing and added first test

* docs(clerk-auth): Update README.md

* tests(clerk-auth): Added some more tests

* chore(clerk-auth): Added refernece in tests

* ci(clerk-atuh): Add Clerk Auth workflow

* use `env` helper to get enviroment variables

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2023-10-27 16:50:22 +09:00
github-actions[bot] 90d3e84831
Version Packages (#212) 2023-10-26 17:51:09 +09:00
Yusuke Wada 6ca8e8d8de
fix(zod-openapi): relax input types (#211)
* fix(zod-openapi): relax input types

* changeset
2023-10-26 17:49:10 +09:00
github-actions[bot] cb5bba456b
Version Packages (#209) 2023-10-23 05:20:38 +09:00
Andrew 46575b4395
fix(zod-validator): make validation input optional when schema is optional (#208)
* fix(zod-validator): make validation input optional when schema is optional

* feat(index.test.ts): add tests for optional schema

* feat(index.test.ts): add more tests for optional schema

* chore: add changeset
2023-10-23 05:18:23 +09:00
github-actions[bot] d7a703b556
Version Packages (#207) 2023-10-22 12:08:10 +09:00
Yusuke Wada 2d2fdd0379
feat(zod-openapi): allows the response to be `Response` (#206)
* feat: allows the response to be `Response`

* add changeset
2023-10-22 12:05:43 +09:00
github-actions[bot] a593d311f5
Version Packages (#202) 2023-10-19 07:29:04 +09:00
koralle 989d968795
fix(graphql-server): enhance type safety of RootResolvers and Options (#201)
* fix(graphql-server): enhance type safety of RootResolvers and Options

This commit introduces more specific type annotations to the following modules:
* RootResolvers
* Options

Specifically, the same type parameters used in the definition of `Context` class were given to them:

```ts
<E extends Env = any, P extends string = any, I extends Input = {}>
```

* chore: run `changeset`
2023-10-19 07:16:11 +09:00
github-actions[bot] 1d316c188f
Version Packages (#195) 2023-10-07 01:52:09 +09:00
Kei Kamikawa 152e93e598
fix(firebase-auth): throw HTTPException for bad request (#194) 2023-10-06 16:48:22 +09:00
github-actions[bot] 4eb3eb5e5a
Version Packages (#193) 2023-10-05 22:44:30 +09:00
Kei Kamikawa 794f03c363
fix(firebase-auth): throw HTTPException instead of reponse null (#191)
* fix(firebase-auth): throw HTTPException instead of reponse null

* added changeset
2023-10-05 22:42:21 +09:00
github-actions[bot] b77369e6f1
Version Packages (#190) 2023-10-04 23:46:25 +00:00
Yusuke Wada 58167f3b7f
fix(zod-openapi): publish as cjs by default (#189)
* fix(zod-openapi): publish as cjs by default

* changeset
2023-10-04 23:40:56 +00:00
github-actions[bot] b96e7f25ce
Version Packages (#183) 2023-09-29 06:18:32 +09:00
melbourne2991 7c6573da69
fix(typebox-validator): Update typebox dependency (#178)
* Update typebox dependency
2023-09-29 06:13:56 +09:00
Nico Franke 9aefddc45d
fix(zod-openapi): properly convert openapi path type to hono (#182)
* fix: properly convert openapi path type to hono

* chore: add changeset
2023-09-29 06:08:26 +09:00
github-actions[bot] d4ae60d489
Version Packages (#177) 2023-09-26 17:21:38 +09:00
Yusuke Wada 047eca5ca9
fix(zod-openapi): enable `basePath()` (#179)
* fix(zod-openapi): enable `basePath()`

* add changeset
2023-09-26 17:16:36 +09:00
Matt Sutkowski 9c45dbc41d
feat(zod-openapi): add support for defaultHook in initializer (#170)
* feat: add support for defaultHook in initializer

* update README
2023-09-26 17:09:02 +09:00
Luis Bizarro a9123dd9e3
fix: Async zod support. (#175)
* add: Async zod support.

* add: Missing changeset.
2023-09-26 05:20:41 +09:00
Yusuke Wada fb63ef413c
fix(zod-openapi): multiple routes types correct for `hc` (#176)
* fix(zod-openapi): multiple routes types correct for `hc`

* changeset
2023-09-25 12:57:51 +09:00
github-actions[bot] fd4aa8754e
Version Packages (#169) 2023-09-22 06:01:38 +09:00
Jakob Bergström (NotoriousSledge) dbebf747c9
feat: Zod-Openapi-Middleware: Export types to allow handlers and hooks to be declared in more places. (#167)
* Exported Handler and Hook types

* Performed changeset
2023-09-22 05:59:22 +09:00
github-actions[bot] a8747ab6fe
Version Packages (#165) 2023-09-20 06:18:58 +09:00
Yusuke Wada 62a97fda6a
fix(zod-openapi): use `z.output` for types after validation (#164)
* fix(zod-openapi): use `z.output` for types after validation

* changeset
2023-09-20 06:15:33 +09:00
github-actions[bot] 55373edb67
Version Packages (#162) 2023-09-19 08:26:24 +09:00
naporitan 05b8e9a751
feat: Add `getRoutingPath` to the return value of `createRoute`. (#161)
* feat(zod-openapi): add getRoutingPath

* feat(zod-openapi): add docs

* feat(zod-openapi): add versioning doc
2023-09-19 08:24:10 +09:00
github-actions[bot] 928f84a226
Version Packages (#160) 2023-09-15 22:57:15 +09:00
Patryk Dwórznik 2e4eeb0b70
feat: Add Typia validator (#158)
* Add Typia validator

* Add CI config
2023-09-15 22:54:56 +09:00
github-actions[bot] 752e6b2fd3
Version Packages (#157) 2023-09-12 08:32:02 +09:00
Mike Stop Continues 430088e175
[zod-openapi] Merge subapps' definitions into main app (#153)
* feat(zod-openapi): support `init` object

* feat(zod-openapi): support `v3.1` spec output

* feat(zod-openapi): Merge subapps' definitions
2023-09-12 08:25:41 +09:00
github-actions[bot] ec3beefd63
Version Packages (#156) 2023-09-11 11:47:16 +09:00
Yusuke Wada 804caac191
fix(zod-openapi): support multiple params (#155)
* fix(zod-openapi): support multiple params

* changeset
2023-09-11 11:44:47 +09:00
github-actions[bot] be7d4a6916
Version Packages (#149) 2023-09-05 19:01:34 +09:00
Yusuke Wada ee9e2a3d21 fix: make it as patch 2023-09-05 18:58:45 +09:00
Yusuke Wada 1006cbca6b
feat(zod-openapi): make `app.openAPIRegistry` public (#150)
* feat(zod-openapi): make `app.openAPIRegistry` public

* changeset
2023-09-05 18:55:09 +09:00
Yusuke Wada 1bfd648df8
fix(zod-openapi): fix the type error (#148)
* fix(zod-openapi): fix the type error

* changeset
2023-09-05 18:34:58 +09:00
github-actions[bot] 5f3ef12c95
Version Packages (#142) 2023-08-25 00:59:57 +09:00
Yusuke Wada f334e99251
feat(zod-openapi): supports `headers` and `cookies` (#141)
* feat(zod-openapi): supports `headers` and `cookies`

* `ZodAny` is not used

* update readme

* changeset
2023-08-25 00:55:16 +09:00
github-actions[bot] 68ef99cffc
Version Packages (#140) 2023-08-24 22:04:00 +09:00
Yusuke Wada 991b85915a
fix(zod-openapi): bump up Hono (#139)
* fix(zod-openapi): bump up Hono

* fix dependencies

* changeset
2023-08-24 17:10:26 +09:00
github-actions[bot] 1b92f79f91
Version Packages (#138) 2023-08-24 11:26:12 +09:00
Yusuke Wada c2093e17e0
feat(sentry): bump up `toucan-js` to v3 (#137)
* feat(sentry): bump up `toucan-js` to v3

* update readme

* add changeset

* update readme
2023-08-24 11:21:16 +09:00
github-actions[bot] 05f4b47080
Version Packages (#136) 2023-08-24 08:54:57 +09:00
Nico Franke dd620f0dc7
refactor(valibot-validator): update to latest valibot version (#135)
* chore(valibot-validator): update valibot version

* refactor(valibot-validator): use updated safeParse result

* chore: add changeset
2023-08-24 08:38:25 +09:00
github-actions[bot] 1bcd9624b1
Version Packages (#133) 2023-08-23 11:46:53 +09:00
Yusuke Wada 2dbc823b29
fix(zod-openapi): fix path param format `:id` to `{id}` (#132)
* fix(zod-openapi): fix path param format `:id` to `{id}`

* changeset
2023-08-23 11:43:59 +09:00
github-actions[bot] c65b09edff
Version Packages (#131) 2023-08-23 10:59:57 +09:00
Yusuke Wada de2e95a59e
fix(sentry): fixed sentry options types (#130)
* fix(sentry): fixed sentry options types

* changeset
2023-08-23 10:57:54 +09:00
github-actions[bot] 9f901b971c
Version Packages (#128) 2023-08-23 00:49:05 +09:00
Shu YAMANI bbe197acc3
feat(qwik-city): adapt to v1.2.0 API and refine dependencies (#127)
* fix(qwik-city): unpin hono version for usability

* feat(qwik-city): set min target version to v1.2.0+

* refactor(qwik-city): update from original middleware

* chore: add changeset
2023-08-23 00:25:02 +09:00
github-actions[bot] 5c22474098
Version Packages (#125) 2023-08-19 10:46:02 +09:00
Yusuke Wada e6b20c64b6
feat(zod-openapi): support RPC-mode (#124)
* feat(zod-openapi): support RPC-mode

* changeset

* update readme
2023-08-19 10:40:55 +09:00
github-actions[bot] 5e9f4f55a4
Version Packages (#122) 2023-08-19 02:54:34 +09:00
Yusuke Wada 1233c00875
docs: fixed readme (#121)
* docs: fixed readme

* changeset
2023-08-19 02:50:37 +09:00
Yusuke Wada 7b898034a5
feat: zod-openapi (#118)
* wip

* wip

* update readme

* changeset

* nohoist

* fixed CI
2023-08-19 02:43:36 +09:00
github-actions[bot] c18cedb1b2
Version Packages (#120) 2023-08-19 02:40:34 +09:00
Yusuke Wada 3b37eb4aef
fix(zod-validator): fixed zod-validator hook types (#119)
* fix(zod-validator): fixed zod-validator hook types

* changeset
2023-08-19 02:36:55 +09:00
github-actions[bot] 28ff7e4bbd
Version Packages (#117) 2023-08-19 00:16:28 +09:00
Yusuke Wada c271b6d502
fix(zod-validator): convert `TypedResponse` to `Response` in hook (#116)
* fix(zod-validator): convert `TypedResponse` to `Response` in hook

* changeset
2023-08-19 00:15:03 +09:00
github-actions[bot] a5a0692c3a
Version Packages (#115) 2023-08-18 23:59:36 +09:00
Yusuke Wada 3de3d7cd1b
fix(zod-validator): support `TypedResponse` in hook (#114)
* fix(zod-validator): support `TypedResponse` in hook

* changeset
2023-08-18 23:56:39 +09:00
github-actions[bot] 5eb29ae29e
Version Packages (#112) 2023-08-16 08:50:31 +09:00
Yusuke Wada 945938b6af
fix: bump up valibot (#111)
* fix(valibot): bump up valibot

* changeset
2023-08-16 08:44:38 +09:00
github-actions[bot] d9e8203548
Version Packages (#108) 2023-08-07 22:32:45 +09:00
Yusuke Wada 8eb3967477
fix(zod-validator): passing data to hook (#107)
* fix(zod-validator): passing data to hook

* changeset
2023-08-07 22:30:49 +09:00
github-actions[bot] fb34f25205
Version Packages (#106) 2023-08-07 18:47:38 +09:00
Yusuke Wada c783e0943a
fix(valibot-validator): fix Hook type (#105)
* fix(valibot-validator): fix Hook type

* changeset
2023-08-07 18:39:39 +09:00
Yusuke Wada 1fb2ab1dad
fix(zod-validator): fix a Hook type (#104)
* fix(zod-validator): fix Hook type

* changeset
2023-08-07 18:39:29 +09:00
github-actions[bot] b78e8e1bf4
Version Packages (#103) 2023-07-30 08:11:04 +09:00
Nico Franke c15de7ce3c
feat(valibot-validator): Add Valibot Validator Middleware (#102)
* feat: add valibot validator

* add changeset
2023-07-30 08:07:44 +09:00
github-actions[bot] 19f49fdfcc
Version Packages (#100) 2023-07-15 14:37:42 +09:00
Aman 65ed112e0e
Replaces TypeCompiler with Value (#90)
* Replaces TypeCompiler with Value

Cloudflare worker throws an EvalError when using TypeCompiler.Compile(schema).Check(data)

* added changeset

---------

Co-authored-by: Aman <aman@bignerd.io>
2023-07-15 14:35:15 +09:00
github-actions[bot] 89e3f88789
Version Packages (#97) 2023-06-26 16:36:24 +09:00
Yusuke Wada f10afd4b57
fix(medley-router): add router name (#96) 2023-06-26 16:32:30 +09:00
totto2727 fe125e02b3 chore: update dependencies for major Qwik update (#94)
* chore: update dependencies for major Qwic update

* fix: typo(qwik -> Qwik)
2023-06-26 16:05:33 +09:00
github-actions[bot] 567784a323
Version Packages (#88) 2023-06-02 06:37:33 +09:00
Markkus Millend 963b1ac0de
Sentry middleware: fix undefined DSN environment variable error (#89)
* Use optional chaining for determining Sentry DSN from environment

* Bump Hono version for Sentry middleware

* Fix tests on Deno

* Add changeset for Sentry middleware patch

* Denoify the new Sentry patch
2023-06-02 06:31:51 +09:00
Sacramentix b7fe359dbc
save 1 lines of import on Zod-validator (#87)
* save 1 lines of import

Just moving ZodSchema and ZodError to the import of z

* add changeset
2023-05-11 22:03:08 +09:00
github-actions[bot] e0db0f704b
Version Packages (#83) 2023-04-21 23:45:28 +09:00
Yusuke Wada e970536220
feat: add "medley-router" (#82)
* feat: add "medley-router"

* setup

* add changeset
2023-04-21 23:43:30 +09:00
github-actions[bot] 19fc874400
Version Packages (#80) 2023-04-03 00:26:21 +09:00
Yusuke Wada bf87efc954
fix(qwik): enable building (#79)
* feat: update qwik

* changeset

* it's patch

* update

* add changeset
2023-04-03 00:24:49 +09:00
Yusuke Wada 2d87f28889
feat: update qwik (#78)
* feat: update qwik

* changeset

* it's patch
2023-04-03 00:19:05 +09:00
github-actions[bot] d7e7dd245d
Version Packages (#73) 2023-03-21 18:30:09 +09:00
Yusuke Wada 7d84e06943
refactor(zod-validator): pass the path to `Context` for the hook (#74)
* refactor(zod-validator): pass the path to `Context` for the hook

* add changeset
2023-03-21 18:24:29 +09:00
Yusuke Wada 9ce42c23dd
refactor(typebox): refactor types (#72)
* refactor(typebox): refactor types

* add changeset
2023-03-21 17:59:59 +09:00
github-actions[bot] 9810eacdf7
Version Packages (#71) 2023-03-21 11:11:23 +09:00
Takafumi Umemoto 89505f4f75
Update firebase-auth-cloudflare-workers (#68) 2023-03-21 10:58:19 +09:00
github-actions[bot] 2ba444de0d
Version Packages (#70) 2023-03-21 10:43:17 +09:00
Yusuke Wada f263d58c87
refactor(zod-validator): refactor types (#69)
* refactor(zod-validator): refactor types

* add changeset
2023-03-21 10:41:30 +09:00
github-actions[bot] eb56625257
Version Packages (#66) 2023-03-17 17:13:23 +09:00
Yusuke Wada 5723cc08c5
feat(typebox-validator): support Hono v3.1.0 (#65)
* feat(typebox-validator): support Hono v3.1.0

* add changeset
2023-03-17 17:11:24 +09:00
github-actions[bot] 481310aedb
Version Packages (#64) 2023-03-17 17:04:13 +09:00
Yusuke Wada 3c9dca1c2d
feat(zod-validator): bump up Hono v3.1.0 (#63)
* feat(zod-validator): bump up Hono v3.1.0

* add changeset
2023-03-17 17:02:15 +09:00
github-actions[bot] 1e482e48d0
Version Packages (#61) 2023-03-06 20:49:48 +09:00
Yusuke Wada a798c307e1
feat(firebase-auth): support Hono v3 (#60)
* feat(firebase-auth): support Hono v3

* add changeset
2023-03-06 20:24:49 +09:00
github-actions[bot] 64045051d3
Version Packages (#58) 2023-03-02 15:15:36 +09:00
Yusuke Wada 8d57df889d
feat(sentry): support latest Hono version (#57)
* feat(sentry): support latest Hono version

* changset
2023-03-02 15:14:11 +09:00
github-actions[bot] 7084477c2f
Version Packages (#56) 2023-02-24 18:27:29 +09:00
Curtis Larson 2a3245ad06
feat(typebox-validator): Add TypeBox Validator middleware (#55)
* feat(typebox-validator): Add TypeBox Validator middleware

* fix(typebox-validator): Updates based on code review comments
2023-02-24 18:22:02 +09:00
github-actions[bot] 84c7d4d02b
Version Packages (#54) 2023-02-21 23:14:51 +09:00
Leonardo Razovic ca1a2103a7
feat: Update to Hono v3.0.0 (#53)
* feat: Update to Hono v3.0.0

* feat(graphql-server): Update package to v0.3.0

* feat(graphql-server): Get the raw request

* test(graphql-server): Update to Hono v3.0.0

* feat(graphql-server): Run `yarn prerelease`

* docs(graphql-server): Add changeset
2023-02-21 23:11:44 +09:00
github-actions[bot] 148f114cb6
Version Packages (#51) 2023-02-18 23:39:44 +09:00
Yusuke Wada b9e383fa88
feat(trpc-server): bump up Hono version "v3" (#50)
* feat(trpc-server): bump up Hono version "v3"

* add changeset
2023-02-18 23:37:25 +09:00
github-actions[bot] 118c43bd74
Version Packages (#49) 2023-02-18 23:29:55 +09:00
Yusuke Wada 81d06f7c9c
chore(zod-validator): bump up Hono version v3 (#48) 2023-02-18 23:24:39 +09:00
github-actions[bot] a78b3aafc6
Version Packages (#47) 2023-02-14 06:40:51 +09:00
Yusuke Wada 72604c74da
refactor(zod-validator): rename `VaildatorTypes` to `ValidatoerTargets` (#46)
* refactor(zod-validator): rename `VaildatorTypes` to `ValidatoerTargets`

* add changeset
2023-02-14 06:37:46 +09:00
github-actions[bot] 95ca0fcad3
Version Packages (#45) 2023-02-12 22:30:53 +09:00
Yusuke Wada 2d1a1cc68e chore: changelog format 2023-02-12 22:28:57 +09:00
Yusuke Wada fe80b939e5
chore(hello): fix `peerDependencies` (#44)
* chore(hello): fix `peerDependencies`

* add changeset
2023-02-12 16:47:14 +09:00
github-actions[bot] c8b9d1ef67
Version Packages (#43) 2023-02-12 14:54:35 +09:00
Alex Errant 520a453195
tRPCOptions extends `FetchHandlerRequestOptions`-ish (#42)
* tRPCOptions extends `FetchHandlerRequestOptions`-ish

* nix spaces

* add changeset
2023-02-12 14:44:06 +09:00
github-actions[bot] 0efd95e5a9
Version Packages (#41) 2023-02-09 20:34:33 +09:00
Yusuke Wada e1a49cff0b
chore(zod-validator): bump up Hono (#40)
* chore(zod-validator): bump up Hono

* add changeset
2023-02-09 20:32:51 +09:00
github-actions[bot] 3af288add5
Version Packages (#37) 2023-02-04 23:39:29 +09:00
Yusuke Wada e7c60b3492
feat: introduce tRPC server middleware (#36)
* feat: introduce tRPC server middleware

* chore: add changeset
2023-02-04 23:37:15 +09:00
github-actions[bot] 3b63ce2b93
Version Packages (#35) 2023-02-04 20:32:26 +09:00
Yusuke Wada 617b582bc3 chore: add changeset 2023-02-04 20:25:16 +09:00
github-actions[bot] a66d22abb9
Version Packages (#33) 2023-02-04 19:42:13 +09:00
Yusuke Wada 1f9c9a6740
chore: add changeset (#32) 2023-02-04 16:30:14 +09:00
github-actions[bot] bace1ab8ce
Version Packages (#30) 2023-02-04 12:45:42 +09:00
Yusuke Wada a05c98d76e chore: add changesets 2023-02-04 12:39:47 +09:00
github-actions[bot] fc30bf65cb
Version Packages (#28) 2023-02-01 06:55:41 +09:00
Yusuke Wada e45805f230
fix(zod-validator): bump up Hono to v3.0.0-rc.9 (#27) 2023-02-01 06:53:53 +09:00
github-actions[bot] e4a995f7e2
Version Packages (#25) 2023-01-18 21:58:11 +09:00
Yusuke Wada a831696e1f
fix(zod-validator): fix and refactor types (#24)
* fix(zod-validator): fix and refactor types

* add changeset
2023-01-18 21:56:33 +09:00
github-actions[bot] c420bdb23a
Version Packages (#23) 2023-01-13 09:12:26 +09:00
Yusuke Wada a5e33129c5
feat: add qwik-city middleware (#22)
* feat: add qwik-city middleware

* add changeset
2023-01-13 09:07:41 +09:00
github-actions[bot] 2f16551b23
Version Packages (#21) 2023-01-13 08:01:03 +09:00
Yusuke Wada 5a14c913fa
changeset (#20) 2023-01-13 08:00:01 +09:00
github-actions[bot] cfd775b8b3
Version Packages (#17) 2023-01-02 00:10:06 +09:00
Yusuke Wada 58e42aa8da
feat: introduce zod-validator (#16)
* feat: introduce zod-validator

* fixed `package.json`

* changeset
2023-01-02 00:03:44 +09:00
github-actions[bot] a3c2cda02b
Version Packages (#14) 2022-12-24 21:13:18 +09:00
Yusuke Wada 10dd016415
feat: new messages (#13)
* feat: new messages

* add changeset
2022-12-24 21:12:21 +09:00
github-actions[bot] 0c5629156e
Version Packages (#12) 2022-12-24 20:46:08 +09:00
Yusuke Wada 845f880192
chore: update (#11)
* fixed homepage address

* revert

* add change set
2022-12-24 20:36:35 +09:00
github-actions[bot] fdb50b7e53
Version Packages (#10)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-24 20:20:24 +09:00
Yusuke Wada 45a22b8006
feat: `@honojs` to `@hono` (#9)
* feat: `@honojs` to `@hono`

* add changeset
2022-12-24 20:18:26 +09:00
github-actions[bot] 2030c7215c
Version Packages (#5)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-16 18:44:08 +09:00
Yusuke Wada 0e7e7e2de4
chore: just an experiment (#4) 2022-10-16 18:31:57 +09:00
github-actions[bot] 94bb96fece
Version Packages (#2)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-16 18:18:58 +09:00
Yusuke Wada 5cd86dd5d7
feat: add hello middleware (#1)
* feat: add hello middleware

* add changeset
2022-10-16 18:14:21 +09:00
Yusuke Wada f8df40d00c initial commit 2022-10-16 17:52:21 +09:00