Yusuke Wada
47f7577934
chore: remove @types/mustache
...
It's not needed
2022-07-24 13:18:24 +09:00
Yusuke Wada
34b218ddf6
chore(pacakge.json): don't export cookie middleware
2022-07-23 15:09:33 +09:00
Yusuke Wada
c450c56460
feat(middleware): implement Cache Middleware ( #417 )
...
* feat(middleware): implement Cache Middleware
* denoify
* do not export Cache middleware for Deno.
2022-07-23 15:02:42 +09:00
Yusuke Wada
d94443d856
chore(package.json): remove mustache
...
It's not needed.
2022-07-21 08:32:10 +09:00
Yusuke Wada
1d73e3a8ed
fix(package.json): export compress middleware ( #409 )
2022-07-18 22:26:01 +09:00
Yusuke Wada
6f88fd9599
v2.0.2
2022-07-18 12:30:31 +09:00
Yusuke Wada
1cd5cb7c32
v2.0.1
2022-07-17 18:42:42 +09:00
Yusuke Wada
f573687abd
test(bun): use bun:test
( #398 )
2022-07-17 09:51:42 +09:00
Yusuke Wada
94d94198bc
v2.0.0
2022-07-16 17:59:25 +09:00
Yusuke Wada
53658c2464
chore(prettier): remove markdown-nocjsp
parser
...
Close #377
2022-07-16 10:03:01 +09:00
TANIGUCHI Masaya
fc26f1a490
feat: Add compress middleware ( #386 )
...
* Add compress middleware
* Format code
* Update order of executions
* Add test
* Remove version check
* Remove node:stream/web
* Update dependency
* Remove version check
2022-07-16 09:38:43 +09:00
Yusuke Wada
4dc5edc49f
feat(bun): support basic-auth
middleware ( #387 )
...
For supporting Basic Auth middleware for Bun, do not check types.
2022-07-16 09:35:51 +09:00
Yusuke Wada
cf3027703c
feat(bun): add "serve-static" middleware ( #370 )
...
Close ##369 #368
2022-07-15 08:40:15 +09:00
Yusuke Wada
50450f22ab
ci: setup CI for Deno ( #367 )
...
Close #364
2022-07-15 08:40:15 +09:00
Yusuke Wada
af9f6a73d9
[BREAKING] feat: remove "graphql-server" middleware, will be obsolete ( #366 )
...
It might be *third-party middleware*.
Close #357
2022-07-15 08:40:15 +09:00
Yusuke Wada
dea9484a22
test: add tests for Deno ( #365 )
...
Close #351
2022-07-15 08:40:15 +09:00
Yusuke Wada
7b505b0ac0
refactor: make cookie
into Context/Request
2022-07-15 08:40:15 +09:00
Yusuke Wada
8e9282ea9c
chore: add keywords to package.json
2022-07-13 19:55:36 +09:00
Yusuke Wada
2e4de4aea4
v1.6.4
2022-07-10 19:00:32 +09:00
Yusuke Wada
e30a7597b2
v1.6.3
2022-07-08 10:04:35 +09:00
Yusuke Wada
890cc46f78
v1.6.2
2022-07-06 11:00:59 +09:00
Yusuke Wada
13db469d01
v1.6.1
2022-07-02 23:26:27 +09:00
Yusuke Wada
6030c051db
chore: rm *.ts.test
from deno_dist ( #338 )
2022-07-02 22:31:10 +09:00
Yusuke Wada
7be6315ced
v1.6.0
2022-07-02 18:32:55 +09:00
Yusuke Wada
fb8c7b5527
v1.6.0-0
2022-07-02 15:54:55 +09:00
Yusuke Wada
2cdeabb8eb
chore: fixed package.json
2022-07-02 15:53:13 +09:00
Yusuke Wada
447fc3f4d6
chore: install np
2022-07-02 15:50:17 +09:00
Yusuke Wada
d9e9e62e47
feat: support Deno! ( #336 )
2022-07-02 15:09:45 +09:00
Yusuke Wada
11d3d4e4c6
chore: bump up to v1.5.2
2022-06-27 14:09:22 +09:00
Yusuke Wada
34aa124405
chore: update libs
2022-06-23 23:20:56 +09:00
Yusuke Wada
1de0305f3c
chore: bump up to v1.5.1
2022-06-19 10:36:29 +09:00
Yusuke Wada
b82a75c992
chore: bump up to v1.5.0
2022-06-17 18:53:36 +09:00
Yusuke Wada
f6c9592609
chore: bump up to v1.4.7
2022-06-13 11:52:05 +09:00
Yusuke Wada
5976a60232
refactor(html): make html
as middleware ( #319 )
2022-06-13 10:06:37 +09:00
Yusuke Wada
cfc8c6ee9d
chore: bump up to v1.4.6
2022-06-10 18:50:20 +09:00
Yusuke Wada
273106cfa9
[WIP] feat: jsx middleware
2022-06-07 19:03:42 +09:00
Yusuke Wada
8506ed4969
chore: bump up to v1.4.5
2022-06-07 10:24:50 +09:00
Yusuke Wada
7c244c3bb3
feat(middleware): add bearer auth middleware ( #299 )
...
* feat(middleware): add bearer auth middleware
Close #279
* add prefix option
* tweak
2022-06-06 08:38:33 +09:00
Yusuke Wada
153fe69b17
chore: bump up to v1.4.4
2022-06-04 20:10:45 +09:00
Yusuke Wada
b17d56fd7e
chore: bump up to v1.4.3
2022-06-02 15:22:09 +09:00
Minghe
06b37a4a8a
fix(test): upgrade the miniflare to consume the fix on node18 ( #295 )
2022-06-02 14:56:35 +09:00
Yusuke Wada
16967676a3
chore: bump up to v1.4.2
2022-05-28 13:01:22 +09:00
Yusuke Wada
79c99c6403
chore: bump up to v1.4.1
2022-05-26 17:33:30 +09:00
Yusuke Wada
938aa7f060
chore: bump up to v1.4.0 🎉
2022-05-26 10:08:31 +09:00
Yusuke Wada
8ef4e3ed37
chore: bump up to v1.3.6
2022-05-22 08:05:42 +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
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
15bd8ecb96
chore: bump up to v1.3.2
2022-05-18 09:17:16 +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
5d1bba1340
bump up to v1.2.2
2022-05-15 16:05:44 +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
f47d5a0e92
chore: bump up to v1.2.0
2022-05-13 14:28:41 +09:00
Yusuke Wada
fc6a969fdb
chore: bump up to v1.1.1
2022-05-01 21:13:24 +09:00
Minghe
4f97c6dfe1
feat(jwt): export jwt utils ( #187 )
2022-04-30 18:51:27 +09:00
Yusuke Wada
36f0a2801b
chore: bump up to v1.1.0
2022-04-27 16:13:29 +09:00
Yusuke Wada
7cd3c70df9
chore: update npm modules ( #182 )
2022-04-27 15:42:42 +09:00
Yusuke Wada
4ba055915c
chore: exports JWT middleware
2022-04-27 08:59:27 +09:00
Yusuke Wada
128970e2d2
chore: move under honojs
organization ( #178 )
2022-04-26 17:15:16 +09:00
Yusuke Wada
79e4794126
chore: bump up to v1.0.0 🎉
2022-04-22 09:21:40 +09:00
Yusuke Wada
ace31f60a3
fix: fix imports
path
2022-04-22 09:01:51 +09:00
Yusuke Wada
2af8f2c5d1
refactor: automate import
sorting ( #157 )
2022-04-20 14:17:55 +09:00
Yusuke Wada
ac713c0659
refactor: refine directory structure ( #156 )
...
* refactor: refine importing mechanism
* refactor: move `CODE_OF_CONDUCT.md`
2022-04-20 14:06:04 +09:00
Yusuke Wada
0d41345247
chore: bump up to v0.5.10
2022-04-02 15:26:28 +09:00
Yusuke Wada
ea93cf8a1a
feat: add JSON pretty-print middleware ( #150 )
...
* feat: add JSON pretty-print middleware
* exports json pretty middleware
2022-04-02 15:25:32 +09:00
Yusuke Wada
cb81a95c9e
chore: bump up to v0.5.9
2022-04-02 14:34:40 +09:00
Yusuke Wada
769c2e6571
chore: bump up to v0.5.8
2022-03-30 10:04:21 +09:00
Yusuke Wada
17c79aa557
feat: exports crypto util in package.json ( #147 )
...
* feat: implement `encodeBase64`
* feat: exports crypto util
2022-03-30 10:03:02 +09:00
Yusuke Wada
78d1e840a4
chore: bump up to v0.5.7
2022-03-29 14:50:16 +09:00
Yusuke Wada
1be2e6c393
feat: exports utility methods ( #146 )
2022-03-29 14:49:14 +09:00
Yusuke Wada
a1991643f0
chore: bump up to v0.5.6
2022-03-27 22:48:06 +09:00
Yusuke Wada
93b54e6e48
fix: exports
path on package.json ( #143 )
2022-03-27 20:54:27 +09:00
Yusuke Wada
3cc5ad1629
feat: add GraphQL server middleware ( #142 )
2022-03-27 20:27:52 +09:00
Yusuke Wada
ac8efa79c9
chore: bump up to v0.5.5
2022-03-16 18:42:25 +09:00
Yusuke Wada
af4602ecac
chore: export etag middleware ( #139 )
2022-03-16 18:41:31 +09:00
Yusuke Wada
2dfaf00148
chore: export trie-router in package.json ( #138 )
2022-03-16 18:37:19 +09:00
Yusuke Wada
6e370231b2
chore: bump up to v0.5.4
2022-03-11 07:56:57 +09:00
Yusuke Wada
db2382e880
chore: bump up to v0.5.3
2022-03-10 15:45:13 +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
Yusuke Wada
4ed5d478be
bump up to v.0.5.2
2022-03-08 19:17:34 +09:00
Yusuke Wada
7a31de59b5
feat: basic auth middleware supports overriding hashFunction
( #128 )
2022-03-08 19:10:12 +09:00
Yusuke Wada
9d41d008de
bump up to v0.5.1
2022-03-02 04:07:20 +09:00
Yusuke Wada
4ad7259796
Bump up to v0.5.0
2022-02-26 08:39:59 +09:00
Yusuke Wada
be40084437
Bump up to v0.4.2
2022-02-23 11:35:15 +09:00
Yusuke Wada
bd2907219c
feat: exports RegExpRouter
( #115 )
...
It might be default router.
2022-02-23 09:58:24 +09:00
Yusuke Wada
0a6afc2c74
refactor: directory structure ( #114 )
...
* refactor: move trie-router
* refactor: mv node.ts
* refactor: do not use `test` directory
* fix eslint target
2022-02-23 09:35:05 +09:00
Yusuke Wada
2f08c0fc86
Bump up to v0.4.1
2022-02-20 22:45:55 +09:00
Yusuke Wada
9c397fbff3
chore: set up prettier ( #106 )
2022-02-17 21:24:08 +09:00
Yusuke Wada
fca3ddeb87
bump up to v0.4.0
2022-02-16 11:08:47 +09:00
Yusuke Wada
354dd795b0
bump up to v0.3.8
2022-02-14 15:35:41 +09:00
Yusuke Wada
cbcefa2a3c
fix: exports package.json
2022-02-10 10:00:45 +09:00
Yusuke Wada
b872cd2e56
Bump v0.3.7
2022-02-08 05:54:53 +09:00
Yusuke Wada
8e8b01703a
feat: exports buffer util ( #96 )
2022-02-08 05:53:56 +09:00
Yusuke Wada
2aa44417ee
Bump to v0.3.6
2022-02-05 23:31:57 +09:00
Yusuke Wada
c38f1c896c
Bump v0.3.5
2022-02-04 08:02:10 +09:00
Yusuke Wada
b049cfa213
Bump to v0.3.4
2022-02-03 22:11:52 +09:00
Yusuke Wada
30b0c447aa
fix: use require ( #87 )
2022-02-03 22:11:19 +09:00
Yusuke Wada
48b1b8194c
Bump v0.3.3
2022-02-03 08:44:31 +09:00
Yusuke Wada
d5280a1e0a
feat: Basic-auth with polyfill ( #86 )
...
* feat: Basic-auth with polyfill
Basic auth support Fastly Compute@Edge with polyfills
* Try-cache
* Add negative tests
2022-02-03 08:40:20 +09:00
Yusuke Wada
0297e178d5
Bumped v0.3.2
2022-02-02 17:56:07 +09:00
Yusuke Wada
ebec91cbd9
Bumped v0.3.1
2022-02-02 10:30:42 +09:00
Yusuke Wada
22f6e724d8
Bumped v0.3.0
2022-02-01 22:17:01 +09:00
Yusuke Wada
7dd486ad7b
feat: builtin middleware as sub module ( #81 )
...
# BREAKING CHANGES!!
Now, builtin middleware are not in main package. You can't use `Middleware.logger()` method. Call sub modules if needed:
```js
import { Hono } from 'hono'
import { poweredBy } from 'hono/powered-by'
import { logger } from 'hono/logger'
const app = new Hono()
app.use('*', poweredBy())
app.use('*', logger())
```
Closes: #80
---
* feat: builtin middleware as sub module
* fixed middleware
* Update readme
* Add types
* New gif
2022-02-01 22:15:00 +09:00
Yusuke Wada
e6e3b17792
Bumped v0.2.4
2022-01-31 14:41:36 +09:00
Yusuke Wada
07a3de4190
Bumped v0.2.3
2022-01-29 10:31:57 +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
a514a5dbc8
Bumped v0.2.0
2022-01-26 13:12:20 +09:00
Yusuke Wada
f5a5654422
Bumped v0.1.0 🎉
2022-01-21 23:38:58 +09:00
Yusuke Wada
aa052a05eb
Bumped v0.0.16
2022-01-19 18:47:14 +09:00
Yusuke Wada
98924ce164
Bumped v0.0.15
2022-01-19 01:45:08 +09:00
Yusuke Wada
bde83550e2
Bump v0.0.14
2022-01-16 21:56:33 +09:00
Yusuke Wada
13b9730ce7
Bumped v0.0.13
2022-01-12 09:27:28 +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
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
83f731f259
Bumped to 0.0.12
2022-01-08 14:08:44 +09:00
Minghe
cb4f3d6282
feat(basic-auth): basic-auth middleware ( #28 )
...
* feat(basic-auth): basic-auth middleware
* fix(dep): update yarn.lock
* refactor(review): resolove some comments
2022-01-07 17:44:08 +09:00
Minghe
7c87ac68cd
Setup lint to enable code styles check ( #27 )
...
* feat(ci): setup github action to enable ci
* feat(ci): enable lint
* fix(lint): fix critical code style issues
2022-01-07 07:03:54 +09:00
Yusuke Wada
e6039f69f9
Migrate to TypeScript ( #21 )
...
* Migrate to TypeScript
* ready for publish
2022-01-05 18:41:29 +09:00
Yusuke Wada
dbb5016a58
Use edge-mock instead of node-fetch ( #18 )
2022-01-04 07:02:31 +09:00
Yusuke Wada
dd2ec20807
Bumped v0.0.10
2022-01-03 18:15:44 +09:00
Yusuke Wada
e9e4ec096a
Add keywords to package.json ( #13 )
2022-01-02 22:01:09 +09:00
Yusuke Wada
5408416ce0
Bumped v0.0.9
2022-01-02 00:31:01 +09:00
Yusuke Wada
e32ed85ad1
Bumped v0.0.8
2022-01-01 16:24:52 +09:00
Yusuke Wada
1ad6549e81
Bumped v0.0.7
2022-01-01 15:35:17 +09:00
Yusuke Wada
8baa6b35d3
Bumped v0.0.6
2021-12-28 15:22:11 +09:00
Yusuke Wada
146dfbf743
Bumped v0.0.5
2021-12-28 01:35:33 +09:00
Yusuke Wada
b70bfb0558
Pass the tests
2021-12-27 12:56:10 +09:00
Yusuke Wada
b348245234
Version++
2021-12-21 17:40:08 +09:00
Yusuke Wada
cea29c7087
Remove not used modules
2021-12-20 06:59:29 +09:00
Yusuke Wada
c97dc75120
version++
2021-12-20 06:00:59 +09:00
Yusuke Wada
8ccbd616cd
Update router!
2021-12-17 15:31:08 +09:00
Yusuke Wada
e47d9646f5
Add example
2021-12-15 11:41:28 +09:00
Yusuke Wada
5526535c8c
Update package.json
2021-12-15 05:26:01 +09:00
Yusuke Wada
d8f49f4133
Fixed text
2021-12-15 05:05:03 +09:00
Yusuke Wada
e81a0e826e
Add source files
2021-12-15 04:58:45 +09:00
Yusuke Wada
4a68b0d8d7
Initial commit
2021-12-15 04:26:22 +09:00