Yusuke Wada
500fcaa9e1
refactor(trie-router): make *
and /*
have same priority ( #274 )
2022-05-26 15:26:13 +09:00
Yusuke Wada
938aa7f060
chore: bump up to v1.4.0 🎉
2022-05-26 10:08:31 +09:00
Yusuke Wada
730502b169
docs: update readme
2022-05-26 10:06:10 +09:00
Yusuke Wada
ebbb58dc81
chore: update benchmark script
2022-05-26 09:09:19 +09:00
Yusuke Wada
77e16ddfb7
feat: c.res
is available before dispatching ( #272 )
...
* fix(router): fixed trie-router bugs
* feat: `c.res` is available before dispatching
2022-05-26 09:06:41 +09:00
Taku Amano
e6924271f3
refactor(router): Make Router an interface, not a class ( #268 )
...
* Allow initialization with router objects instead of routerClass.
* Make Router an interface, not a class.
* Make Result an interface, not a class.
* Apply getSortedHandlers for result.
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2022-05-26 07:39:43 +09:00
Yusuke Wada
ef65308357
fix(router): fixed trie-router bugs ( #271 )
2022-05-26 00:34:01 +09:00
Yusuke Wada
7cc9644b60
feat(trie-router) : Routing with order specification ( #269 )
...
* Routing with order specification
* fixed test
* fixed for special wildcard and so on
* fixed scoring
* fix for `route` method
2022-05-25 11:56:17 +09:00
Taku Amano
a18edd5294
RegExpRouter : Routing with order specification. ( #267 )
2022-05-25 09:57:37 +09:00
Yusuke Wada
4a906a8aae
test(jwt): add tests
2022-05-25 09:24:01 +09:00
Chris R
0e6bff6eb1
fix: ensure the request does not continue if the jwt token is not valid ( #266 )
2022-05-25 09:18:02 +09:00
Yusuke Wada
52bca3bd0a
docs: fix readme
2022-05-22 19:14:37 +09:00
Yusuke Wada
8dfc74b187
fix(context): initialize status and header values after newResponse
( #261 )
...
* fix(context): initialize status and header values after `newResponse`
* fixed test
2022-05-22 10:49:58 +09:00
Yusuke Wada
8ef4e3ed37
chore: bump up to v1.3.6
2022-05-22 08:05:42 +09:00
Yusuke Wada
ba58356d24
feat: multiple query values c.req.queries
( #260 )
2022-05-22 07:54:00 +09:00
Yusuke Wada
fa82e48d22
fix(compose): fix a bug for colliding async routes ( #259 )
2022-05-22 07:12:25 +09:00
Yusuke Wada
14f210a0af
perf: do not set statusText
by default ( #256 )
2022-05-21 21:33:04 +09:00
Yusuke Wada
563aeec9be
refactor(context): c.res
is not optional ( #255 )
2022-05-21 21:08:51 +09:00
Yusuke Wada
7a13160616
chore: bump up to v1.3.5
2022-05-20 17:41:36 +09:00
Yusuke Wada
7c8211806c
fix: throwing errors in Wrangler 2.0.6 ( #254 )
...
Close #248
2022-05-20 17:39:27 +09:00
Yusuke Wada
180d779e0d
docs: update readme
2022-05-19 15:37:33 +09:00
Yusuke Wada
128e6517ae
chore: bump up to v1.3.4
2022-05-19 14:41:40 +09:00
Yusuke Wada
56703c60da
feat: mustache middleware supports Module Worker mode ( #252 )
2022-05-19 11:24:47 +09:00
Yusuke Wada
923a30e53d
feat: serve-static middleware supports Module Worker mode ( #250 )
2022-05-19 09:29:09 +09:00
Yusuke Wada
9cfba5731f
chore: bump up to v1.3.3
2022-05-18 09:47:41 +09:00
Yusuke Wada
22ae272d13
fix(route): fix app.route()
matter ( #246 )
2022-05-18 09:46:37 +09:00
Yusuke Wada
15bd8ecb96
chore: bump up to v1.3.2
2022-05-18 09:17:16 +09:00
Yusuke Wada
600847ba77
fix(Context): c.body()
accept null for 204 response ( #245 )
...
Fix #242
2022-05-18 09:15:46 +09:00
Yusuke Wada
9c3eb277bd
fix(serve-static): enable in any order ( #244 )
...
Close #243
2022-05-18 09:06:18 +09:00
Yusuke Wada
3c2e862a8a
chore: bump up to v1.3.1
2022-05-17 08:15:55 +09:00
Yusuke Wada
18f954c121
fix: do not include test files in npm packages ( #241 )
2022-05-17 08:15:12 +09:00
Yusuke Wada
3c5e2c2a74
chore: bump up to v1.3.0
2022-05-16 22:20:29 +09:00
Yusuke Wada
bc7fce467a
Merge pull request #239 from honojs/develop
...
for v1.3.0
2022-05-16 22:19:22 +09:00
Yusuke Wada
f14ec5d733
docs: update readme ( #238 )
2022-05-16 22:15:34 +09:00
Yusuke Wada
1a62e04f8a
feat: default path as /
2022-05-16 21:34:59 +09:00
Yusuke Wada
ea1fd00369
feat: [BREAKING] deprecate Route
, use Hono
instead ( #237 )
2022-05-16 21:33:15 +09:00
Taku Amano
d8accbc846
Tweaks return values of functions for request parameters. ( #234 )
...
* Tweaks return values of functions for request parameters.
If no arguments are specified, returns an object containing all parameters.
* Add tests for app.req.param and app.req.query.
* Enable to get all cookies by `c.req.cookie()`.
2022-05-16 12:04:29 +09:00
Yusuke Wada
b31434807e
fix(url): fix merging path ( #235 )
2022-05-16 09:00:24 +09:00
Yusuke Wada
1204e12545
feat(type): any
2022-05-15 23:28:45 +09:00
Yusuke Wada
5d1bba1340
bump up to v1.2.2
2022-05-15 16:05:44 +09:00
Yusuke Wada
63d2e1a70a
fix: fix type check warnings ( #233 )
2022-05-15 16:03:32 +09:00
Minghe
196f5d5e22
fix(typo): update readme ( #229 )
2022-05-14 18:23:51 +09:00
Yusuke Wada
6ddba47cb5
chore: absolute import to relative import ( #228 )
2022-05-14 12:55:01 +09:00
Yusuke Wada
c884099bd0
chore: bump up to v1.2.1
2022-05-14 10:02:21 +09:00
Yusuke Wada
62b9238601
fix: fix basic auth middleware ( #227 )
2022-05-14 10:01:50 +09:00
Minghe
d3a7df3a7d
feat(ctx): enable set and get in ctx, to hold values ( #226 )
2022-05-14 07:52:39 +09:00
Yusuke Wada
708f484d4b
docs: fixed path
2022-05-14 07:51:20 +09:00
Yusuke Wada
f47d5a0e92
chore: bump up to v1.2.0
2022-05-13 14:28:41 +09:00
Yusuke Wada
75c2a2dfc2
docs: remove Japanese README ( #225 )
2022-05-13 12:55:55 +09:00
Taku Amano
3b0e52e879
Check for duplicate parameter names. ( #224 )
2022-05-13 12:39:30 +09:00