Commit Graph

848 Commits (bf9035c5a23b7cfd1549b5bfcf4ce19c00ced31c)

Author SHA1 Message Date
Yusuke Wada a3da3dac91
chore(hello): tweak (#235)
* chore(hello): tweak

* changeset
2023-11-05 16:45:07 +09:00
github-actions[bot] a60dd96808
Version Packages (#233) 2023-11-05 11:12:27 +09:00
Yusuke Wada 81de70d289
chore: update `yarn.lock` (#234) 2023-11-05 11:07:12 +09:00
Yusuke Wada 1243fc5697
feat: esbuild Transpiler Middleware (#231)
* feat: esbuild Transpiler Middleware

* changeset

* add linkt to docs

* add `global.d.ts` for docs

* update readme

Co-authored-by: Andres C. Rodriguez <acrodrig@users.noreply.github.com>
2023-11-05 10:57:04 +09:00
github-actions[bot] 87c3795dc3
Version Packages (#232) 2023-11-04 18:25:02 +09:00
Sor4chi c608fa9532
feat: swagger ui middleware (#230)
* feat(zod-openapi): create swagger-ui jsx component

* feat(zod-openapi): add swagger ui docs

* chore(zod-openapi): add versioning doc

* chore(zod-openapi): fix SwaggerUI component doc

* refactor(zod-openapi): remove jsx comment

* feat(swagger-ui): create new package

* feat(swagger-ui): provides swagger ui middleware and swaggerui component

* feat(zod-openapi): Changed to use @hono/swagger-ui

* chore: add versioning doc

* feat: update ci for @hono/swagger-ui

* refactor: remove package-lock.json

* refactor: reverted the extra changes.

* chore: remove old changeset doc

* refactor(swagger-ui): remove unused file

* refactor(swagger-ui): change input type

* feat(swagger-ui): Select only the options you need.

* chore(swagger-ui): update README

* refactor(swagger-ui): rewrite simple

* refactor(zod-openapi): remove swagger-ui

* chore(swagger-ui): fix readme content

* chore(dep): add @types/swagger-ui-dist for option types support

* feat: implement SwaggerConfig Renderer for mapping config object to html

* feat: extend some option support for swagger-ui-dist

* test: move option rendering test and add some cases

* feat: add manually option for making full customizable

* docs: update swagger-ui middleware README

* fix: do not escape HTML strings

* docs: update README of swagger-ui middleware

* ci: update workflow environment for swagger-ui middleware

---------

Co-authored-by: naporin0624 <naporin0624@gmail.com>
2023-11-04 18:18:20 +09:00
github-actions[bot] 296446be5a
Version Packages (#229) 2023-11-03 05:59:16 +09:00
Yusuke Wada b9baf4a990
feat(hello): infer type correctly using `satisfies` (#228)
* feat(hello): infer type correctly using `satisfies`

* changeset
2023-11-03 05:53:53 +09:00
Yusuke Wada 23a64bba03
chore: bump up `typescript` (#227) 2023-11-03 05:27:11 +09:00
Vaggelis Yfantis 24750c37bb
chore(clerk-auth): Update README.md (#226)
* Update README.md

* Update README.md
2023-11-03 03:41:00 +09:00
github-actions[bot] b8076dfb47
Version Packages (#223) 2023-10-31 19:23:37 +09:00
Yusuke Wada 73ab82a902
fix(zod-openapi): import types correctly (#222)
* fix(zod-openapi): import types correctly

* changeset
2023-10-31 19:17:34 +09:00
github-actions[bot] 3633efd1de
Version Packages (#218) 2023-10-30 06:46:28 +09:00
Yusuke Wada b3d80a0cca
fix: bump hono version of `peerDependencies` (#219)
* fix: bump hono version of `peerDependencies`

* add changeset
2023-10-30 06:39:46 +09:00
Yusuke Wada a80c84ba07
fix(zod-openapi): bump Hono for `peerDependencies` (#217) 2023-10-30 06:35:00 +09:00
github-actions[bot] 66710bcca0
Version Packages (#216) 2023-10-30 06:19:00 +09:00
Yusuke Wada ab2176bf6e
fix(zod-validator): bump Hono version of `peerDependencie` (#215)
* fix(zod-validator): bump Hono version of `peerDependencie`

* changeset
2023-10-30 06:13:40 +09:00
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
Callum d2398a4c90
test(zod-openapi): additional headers test for `Authorization` (#192)
* include test for array of headers

* merge route and routeWithAuth from 3 tests into 2 tests
2023-10-10 20:45:05 +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