Commit Graph

398 Commits (41ab4b029d225901b7369d88fb29b64f6c217dda)

Author SHA1 Message Date
github-actions[bot] 3fdf755ed6
Version Packages (#392) 2024-02-15 05:44:45 +09:00
Andrew 9b57c3bb30
fix(valibot-validator): make validation input optional when schema is optional (#384)
* chore(valibot-validator): Replace `jsonT` in tests

* fix(valibot-validator): Handle optional schema

* test(valibot-validator): Update tests

* chore(valibot-validator): Add changeset

* chore(valibot-validator): Fix formatting
2024-02-15 05:38:43 +09:00
github-actions[bot] df8d403182
Version Packages (#391) 2024-02-15 05:28:23 +09:00
asuka c789dab697
fix(graphql-server): hono peer dependency to support v4.0.0 (#390)
* chore(graphql-server): Update hono peer dependency to support v4.0.0

* chore(graphql-server): Add changeset
2024-02-15 05:22:19 +09:00
github-actions[bot] 86f2be936c
Version Packages (#389) 2024-02-14 17:11:30 +09:00
Yusuke Wada e0d94dfa1a
chore: add changeset for sentry middleware (#388) 2024-02-14 17:07:43 +09:00
github-actions[bot] 37fb8662cb
Version Packages (#387) 2024-02-13 23:51:50 +09:00
Yoshio HANAWA fda62dea37
fix(oidc-auth): Fix "yarn release" for Yarn v4 / Build ESM only (#386) 2024-02-13 23:20:36 +09:00
github-actions[bot] 4d8389a8c7
Version Packages (#385) 2024-02-13 11:17:53 +09:00
Yoshio HANAWA 7777562f64
feat: Add OpenID Connect authentication middleware (#372)
* Add OpenID Connect authentication middleware

* add ci

* use tsup to build and use `module`

* update `yarn.lock`

* update `yarn.lock`

* Add `configureOidcAuth()` and remove the use of environment variables / Replace `Error` to `HTTPException` / Fix README / Fix version to 0.0.0

* Use environment variables for configuration of the middleware and remove `configureOidcAuth()` / Fix README

* chore: update `peerDependencies` and use latest hono

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-02-13 11:14:48 +09:00
github-actions[bot] 599e5f5058
Version Packages (#382) 2024-02-10 08:47:06 +09:00
Carlos Ricardo Ziegler ea19f6bdeb
fix: change peer dependency to support v4.0.0 (#380)
* chore: Update hono peer dependency to support v4.0.0

* chore: Update hono peer dependency to support v4.0.0 in some packages

* update `yarn.lock`

* add changeset

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-02-10 08:44:21 +09:00
github-actions[bot] fce4d55b9a
Version Packages (#366) 2024-01-29 21:47:57 +09:00
Yusuke Wada 716bd4d0a7
fix(eslint): set `curly` rule as `all` (#365)
* fix(eslint): set `curly` rule as `all`

* changeset
2024-01-29 21:44:33 +09:00
github-actions[bot] 9b9cebe6d3
Version Packages (#362) 2024-01-28 22:04:32 +09:00
Minghe 2c7b25fc2a
fix(graphql): fix the context not propagated down to resolvers. (#361)
* fix(ctx): fix the context not propagated down to resolvers.

* chore(changeset): add a changeset
2024-01-28 22:00:32 +09:00
github-actions[bot] bc23e035e6
Version Packages (#360) 2024-01-27 22:17:51 +09:00
divyam234 4ccda19d31
fix(auth-js): Update @auth/core version and set default basePath (#359)
* Update @auth/core version and set default basePath

* update changeset
2024-01-27 22:15:06 +09:00
github-actions[bot] 7701152c2a
Version Packages (#358) 2024-01-25 08:50:20 +09:00
David Dios 5c165793fc
feat: Adding hono/prometheus middleware (#340)
* adding hono/prometheus middleware

* adding tests for the metrics endpoint

* adding changeset

* adding workflow and a build script to main package.json

* change to middleware factory instead

* extending the readme with some examples

* updating required hono version, adding installation section to readme

* updating hono version in devdependencies
2024-01-25 08:47:57 +09:00
github-actions[bot] 64988bc7e8
Version Packages (#357) 2024-01-25 08:39:11 +09:00
Yusuke Wada 168a0a6d68
fix(zod-openapi): handle `Conflicting names for parameter` (#356)
* fix(zod-openapi): handle `Conflicting names for parameter`

* add changeset
2024-01-25 08:36:58 +09:00
github-actions[bot] 2494a61635
Version Packages (#350) 2024-01-12 05:05:32 +09:00
floriankapaun b6e59dd19c
fix(bun-transpiler): Apply headers when using serveStatic; Improvement: Make options optional; (#349)
*  Add failing serveStatic test (headers not applied)

* 🐛 Fix: Apply headers when using serveStatic

* 🚸 Make options optional

* 🔖 Add changeset

* ✏️ Fix naming in comment

* 🚸 Export defaultOptions

* 🏷️ Improve Typing of defaultOptions
2024-01-12 05:03:13 +09:00
github-actions[bot] 935560f677
Version Packages (#347) 2024-01-08 07:40:41 +09:00
floriankapaun 3f39be7a27
Add Bun Transpiler middleware #344 (#345)
* 🎉 Create Bun Transpiler Middleware Package

*  Add @types/bun dev dependency

* 🔧 Use Bun Testrunner

*  Implement Bun Transpiler Middleware

*  Add Tests for Bun Transpiler middleware

* 📝 Add README to Bun Transpiler middleware

* 📝 Add Changeset

* 👷 Setup CI for Bun Transpiler middleware

* 🔧 Configure Bun as external during Build

* 🔧 Setup global build script for Bun Transpiler middleware
2024-01-08 07:03:56 +09:00
github-actions[bot] 965d5a3f6d
Version Packages (#346) 2024-01-08 05:26:18 +09:00
Carlos Sanjines Aldazosa 8841b6427d
feat(oauth-providers): Discord (#342) 2024-01-08 05:22:20 +09:00
github-actions[bot] 0d7244b5bb
Version Packages (#339) 2024-01-04 13:08:08 +09:00
Andrew b84c6c8eb3
feat: ArkType validator middleware (#325)
* feat: Create arktype-validator

* feat: Add changeset

* chore(arktype-validator): Fix formatting

* chore(index.test.ts): Replace `jsonT` with `json`

* feat(ci): Create arktype validator CI

* feat(package.json): Add arktype validator build script

* fix(ci): Fix lock file
2024-01-04 13:05:17 +09:00
github-actions[bot] 353d91e6c6
Version Packages (#338) 2024-01-03 12:16:47 +09:00
Yusuke Wada 75841d6b48
fix(firebase-auth): export esm (#337)
* fix(firebase-auth): export esm

* add changeset
2024-01-03 12:14:06 +09:00
github-actions[bot] 42f9a1bd77
Version Packages (#332) 2023-12-29 21:56:14 +09:00
Sor4chi 5b17228c0b
fix: swaggerUI middleware option's required property (#329)
* feat: make swaggerUI middleware option optional

* chore: changeset
2023-12-29 21:49:35 +09:00
github-actions[bot] 7844bfd4a1
Version Packages (#331) 2023-12-29 21:41:04 +09:00
divyam234 766738e0ea
fix(auth.js): added react as peer (#330)
* added react as peer

* added Changeset

* update yarn.lock

* Update beige-sloths-raise.md
2023-12-29 21:36:26 +09:00
github-actions[bot] a32b21bcd2
Version Packages (#322) 2023-12-29 04:44:37 +09:00
divyam234 f9859e8fa7
added auth.js middleware (#326)
* added next-auth middleware

* fix react types

* code cleanup and improve tests

* renamed to authjs

* added example in readme

* Update README.md

* options to set dynamic base paths , urls and credentials in fetch

* update readme

* update readme

* Update README.md

* fix typos and set correct origin for local development
2023-12-29 04:30:25 +09:00
Thomas Lepérou 616afbcd03
docs(qwik-city) support all request methods (#321) 2023-12-20 07:22:43 +09:00
github-actions[bot] f37933be60
Version Packages (#319) 2023-12-17 21:55:10 +09:00
Yusuke Wada 0c2dbee52a
fix(react-renderer): dynamic import `renderToReadableStream` (#318)
* fix(react-renderer): dynamic import `renderToReadableStream`

* add changeset
2023-12-17 21:51:26 +09:00
github-actions[bot] 729c42067d
Version Packages (#317) 2023-12-16 15:37:45 +09:00
Yusuke Wada 5eeb555c89
fix(zod-openapi): supports named params in nested routes (#316)
* fix(zod-openapi): supports named params in nested routes

* changeset

* github works fine?

* fixed
2023-12-16 15:35:36 +09:00
github-actions[bot] 28a8dfa312
Version Packages (#315) 2023-12-16 10:41:30 +09:00
Luis Bizarro b8219d9b68
fix(zod-openapi): Export Hook in @hono/zod-openapi (#313) 2023-12-16 10:39:13 +09:00
Yusuke Wada 9348fa2663
feat: introduce React Renderer Middleware (#309)
* feat: introduce React Renderer Middleware

* docs: update readme

* chore: add changeset

* use `global.d.ts`

* remove global.d.ts

* import types correctly
2023-12-16 10:28:19 +09:00
github-actions[bot] a7a8aa62ef
Version Packages (#307) 2023-12-13 21:58:51 +09:00
Yusuke Wada 165a415ec3
fix(eslint-config): `no-unused-vars` as `warn` (#306)
* fix(eslint-config): `no-unused-vars` as `warn`

* changeset
2023-12-13 21:56:22 +09:00
github-actions[bot] 8aabb93065
Version Packages (#305) 2023-12-13 19:17:28 +09:00
Yusuke Wada 6f236ce823
fix(eslint-config): `no-explicit-any` as `warn` (#304)
* fix(eslint-config): `no-explicit-any` as `warn`

* changeset
2023-12-13 19:15:00 +09:00
github-actions[bot] cdc93d61dd
Version Packages (#303) 2023-12-13 18:26:07 +09:00
Yusuke Wada 40aeab8e3e
feat: introduce `@hono/eslint-config` (#302)
* changeset

* chore: setup prettier

* feat: introduce `@hono/eslint-config`

* changeset
2023-12-13 18:19:43 +09:00
Yusuke Wada 8365d2a656 chore: remove `changeset` 2023-12-13 18:16:37 +09:00
Yusuke Wada 41ebd5b953 changeset 2023-12-13 18:16:19 +09:00
github-actions[bot] 954069dabe
Version Packages (#295) 2023-12-09 09:20:14 +09:00
Carlos Sanjines Aldazosa aa9527b9e7
feat(oauth-providers): Add X (Twitter) to OAuth providers (#283)
* [FEAT] x (Twitter) provider

* [UPDATE] replace crypto-js with native api

* [UPDATE] Remove unused dependencies
2023-12-09 09:18:12 +09:00
github-actions[bot] 186ce0db8e
Version Packages (#293) 2023-12-07 09:57:45 +09:00
Yusuke Wada 7ded22a57e
fix(zod-openapi): bump Hono for `peerDependencies` and add tests (#292)
* changeset

* fix(zod-openapi): bump `Hono` for `peerDependencies` and add tests

* remove changeset

* changeset
2023-12-07 09:55:42 +09:00
github-actions[bot] f8027e1bd2
Version Packages (#289) 2023-12-05 18:17:37 +09:00
Phil Chen 8178ba094f
feat(zod-openapi): use z.input to infer input types of the request (#286)
* fix(zod-openapi): vite typecheck for type testing

* feat(zod-openapi): use z.input to infer types for inputs of the input
2023-12-05 18:15:06 +09:00
github-actions[bot] 7cd3fd40c8
Version Packages (#288) 2023-12-04 22:25:01 +09:00
Yusuke Wada 1568b920de
fix(zod-openapi): Strict type checking of return values (#287)
* changeset

* fix(zod-openapi): Strict type checking of return values

* bump hono `v3.11.1`

* remove changeset

* add changeset
2023-12-04 22:23:15 +09:00
github-actions[bot] d8300e5cc7
Version Packages (#281) 2023-11-29 06:31:20 +09:00
David Flanagan 14443cc255
fix: redirect url for github apps (#280) 2023-11-29 06:27:04 +09:00
David Flanagan cfaa80a9e7
fix: ensure state is passed through for both github app types (#279) 2023-11-29 05:34:49 +09:00
github-actions[bot] 4aa5f67c1b
Version Packages (#278) 2023-11-28 14:44:36 +09:00
Karibash d4aa8ec5ad
feat(zod-openapi): Make context accessible in the doc route (#272)
* feat(zod-openapi): Make context accessible in the doc route

* docs(zod-openapi): Fix typo

* docs(zod-openapi): Add a tips to the README.md on how to access the context in app.doc
2023-11-28 14:41:14 +09:00
github-actions[bot] b0adaab247
Version Packages (#277) 2023-11-28 06:43:11 +09:00
Yusuke Wada d8eebd7822
fix(oauth-providers): enable building (#276)
* changeset

* fix(oauth-providers): enable building

* remove changeset

* changeset
2023-11-28 06:39:59 +09:00
github-actions[bot] c5dd9ab52a
Version Packages (#266) 2023-11-27 21:38:00 +09:00
Carlos Sanjines Aldazosa d2696c46ba
Oauth providers (#262)
* [FEAT] facebook and google authentication

* [FEAT] github authentication

* [FEAT] linkedin authentication

* [TEST] all methods tested

* [UPDATE] open-auth middleware split

* [UPDATE] auth packages merged into oauth-provider

* docs: format README

* fix: fix `package.json`, prettify, rename something

* fix: use `ContextVariableMap`

* docs: update README

* make it as a minor release

* [FIX: linkedin] path name

* [UPDATE: linkedin] pathname

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2023-11-27 21:33:31 +09:00
scarf 2e697077bf
fix(swagger-ui): support `persistAuthorization` and boolean option (#265)
* feat: `persistAuthorization`

Co-authored-by: Sor4chi <80559385+sor4chi@users.noreply.github.com>

* test: `persistAuthorization`

* chore: changeset

Co-authored-by: Sor4chi <80559385+sor4chi@users.noreply.github.com>

---------

Co-authored-by: Sor4chi <80559385+sor4chi@users.noreply.github.com>
2023-11-20 14:08:12 +09:00
github-actions[bot] a43558b2d6
Version Packages (#263) 2023-11-18 06:10:41 +09:00
Karibash ba83a268e0
feat(zod-openapi): Make it possible to do method chaining even for do… (#260)
* feat(zod-openapi): Make it possible to do method chaining even for doc methods

* fix: Fix incorrect generics type specification
2023-11-18 06:04:56 +09:00
github-actions[bot] 4c5b5be848
Version Packages (#259) 2023-11-16 19:26:44 +09:00
Karibash 368c3520fa
fix(zod-openapi): Fix a bug that slashes were duplicated when mountin… (#258)
* fix(zod-openapi): Fix a bug that slashes were duplicated when mounting a path using the route method

* fix: Make the paths be merged using internally defined utility functions instead
2023-11-16 19:24:53 +09:00
github-actions[bot] 53cd5f7bec
Version Packages (#256) 2023-11-16 06:36:27 +09:00
Karibash 129f4680a2
fix(zod-openapi): Fix incorrect specification of the exports field in package.json (#255) 2023-11-16 06:27:56 +09:00
github-actions[bot] 0232214d4b
Version Packages (#250) 2023-11-12 10:10:58 +09:00
Yusuke Wada 139504a145
fix(medley-router): support new path matching (#249)
* fix(medley-router): support new path matching

* add changeset
2023-11-12 10:08:45 +09:00
Kei Kamikawa 545997181f
fixed firebase-auth for #247 (#248)
* chore: npx yarn-deduplicate && yarn install

* chore(firebase-auth): Update package deps and test

* chore(firebase-auth): update hono version

* fix(firebase-auth): responds 501 when PUBLIC_JWK_CACHE_KV is undefined in defaultKeyStoreInitializer function
2023-11-12 09:50:13 +09:00
github-actions[bot] 037d748c23
Version Packages (#245) 2023-11-07 12:16:53 +09:00
Yusuke Wada 007de80662
fix(esbuild-transpiler) exports modules correctrly (#244)
* changeset

* remove changeset
2023-11-07 12:13:18 +09:00
github-actions[bot] 1c7f40b022
Version Packages (#242) 2023-11-07 11:40:33 +09:00
Yusuke Wada f79f40bd48
fix(esbuild-transpiler): build correctly (#241)
* fix(esbuild-transpiler): build correctly

* changeset
2023-11-07 11:38:09 +09:00
github-actions[bot] 73eaaa588d
Version Packages (#236) 2023-11-05 16:48:09 +09:00
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 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
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
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