0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-25 05:07:03 +01:00
Commit Graph

2151 Commits

Author SHA1 Message Date
Yusuke Wada
d3a6f2cdf7
fix: mustache template encoding (#77) 2022-01-30 17:59:04 +09:00
Yusuke Wada
ffbcb3eeb9
feat: serve static middleware (Cloudflare only) (#76) 2022-01-30 17:42:24 +09:00
Yusuke Wada
223429fa71
chore: tweak (#75)
* Update durable object example

* Add line to mustache readme

* Tweak

* Add comments
2022-01-30 11:33:17 +09:00
Yusuke Wada
07a3de4190 Bumped v0.2.3 2022-01-29 10:31:57 +09:00
Yusuke Wada
58825209b0
fix: mustache middleware (#74)
* fix: mustache middleware

* fix error message
2022-01-29 10:30:56 +09:00
Yusuke Wada
a1f29dad5c
fix: diable mustache middleware (#73)
* fix: diable mustache middleware

* Fixed
2022-01-29 09:31:32 +09:00
Yusuke Wada
3370673824 Bumped v0.2.1 2022-01-29 09:12:55 +09:00
Yusuke Wada
29f67c5b72
feat: Mustache Middleware (#72)
* [WIP] feat: Mustache Middleware

Dirty code.
A Big problem is tests for Workers Site KV does not work well...

* feat: mustache middleware

* Add readme
2022-01-29 09:09:37 +09:00
Yusuke Wada
3017a4a7ff
fix: Fixed context headers (#69) 2022-01-27 09:42:27 +09:00
Yusuke Wada
ff5a83b38b
perf: Speed up to calculate content-length (#67)
* perf: Speed up to calculate content-length
2022-01-27 09:09:54 +09:00
Yusuke Wada
336afc812d
refactor: refactor something (#65)
* chmod

* declare `parsedBody` in middleware

* Dont use any

* Rename

* rename and fixed benchmarks, update score
2022-01-26 22:11:11 +09:00
Yusuke Wada
66f38e5222
feat: Cookie middleware (#64)
* feat: Implemented cookie middleware

* tweak
2022-01-26 21:45:28 +09:00
Yusuke Wada
a514a5dbc8 Bumped v0.2.0 2022-01-26 13:12:20 +09:00
Yusuke Wada
68444b6932 feat: Add new shortcuts for request/response (#62)
* Add new shortcuts for request/response

* We have only `param`, we can not use `params`

* Update readme

* tweak
2022-01-26 13:10:05 +09:00
Yusuke Wada
6123fdca4e
feat: Add new shortcuts for request/response (#62)
* Add new shortcuts for request/response

* We have only `param`, we can not use `params`

* Update readme

* tweak
2022-01-26 12:38:20 +09:00
Minghe
ff375c6b69
refactor(equal): user Expect.toStrictEqual to simplify value comparison (#63) 2022-01-25 11:03:56 +09:00
Yusuke Wada
f5a5654422 Bumped v0.1.0 🎉 2022-01-21 23:38:58 +09:00
Yusuke Wada
2ac54b7f17
chore: Add serve static example (#61) 2022-01-21 22:34:04 +09:00
Yusuke Wada
034bf6db60
feat: Use KV for blog example (#60) 2022-01-21 22:00:24 +09:00
Minghe
fbde9079c4
feat(content-length): add Content-Length in log output (#58)
* feat(content-length): add Content-Length in log output

* feat(content-length): pretty content length with b and kB unit

* fix(test): remove only

* fix(space): no space between value and unit
2022-01-21 16:28:48 +09:00
Minghe
c522636662
refactor(utils): better management for utils modules to avoid kitchen sink issue (#59) 2022-01-21 16:03:48 +09:00
Yusuke Wada
280c1481e3
Add content-length header (#57) 2022-01-19 21:28:17 +09:00
Yusuke Wada
aa052a05eb Bumped v0.0.16 2022-01-19 18:47:14 +09:00
Yusuke Wada
9f91d09814
fix: Content-Length middleware not as default (#55)
* fix: miniflare error `ReadableStream is locked`

* Remove Content-Length middleware from default
2022-01-19 18:45:42 +09:00
Yusuke Wada
f1c6ef0740
feat: CORS middleware (#53)
* Update blog example

* Implemented

* Fixed blog example
2022-01-19 09:33:27 +09:00
Yusuke Wada
98924ce164 Bumped v0.0.15 2022-01-19 01:45:08 +09:00
Yusuke Wada
b6c3eef686
feat: default route with wildcard (#52)
* Default wildcard route

* Update example

* Add test
2022-01-19 01:44:21 +09:00
Yusuke Wada
bde83550e2 Bump v0.0.14 2022-01-16 21:56:33 +09:00
Yusuke Wada
1b54eb0fac
feat: Add content-length (#49) 2022-01-16 21:52:49 +09:00
Yusuke Wada
7c92d55a25
feat: Error handling (#48) 2022-01-16 21:34:06 +09:00
Yusuke Wada
a22a0ebbfa
Fixed durable objects example (#46) 2022-01-13 03:46:34 +09:00
Yusuke Wada
03d9dc835b
docs: fixed readme (#45)
* typo

* tweak
2022-01-13 02:29:11 +09:00
Justin Noel
56de23a723
fix: correct typo for change directory (#44) 2022-01-13 02:16:05 +09:00
Yusuke Wada
53393deebf Fixed example 2022-01-12 09:32:57 +09:00
Yusuke Wada
13b9730ce7 Bumped v0.0.13 2022-01-12 09:27:28 +09:00
Yusuke Wada
fceed7465a
Support module workers syntax for Cloudflare Workers (#43)
* add fetch method and modify context

* Add example of Durable Objects

* Fixed export/import style

* Update readme

* Fixed script
2022-01-12 09:20:16 +09:00
Minghe
52b56e6ddb
feat(miniflare): repalce service-worker-mock with miniflare (#41)
* feat(miniflare): repalce service-worker-mock with miniflare

* feat(ci): add build step
2022-01-12 02:14:53 +09:00
Minghe
23daf7e1fa
feat(body-parse): a body parse middleware (#38) 2022-01-11 16:09:37 +09:00
Yusuke Wada
511c0ebd7e
Feature/example blog (#39)
* Add blog CRUD example

* Fixed some

* Exclude example test
2022-01-10 23:30:19 +09:00
Yusuke Wada
4a795dab88
Fix redirect method (#37) 2022-01-10 00:03:48 +09:00
Yusuke Wada
4741fd3c4b Feature/redirect (#36)
* Add redirect method

* Make Headers type

* Typecheck
2022-01-09 22:51:58 +09:00
Yusuke Wada
f9fa20062b
Refactor (#35)
* export Handler

* Fixed example

* Update readme

* Rename

* Param value as string

* Update jsx ssr example

* Hono is Ultrafast web framework
2022-01-09 21:10:12 +09:00
Yusuke Wada
7920f9aadc
status and headers args on context text/json/html method (#34) 2022-01-09 06:53:26 +09:00
Yusuke Wada
f1117c04f2 Add worktop benchmark (#33)
* Remove package-lock.json

* Fixed for warnings

* Disable lint the line

* Update jsx-ssr example

* Add `worktop` benchmark
2022-01-09 06:07:43 +09:00
Yusuke Wada
7d4f10d995
Refactor (#32)
* Remove package-lock.json

* Fixed for warnings

* Disable lint the line

* Update jsx-ssr example
2022-01-09 05:30:50 +09:00
Yusuke Wada
83f731f259 Bumped to 0.0.12 2022-01-08 14:08:44 +09:00
Yusuke Wada
564ca88018 Update hono version 2022-01-08 13:58:32 +09:00
Yusuke Wada
77a8ce82c8 Update README 2022-01-08 13:51:50 +09:00
Yusuke Wada
74bab8b795
Feature/html method (#31)
* Add c.html() method

* Use c.html() method
2022-01-08 13:46:49 +09:00
Yusuke Wada
2146648367
Add SSR with Nono-JSX example (#30) 2022-01-08 13:33:21 +09:00