Yusuke Wada
acbd495bbe
fix(app): set /
for path
as default ( #1330 )
...
* fix(app): set `/` for `path` as default
* denoify
2023-08-15 00:33:16 +09:00
Yusuke Wada
48a8729862
perf(hono-base): use constructor.name
instead of instanceof
( #1311 )
...
* perf(hono-base): use `constructor.name` instead of `instanceof`
* denoify
2023-08-10 10:10:40 +09:00
Yusuke Wada
85f8ab663f
refactor(app): add "deprecate message" for app.handleEvent()
( #1298 )
...
* refactor(app): add "deprecate message" for `app.handleEvent()`
* denoify
2023-08-05 23:41:45 +09:00
Yusuke Wada
8e2eaf9d24
docs(jsdoc): fix a app.route()
JSDoc description ( #1296 )
...
* docs(jsdoc): fix a `app.route()` JSDoc description
* denoify
2023-08-05 23:28:34 +09:00
Yusuke Wada
8ea833a7d0
refactor(hono-base): remove async/await from app.request
( #1275 )
...
* refactor(hono-base): remove async/await from `app.request`
* denoify
2023-07-28 17:52:11 +09:00
Yusuke Wada
b0a368676e
fix(hono-base): enable strict
with getPath
option ( #1259 )
...
* fix(hono-base): enable `strict` with `getPath` option
* denoify
2023-07-23 16:03:45 +09:00
Yusuke Wada
cef0adb1d6
fix(mount): include query params ( #1224 )
...
* fix(mount): include query params
* denoify
2023-07-08 18:25:50 +09:00
Yusuke Wada
5b873fcc5c
fix(types): allow not to set skipLibCheck
( #1206 )
...
* fix(types): allow not to set `skipLibCheck`
* use `unknown`
* denoify
2023-06-29 16:48:00 +09:00
Taku Amano
8a1b9aa9a8
refactor: Tweaks variable names to reduce code. ( #1157 )
...
* refactor: Tweaks variable names to reduce code.
* Delete meaningless comments
* chore: denoify
2023-06-04 09:16:29 +09:00
Yusuke Wada
0e1755c9e4
feat: handle HEAD method ( #1142 )
...
* feat: handle HEAD method
* remove `head` from `METHOS`
* fixed the lagon test
* show `depracated` message (will be removed next minor? version)
* denoify
* use `request.url`
* denoify
* Invoke dispatch() without changing request.method for HEAD method. (#1152 )
* Invoke `dispatch()` without changing request.method for HEAD method.
* chore: denoify
* refactored
* denoify
* refactor: dispatch() arguments can no longer be omitted (#1156 )
* Revert "refactored"
This reverts commit 2f8dacc42d
.
* refactor: `dispatch()` arguments can no longer be omitted
* denoifiy
---------
Co-authored-by: Taku Amano <taku@taaas.jp>
2023-06-03 09:07:33 +09:00
Yusuke Wada
127fa30dce
fix(app): app.mount()
supports /
( #1119 )
...
* fix(app): `app.mount()` supports `/`
* chore: denoify
2023-05-20 15:29:58 +09:00
Yusuke Wada
a2d22807e4
feat: app.mount()
( #1104 )
...
* feat: `mount()`
* update tests
* check header values
* chore: denoify
* make it as `app.mount()`
* denoify
* Generate new URL more simply. (#1112 )
* Generate new URL more simply.
* chore: denoify
---------
Co-authored-by: Taku Amano <taku@taaas.jp>
2023-05-18 14:03:50 +09:00
Yusuke Wada
390d05b006
feat(app): app.routerName()
( #1105 )
...
* feat(context): `c.routerName()`
* chore: denoify
* Enable to get router name via `app.routerName`. (#1110 )
---------
Co-authored-by: Taku Amano <taku@taaas.jp>
2023-05-18 00:05:28 +09:00
Yusuke Wada
a538d4ad81
fix(app): export fire()
correctly ( #1106 )
2023-05-17 06:55:30 +09:00
Yusuke Wada
ccc4308871
fix(types): set /
for generics basePath
( #1083 )
...
* fix(types): set `/` for generics `basePath`
* denoify
* fix `MergePath`
* tweak
* denoify
2023-05-14 08:18:45 +09:00
Taku Amano
b253a8735b
feat: Allow getPath to be replaced. ( #1064 )
...
* feat: Allow getPath to be replaced.
* chore: denoify
2023-05-03 22:13:23 +09:00
Yusuke Wada
677b572fd5
feat: introduce PatternRouter and hono/tiny
( #1036 )
...
* wip
* Use RegExp instead of URLPattern. (#1039 )
* Use RegExp instead of URLPattern.
* refactor(url-pattern-router): tidy up.
* refactor(url-pattern-router): Tweaks type for mangling.
* refactor: Rename URLPatternRouter to PatternRouter.
* chore: denoify.
---------
Co-authored-by: Taku Amano <taku@taaas.jp>
2023-04-28 12:10:20 +09:00