3118 Commits

Author SHA1 Message Date
lizheming
77f3f10570 chore: add asyncLocalStorage option supoort 2023-06-10 20:20:39 +08:00
Austin Lee
8c09b9bde4
Create translator.yml 2023-05-19 10:10:58 +08:00
lizheming
6f927be6d6 3.2.14 v3.2.14 2021-07-02 08:27:53 +08:00
lizheming
80507f6c4a feat: update helper version 2021-07-02 08:27:32 +08:00
lizheming
c3776be141 3.2.13 v3.2.13 2020-12-12 23:28:57 +08:00
lizheming
c19233d9bc fix: update think var definition
fix #1663
2020-12-12 23:22:15 +08:00
welefen
15432353a8 fix: fix parse referrer may be throw error 2020-08-19 09:23:18 +08:00
welefen
763a931e7b doc: update description 2020-08-14 13:55:12 +08:00
welefen
206adc35cf 3.2.12 2020-08-14 13:53:26 +08:00
welefen
886c3e6099
Merge pull request #1504 from xioxin/patch-1
Upgrade cookies to 0.8.0
2020-08-14 13:51:34 +08:00
xioxin
bc8e1ea3bf
Upgrade cookies to 0.8.0
Support "none" in sameSite option.
2020-08-14 13:47:43 +08:00
Welefen Lee
82616119ba
Merge pull request #1465 from thinkjs/bugfix/rm-url-leagacy
replace url legacy API by WHATWG URL
2020-01-12 15:33:07 +08:00
lizheming
f0bbfe24e9 update nodejs ci version 2020-01-12 15:28:36 +08:00
lizheming
4c268419da add URL define 2020-01-12 15:23:05 +08:00
lizheming
2bbcde02b4 replace url leagacy API by WHATWG URL 2020-01-12 13:02:21 +08:00
lushijie
465e86efcc 3.2.11 2019-12-23 09:31:20 +08:00
lushijie
a253b81dd6 Merge branch 'thinkjs3-ts' 2019-12-23 09:29:44 +08:00
Welefen Lee
132ad906be
Merge pull request #1451 from thinkjs/feature/runtime_path_config
[feature] expose RUNTIME_PATH config
2019-12-01 17:49:30 +08:00
lizheming
6d5fbeb805 add ts description 2019-11-30 16:26:33 +08:00
lizheming
d1a5026549 add runtime path config 2019-11-30 16:20:57 +08:00
lushijie
5bde86829c update index.d.ts 2019-11-20 17:35:48 +08:00
Austin Lee
b25986d813
Create FUNDING.yml 2019-09-13 16:21:17 +08:00
Austin Lee
19cefc582d
Merge pull request #1408 from thinkjs/feature/test-env
[feature] Auto detect test unit framework
2019-07-24 18:15:47 +08:00
lizheming
dc813484bf add unit test framework auto detect 2019-07-24 11:58:14 +08:00
lichengyin
8b815c5bfb feat: add v10, v12 test 2019-07-16 17:44:12 +08:00
lichengyin
99d1026dd5 refactor: use symbol instead of string 2019-07-16 17:06:09 +08:00
lizheming
2872d6ee5d 3.2.10 v3.2.10 2018-11-29 18:44:23 +08:00
公子
8f2e6fabf7
Merge pull request #1294 from meltifa/patch-1
补充缺少的rules属性类型验证
2018-11-20 11:12:39 +08:00
meltifa
2a6350a95d
Update index.d.ts
补充缺少的rules属性类型验证
https://thinkjs.org/zh-cn/doc/3.0/logic.html
2018-11-20 11:11:18 +08:00
SijieCai
0eb2abfffd 3.2.9 v3.2.9 2018-10-09 11:29:28 +08:00
SijieCai
dee356f11a fix index.d.ts, post can return any type 2018-10-09 11:28:20 +08:00
SijieCai
f043ea11a7 change type to types for ts in package.json 2018-09-28 16:30:52 +08:00
公子
90002ca102
Merge pull request #1248 from thinkjs/lizheming-patch-1
[bugfix] this.post('id') ts warning
2018-09-19 17:30:43 +08:00
公子
5c4dc35cfa
fix this.post('id') ts warning
this.post(name) should return some post values, it cloud be string, int, or object, so it return value type should be any.
2018-09-19 17:23:13 +08:00
公子
8bc303bdf7
fix isAjax d.ts 2018-09-14 16:38:11 +08:00
lizheming
0b4957fbb1 3.2.8 v3.2.8 2018-06-20 11:19:04 +08:00
lizheming
8d2ef623ab update think-router version 2018-06-20 11:18:30 +08:00
lichengyin
ab596d80b1 remove bluebird 2018-05-16 14:56:34 +08:00
公子
1a67ba909d
add ctx.module ts descrip 2018-05-09 09:49:44 +08:00
lushijie
cc74102d45 adjust logic __after 2018-04-23 10:47:50 +08:00
Welefen Lee
8fb207079c
Merge pull request #1129 from isLishude/patch-1
fix: fix type of ctx.failed()
2018-04-19 16:55:40 +08:00
islishude
2da29e340e fix: fix type of ctx.fail() 2018-04-18 21:21:42 +08:00
Shude Li
a333c8b5de
fix: fix type of ctx.failed()
`Controller.fail(errno: any, errmsg?: string, data?: string): any;` 中 data 参数使用 string,但是在 Logic 中使用的话,data 会传入 `Logic.validateErrors` ,而这里是个对象 (`Logic.validate(rules: Object, msgs?: Object): Object;`),我觉得 fail 方法 data 参数应该设置为 any 为好。
2018-04-18 21:07:27 +08:00
公子
63132edec5
Merge pull request #1126 from isLishude/master
fix: fix typos of `environment`
2018-04-10 15:55:51 +08:00
islishude
f3d8a9c951 fix: fix typos of Environment 2018-04-10 15:09:15 +08:00
islishude
8733ae52ba fix: fix typos 2018-04-10 15:02:11 +08:00
公子
3e8d8ac1b8
this.ctx.post() support 'a, b' 2018-03-15 21:14:51 +08:00
lizheming
e322da67c9 param() support 'a , b' 2018-03-05 19:07:27 +08:00
lizheming
0f8c52ee8f 3.2.7 v3.2.7 2018-02-28 22:04:03 +08:00
公子
214cec03c4
Merge pull request #1091 from thinkjs/lizheming/service-up
auto-complete service module
2018-02-28 20:58:23 +08:00