0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 10:51:01 +00:00
Commit Graph

556 Commits

Author SHA1 Message Date
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
Yusuke Wada
91357d4b82 docs: update readme 2022-05-13 12:30:06 +09:00
Yusuke Wada
20c0345c93 chore: fixed benchmark 2022-05-13 08:55:13 +09:00
Yusuke Wada
c7d1d584df chore: ignore sandbox directory 2022-05-13 08:48:04 +09:00
Taku Amano
c9ff9b5463
fix: Some RegExpRouter bugs (#222)
* "paramAliasMap" must be able to store multiple alias destinations.

* fix typo

* Also update `namedParams`.

* Add some tests for RegExpRouter.
2022-05-12 20:15:42 +09:00
Yusuke Wada
ba3dd18a19
Merge pull request #221 from honojs/develop
for v1.2.0
2022-05-12 15:14:50 +09:00
Taku Amano
4dfd18026d
feat: multiple matching routes for RegExpRouter (#220)
* feat: multi match router for RegExpRouter.

* Separate routers into primary and secondary.

* Add RegExpRouter to the build target, again.

Because RegExpRouter has caught up with develop.

* Match a fixed string.

* refactor: Rename member name from "paramAlias" to "paramAliasMap"
2022-05-12 15:09:33 +09:00
Yusuke Wada
d086cf9372
perf: make it faster (#219) 2022-05-11 22:40:10 +09:00
Yusuke Wada
9fa3c60bdf feat(trie-router): update error message 2022-05-11 15:51:07 +09:00
Yusuke Wada
d4dd428c85
feat(trie-router): error handling for duplicate param name (#215) 2022-05-11 11:08:12 +09:00
Patrik Toma
e6282467d4
docs: update readme wrangler2 no longer in beta (#209) 2022-05-10 12:03:03 +09:00
Yusuke Wada
4586b342cc
fix(router): fixed trie-router bugs (#208) 2022-05-09 21:53:23 +09:00
Yusuke Wada
fd4b4e1d07
feat: app.route(path, Route) (#203) 2022-05-07 22:22:24 +09:00
Yusuke Wada
d399609748
fix: fix handling not found in compose.ts (#204) 2022-05-06 21:06:38 +09:00
Yusuke Wada
c4cdad8855
fix: handle 404 response (#202) 2022-05-06 10:43:42 +09:00
Yusuke Wada
b44444c5ab Merge branch 'develop' of github.com:honojs/hono into develop 2022-05-05 23:09:51 +09:00
Yusuke Wada
d0e84d1ce5 Merge branch 'feat/middleware-handler' into develop 2022-05-05 23:09:02 +09:00
Yusuke Wada
fbcfb20c0d Merge branch 'develop' into feat/middleware-handler 2022-05-05 23:08:36 +09:00
Minghe
ccffb6fbbc
test(compose): a move comprehensive test cases (#198) 2022-05-05 20:04:23 +09:00
Yusuke Wada
1a8d1720bb
feat: multi match router for TrieRouter (#196) 2022-05-05 10:09:32 +09:00