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

181 Commits

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