Commit Graph

622 Commits (09bb26fccf78a72480cf8c598dbd3578c4248cf5)

Author SHA1 Message Date
github-actions[bot] 09bb26fccf
Version Packages (#759) 2024-10-02 16:19:55 +09:00
Shoki 80da4aa50a
feat(effect-validator): use array formatting for errors (#718)
* feat(effect-validator): use array formatting for errors

* add test for `error`

* make it as `minor`

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-10-02 16:14:14 +09:00
github-actions[bot] 1ed5c7d7fa
Version Packages (#754) 2024-09-28 11:49:45 +09:00
Andrei 9639103a9a
fix(valibot-validator): use `tsup` and fix esm/cjs (#753)
* fix(valibot-validator): use `tsup` and fix esm/cjs

* chore(valibot-validator): remove build tsconfigs

* chore(.changeset): add changeset

* fix(valibot-validator): replace jest config extension with `.cjs`
2024-09-28 11:33:30 +09:00
github-actions[bot] cb126e0902
Version Packages (#751) 2024-09-26 12:38:19 +09:00
Yusuke Wada 98d4ceab9c
chore(zod-openapi): bump `@hono/zod-validator` (#750)
* chore(zod-openapi): bump `@hono/zod-validator`

* add changeset
2024-09-26 12:35:15 +09:00
Yusuke Wada c4f537ff63 chore: update lockfile 2024-09-26 12:18:36 +09:00
Yusuke Wada fb64367811 fix(zod-openapi): fix `@hono/zod-validator` version 2024-09-26 12:16:14 +09:00
Yusuke Wada ede18e98ab chore: update lockfile 2024-09-26 12:12:52 +09:00
github-actions[bot] 18c9518505
Version Packages (#748) 2024-09-26 12:04:09 +09:00
Yusuke Wada 950786f6d2
chore(zod-validator): format the code (#749) 2024-09-26 12:00:04 +09:00
Bartosz Polnik eda3584791
feat(zod-validator): pass target from zod-validator to a hook (#695)
* feat(zod-validator): passing target to hook

* feat(zod-validator): trigger githubaction

* feat(zod-validator): add changeset

* feat: pass narrower type to zod validation hook
2024-09-26 11:53:26 +09:00
github-actions[bot] 45f5d45bfa
Version Packages (#746) 2024-09-24 20:22:43 +09:00
Yusuke Wada 2378265f71
fix(eslint): update dependencies (#745)
* fix(eslint): update dependencies

* add changeset
2024-09-24 20:16:09 +09:00
github-actions[bot] 40b4ad9bd2
Version Packages (#744) 2024-09-24 19:15:14 +09:00
Lindelwe Michael Ncube 39cb252df9
fix(tbValidator): Fix tbValidator not calling hook when there's a fail case (#742)
* Fix tbValidator not calling hook when there's a fail case

* add tests

* Add changeset
2024-09-24 19:04:59 +09:00
github-actions[bot] 58c8e237a9
Version Packages (#736) 2024-09-09 22:13:07 +09:00
Yusuke Wada a810122ab6 chore: update the lock file 2024-09-09 22:10:00 +09:00
sugar b7e740f930
Introduce Casbin Middleware (#676)
* feat: impl casbin middleware

* fix: defaultCheckPermission logic

* fix: divide authorizer

* chore: testing and docs

* fixed: hono version

* fix: export and module resolution

* fix: typo

* docs: fix model

* fix: conflict

* fix: version
2024-09-09 21:56:28 +09:00
github-actions[bot] 69b3cfe726
Version Packages (#733) 2024-09-08 14:44:36 +09:00
Yusuke Wada 1bbb1416ca
fix(eslint-config): `@typescript-eslint/no-require-imports` as `off` (#732)
* fix(eslint-config): `@typescript-eslint/no-require-imports` as `off`

* add changeset
2024-09-08 14:41:47 +09:00
github-actions[bot] 5f162e47f0
Version Packages (#730) 2024-09-08 13:09:33 +09:00
Yusuke Wada 80cd26ab6e
feat(eslint-config): support ESLint v9 (#731)
* feat(eslint-config): support ESLint v9

* add changeset
2024-09-08 12:59:41 +09:00
Antony David f7a950a649
chore(eslint-config): use modern plugins alternatives (#724)
* chore(eslint-config): use modern plugins alternatives

* chore: migrate missing ones

* chore: migrate eslint plugin comments

* fix(eslint): update configuration

* chore: bump eslint dev deps

* chore: add changeset
2024-09-08 08:38:30 +09:00
Masashi Tomooka c5fb51f783
docs(zod-openapi): fix missing arguments for app.doc31 (#721) 2024-08-29 15:12:57 +09:00
github-actions[bot] 9db07806c9
Version Packages (#716) 2024-08-26 11:47:20 +09:00
Axel Meinhardt 5675a5fc32
feat(oidc-auth): access and set claims (#711)
* feat(oidc-auth): access and set claims

Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>

* chore(oidc-auth): add changeset, doc and fix types

Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>

* chore(oidc-auth): add tests

Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>

* refactored some types

---------

Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-08-26 11:44:14 +09:00
Axel Meinhardt cd99b40177
feat(oidc-auth): restrict cookie paths (#709)
* feat(oidc-auth): restrict cookie paths

Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>

* chore(oidc-auth): add documentation

Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>

* fix(oidc-auth): add tests

Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>

* refactor and format

---------

Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-08-26 07:37:10 +09:00
github-actions[bot] 588b0eb151
Version Packages (#714) 2024-08-25 15:16:19 +09:00
Axel Meinhardt dadf5ce3c2
feat(zod-openapi): allow multiple mimetype (#710)
* feat(zod-openapi): allow multiple mimetype

Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>

* simplify the test

---------

Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-08-25 12:01:09 +09:00
github-actions[bot] c49996d6f3
Version Packages (#713) 2024-08-25 11:47:04 +09:00
rwv 32abe11a4a
perf(swagger-ui): use jsdelivr instead of unpkg to serve swagger-ui assets (#701)
* perf: use jsdelivr instead of unpkg to serve swagger-ui assets

* format

* add changeset
2024-08-25 11:41:29 +09:00
github-actions[bot] f4030cb845
Version Packages (#712) 2024-08-25 11:33:27 +09:00
Minghe 9cac146245
fix(graphql-server): the resolver always has context as the argument (#705)
* feat(types): the resolver always has context as the argument

* make it `patch` release
2024-08-25 11:29:19 +09:00
Shotaro Nakamura 1bd5cdcd09
fix(valibot-validator): update Hono version and fix test code (#663)
* fix(valibot-validator): update Hono and fix test code

* chore: update lockfile

* chore: add changeset

* chore: remove changeset
2024-08-21 20:20:37 +09:00
github-actions[bot] 9443cb018a
Version Packages (#698) 2024-08-19 09:27:07 +09:00
Taishi Naritomi c3b67a6c3b
fix(@hono/oauth-providers): Added missing URL parameters prompt, login_hint, and access_type in the Google OAuth provider. (#697)
* fix: google provider attach custom parameters

* fix format

* Create rare-fishes-sort.md
2024-08-19 09:23:23 +09:00
github-actions[bot] 2528a9fd63
Version Packages (#690) 2024-08-11 11:36:08 +09:00
Yusuke Wada c3d4886800
fix(zod-openapi): supports `required` for JSON and Form body (#689)
* fix(zod-openapi): supports `required` for JSON and Form body

* changeset
2024-08-11 11:33:09 +09:00
github-actions[bot] 2d14b1c8a4
Version Packages (#687) 2024-08-10 16:13:31 +09:00
Yusuke Wada 0add2f5800
refactor(zod-openapi): change the position of functions (#688) 2024-08-10 16:10:24 +09:00
Yusuke Wada 96b0fd6174 chore: update the lockfile 2024-08-10 16:04:13 +09:00
Yusuke Wada a6ec008fbd
fix(zod-openapi): don't validate the body if content-type is mismatched (#686)
* fix(zod-openapi): don't validate the body if content-type is mismatched

* changeset
2024-08-10 16:01:19 +09:00
Jeff Astor 5facd8cd25
Update README.md (#684)
Fix typo in code sample for hono/cache
2024-08-09 11:36:33 +09:00
github-actions[bot] 4706d43da2
Version Packages (#680) 2024-08-06 21:09:33 +09:00
David Havl 0b6d821c11
feat(event-emitter): Enable invoking asynchronous handlers (#649)
* Add new emitAsync method, memory leak prevention and significantly improve README.md

* Adjust ci yarn install command

* Commit yarn.lock

* Run changeset

* Revert ci yarn install command

* Move context parameter to the first position in the `emit` method

* Fix test
2024-08-06 21:05:35 +09:00
github-actions[bot] d3e7037e61
Version Packages (#675) 2024-07-31 23:04:52 +09:00
Alex Turpin 9c58014a7c
fix(react-renderer): Change react-renderer props to interface (#668)
* Change react-renderer props to interface

* Changeset
2024-07-31 23:01:53 +09:00
uttk d4a69131e1
feat: Conform Validator Middleware (#666)
* feat: add `@hono/conform-validator` to packages

* docs: Add the conform-validtor middleware usage to README.md

* docs: fix README

* refactor: Fix tests to use HTTPException

* fix: update devDependencies in conform-validator

* chore: add github workflows for conform-validator

* feat: add changesets

* fix: Init conform-validator version to 0.0.0 for changesets

* feat: Add a hook option to `conformValidator()`

* feat: Fixed the conformValidator to return an error response when a validation error occurs

* fix: Fixed node version used in CI from 18.x to 20.x

* fix: Fix to use tsup in build command

* chore: delete `.skip` from `it` in test files.

* chore: fix title in test files.

* fix: Fixed to return 400 response when the request body is not FormData

* chore: fixed to change patch to major in changeset.

* chore: Removed unused libraries
2024-07-31 22:55:02 +09:00
github-actions[bot] e2ede3bdfd
Version Packages (#671) 2024-07-29 22:31:08 +09:00