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
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
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
Inaridiy
967fd48d5b
fix(node-ws): Bugfix/603 hono node ws duplicate event listeners ( #605 )
...
* add multi connection test case
* fix node incoming env
* fix spel miss
* Simple bug fixes
* Improve performance
* chore add changeset
2024-07-04 14:17:51 +09:00
github-actions[bot]
f61e748dd2
Version Packages ( #616 )
2024-07-04 14:10:52 +09:00
divyam234
19f3beae1a
fix(auth-js): Fix immutable headers error in x-forwarded request ( #614 )
...
* fix: immutable headers error in x-forwarded req
* added changeset
2024-07-04 14:07:21 +09:00
github-actions[bot]
52c0e418cd
Version Packages ( #610 )
2024-07-02 00:21:10 +09:00
Yusuke Wada
b06bde6ef5
fix(zod-openapi): support a base path ( #609 )
...
* fix(zod-openapi): support a base path
* add changeset
2024-07-02 00:18:11 +09:00
github-actions[bot]
51813f68f3
Version Packages ( #608 )
2024-07-01 23:01:40 +09:00
Yusuke Wada
375c98b145
fix(zod-openapi): remove the type error for the hook ( #607 )
...
* fix(zod-openapi): remove the type error for the hook
* add changeset
2024-07-01 22:58:40 +09:00
github-actions[bot]
f05860486c
Version Packages ( #604 )
2024-07-01 16:53:39 +09:00
Rahul Mishra
43f34ea4dc
chore: update `@hono/trpc-server` to allow using Trpc 11 ( #599 )
2024-07-01 16:51:09 +09:00
github-actions[bot]
d87a699bbd
Version Packages ( #602 )
2024-07-01 10:07:10 +09:00
divyam234
eb7e597aaa
fix(auth-js): bun req cloning ( #598 )
2024-07-01 09:57:02 +09:00
github-actions[bot]
ea7ec3c6ed
Version Packages ( #592 )
2024-06-25 05:07:12 +09:00
Wang Guan
69eca66e4d
fix(oauth-providers): oauth-middleware: load `env.SECRETS` with hono/adapter ( #588 )
...
* load env with hono/adapter
* add changeset
* update changeset type
2024-06-25 05:02:46 +09:00
github-actions[bot]
352e74fcbe
Version Packages ( #586 )
2024-06-20 06:27:30 +09:00
James Moger
414715b0d3
fix(swagger-ui): Add support for several more configuration options ( #585 )
...
fix #267
2024-06-20 06:07:43 +09:00
github-actions[bot]
023e07be0a
Version Packages ( #583 )
2024-06-18 00:13:24 +09:00
Yusuke Wada
053a85c722
fix(zod-openapi): bump `@asteasolutions/zod-to-openapi` ( #582 )
...
* fix(zod-openapi): bump `@asteasolutions/zod-to-openapi`
* add changeset
* update lockfile
2024-06-18 00:08:58 +09:00
github-actions[bot]
9d3609f1ca
Version Packages ( #577 )
2024-06-15 00:26:54 +09:00
Yusuke Wada
9a9de50494
fix(zod-openapi): use `JSONParsed` for creating a response type ( #576 )
...
* fix(zod-openapi): use `JSONParsed` for creating a response type
* add changeset
2024-06-15 00:21:44 +09:00
github-actions[bot]
6b06138a50
Version Packages ( #575 )
2024-06-14 19:08:46 +09:00
Yusuke Wada
ef9f45ab69
fix(zod-openapi): relax types to support `.refine()` for an object ( #574 )
...
* fix(zod-openapi): relax types to support `.refine()` for an object
* add a chengeset
2024-06-14 18:58:40 +09:00
github-actions[bot]
5a0488a254
Version Packages ( #572 )
2024-06-14 07:43:49 +09:00
ryoppippi
66366075d4
feat(typia-validator): upgrade typia dependency to ^6.1.0 ( #570 )
...
* feat(typia-validator): upgrade typia dependency to ^6.1.0
This commit updates the peer dependency of typia from ^5.0.4 to ^6.1.0
in the typia-validator package. The yarn.lock file has also been updated
to reflect this change.
* feat(typia-validator): update Typia peerDependency
The peerDependency of Typia in '@hono/typia-validator' has been updated
from version 5 to version 6.
2024-06-14 07:31:54 +09:00
github-actions[bot]
955230b68b
Version Packages ( #569 )
2024-06-12 22:42:10 +09:00
Taku Amano
2b981105db
feat: add @hono/react-compat package ( #563 )
...
* Add @hono/react-compat package
The creation of this package was proposed by Gaetan Puleo.
Co-authored-by: Gaetan Puleo <pro@gaetanpuleo.com>
* remove the changelog file and fix the version in `package.json`
these will be modified by Changesets
* correct `exports` paths in `package.json` and add `hono` as dev dependency
* export as `default`
* add build command to the `package.json` at the top
* add changeset. we release it as `patch` first.
---------
Co-authored-by: Gaetan Puleo <pro@gaetanpuleo.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-06-12 22:38:58 +09:00
github-actions[bot]
3d83b7a36f
Version Packages ( #565 )
2024-06-09 13:22:26 +09:00
chimame
7375c096b5
chore: Update valibot to version 0.31.0 ( #553 )
...
* chore: Update valibot to version 0.31.0
* Modify update valibot to version 0.31.0
* Modify update yarn.lock to valibot 0.31.0
* Add CHANGELOG using changesets
2024-06-09 13:15:41 +09:00
github-actions[bot]
ce635982d7
Version Packages ( #558 )
2024-06-05 00:01:05 +09:00
arjunyel
69e5364464
fix(zod-openapi): support openapi yaml with middleware ( #557 )
2024-06-04 23:48:47 +09:00
github-actions[bot]
0996475ab3
Version Packages ( #554 )
2024-06-01 11:40:07 +09:00
Ame_x
aa05549497
fix(zod-validator): validator support async hook ( #552 )
...
* fix(zod-validator): validator support async hook
* fix
* changeset
* refactor
* chore: format (includes other middleware)
* fix
* revert
* Revert "chore: format (includes other middleware)"
This reverts commit 16b4462014
.
* changeset
* revert
2024-06-01 11:35:21 +09:00
github-actions[bot]
63898bbdab
Version Packages ( #551 )
2024-05-29 01:36:05 +09:00
divyam234
d5ebee9c70
fix(auth-js): handle x-forwarded headers to detect auth url ( #549 )
...
* fix: handle x-forwarded headers to detect auth url
* added changeset
2024-05-29 01:18:18 +09:00
github-actions[bot]
39edec1249
Version Packages ( #548 )
2024-05-26 11:38:46 +09:00
Mike Stop Continues
ec6ec4ec02
fix(node-ws): create only one WebSocketServer instead of per websocket request ( #539 )
2024-05-26 11:36:11 +09:00
github-actions[bot]
e779454966
Version Packages ( #546 )
2024-05-26 04:54:13 +09:00
Yusuke Wada
6fe211ba1f
fix(eslint-config): use `import/no-duplicates` ( #545 )
...
* fix(eslint): use `import/no-duplicates`
* add changeset
2024-05-26 04:51:22 +09:00
github-actions[bot]
44c065aec4
Version Packages ( #544 )
2024-05-26 04:42:35 +09:00
Yusuke Wada
ee6569d62b
fix(eslint-config): update rules ( #543 )
...
* fix(eslint-config): update rules
* add changeset
2024-05-26 04:40:13 +09:00
github-actions[bot]
54777128b8
Version Packages ( #541 )
2024-05-24 10:23:25 +09:00
David Blass
c05e5456cb
feat(arktype-validator): migrate to 2.0 ( #542 )
...
* feat(arktype-validator): migrate to 2.0
* add changeset
2024-05-24 05:59:20 +09:00
github-actions[bot]
30cee0c482
Version Packages ( #540 )
2024-05-23 22:06:31 +09:00
taku-hatano
a595e4e260
feat(zod-openapi): extract range definitions to StatusCode ( #535 )
...
* fix: extract range definitions to StatusCode
* docs: add minor changeset
2024-05-23 22:01:05 +09:00
github-actions[bot]
1d5c467d5f
Version Packages ( #533 )
2024-05-20 07:13:58 +09:00
akineko
eeccd4fc2f
feat(zod-openapi): export RouteConfig type ( #532 )
...
Fixes #432
* feat(zod-openapi): export RouteConfig type
* add .changeset/itchy-glasses-smell.md
2024-05-20 07:11:02 +09:00
github-actions[bot]
680176d508
Version Packages ( #530 )
2024-05-19 01:01:25 +09:00
akineko
0a43d2c562
fix(zod-openapi): update RouteHandler type to support MaybePromise ( #529 )
...
* fix(zod-openapi): update RouteHandler type to support MaybePromise
* add .changeset/cuddly-pets-drum.md
2024-05-19 00:58:15 +09:00
github-actions[bot]
cd0a2ce6c0
Version Packages ( #526 )
2024-05-16 07:27:17 +09:00
Rahul Mishra
8f669cd338
feat(trpc-server): use c.body to create response to avoid header loss ( #517 )
2024-05-16 07:16:16 +09:00
github-actions[bot]
44766bff2f
Version Packages ( #523 )
2024-05-15 17:56:40 +09:00
Alex
2d5ef82558
fix(zod-openapi): return type of handler should be MaybePromise ( #522 )
...
* fix(zod-openapi): return type of handler should be MaybePromise
* revert: changes
* Create modern-buttons-impress.md
* fix: types
2024-05-15 16:51:34 +09:00
github-actions[bot]
c5001c01e7
Version Packages ( #520 )
2024-05-15 10:08:59 +09:00
Yusuke Wada
b03484ba05
feat(zod-openapi): support "status code" ( #519 )
...
* feat(zod-openapi): support "status code"
* add changeset and tweak
* fixed lock file
2024-05-15 10:06:11 +09:00
github-actions[bot]
fb81f4ea4a
Version Packages ( #516 )
2024-05-13 07:06:25 +09:00
mizunohito
f59edfe89c
fix(valibot-validator): Add supports async validation ( #515 )
2024-05-13 06:56:42 +09:00
github-actions[bot]
16e3784d50
Version Packages ( #512 )
2024-05-11 18:26:21 +09:00
taku-hatano
88113fae8b
fix(zod-openapi): add Promise<void> to Hook ( #510 )
...
* fix(zod-openapi): add Promise<void> to Hook
* add changeset
2024-05-11 18:21:21 +09:00
github-actions[bot]
b0c94cd840
Version Packages ( #508 )
2024-05-09 21:55:47 +09:00
Shotaro Nakamura
d11c3a565f
feat: Introduce WebSocket helper for Node.js | `@hono/node-ws` ( #503 )
...
* feat: Introduce WebSocket helper for Node.js | `@hono/node-ws`
* feat(node-ws): add ci and build command
* chore: update yarn.lock
* update `yarn.lock`
* fixed the ci config
* add `@hono/node-server` to devDependecies
* fixed format and specify node version
* fix(node-ws/docs): fix example
* feat: `upgradeWebSocket` be named function
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-05-09 21:51:25 +09:00
github-actions[bot]
650e20fab5
Version Packages ( #506 )
2024-05-07 05:48:38 +09:00
Carlos Sanjines Aldazosa
42e75f07dc
Get email with github token ( #505 )
...
* Get email with github token
* Changeset added
2024-05-07 05:38:37 +09:00
github-actions[bot]
9495f5ddab
Version Packages ( #504 )
2024-05-06 10:24:07 +09:00
hiraoka
d703577b55
[valibot-validator] Fix Type Inference for number Types in `valibot-validator` Query ( #502 )
...
* [valibot-validator] Type inference failure in RPC routes when `"query"` contains `number` type(s). #501
* add changeset file.
2024-05-06 10:10:56 +09:00
github-actions[bot]
3e96b5e128
Version Packages ( #500 )
2024-05-04 15:23:31 +09:00
Yusuke Wada
e44314fdd3
feat(sentry): support esm ( #499 )
...
* feat(sentry): support esm
* add changeset
* fixed `package.json`
2024-05-04 15:21:05 +09:00
github-actions[bot]
f16dfacb7e
Version Packages ( #498 )
2024-05-04 12:15:21 +09:00