Hans Otto Wirtz
157e4eaf3e
feat(context): add executionCtx to Context ( #326 )
2022-06-18 12:16:24 +09:00
Yusuke Wada
66c992c094
docs(readme): update
2022-06-17 18:48:50 +09:00
Yusuke Wada
5976a60232
refactor(html): make html
as middleware ( #319 )
2022-06-13 10:06:37 +09:00
Yusuke Wada
583d3d498b
Merge pull request #306 from honojs/feat/jsx
...
feat: jsx middleware
2022-06-10 18:43:22 +09:00
Yusuke Wada
e6c916a6ce
docs: add docs for JSX middleware
2022-06-10 18:37:30 +09:00
Charl Kruger
6b8d605375
Update README.md ( #304 )
...
* Update README.md
Adding some clarity on how to access bindings like secrets
* Update README.md
2022-06-07 21:09:17 +09:00
Yusuke Wada
d54ff87c58
chore(benchmark): tweak, Hono is really fastest!
2022-06-02 15:10:57 +09:00
Nelson Chen
81d77ba4c3
minor typo fixes in readme ( #286 )
2022-05-31 07:51:23 +09:00
Yusuke Wada
c0661519b0
chore(benchmark): fix RegExpRouter score, it's fastest
2022-05-27 17:16:43 +09:00
Yusuke Wada
730502b169
docs: update readme
2022-05-26 10:06:10 +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
52bca3bd0a
docs: fix readme
2022-05-22 19:14:37 +09:00
Yusuke Wada
ba58356d24
feat: multiple query values c.req.queries
( #260 )
2022-05-22 07:54:00 +09:00
Yusuke Wada
180d779e0d
docs: update readme
2022-05-19 15:37:33 +09:00
Yusuke Wada
f14ec5d733
docs: update readme ( #238 )
2022-05-16 22:15:34 +09:00
Minghe
196f5d5e22
fix(typo): update readme ( #229 )
2022-05-14 18:23:51 +09:00
Yusuke Wada
708f484d4b
docs: fixed path
2022-05-14 07:51:20 +09:00
Yusuke Wada
75c2a2dfc2
docs: remove Japanese README ( #225 )
2022-05-13 12:55:55 +09:00
Yusuke Wada
91357d4b82
docs: update readme
2022-05-13 12:30:06 +09:00
Patrik Toma
e6282467d4
docs: update readme wrangler2 no longer in beta ( #209 )
2022-05-10 12:03:03 +09:00
Yusuke Wada
1c7b7b3139
docs: update readme
2022-04-27 15:18:55 +09:00
Yusuke Wada
11497292a1
docs: write about JWT middleware
2022-04-27 08:59:42 +09:00
Yusuke Wada
128970e2d2
chore: move under honojs
organization ( #178 )
2022-04-26 17:15:16 +09:00
Yusuke Wada
b9745e79c5
docs: update readme
2022-04-26 07:58:08 +09:00
Yusuke Wada
04460a646f
feat: chained routing ( #173 )
...
* feat: enable chained routing
* write tests
* initialize `#tempPath`
* Update readme
2022-04-25 22:31:15 +09:00
Yusuke Wada
6634201059
docs: add logo images ( #165 )
...
* docs: add logo images
* update image
* update README.md
2022-04-22 08:45:52 +09:00
Yusuke Wada
c9053ebd79
docs: remove $
2022-04-20 18:25:01 +09:00
Yusuke Wada
54c665e38e
docs: add a line for TypeScript support ( #151 )
2022-04-10 23:24:52 +09:00
Yusuke Wada
5d5fe23a72
feat: add request
method ( #132 )
...
Add `request` method. It's useful for testing.
2022-03-10 15:44:09 +09:00
Yusuke Wada
e36b054ab6
炎
2022-03-10 14:54:17 +09:00
Yusuke Wada
e4c0ea2368
docs: create Japanese readme ( #131 )
...
* docs: add japanese readme
* fix
* tweak
* use text
* tweak
2022-03-09 16:03:58 +09:00
Charl Kruger
ccf27fb411
English grammar changes ( #127 )
2022-03-06 10:27:26 +09:00
Yusuke Wada
9dcc24cb93
docs: write instructions ( #125 )
2022-03-05 10:38:33 +09:00
Yusuke Wada
a8e0bf0b48
chore: do not need await
2022-03-01 01:50:45 +09:00
Yusuke Wada
32686f4e5b
chore: update benchmark script ( #120 )
...
* chore: fix benchmark script
* update readme
2022-02-28 21:56:50 +09:00
Yusuke Wada
4822077fea
docs: update readme
2022-02-26 16:19:53 +09:00
Yusuke Wada
adb55ca052
feat: app.notFound()
and app.onError
( #117 )
2022-02-26 08:36:11 +09:00
Yusuke Wada
5de3a0c4f2
docs: update readme
2022-02-23 11:30:24 +09:00
Yusuke Wada
68baca0949
docs: add badges
2022-02-22 00:04:22 +09:00
Yusuke Wada
9de6328f87
feat: app.onError
for handling error ( #111 )
2022-02-20 22:43:14 +09:00
Yusuke Wada
49fedca6a4
feat: app.notFound
for default 404 not found ( #110 )
2022-02-20 19:59:51 +09:00
Yusuke Wada
ea329b8369
docs: update benchmark results
2022-02-18 10:25:55 +09:00
Yusuke Wada
b0b6f7f8a3
refactor: router must have only one hander ( #107 )
...
* refactor: router must have only one hander
* docs: update benchmark
2022-02-17 21:46:34 +09:00
Yusuke Wada
c5cc9f25a6
feat: nested route ( #105 )
...
# BREAKING CHANGES!!!
`app.route` is changed:
**Chained route** is obsolete:
```
app.route('/')
.get((c) => c.text('get /'))
// ^^^ Not working now!!
```
Now, `app.route` enables **nested route**:
```
const book = app.route('/book')
book.get('/', (c) => c.text('List books')) // => GET /book
book.get('/:id', (c) => {
return c.text('Get Book: ' + c.req.param('id'))) // => GET /book/:id
})
```
2022-02-16 11:06:22 +09:00
Yusuke Wada
d7fe0b0d67
tweak
2022-02-15 21:26:59 +09:00
Yusuke Wada
b9286d0f4f
docs: update readme
2022-02-15 17:19:53 +09:00
Yusuke Wada
c123d5f78d
feat: add option for no
strict routing ( #103 )
...
default is `strict`
2022-02-15 16:52:06 +09:00
Yusuke Wada
f3fbe68613
docs: update readme ( #99 )
2022-02-09 23:14:44 +09:00
Minghe
d1d790a9a8
fix(typo): flamework is framework
2022-02-07 14:44:33 +08:00
Yusuke Wada
a72660bd66
feat: auto set statusText
( #93 )
...
* refactor: context
* tweak
* feat: auto set status text
2022-02-05 22:20:34 +09:00