Yusuke Wada
acbd495bbe
fix(app): set /
for path
as default ( #1330 )
...
* fix(app): set `/` for `path` as default
* denoify
2023-08-15 00:33:16 +09:00
Yusuke Wada
5e653dfafd
v3.4.2
2023-08-14 23:35:45 +09:00
Yusuke Wada
70e0b3b8c6
denoify
2023-08-14 23:34:56 +09:00
Yusuke Wada
4112fc3a6e
feat(req): allow passing generics to c.req.param()
( #1329 )
2023-08-14 23:32:14 +09:00
Yusuke Wada
88537363d8
denoify
2023-08-14 22:46:45 +09:00
Yusuke Wada
b1f3858961
fix(types): fix handler types ( #1328 )
2023-08-14 22:30:58 +09:00
sizumita
fa75c26d0b
fix(type): Fix reflecting basePath when no path in handler ( #1325 )
...
* fix(type): Reflects BasePath in HandlerInterface if without path
* test(path): add path param tests for routing without path and with basePath
* did denonify
* fix(type): Handler type
* test(path): add test for chained route
2023-08-14 22:09:44 +09:00
Yusuke Wada
d8ed83ff61
test(routing): add tests for routing without path ( #1324 )
2023-08-14 18:01:36 +09:00
watany
41ee5a151a
fix lint ( #1313 )
2023-08-14 16:57:05 +09:00
CyberFlame
66b1619f2d
fix(cookie): misspell ( #1321 )
...
* fix misspell
* denoify
2023-08-14 16:11:14 +09:00
rosahaj
5320ed6c57
fix(type): Export Schema type to allow route exports in declaration files ( #1309 )
...
* Export Schema type to allow route exports in declaration files
* Apply changes to src/mod.ts as well
* denoify
2023-08-11 07:05:51 +09:00
watany
eefdb27e48
fix(adaptor): Access to custom request context on AWS Lambda Adaptor ( #1305 )
...
* v0.1
* lint
* test lint
* pritter
* prettier
2023-08-11 00:37:58 +09:00
Yusuke Wada
b7f12ddbe9
Revert "refactor(utils/url): remove unnecessary code ( #1315 )"
...
This reverts commit ce4ac5a6f5
.
2023-08-10 16:39:28 +09:00
Yusuke Wada
ce4ac5a6f5
refactor(utils/url): remove unnecessary code ( #1315 )
...
* refactor(utils/url): remove unnecessary code
* denoify
2023-08-10 15:02:14 +09:00
Yusuke Wada
48a8729862
perf(hono-base): use constructor.name
instead of instanceof
( #1311 )
...
* perf(hono-base): use `constructor.name` instead of `instanceof`
* denoify
2023-08-10 10:10:40 +09:00
Yusuke Wada
1fc573273d
chore: add github issue/PR templates ( #1314 )
2023-08-10 09:36:39 +09:00
Tim Fish
9be3b7b6dd
Add missing wasm mime type ( #1307 )
...
* Add missing wasm mime type
* deno dist
2023-08-09 21:45:07 +09:00
Yusuke Wada
fc73d5d105
v3.4.1
2023-08-08 11:28:17 +09:00
Yusuke Wada
a104bf0010
fix(netlify): fix import paths ( #1304 )
2023-08-08 09:35:05 +09:00
Yusuke Wada
e578633cdb
v3.4.0
2023-08-08 09:16:11 +09:00
Yusuke Wada
f7bce19751
fix(validator): support async validator func ( #1303 )
...
* fix(validator): support async validator func
* denoify
2023-08-07 21:26:53 +09:00
Yusuke Wada
85f8ab663f
refactor(app): add "deprecate message" for app.handleEvent()
( #1298 )
...
* refactor(app): add "deprecate message" for `app.handleEvent()`
* denoify
2023-08-05 23:41:45 +09:00
Yusuke Wada
4a3c5834de
chore(benchmark): update the handle-event benchmark ( #1297 )
...
* chore(benchmark): update the handle-event benchmark
* denoify
2023-08-05 23:37:41 +09:00
Yusuke Wada
8e2eaf9d24
docs(jsdoc): fix a app.route()
JSDoc description ( #1296 )
...
* docs(jsdoc): fix a `app.route()` JSDoc description
* denoify
2023-08-05 23:28:34 +09:00
Yusuke Wada
8b0f189a3f
refactor(json-pretty): don't use c.pretty()
( #1288 )
2023-08-05 18:14:57 +09:00
Yusuke Wada
09368ac9cc
feat(adapter): add Netlify adapter ( #1290 )
...
* feat(adapter): add Netlify adapter
* denoify
2023-08-05 18:12:02 +09:00
Yusuke Wada
85b54920f9
feat(parseBody): allow passing generics to parseBody()
( #1289 )
...
* feat(parseBody): allow passing generics to `parseBody()`
* denoify
2023-08-05 18:10:12 +09:00
byunghoo.yu
a7dd281827
fix(adapter/aws-lambda): use content-encoding to determine isBase64Encoded ( #1295 )
...
* aws-lambda adapter: use content-encoding to determine isBase64Encoded
* when contentType is binary, skip checking contentEncoding
* prettier
2023-08-05 18:08:19 +09:00
Torsten Engelbrecht
35246d0de6
feat(middleware): Simple cookie signing functionality ( #1279 )
2023-08-05 17:19:08 +09:00
Yusuke Wada
47ae014724
perf(context): add init
flag ( #1284 )
...
* perf(context): add `init` flag
* denoify
2023-08-04 00:09:12 +09:00
Yusuke Wada
d5cfe040d8
fix(types): add a missing handler type ( #1283 )
...
* fix(types): add a missing handler type
* fix & denoify
2023-08-03 23:09:58 +09:00
Yusuke Wada
379e3becf9
test(app): add more tests for hostname-routing ( #1282 )
2023-08-02 11:37:58 +09:00
watany
4f7d027f5b
doc(readme): adding Lambda@Edge ( #1278 )
2023-08-01 10:38:28 +09:00
Yusuke Wada
e851e9bd82
perf(utils/url): use regexp instead of indexOf()
( #1276 )
...
* perf(utils/url): use regexp instead of `indexOf()`
* remove unused file
* denoify
2023-07-29 23:38:55 +09:00
Yusuke Wada
8ea833a7d0
refactor(hono-base): remove async/await from app.request
( #1275 )
...
* refactor(hono-base): remove async/await from `app.request`
* denoify
2023-07-28 17:52:11 +09:00
Yusuke Wada
42294d9f1c
chore: tweak jest.config.js
( #1274 )
...
* chore: tweak `jest.config.js`
* fix for lagon test
2023-07-28 16:26:04 +09:00
Yusuke Wada
3d9c6b2338
v3.3.4
2023-07-27 12:16:21 +09:00
Yusuke Wada
5dc0975bd2
feat(cloudflare-pages): add serveStatic()
( #1273 )
2023-07-27 12:12:59 +09:00
Yusuke Wada
77b7ac7fe7
fix(utils/filepath): allow ..
in filename ( #1272 )
...
* fix(utils/filepath): allow `..` in filename
* denoify
* support `./foo../bar.txt`
* denoify
* add tests
---
Co-authored-by: Taku Amano <taku@taaas.jp>
2023-07-27 11:43:42 +09:00
DianomiJH
8ef9b5e0b0
fix(lambda): added generic parameters to aws-lambda handler to fix #1265 ( #1269 )
2023-07-27 09:43:07 +09:00
Yusuke Wada
614ab9d6e4
fix(utils/filepath): don't allow dot segments ( #1271 )
2023-07-27 08:37:20 +09:00
Codinak
1495f8b41b
fix(jsx): escapeToBuffer vulnerability ( #1266 )
...
* fix escapeToBuffer vulnerability
Escape single quote (0x27) to limit execution capabilities under certain conditions.
* denoify
2023-07-26 23:12:25 +09:00
watany
cbd5616e9d
fix(lambda-edge) Adding Export Type CloudFrontResponse and CloudFrontConfig ( #1263 )
...
* export type
* revert
2023-07-25 07:44:57 +09:00
Yusuke Wada
84973c999d
v3.3.3
2023-07-23 16:20:23 +09:00
Yusuke Wada
b0a368676e
fix(hono-base): enable strict
with getPath
option ( #1259 )
...
* fix(hono-base): enable `strict` with `getPath` option
* denoify
2023-07-23 16:03:45 +09:00
watany
ba346a4b63
feat(adaptor): Lambda@Edge supports response callbacks ( #1251 )
...
* change header
* fixed
* simple test
* minify
* refactor
* fix
* binding response
* fix
* fix
* remove fix
* remove lowercase
2023-07-21 16:59:32 +09:00
Yusuke Wada
14f5536ec6
v3.3.2
2023-07-20 17:52:22 +09:00
Yusuke Wada
5c1f7f033c
fix(hono/quick): use SmartRouter ( #1250 )
...
* fix(hono/quick): use SmartRouter
* denoify
2023-07-20 17:43:35 +09:00
Yusuke Wada
47dbeaa147
fix(trie-router-router): For "Named param with trailing wildcard" ( #1246 )
...
* fix(trie-router-router): For "Named param with trailing wildcard"
* denoify
2023-07-20 16:48:38 +09:00
Taku Amano
3e663af916
fix(pattern-router): For "Named param with trailing wildcard" ( #1244 )
...
* fix(pattern-router): For "Named param with trailing wildcard"
* chore: denoify
2023-07-20 16:48:21 +09:00