Commit Graph

840 Commits (e8512f0ee93756aa5969a41982991e7fe8c8cc0b)

Author SHA1 Message Date
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
3w36zj6 e3eafbc117
feat(graphql-server): add GraphiQL support (#670)
* feat(graphql-server): add GraphiQL support

* test(graphql-server): add GraphiQL tests

* docs(graphql-server): add GraphiQL usage

* chore: add changeset
2024-07-29 21:44:54 +09:00
github-actions[bot] 59894e77c0
Version Packages (#669) 2024-07-28 18:25:43 +09:00
3w36zj6 41ab4b029d
fix(graphql-server): add type to Middleware Handler (#667)
* fix(graphql-server): add type to Middleware Handler

* chore: add changeset
2024-07-28 18:18:49 +09:00
github-actions[bot] e488b9f08a
Version Packages (#659) 2024-07-21 18:29:59 +09:00
Kirill Timchenko a04ab70c2c
fix(zod-openapi): infer OpenAPIObjectConfig (#656)
* fix(zod-openapi): infer OpenAPIObjectConfig

* minor -> patch
2024-07-21 18:27:06 +09:00
github-actions[bot] 795d4af3d4
Version Packages (#658) 2024-07-21 18:21:04 +09:00
Yusuke Wada 8cf5bf0055
fix(effect-validator): add a build command to `package.json` at the top (#657)
* fix(effect-validator): add a build command to `package.json` at the top

* add chageset
2024-07-21 18:18:37 +09:00
github-actions[bot] ab1b831e1a
Version Packages (#654) 2024-07-19 18:12:29 +09:00
Wang Guan e54c628751
feat(oauth-providers): allow custom redirect_uri (#601)
* oauth-providers: allow set of redirect_uri

* only check state in req with auth code

* update readme.md

* add changeset file

* update readme

* run lint:fix

* add test

* test other providers

* revent unreleated test
2024-07-19 07:43:18 +09:00
github-actions[bot] 20c2d1c0e1
Version Packages (#653) 2024-07-19 07:16:04 +09:00
Quentin 139e34a907
fix(node-ws): `CloseEvent` is not defined (#648)
* feat: add CloseEvent class as it doesn't exist for some versions of Node.js

* chore(style): remove semicolon

* test: add promise to check if "onClose" doesn't crashes

* chore(style): apply eslint rules

* ref: use `globalThis.CloseEvent` whenever possible or fallback to custom CloseEvent class

* chore: add changeset
2024-07-19 07:10:07 +09:00
github-actions[bot] 9467b7e54c
Version Packages (#647) 2024-07-17 21:39:14 +09:00
David Havl f38a6166f6
feat(zod-openapi): Support for other json content-types such as application/vnd.api+json, application/problem+json, etc. (#645)
* Support other json content-types

* Run changeset
2024-07-17 18:19:04 +09:00
Yusuke Wada 2b54aa037a
chore(react-compat): bump `hono` (#644) 2024-07-16 23:11:35 +09:00
3w36zj6 cc1e8a4911
docs(graphql-server): update example code to Typescript and parameter name (#640)
* fix(graphql-server): update parameter name in `RootResolver` type from `ctx` to `c`

* docs(graphql-server): update README to use TypeScript in example code
2024-07-15 17:38:06 +09:00
github-actions[bot] e6afa4bd3d
Version Packages (#642) 2024-07-15 17:34:53 +09:00
Quentin 2f307e6877
fix(node-ws): binary messages have wrong byteLength and allocates unnecessary `Buffer` instance (#639)
* fix: no more Buffer.from usage

* test: add test for binary messages

* chore: add changeset
2024-07-15 17:30:50 +09:00
github-actions[bot] 1f5858ec55
Version Packages (#636) 2024-07-11 23:57:55 +09:00
Yusuke Wada b2e728c769 chore: update the changset 2024-07-11 23:54:53 +09:00
Gunther Brunner 95eb48c83e
feat: Add Effect Schema validator (#589)
* First commit

* Add basic Effect Schema validator

* chore(effect-validator): Change name of middleware to `effect-validator` and fix devDependencies

* chores(effect-validator): Update yarn.lock

* Remove bun lock file

* chores(effect-validator): Add github workflow

* chores: Update yarn.lock

* refactor the code and correct settings

* remove unnecessary files

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-07-11 23:46:31 +09:00
github-actions[bot] d722b198e0
Version Packages (#635) 2024-07-11 16:39:12 +09:00
Paweł Dąbrowski a405d08709
feat(zod-openapi): expose from (#632) 2024-07-11 16:35:49 +09:00
github-actions[bot] 72d591aa35
Version Packages (#629) 2024-07-10 10:23:42 +09:00
naporitan 47be5c6956
feat(swagger-uri): Add Full Configuration Parameters and Update Dependencies (#618)
* chore(swagger-ui): update swagger-ui-dist types

* feat(swagger-ui): add swagger-ui parameters

* chore(swagger-ui): fix typeerror

add url parameter

* chore(swagger-ui): refactor test case

* chore: add versioning doc

* chore(swagger-ui): remove useUnsafeMarkdown

* chore(swagger-ui): add requestSnippetsEnabled

* chore(swagger-ui): syntaxHighlight: boolean

* chore(swagger-ui): fix propertykey

* chore(swagger-ui): format code

* chore(swagger-ui): add string function property commented
2024-07-10 10:20:52 +09:00
Yusuke Wada 61cd9b6a57
chore(hello): update CI, dependencies, and build scripts (#626) 2024-07-07 16:24:11 +09:00
github-actions[bot] 95289e678d
Version Packages (#625) 2024-07-07 16:07:35 +09:00
David Havl 53b4f33190
feat: Event Emitter middleware (#615)
* Add event-emitter middleware

* Commit yarn.lock

* Add author to package.json

* Remove CHANGELOG.md

* Bump up node version

* Adjust initial version
2024-07-07 16:03:10 +09:00
github-actions[bot] 9bf6c4bb8e
Version Packages (#624) 2024-07-07 13:03:36 +09:00
Yusuke Wada 834a97a7b0
fix(zod-openapi): support `coerce` (#623)
* fix(zod-openapi): support `coerce`

* add changeset
2024-07-07 12:42:18 +09:00
github-actions[bot] 92b4cf476d
Version Packages (#621) 2024-07-07 08:08:38 +09:00
sam-lippert 16d4efb01b
feat(sentry): Toucan 4 (#620)
* Upgrade toucan

* Update package version

* Create poor-rules-compare.md

* Don't have to modify the version field since the changeset will update it automatically

* patch should be minor
2024-07-07 08:04:56 +09:00
github-actions[bot] 67b83e5d4c
Version Packages (#617) 2024-07-04 14:32:58 +09:00