Commit Graph

182 Commits

Author SHA1 Message Date
思忠 2501c9bb68 chore: publish icejs@1.7.2 2020-08-17 10:51:31 +08:00
思忠 2eb6c33826 chore: publish icejs@1.7.1-beta 2020-08-13 16:36:37 +08:00
二凢 5dba0ca88e
feat: request 增加泛型支持,修复request.get等方法返回数据类型错误 (#3431) 2020-08-12 19:59:52 +08:00
chenbin92 2272f1838c
chore: update version (#3409)
* chore: update version

* chore: use latest version
2020-08-10 14:55:42 +08:00
chenbin92 974e0a0152
feat: support use react write miniapp (#3393) (#3344) 2020-08-06 17:48:19 +08:00
f00bar df9fa58182
fix: function as parameter in useRequest (#3389) 2020-08-04 22:59:10 +08:00
思忠 468b54dfa1 v1.6.4-alpha.0 2020-07-30 10:36:39 +08:00
思忠 943b267519 v1.6.3 2020-07-09 15:53:14 +08:00
思忠 3796ccb0a8 test: test useRequest service 2020-07-09 15:49:48 +08:00
思忠 014641ef40 v1.6.3-alpha.1 2020-07-09 15:20:25 +08:00
chenbin92 1cc8884edc
fix: upgrade @ahooksjs/use-request (#3324) 2020-07-09 10:58:26 +08:00
思忠 a223f053a5 v1.6.3-alpha.0 2020-07-08 17:21:01 +08:00
sspku-yqLiu 710e75611c
feat: change module.ts to runtime.ts (#3323)
* feat:  change module.ts to runtime.ts

issue: #3286

* feat: change 'module.ts' in filenames, docs and comments to 'runtime.ts'

* fix: add WARN message when plugins using 'module.ts' & edit comment
2020-07-07 18:01:53 +08:00
思忠 c8f23b7b72 v1.6.2 2020-07-02 13:57:54 +08:00
思忠 909a39b0f8 v1.6.2-alpha.0 2020-07-02 11:54:11 +08:00
思忠 507624d291 v1.6.1 2020-06-30 11:09:45 +08:00
思忠 403bede88f v1.6.1-alpha.0 2020-06-30 10:36:23 +08:00
思忠 60a12793b7 v1.6.0 2020-06-22 16:36:39 +08:00
思忠 2643f28470 v1.6.0-alpha.2 2020-06-22 16:17:25 +08:00
Hengchang Lu c84011a98a
Feat: support prerender (#3252)
* feat: init plugin-prerender

* feat: support minify and renderer

* feat: add example

* feat: support mpa prerender

* fix: fix entryName

* docs: add prerender docs

* docs: add README.md

* docs: update docs

* fix: fix by the comment

* fix: fix ci problem

* fix: fix ci problem

* fix: fix by the comment

* docs: update docs

* docs: update docs

* docs: update docs

* v1.6.0-alpha.0

* docs: add nginx deploy docs

* docs: optimize

* docs: update prerender docs

Co-authored-by: 思忠 <chenbinbin.cb@alibaba-inc.com>
2020-06-22 14:48:13 +08:00
思忠 7b19bfbd18 v1.6.0-alpha.1 2020-06-18 11:16:03 +08:00
思忠 9699162c17 v1.5.0 2020-06-08 14:45:07 +08:00
思忠 3bda971349 v1.5.0-alpha.2 2020-06-08 12:39:10 +08:00
思忠 4af4ab71e4 fix: add template files 2020-06-08 12:36:37 +08:00
思忠 b5f5aa5fad v1.5.0-alpha.1 2020-06-08 10:54:26 +08:00
chenbin92 a2d991b001
Feat/enhance useRequest (#3243)
* feat: integration ahooks useRequest

* refactor: useRequest types

* chore: fix lint

* refactor: rename template

* docs: add useRequest api

* feat: useRequest test (#3247)

* feat: setup test environment

* feat: add request test

* feat: add useRequest test

* fix: remove codecov.yml

* fix: exclude test in tsconfig

* fix: ci scripts

* chore: optimize code

* refactor: workflows

* fix: add react-test-renderer deps

* feat: useRequest test case

* feat: codecov ci

* chore: optimize code

* chore: update yarn lock
2020-06-08 09:49:38 +08:00
思忠 03828281ec v1.5.0-alpha.0 2020-06-04 16:39:05 +08:00
思忠 bebc7bc64f v1.4.0 2020-05-25 16:43:16 +08:00
思忠 a81e834cb6 v1.4.0-alpha.2 2020-05-25 15:56:35 +08:00
思忠 00a821a2c0 v1.4.0-y.0 2020-05-25 15:51:02 +08:00
思忠 a746905929 v1.4.0-alpha.1 2020-05-25 14:57:17 +08:00
chenbin92 5ff04231b1
fix: request error (#3231) 2020-05-25 13:15:29 +08:00
思忠 c70f7eda8c v1.4.0-alpha.0 2020-05-25 09:01:52 +08:00
chenbin92 b1cb26d5bb
refactor: store getInitialStates deprecated (#3222)
* refactor: store getInitialStates deprecated

* fix: lint

* fix: getInitialStates order

* fix: lint rule

* docs: update getInitialData api
2020-05-22 13:58:14 +08:00
chenbin92 2b4ec301f4
feat: allow creating multi request instances (#3216)
* feat: allow creating multi request instances

* docs: update request

* fix: compatibility data is empty

* refactor: rename to instanceName

* fix: typo
2020-05-21 14:06:25 +08:00
chenbin92 b9e76a15cd
fix: return request data (#3212) 2020-05-20 18:38:20 +08:00
思忠 dda52a4c1c v1.3.0 2020-05-14 16:37:27 +08:00
chenbin92 fa630bf5a0
Fix/release bugs (#3205)
* fix: types & log

* v1.2.2-alpha.4

* fix: no match single page file

* v1.2.2-alpha.5
2020-05-14 15:56:58 +08:00
思忠 c4b6dde4a3 v1.2.2-alpha.3 2020-05-14 13:42:05 +08:00
chenbin92 c8bcd14c84
feat: enhance use request types (#3195)
* feat: enhance useRequest types

* chore: remove comments

* docs: useRequest usage

* v1.2.2-alpha.2

* docs: add withFullResponse api

* docs: refactor request docs

* chore: typo

* chore: useRequest docs

* docs: fix typo

* docs: optimize title
2020-05-14 13:23:57 +08:00
chenbin92 b5c10cbb77
fix: upgrate react-dev-utils (#3190)
* fix: upgrate react-dev-utils

* v1.2.2-alpha.1

* fix: set transportMode to ws

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2020-05-11 22:41:27 +08:00
chenbin92 a6f265a2dd
fix: repository url (#3192) 2020-05-11 14:15:16 +08:00
chenbin92 469d4cee03
feat: support promise function with useRequest (#3188) 2020-05-11 09:57:18 +08:00
ClarkXia a95e53346c fix: disable eslint by default (#295)
* fix: disable eslint by default

* chore: remove plugin-rml

* chore: version

* v1.2.1-alpha.1

* v1.2.1
2020-04-28 18:55:36 +08:00
思忠 183b1d9b61 v1.2.0 2020-04-27 16:58:50 +08:00
思忠 2a6632f55f v1.2.0-alpha.2 2020-04-27 16:21:53 +08:00
chenbin92 a0d29ed55f Revert "feat: useRequest support fn (#268)" (#288)
This reverts commit 62052efed4ff7f5d909ff877babd86083cca54d6 [formerly 1c2d80a1e8].
2020-04-27 14:42:57 +08:00
思忠 60641c08e3 v1.2.0-alpha.1 2020-04-27 12:20:01 +08:00
Hengchang Lu 0552a8a704 feat: refactor plugin types (#285) 2020-04-27 12:13:21 +08:00
chenbin92 d18d841168 fix: interceptor config is optional (#284) 2020-04-27 11:33:55 +08:00
思忠 91c1b7029b v1.2.0-alpha.0 2020-04-26 16:12:11 +08:00
许文涛 1d454671c0 feat: useRequest support fn (#268) 2020-04-24 10:19:43 +08:00
chenbin92 9f97e10eaf Release v1.1.9
* fix: file path formats on Windows (#270)

* fix: compatible single file page (#275)

* v1.1.9
2020-04-23 16:57:43 +08:00
思忠 09a372429d v1.1.8 2020-04-20 21:19:23 +08:00
思忠 80590ef932 v1.1.7 2020-04-20 17:20:19 +08:00
思忠 6b995839f7 v1.1.7-alpha.1 2020-04-20 17:02:14 +08:00
思忠 29d3388baf v1.1.6 2020-04-20 14:13:54 +08:00
思忠 a98cb50a7f chore: code optimize 2020-04-20 10:53:01 +08:00
思忠 98db9394cc v1.1.6-alpha.2 2020-04-20 10:22:02 +08:00
思忠 80c6d0da59 fix: remove status field 2020-04-17 17:39:24 +08:00
思忠 8e4f9f9a93 v1.1.6-alpha.1 2020-04-17 15:01:51 +08:00
许文涛 c85e2491bc feat: support service (#230) 2020-04-17 11:09:35 +08:00
思忠 278c868c90 v1.1.5 2020-04-08 18:58:50 +08:00
ClarkXia 4abd05d04c v1.1.5-alpha.5 2020-04-08 18:34:34 +08:00
liuxiong.lx ea05224a6d v1.1.5-alpha.4 2020-04-08 17:46:39 +08:00
思忠 6e95a41c22 v1.1.5-alpha.2 2020-04-08 16:39:45 +08:00
思忠 4a91d50943 v1.1.5-alpha.1 2020-04-08 13:47:50 +08:00
思忠 eff5dccf67 v1.1.5-alpha.0 2020-04-08 12:23:32 +08:00
思忠 b5bd477b91 v1.1.4 2020-04-07 23:10:49 +08:00
思忠 5a44a79a01 v1.1.4-alpha.8 2020-04-07 19:52:47 +08:00
思忠 9b0f651818 v1.1.4-alpha.6 2020-04-07 12:16:41 +08:00
思忠 6a0f045446 v1.1.4-alpha.5 2020-04-07 11:45:22 +08:00
思忠 431f4e6788 v1.1.4-alpha.4 2020-04-07 11:32:38 +08:00
chenbin92 707fac20ec feat: memo request (#218)
* feat: memo request

* fix: remove dependencies in useCallback

* fix: lint error
2020-04-07 11:15:22 +08:00
思忠 f7531b7360 v1.1.4-alpha.3 2020-04-03 21:29:55 +08:00
思忠 c676c9073b v1.1.4-alpha.2 2020-04-03 16:48:56 +08:00
思忠 f899727e2d v1.1.4-alpha.1 2020-04-02 14:33:50 +08:00
思忠 8d26a1838f v1.1.4-alpha.0 2020-03-31 21:05:55 +08:00
思忠 4d39cb638f v1.1.3 2020-03-30 17:09:40 +08:00
思忠 c331cc12e4 v1.1.3-alpha.4 2020-03-30 16:35:34 +08:00
chenbin92 5c24813d72 feat: add static module (#188)
* fix: set polyfill

* fix: before load module

* fix: load module in createApp

* chore: rename variable

* feat: support uglify

* refactor: code optim
2020-03-30 16:27:47 +08:00
大果 37044ae198 chore: revert beforeload (#185)
* Revert "Feat/enhance request (#161)"

This reverts commit 04f50b1104de5dbe8908c1bb4c2ccb904fc18f59 [formerly 0ceed05e05].

* v1.1.3-alpha.3
2020-03-27 23:38:45 +08:00
思忠 bf8d2ec70f v1.1.3-alpha.2 2020-03-27 18:35:28 +08:00
思忠 491d5b5c70 v1.1.3-alpha.1 2020-03-27 17:26:50 +08:00
chenbin92 728e18c3ab Feat/enhance request (#161)
* feat: enhance request

* refactor: load module time (#174)

* refactor: load module

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2020-03-27 16:42:58 +08:00
liuxiong.lx b5c0e2e592 v1.1.3-alpha.0 2020-03-26 22:44:00 +08:00
chenbin92 2b88dd9625 fix: semicolons is required (#162) 2020-03-26 17:17:09 +08:00
ClarkXia 80c746f52a chore: release 1.1.2 (#154)
* fix: fs-extra dependency

* v1.1.2-alpha.0

* v1.1.2

Co-authored-by: liuxiong.lx <liuxiong.lx@alibaba-inc.com>
2020-03-24 17:30:02 +08:00
大果 f844fd113e chore: release v1.1.1 (#152) 2020-03-24 16:26:53 +08:00
liuxiong.lx e6d775ba6d v1.1.1-alpha.2 2020-03-24 15:37:20 +08:00
ClarkXia 719b22dcb5 fix: request type (#151) 2020-03-24 15:34:07 +08:00
liuxiong.lx 50981ba8fb v1.1.1-alpha.1 2020-03-24 14:11:05 +08:00
liuxiong.lx f6d68f8368 chore: 1.1.0-alpha.0 2020-03-24 09:47:21 +08:00
liuxiong.lx 9bb071d91c chore: version 2020-03-23 17:48:15 +08:00
chenbin92 077fb17dc6 Release (#125)
* chore: release v1.1.0

* feat: support ssr (#117)

* feat: support update apps in layout (#126)

* fix: wrapper route component with suspense (#112)

* fix:keep classnames and fnames when minifying (#119)

* fix: compatible with pages folder (#124)

* fix: config entry is not effective (#134)
2020-03-20 23:54:15 +08:00
思忠 b3b82b6ca0 v1.0.16 2020-03-17 14:14:37 +08:00
chenbin92 5d5c22f4d1 Release (#110)
* fix: wrapper route component with suspense (#112)

* fix:keep classnames and fnames when minifying (#119)

* fix: component names

* fix: keep classnames and fnames when minifying

* fix: merge terserOptions

* feat: sync package to tnpm
2020-03-17 12:00:41 +08:00
思忠 916e38c16c v1.0.15 2020-03-12 22:27:33 +08:00
思忠 e0cafb925e v1.0.15-alpha.0 2020-03-12 21:34:01 +08:00
chenbin92 7bb8c703ef fix: ts types (#102)
* fix: request types

* refactor: add icestark types

* refactor: add types to example
2020-03-11 18:52:27 +08:00