Yusuke Wada
4f9d7f2d7e
fix(context): fixed bug raw Response
content-type is overwritten ( #836 )
2023-01-24 08:53:31 +09:00
Yusuke Wada
a53ae499d3
Merge branch 'main' into next
2023-01-23 08:40:17 +09:00
Yusuke Wada
1908be8f7e
v2.7.4
2023-01-23 08:37:44 +09:00
Yusuke Wada
033f23189c
fix(context): set the values of already set ( #834 )
2023-01-23 08:35:14 +09:00
Yusuke Wada
2afa06a5ba
feat(req): support c.req.valid('query')
( #832 )
2023-01-23 07:47:29 +09:00
Yusuke Wada
2de2ef3279
feat(validator): support multiple handlers w/ complex patterns. ( #831 )
2023-01-22 21:21:37 +09:00
Yusuke Wada
2ee0f739f5
fix(bun): fixed throwing the error in HTTPException
( #830 )
2023-01-22 15:06:55 +09:00
Yusuke Wada
698a783573
Merge branch 'main' into next
2023-01-22 14:28:13 +09:00
Yusuke Wada
e404319824
perf: use substring
and //.test
... ( #829 )
...
* v3.0.0-rc.8
* perf: use `substring` and `//.test` ...
2023-01-22 13:59:31 +09:00
Yusuke Wada
a60e46ae53
fix(request): make optional param type correct ( #826 )
...
* fix(request): make optional param type correct
* `ts-ignore`
* `denoify`
2023-01-22 13:32:33 +09:00
Yusuke Wada
4546b40cbd
chore: added missing module
...
(i've mistaken merging)
2023-01-19 23:06:17 +09:00
Yudai Nakata
1356b3570c
fix: correctly export pages adapter ( #819 )
2023-01-19 22:45:25 +09:00
Yusuke Wada
59b75b6561
v3.0.0-rc.7
2023-01-19 22:45:25 +09:00
Yusuke Wada
fd4f18f6cc
chore: denoify
2023-01-19 22:45:25 +09:00
Yusuke Wada
9184f038d3
fix: export Env
( #817 )
...
* v3.0.0-rc.6
* fix: export `Env`
2023-01-19 22:45:25 +09:00
Yusuke Wada
f2360a1c68
v3.0.0-rc.6
2023-01-19 22:45:25 +09:00
Yusuke Wada
49ffd51153
refactor(utils): remove minor mime types ( #816 )
2023-01-19 22:45:25 +09:00
Yusuke Wada
9958019d13
refactor: remove the json util not needed ( #815 )
2023-01-19 22:45:25 +09:00
Yusuke Wada
b6b1e5bc79
fix(context): enable destruction such json
( #813 )
...
This will fix #812
2023-01-19 22:45:25 +09:00
Yusuke Wada
eb6f1fdb0d
perf: optimize parsing queries and headers / 19% faster than 2.7.2 ( #811 )
2023-01-19 22:45:25 +09:00
Yusuke Wada
7beb64956c
feat: [BREAKING] introduce adapters ( #807 )
...
* feat: [BREAKING] introduce adapters
* added Next.js adapter
* denoify
2023-01-19 22:45:25 +09:00
Yusuke Wada
733f05c21c
refactor(types): more robust and flexible ( #806 )
...
* chore: denoify
* v3.0.0-rc.5
* refactor(types): more robust and flexible
* fixed some
2023-01-19 22:45:25 +09:00
Yusuke Wada
d00a47ef70
feat: introduce HTTPException
( #796 )
...
* feat: introduce `HTTPException`
* denoify and fixed tests for Lagon
2023-01-19 22:45:25 +09:00
Yusuke Wada
e989a93d01
refactor: tweak types ( #795 )
2023-01-19 22:45:25 +09:00
Yusuke Wada
d2dd42b35e
fix: fixed bugs handling TypeResponse
( #791 )
2023-01-19 22:45:25 +09:00
Yusuke Wada
e9e1d3baee
ci: run ci on next
branch
2023-01-19 22:45:25 +09:00
Yusuke Wada
b55c5d91d4
v3.0.0-rc.4
2023-01-19 22:45:25 +09:00
Taku Amano
9bc52a5ddd
feat(reg-exp-router): regexp support path including slashes. ( #789 )
...
* feat(reg-exp-router): `regexp` support path including slashes.
* chore: denoify
2023-01-19 22:45:25 +09:00
Yusuke Wada
b723faa81f
feat(trie-router): regexp
support path including slashes ( #768 )
...
* feat(trie-router): `regexp` support path including slashes
* refactor(trie-router): Use `splitRoutingPath`. (#781 )
* refactor(utils): splitRoutingPath, allow `@` to be safely used in parameter names. (#790 )
Co-authored-by: Taku Amano <taku@taaas.jp>
2023-01-19 22:45:25 +09:00
Yusuke Wada
548487aa53
chore: denoify
2023-01-19 22:45:25 +09:00
Yusuke Wada
e84ac2cffb
test: add tests and CI for Node.js ( #785 )
2023-01-19 22:45:23 +09:00
Yusuke Wada
6ca18a840d
chore: remove .npmignore
2023-01-19 22:44:38 +09:00
Yusuke Wada
f14b2c3656
ci: refine CI structures ( #784 )
...
* ci: refine CI structures
* fixed ci config
2023-01-19 22:44:38 +09:00
Yusuke Wada
3cd1b1dbf4
test: add tests and CI for Fastly Compute@Edge ( #783 )
...
* test: add tests and CI for Fastly Compute@Edge
* fix detecting which runtime is fastly and add the test for it
2023-01-19 22:44:38 +09:00
Yusuke Wada
da7eed2fb6
perf(url): cache queryIndex
( #780 )
2023-01-19 22:44:38 +09:00
Yusuke Wada
a50efe4fa9
perf(context): tune up handling headers 3% faster ( #778 )
...
* perf(context): tune up handling headers ~ 3% faster
* uppercase
* denoify
2023-01-19 22:44:38 +09:00
Yusuke Wada
5ac908f310
chore(benchmark): update iity-router
( #775 )
2023-01-19 22:44:38 +09:00
Yusuke Wada
b49e557e5b
refactor(types): shorten name, make it safer ( #774 )
...
* refactor(types): shorten name, make it safer
* remove not used
2023-01-19 22:44:38 +09:00
Yusuke Wada
6bee574ca3
refactor(validator): show type error if get/head with form/json ( #772 )
2023-01-19 22:44:38 +09:00
Yusuke Wada
b567a574d6
refactor: form body should be Record<string, string | File>
( #771 )
...
* refactor: form body should be `Record<string, string | File>`
* refactored
2023-01-19 22:44:38 +09:00
Yusuke Wada
4422a0929c
fix(validator): return message when Malformed JSON request body ( #770 )
2023-01-19 22:44:37 +09:00
Yusuke Wada
34514bc560
refactor(types): fix exporting and refactor ( #767 )
2023-01-19 22:44:37 +09:00
Yusuke Wada
e52e9ab463
fix(types): specify values of ValidationTypes
( #766 )
...
* fix(types): specify values of `ValidationTypes`
* export `ValidationTypes`
2023-01-19 22:44:37 +09:00
Yusuke Wada
50192ce5ad
v3.0.0-rc.3
2023-01-19 22:44:37 +09:00
Yusuke Wada
6c55b629ec
fix(types): fixed type structure ( #764 )
2023-01-19 22:44:37 +09:00
Yusuke Wada
d8abec9291
fix(jsonT): undefined
if it is not object ( #758 )
...
* v3.0.0-0
* fix(jsonT): `undefined` if it is not object
2023-01-19 22:44:37 +09:00
Yusuke Wada
397c12e181
refactor: refactor and fix Types ( #748 )
...
* wip
* refactor: refactor and fix Types
2023-01-19 22:44:34 +09:00
Yusuke Wada
85e3c6a275
feat: new validator middleware using 3rd-party & current middleware obsolete ( #745 )
...
* feat: introduce HonoRequest with "wrapper pattern" (#733 )
* feat: HonoRequest
* avoid `awaits`
* use `raw` instead of `original`
* feat: types for "RPC" support & build-in validator obsolete
* feat: introduce HonoRequest with "wrapper pattern" (#733 )
* feat: HonoRequest
* avoid `awaits`
* use `raw` instead of `original`
* create generic middleare for 3rd-party validator
* indent
* support multiple validators and refactor
* remove unsed lines
* denoify
2023-01-19 22:40:13 +09:00
Yusuke Wada
a6d54dbff3
feat: introduce HonoRequest with "wrapper pattern" ( #733 )
...
* feat: HonoRequest
* avoid `awaits`
* use `raw` instead of `original`
2023-01-19 22:40:13 +09:00
Yudai Nakata
8dfdba9b44
build: validate package exports after build ( #824 )
2023-01-19 22:32:11 +09:00