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
Yusuke Wada
dd830d405a
v2.7.3
2023-01-18 09:29:18 +09:00
Yusuke Wada
3e0f5dae31
fix: fixed type error for optional parameters ( #814 )
2023-01-18 09:25:37 +09:00
Yusuke Wada
da0a7ce55c
fix(context): enable destruction such json
( #813 )
...
This will fix #812
2023-01-18 08:23:58 +09:00
华晨
7103fe8426
remove unnecessary individual strict mode family options ( #805 )
2023-01-16 09:52:52 +09:00
Yusuke Wada
7126cf254e
v2.7.2
2023-01-09 00:33:00 +09:00
Yusuke Wada
4298f8266a
fix(cors): fix bugs handling pre-flight ( #792 )
2023-01-09 00:30:53 +09:00
Taishi Naritomi
897c4017b7
fix: package.json exports static-router ( #776 )
2023-01-04 17:49:48 +09:00
Yusuke Wada
c6969533a7
chore: update license, contributors as the copyright holders ( #769 )
2023-01-02 19:18:59 +09:00
Yusuke Wada
cce0525965
v2.7.1
2022-12-30 10:04:11 +09:00
Yusuke Wada
90de083e1d
chore: denoify
2022-12-30 10:01:46 +09:00
Yusuke Wada
a1b0ed1c55
chore(validator): show warnings about the breaking changes ( #760 )
2022-12-30 09:56:36 +09:00
Yusuke Wada
16896f936f
docs(migration): write about validator middleware ( #759 )
2022-12-30 09:45:52 +09:00
Yusuke Wada
aa080a8cec
v2.7.0
2022-12-27 23:10:37 +09:00
Taishi Naritomi
ac7fcfaff2
fix package.json & tsconfig.build.json ( #747 )
...
Fix #668
2022-12-27 22:59:23 +09:00
Tom Lienard
884b287f3d
feat: Lagon support with runtime detection & tests ( #742 )
...
* feat: Lagon support with runtime detection & tests
* ci: build before running test:lagon
* refactor: remove mentions of Lagon since it's still in dev
* test: enable ETag test
2022-12-25 01:42:59 +09:00
Yusuke Wada
4f772ddb44
docs(readme): fixed shields.io badage image url
2022-12-21 06:42:27 +09:00
Yusuke Wada
720d0c3ce2
v2.6.2
2022-12-14 22:14:28 +09:00
Yusuke Wada
9a6e4c1802
perf(context): c.text()
returns a response immediately if headers is empty ( #722 )
2022-12-14 22:03:02 +09:00
Yusuke Wada
d755ed50b5
fix(request): req.param()
should return undefined
not "undefined" ( #721 )
2022-12-14 01:07:07 +09:00
Yusuke Wada
c6b434addd
refactor: shorten
2022-12-13 20:36:30 +09:00
Yusuke Wada
b1973d0c7f
fix(type): make SchemaToProp
work correctly ( #720 )
2022-12-13 17:22:33 +09:00
Yusuke Wada
e6635e9997
chore: denoify
2022-12-12 22:10:14 +09:00
Ren Hiyama
b1fbaecbec
Log a more detailed error stack. ( #719 )
2022-12-12 22:01:42 +09:00
Yusuke Wada
52ef58396e
v2.6.1
2022-12-11 11:15:13 +09:00