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

297 Commits

Author SHA1 Message Date
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