Yusuke Wada
8caa9afb7b
v2.7.7
2023-02-09 18:29:17 +09:00
Yusuke Wada
3f1de47f8f
chore(denoify): update buffer
2023-02-09 18:24:14 +09:00
Taku Amano
c169a413bd
feat: use added app's errorHandler with comose() ( #874 )
...
* refactor(compose): Swapped the order of onNotFound and onError in the compose() argument.
* feat: use added app's errorHandler
* chore: denoify
2023-02-09 18:13:27 +09:00
Yusuke Wada
9391278911
feat(router) [breaking]: StaticRouter obsolete ( #873 )
...
Co-authored-by: Taku Amano <taku@taaas.jp>
2023-02-09 16:58:28 +09:00
Taku Amano
dfd4f81e79
feat: Remove the StaticRouter from default candidates. ( #869 )
...
* feat: Remove the StaticRouter from default candidates.
* chore: denoify
2023-02-08 23:19:02 +09:00
Yusuke Wada
229228a7ba
Revert "feat: use added app's errorHandler ( #871 )" ( #872 )
...
This reverts commit b8a99b5367
.
2023-02-08 23:08:52 +09:00
Taku Amano
b8a99b5367
feat: use added app's errorHandler ( #871 )
...
Fix #851
* feat: use added app's errorHandler
* chore: denoify
* refactor(compose): Swapped the order of onNotFound and onError in the compose() argument.
* chore: denoify
2023-02-08 22:01:30 +09:00
Yusuke Wada
c0d2e608a6
feat: hc
- Hono Client ( #862 )
2023-02-08 07:22:32 +09:00
Taku Amano
d86728b4d1
perf(reg-exp-router): Cache Result<T> instead of T[] if there is no parameter. ( #867 )
...
* perf(reg-exp-router): Cache Result<T> instead of T[] if there is no parameter.
* chore: denoify
2023-02-08 06:47:19 +09:00
Yusuke Wada
2828e59a6c
Merge branch 'main' into next
2023-02-06 07:09:03 +09:00
Yusuke Wada
c335a9272b
v2.7.6
2023-02-06 07:04:44 +09:00
Yusuke Wada
1a4c2fed78
chore: denoify ( #865 )
2023-02-06 07:01:51 +09:00
Yusuke Wada
efa5f476c8
fix(serve-static): decode url pathname ( #864 )
2023-02-06 06:51:29 +09:00
Daniel Ding
ea4129123d
fix(deno): 404 error on Serve Static Middleware ( #863 )
...
There will be a 404 error when non-standard characters appear in URL.
Add `decodeURI()` to fix it.
2023-02-06 06:44:47 +09:00
Yusuke Wada
41ba3a2193
Revert "perf(context): improve handling response ( #860 )"
...
This reverts commit ce0a8bd16d
.
2023-02-05 02:53:10 +09:00
Yusuke Wada
dd4122a5e0
refactor: obsolute CustomHandler
( #861 )
2023-02-03 05:56:59 +09:00
Yusuke Wada
ce0a8bd16d
perf(context): improve handling response ( #860 )
2023-02-02 08:08:07 +09:00
Yusuke Wada
a4800bf941
fix(req): never
if c.req.valid()
( #859 )
2023-02-02 08:06:19 +09:00
Yusuke Wada
ac3117659e
v3.0.0-rc.10
2023-02-02 00:27:58 +09:00
Yusuke Wada
aefe3869d0
chore: denoify
2023-02-02 00:25:58 +09:00
Yusuke Wada
f600ddd8a4
refactor(request): don't cache jsonBody, formBody, and headers ( #857 )
...
* v3.0.0-rc.9
* fix(breaking): obsolete no args `c.req.valid()`
* more strict
* refactor(request): don't cache jsonBody, formBody, and headers
2023-02-01 22:13:08 +09:00
Yusuke Wada
fbf8959b74
fix(breaking): obsolete no args c.req.valid()
( #856 )
...
* v3.0.0-rc.9
* fix(breaking): obsolete no args `c.req.valid()`
* more strict
2023-02-01 22:02:09 +09:00
Yusuke Wada
e2b269acb0
feat: rewnew output types ( #853 )
...
* feat: rewnew output types
* denoify
* refactor: move type definitions of middlware handler to `types.ts`
* format comment block
* add more tests
2023-02-01 06:36:48 +09:00
Jayden
53de4a4021
Rename runtime keys ( #850 )
...
* Rename runtime keys
* denoify
* Fix test
2023-01-29 14:47:35 +09:00
Yusuke Wada
d459084a89
chore: benchmark of routers ( #843 )
2023-01-29 14:10:47 +09:00
Taku Amano
01b9fd4537
feat(reg-exp-router): Lookup static path by using Object ( #845 )
...
* feat(reg-exp-router): Search by key of Object if `path` has no variables.
* feat(reg-exp-router): Returns an empty RegExp if node is not added.
* feat(reg-exp-router): Check ambiguous path for static.
* chore: fix typo in test case
* chore: denoify
2023-01-29 13:55:27 +09:00
Yusuke Wada
601c880b30
fix(cloudflare-pages): fix type incompatibility ( #837 )
...
* fix(cloudflare-pages): fix type incompatibility
* use triple-slash
* do not include `passThroughOnException: () => void` in `EventContext`
2023-01-28 01:34:15 +09:00
Yusuke Wada
ed669b281a
Merge branch 'main' into next
2023-01-26 23:16:04 +09:00
Benjamin
a9746b2296
Missing mime types ( #827 )
...
* Missing mime
Missing many common mime types such as: GLTF, GLB, MP4, M4P etc
* Reduced size to common mimetypes
* Sort
* Lint fix
2023-01-26 21:46:42 +09:00
Yusuke Wada
0c76049487
Merge branch 'main' into next
2023-01-24 09:00:29 +09:00
Yusuke Wada
4ac0971976
v2.7.5
2023-01-24 08:55:29 +09:00
Yusuke Wada
4f9d7f2d7e
fix(context): fixed bug raw Response
content-type is overwritten ( #836 )
2023-01-24 08:53:31 +09:00
Yusuke Wada
a53ae499d3
Merge branch 'main' into next
2023-01-23 08:40:17 +09:00
Yusuke Wada
1908be8f7e
v2.7.4
2023-01-23 08:37:44 +09:00
Yusuke Wada
033f23189c
fix(context): set the values of already set ( #834 )
2023-01-23 08:35:14 +09:00
Yusuke Wada
2afa06a5ba
feat(req): support c.req.valid('query')
( #832 )
2023-01-23 07:47:29 +09:00
Yusuke Wada
2de2ef3279
feat(validator): support multiple handlers w/ complex patterns. ( #831 )
2023-01-22 21:21:37 +09:00
Yusuke Wada
2ee0f739f5
fix(bun): fixed throwing the error in HTTPException
( #830 )
2023-01-22 15:06:55 +09:00
Yusuke Wada
698a783573
Merge branch 'main' into next
2023-01-22 14:28:13 +09:00
Yusuke Wada
e404319824
perf: use substring
and //.test
... ( #829 )
...
* v3.0.0-rc.8
* perf: use `substring` and `//.test` ...
2023-01-22 13:59:31 +09:00
Yusuke Wada
a60e46ae53
fix(request): make optional param type correct ( #826 )
...
* fix(request): make optional param type correct
* `ts-ignore`
* `denoify`
2023-01-22 13:32:33 +09:00
Yusuke Wada
4546b40cbd
chore: added missing module
...
(i've mistaken merging)
2023-01-19 23:06:17 +09:00
Yudai Nakata
1356b3570c
fix: correctly export pages adapter ( #819 )
2023-01-19 22:45:25 +09:00
Yusuke Wada
59b75b6561
v3.0.0-rc.7
2023-01-19 22:45:25 +09:00
Yusuke Wada
fd4f18f6cc
chore: denoify
2023-01-19 22:45:25 +09:00
Yusuke Wada
9184f038d3
fix: export Env
( #817 )
...
* v3.0.0-rc.6
* fix: export `Env`
2023-01-19 22:45:25 +09:00
Yusuke Wada
f2360a1c68
v3.0.0-rc.6
2023-01-19 22:45:25 +09:00
Yusuke Wada
49ffd51153
refactor(utils): remove minor mime types ( #816 )
2023-01-19 22:45:25 +09:00
Yusuke Wada
9958019d13
refactor: remove the json util not needed ( #815 )
2023-01-19 22:45:25 +09:00
Yusuke Wada
b6b1e5bc79
fix(context): enable destruction such json
( #813 )
...
This will fix #812
2023-01-19 22:45:25 +09:00