TATSUNO “Taz” Yasuhiro
ec3648d0c3
refactor(aws-lambda): merge custom-context into types ( #2889 )
...
* refactor(aws-lambda): merge custom-context into types so they are excluded from coverage
* refactor: custom-context.ts is not needed since it is hidden by reexport
2024-06-03 00:16:07 +09:00
Yusuke Wada
786f9e2a9d
test(workerd): add tests for WebSocket ( #2891 )
2024-06-03 00:14:11 +09:00
Yusuke Wada
f634c82451
test(workerd): rename the runtime test wrangler
to workerd
( #2888 )
...
* test(workerd): rename the runtime test `wrangler` to `workerd`
* fixed ci.yml
* fixed a typo
* use node 20.x
2024-06-02 22:49:40 +09:00
Ron Keiser
eb3d85674f
fix(cloudflare-workers): Update websocket.ts to return 101 status code ( #2886 )
...
Closes #2883
2024-06-02 22:28:31 +09:00
JetLu
320b945eff
fix(websocket): the onopen event cannot be triggered during delayed operations in deno ( #2864 )
...
* fix: The onopen event cannot be triggered during delayed operations
* fix: The onopen event cannot be triggered during delayed operations
* chore: delete test
* chore: tidy
2024-06-02 17:56:31 +09:00
TATSUNO “Taz” Yasuhiro
80cbb44f50
chore: add coverage badge to README ( #2881 )
...
* chore: add coverage badge to README
* chore: move to "activity" category before "social" category
2024-06-02 17:33:55 +09:00
Yusuke Wada
9735283462
docs: update readme and migrate guide for migrating deno.land/x
to JSR ( #2879 )
2024-06-01 06:15:49 +09:00
TATSUNO “Taz” Yasuhiro
8cc8a05c89
ci: Report coverage with CodeCov ( #2862 )
...
* Output coverage per each test
* Collect coverage
* Exclude test-only files
* update comment
* exclude types
* Add config
* Update bun comment
* Generate coverage in Deno
2024-06-01 04:17:47 +09:00
Ame_x
0dfb794df7
docs(jsdoc): add jsdoc of some modules ( #2836 )
...
* add jsdoc of .route
* chore: format
* add jsdoc of .mount
* add
* chore: format
* chore fix
* change to format same as ".mount"
* chore fix
* chore fix
* docs: change jsdoc of .basePath
* docs: change jsdoc of onError
* same as doc
* delete
* docs: change jsdoc of .notFound
* docs: change jsdoc of .notFound
* docs: change jsdoc of .fetch
* chore: format
* docs: change jsdoc of .fire
* docs: change jsdoc of .fire
* docs: change jsdoc of hono-options
* docs: change jsdoc of http-exception
* docs: change jsdoc of hono-request
* docs: change jsdoc of context
* delete missing jsdoc
2024-06-01 04:00:13 +09:00
Ame_x
19f859d398
ci: change name of workflow jobs ( #2875 )
...
* ci: change name of workflow jobs
* change
2024-06-01 03:25:36 +09:00
Ame_x
4bf923746e
refactor: removed unnecessary line ( #2869 )
2024-05-31 17:51:46 +09:00
Sigui Kessé Emmanuel
df11eb182e
ci: Update workflow name of release.yml ( #2874 )
2024-05-31 17:38:42 +09:00
Yusuke Wada
0c89700f55
v4.4.2
2024-05-31 08:14:26 +09:00
Ame_x
a852327059
fix: add return types of void function ( #2870 )
...
* fix
* chore: format
2024-05-31 08:11:31 +09:00
Yusuke Wada
c8beddb7c7
v4.4.1
2024-05-31 08:02:07 +09:00
chimame
3d6820b46e
refactor(compose): Remove type definition of ComposeContext that was defined twice ( #2858 )
2024-05-30 13:27:35 +09:00
Ame_x
966554925b
docs: change to shell highlight ( #2848 )
...
* docs: refactor highlight
* shell to bash
2024-05-30 13:07:09 +09:00
Ame_x
1da43aee3b
refactor(helper/testing): remove some any of helper/testing ( #2833 )
...
* refactor: remove some any of helper/testing
* fix
* remove unused types
2024-05-29 23:35:56 +09:00
Balint Orosz
bc39c3b897
fix(validator): support json api header ( #2855 )
2024-05-29 23:17:14 +09:00
TATSUNO “Taz” Yasuhiro
0735e0cc56
refactor(aws-lambda): remove unused setHeadersToResult ( #2828 )
2024-05-29 23:14:38 +09:00
Taku Amano
645b4f21eb
fix(jsx/dom): Fixed to not give "px" for certain properties, even if numeric value is given ( #2845 )
2024-05-29 23:02:26 +09:00
Mohammed Taha
a44d888bf0
refactor(helper/adapter): improve runtime detection ( #2846 )
...
* refactor: improve runtime detection
detect runtime using navigator.userAgent when possible
* fix typescript types
* export knownUserAgents
* add return type for checkUserAgentEquals
2024-05-29 18:18:55 +09:00
Ame_x
7cbca602e6
ci: removed v4 branch of target in actions. ( #2849 )
2024-05-29 18:09:22 +09:00
fzn0x
16f73935ef
fix(types): allow blank env ( #2834 )
...
* fix(types): allow blank env
* types: blank env
* fix(types): add mock binding
* cleanup
* Update yarn.lock
* fix: bun lock conflict
* revert
* fix(types): update quick and tiny preset
2024-05-29 17:41:53 +09:00
fzn0x
18324b8b6c
docs(src/*): Add TSDoc comments to improve code documentation ( #2841 )
...
* docs(compose): add TSDoc/JSDoc for readibility
* docs(context): add TSDoc/JSDoc for readibility
* docs(hono-base): add TSDoc/JSDoc for mount and http methods
* docs(hono): add TSDoc/JSDoc for readibility
* docs(http-exception): add TSDoc/JSDoc for readibility
* docs(hono): add TSDoc/JSDoc for readibility
* docs(request): add TSDoc/JSDoc for readibility
* docs(router): add TSDoc/JSDoc for readibility
* docs(request): add @see for valid
* resolve
2024-05-29 17:38:11 +09:00
Antony David
9176c2bbfd
ci: include node22 tests ( #2851 )
2024-05-29 17:34:49 +09:00
Ame_x
a6c893c5e0
ci: added paths-ignore for ignore files of dont need tests ( #2850 )
2024-05-29 17:10:03 +09:00
Shotaro Nakamura
3d0fbfb7a8
feat(bun): WebSocket helper supports that env be { server: server }
( #2812 )
...
* feat: WebSocket helper supports `{ server }`
* test: add test
* chore: format code
* fix: test
* chore: format code
* fix: format code with new rule
* chore: format code
Fixes #2645
Fixes #2696
2024-05-29 03:01:14 +09:00
fzn0x
a3d9cc7d95
refactor(websocket): remove unused condition ( #2839 )
2024-05-29 02:47:54 +09:00
fzn0x
0c7fb9a221
fix(middleware/body-limit): set default duplex option for readable stream ( #2837 )
...
* fix(middleware/body-limit): set default duplex option for readable stream
* test: should return 200 response without user-defined duplex option
* fix: revert and avoid ts-expect-error
2024-05-29 02:35:35 +09:00
fzn0x
116867a921
chore: Author should include JSDoc ( #2840 )
2024-05-29 02:15:45 +09:00
Ame_x
7875a61522
fix(helper/ssg): fix bug of joinPaths ( #2809 )
...
* fix bug of joinPaths
* chore: fomat & lint
* fix
2024-05-28 21:11:37 +09:00
odri
366f760a30
fix(client): allow multiple files on the same key in form ( #2791 )
...
* fix(client): allow multiple files on the same key in form
* add tests and update `msw`
* fixed import order
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-05-28 18:39:01 +09:00
TATSUNO “Taz” Yasuhiro
029cf71303
refactor(aws-lambda): Object.hasOwn is recommended ( #2831 )
...
Refer.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn
2024-05-28 13:01:24 +09:00
Tshepo Mgaga
dfbc6c4764
fix(aws-lambda): Update handler.ts getQueryString ( #2782 )
...
Updated the getQueryString function to handle the case when both queryStringParameters and multiValueQueryStringParameters properties exists.
2024-05-28 07:08:35 +09:00
Mohammed Taha
d6fa9d4cc0
refactor(pretty-json): remove useless condition ( #2815 )
2024-05-27 23:51:39 +09:00
Yusuke Wada
03090608db
v4.4.0
2024-05-27 16:49:02 +09:00
Yusuke Wada
9890bc1157
chore: update lockfile ( #2805 )
2024-05-27 16:38:50 +09:00
Yusuke Wada
acd36341fb
Merge pull request #2769 from honojs/next
2024-05-27 16:31:11 +09:00
Yusuke Wada
836a8a882d
Merge branch 'main' into next
2024-05-27 16:28:32 +09:00
Yusuke Wada
692c32165f
docs(readme): update readme and jsr.json
( #2803 )
2024-05-26 23:12:21 +09:00
Taku Amano
593cb7a89d
feat(jsx/dom): introduce react-dom/client APIs and React.version ( #2795 )
...
* feat(jsx): export version string from jsx
* feat(jsx/dom): introduce react-dom/client APIs
* docs(jsx/dom/client): add module description
* chore: add jsx/dom/client to jsr.json
* refactor(jsx/dom): declare types explicitly.
2024-05-26 22:55:30 +09:00
Yusuke Wada
6d9f1f09a9
docs: add module doc ( #2796 )
2024-05-26 14:16:25 +09:00
Yusuke Wada
f53e3b254b
fix(middleware): export variables type from each index.ts
( #2793 )
2024-05-26 06:35:06 +09:00
Yusuke Wada
cc4b2b3c7f
chore(lint): update eslint rules ( #2790 )
...
* chore(lint): update eslint rules
* fix formats
2024-05-26 05:17:45 +09:00
김의진
3d21e8c4ba
fix(middleware/jwt): typo ( #2789 )
2024-05-26 04:45:16 +09:00
ryu
82cfd466f2
chore(deno): change path including deno_dist ( #2788 )
2024-05-26 04:41:48 +09:00
Yusuke Wada
2b0b1f1fc3
chore(actions): update on
condition for publish-to-jsr
( #2786 )
2024-05-25 10:43:29 +09:00
Yusuke Wada
099c664d09
docs(readme): update the badges ( #2785 )
2024-05-25 10:38:50 +09:00
Yusuke Wada
179d21b6d2
v4.4.0-rc.1
2024-05-25 10:27:50 +09:00