From aada7662faddbc2f7eb0c5d200e4753d3ebbf0ba Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Mon, 22 May 2023 14:51:59 +0800 Subject: [PATCH] feat: remove debug deps (#112) --- .github/workflows/nodejs.yml | 2 +- AUTHORS | 17 -- CHANGELOG.md | 315 +++++++++++++++++++++++++++++++++++ History.md | 312 ---------------------------------- README.md | 13 ++ lib/client/client.js | 6 +- package.json | 5 +- 7 files changed, 334 insertions(+), 336 deletions(-) delete mode 100644 AUTHORS delete mode 100644 History.md diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 634d0f2..b5de665 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -15,7 +15,7 @@ jobs: uses: artusjs/github-actions/.github/workflows/node-test.yml@v1 with: os: 'ubuntu-latest' - version: '14, 16, 18' + version: '14, 16, 18, 20' install: | tar xf zookeeper-3.4.6.tar.gz mv zookeeper-3.4.6/conf/zoo_sample.cfg zookeeper-3.4.6/conf/zoo.cfg diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index c9421ab..0000000 --- a/AUTHORS +++ /dev/null @@ -1,17 +0,0 @@ -# Ordered by date of first contribution. -# Auto-generated by 'contributors' on Mon, 07 Nov 2022 00:49:23 GMT. -# https://github.com/xingrz/node-contributors - -zōng yǔ (https://github.com/gxcsoccer) -zōng yǔ -zl <1183163+smile21@users.noreply.github.com> -RabbitSion (https://github.com/RabbitSion) -killa -mansonchor.github.com -兔子人开源 (https://github.com/chans-open-source) -陈峰 <348018533@qq.com> -mansonchor.github.com (https://github.com/mansonchor) -fengmk2 (https://github.com/fengmk2) -羊鹿 -hyj1991 (https://github.com/hyj1991) -mytEcust diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c94df7..38d544e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,3 +13,318 @@ ### Features * support localStorage mode on sdk-base ([#109](https://github.com/sofastack/sofa-rpc-node/issues/109)) ([be9a630](https://github.com/sofastack/sofa-rpc-node/commit/be9a630891e8b4c00226a193d1bb9a2775acc4eb)) + +--- + + +2.7.0 / 2022-12-05 +================== + +**features** + * [[`178cb61`](http://github.com/sofastack/sofa-rpc-node/commit/178cb6168ba948a0899c0f9817fc161544a78932)] - feat(lib): support consumer ready timeout (#108) (KenyeeCheung <>) + +2.6.0 / 2022-11-25 +================== + +**features** + * [[`a11b04e`](http://github.com/sofastack/sofa-rpc-node/commit/a11b04eb493061ef684f65a381360efe6fc41219)] - 👌 IMPROVE: Try to use ctx.logger first (#106) (fengmk2 <>) + +**others** + * [[`590be81`](http://github.com/sofastack/sofa-rpc-node/commit/590be8156112f96a343a6cb3a269f12a1831a93c)] - 🤖 TEST: Only test Node.js >= 14 (#105) (fengmk2 <>) + +2.5.0 / 2022-11-06 +================== + +**others** + * [[`c32eb53`](http://github.com/sofastack/sofa-rpc-node/commit/c32eb53d24fbeb15b801c9ad25bb9bfe2fc3dc58)] - chore: add parseRequestPropsWithHeader decode option (#104) (mytEcust <>) + +2.4.0 / 2022-09-26 +================== + +**features** + * [[`a8201b7`](http://github.com/sofastack/sofa-rpc-node/commit/a8201b72ccbbf6b54a101dee93acc3b0e869694d)] - feat(graceful): support serverGracefulIgnoreCode (#103) (hyj1991 <>) + +**others** + * [[`e74e280`](http://github.com/sofastack/sofa-rpc-node/commit/e74e280e24b3e1c9810675bff5140e0b467cd600)] - Create codeql-analysis.yml (fengmk2 <>) + +2.3.1 / 2022-09-06 +================== + +**fixes** + * [[`50b8500`](http://github.com/sofastack/sofa-rpc-node/commit/50b8500c7b7edf41f07aacf023da255a2acf9804)] - fix: print err if encoder/decoder error (#101) (killa <>) + +2.3.0 / 2022-04-12 +================== + +**features** + * [[`a88bf21`](http://github.com/sofastack/sofa-rpc-node/commit/a88bf21cdf99db807655a7e49a61d7d2ca768795)] - feat: do loadBalancer close when address_group close (mansonchor <>) + +2.2.2 / 2022-03-18 +================== + +**fixes** + * [[`91760de`](http://github.com/sofastack/sofa-rpc-node/commit/91760de4fbe3a61ea85a5018e72fedff5e5bad61)] - fix: 去掉 err 上附带 req 信息,打印 error 的话可能存在安全内容泄漏 (#94) (mansonchor.github.com <>) + +2.2.1 / 2022-03-17 +================== + +**others** + * [[`e06219e`](http://github.com/sofastack/sofa-rpc-node/commit/e06219e5479504d92964d2114a5a35c39db3d690)] - fix AddressGroup Ready may on 'next' event many times (#86) (羊鹿 <>) + +2.2.0 / 2022-03-13 +================== + +**features** + * [[`394b0ff`](http://github.com/sofastack/sofa-rpc-node/commit/394b0ff246280b50e8d11ab46c09c353d54f40c8)] - feat: 运行覆盖 ConnectionManager 初始化链接异常消息 (#91) (fengmk2 <>) + +2.1.0 / 2022-03-12 +================== + +**fixes** + * [[`11411f2`](http://github.com/sofastack/sofa-rpc-node/commit/11411f2a543d47fc4fe7681336c0ec4b99ea792c)] - fix: 统一使用 connectionManager 提供的 API (mansonchor.github.com <>) + * [[`6717e4f`](http://github.com/sofastack/sofa-rpc-node/commit/6717e4f9d980d95fcdd79ec232e0e1f154cfa9f9)] - fix: should await ready in invoke insteadof _invoke (#74) (killa <>) + * [[`99124c9`](http://github.com/sofastack/sofa-rpc-node/commit/99124c92fb90076df1d158c23772855cc73421c2)] - fix: create consumer with cache: false, will not override client._consumerCache map (#71) (mansonchor.github.com <>) + +**others** + * [[`23cc741`](http://github.com/sofastack/sofa-rpc-node/commit/23cc7412b3eaf3a07bff854d61661c87f0c5da7e)] - test: skip unstable assert (fengmk2 <>) + * [[`3436650`](http://github.com/sofastack/sofa-rpc-node/commit/3436650a8201806f3f88bdaad517586cc07e1fc8)] - chore: remove autod (fengmk2 <>) + * [[`b92c60d`](http://github.com/sofastack/sofa-rpc-node/commit/b92c60d151c84172d4726e40f60b1c14f1b79faf)] - test: run ci on GitHub Action (fengmk2 <>) + * [[`ef9ffa8`](http://github.com/sofastack/sofa-rpc-node/commit/ef9ffa8ac7178580b4c7c31e4e697eebbcf79393)] - refactor: support child class overwrite connections mng (#75) (killa <>) + +2.0.0 / 2020-07-07 +================== + +**others** + * [[`87b7683`](http://github.com/alipay/sofa-rpc-node/commit/87b7683ce93b44235e27c4d91d9f40629b174591)] - chore: upgrade sofa-bolt-node@2.0.1 (#70) (zōng yǔ <>) + +1.19.0 / 2020-07-02 +================== + +**fixes** + * [[`578528f`](http://github.com/alipay/sofa-rpc-node/commit/578528f4d20fff09d3ab566f59ccd3039cc4ecaf)] - fix: no provider wrapError (#69) (陈峰 <<348018533@qq.com>>) + +**others** + * [[`1560625`](http://github.com/alipay/sofa-rpc-node/commit/1560625421a8b0f5da519e2b2ba6b8dcba7dd218)] - egg的rpc.server支持customMeta配置,用于支持自定义元数据; (#67) (ChangedenChan <>) + +1.18.0 / 2020-03-23 +================== + +**features** + * [[`92e881c`](http://github.com/sofastack/sofa-rpc-node/commit/92e881c9071a354a6cc0fe8896f98f23bd62d946)] - feat: consumer parseUrl 前过滤非字符串内容 (#66) (mansonchor.github.com <>) + +1.17.0 / 2020-03-12 +================== + +**features** + * [[`6c16373`](http://github.com/sofastack/sofa-rpc-node/commit/6c16373f28c48a7e95169487a94dac2c95084bf2)] - feat: createConsumer support cache control (#65) (mansonchor.github.com <>) + +1.16.1 / 2020-02-28 +================== + +**fixes** + * [[`d18dabd`](http://github.com/sofastack/sofa-rpc-node/commit/d18dabda79ee44207183472c440e9f3d4b08db82)] - fix: mw should have no effective with result code (#63) (killa <>) + +1.16.0 / 2019-12-24 +================== + +**features** + * [[`a7e5cdb`](http://github.com/sofastack/sofa-rpc-node/commit/a7e5cdb500edf8557a1437c7edb038967f9be480)] - feat: support disable client decode cache (#62) (killa <>) + +1.15.0 / 2019-12-24 +================== + +**features** + * [[`ded6ad1`](http://github.com/sofastack/sofa-rpc-node/commit/ded6ad105a84a84929c999f5ee9e58433d518d2d)] - feat: support disable decode cache (#61) (killa <>) + +1.14.2 / 2019-10-16 +================== + +**fixes** + * [[`e51c0ff`](http://github.com/alipay/sofa-rpc-node/commit/e51c0ff88ecde604c1325156809b6f5056de581b)] - fix: print warn log when connection count great than limit (#58) (killa <>) + +1.14.1 / 2019-06-20 +================== + +**others** + * [[`b1547fd`](http://github.com/alipay/sofa-rpc-node/commit/b1547fdd3b909e16c09cfe30147079b2251a5b77)] - chore: print req info if rpc server handleRequest failed (#53) (zōng yǔ <>) + +1.14.0 / 2019-06-19 +================== + +**features** + * [[`0ba7c9f`](http://github.com/alipay/sofa-rpc-node/commit/0ba7c9f068720b9cbc3dac01bcc88dfa46b90793)] - feat: support zk registry to config acl (#52) (zōng yǔ <>) + +1.13.0 / 2019-06-04 +================== + +**others** + * [[`fb29b09`](http://github.com/alipay/sofa-rpc-node/commit/fb29b09ad5f71fada3938aa35f2f1364cff76602)] - refactor: choose addresses in loadbalancer (#49) (zōng yǔ <>) + +1.12.1 / 2019-05-06 +================== + +**fixes** + * [[`e800e19`](http://github.com/alipay/sofa-rpc-node/commit/e800e193726095f04993827c90c60b189e911d70)] - fix: grpc server crashes down when receives large request body (#45) (RabbitSion <>) + +1.12.0 / 2019-04-18 +================== + +**others** + * [[`905d628`](http://github.com/alipay/sofa-rpc-node/commit/905d62800cf0136ef16e52fbffee02264313f0da)] - refactor: quick ready not wait for connection (#43) (zōng yǔ <>) + +1.11.0 / 2019-03-27 +================== + +**fixes** + * [[`cd54a3a`](http://github.com/alipay/sofa-rpc-node/commit/cd54a3a8be55aebd12cf7b0e086db8ef898f2d6b)] - fix: zk registry bug (#41) (zōng yǔ <>) + +**others** + * [[`2439e1e`](http://github.com/alipay/sofa-rpc-node/commit/2439e1e0dca1065e0c328e4b8168f405ae2618cb)] - fix grpc bugs (#40) (zl <<1183163+smile21@users.noreply.github.com>>) + +1.10.0 / 2019-03-12 +================== + +**features** + * [[`b0a21ae`](http://github.com/alipay/sofa-rpc-node/commit/b0a21ae0f694bb468193e1d1ee20fe25879f08dd)] - feat: add an enableThreshold for connectionPoolConfig (#39) (zōng yǔ <>) + +1.9.1 / 2019-03-06 +================== + +**others** + * [[`45e4714`](http://github.com/alipay/sofa-rpc-node/commit/45e4714a1ee2bb169f35dbe9f24f6145316881c1)] - refactor: add consumer.createContext (#37) (zōng yǔ <>) + +1.9.0 / 2019-03-06 +================== + +**features** + * [[`30d014f`](http://github.com/alipay/sofa-rpc-node/commit/30d014f68dc60295e18bce54f14ea6970e10acd5)] - feat: rpc client support middleware (#36) (zōng yǔ <>) + +**fixes** + * [[`3c97e0e`](http://github.com/alipay/sofa-rpc-node/commit/3c97e0ebd61f9c29b6d3e3b2e0c4e0052024665a)] - fix: remove singleton instance after consumer close (#35) (zōng yǔ <>) + +1.8.0 / 2019-02-26 +================== + +**others** + * [[`61142bb`](http://github.com/alipay/sofa-rpc-node/commit/61142bb876608ada87e180b961008c38dcd13f1f)] - refactor: enhance elastic control of connections (#34) (zōng yǔ <>) + +1.7.0 / 2019-01-17 +================== + +**features** + * [[`0d7428a`](http://github.com/alipay/sofa-rpc-node/commit/0d7428abb24c3852528f07aeb20c8e9dc903842a)] - feat: add protocol name on rpc server url (#32) (zōng yǔ <>) + +**others** + * [[`1d74fd2`](http://github.com/alipay/sofa-rpc-node/commit/1d74fd2ffd36c8631108f860255698a973bcf8ea)] - chore: Update issue templates (#30) (zōng yǔ <>) + +1.6.2 / 2018-12-14 +================== + +**fixes** + * [[`31798c8`](http://github.com/alipay/sofa-rpc-node/commit/31798c87c0c9bdf72fec0a2ce7b2ab38dc85f518)] - fix: weight adjust bug for invalid address (#29) (zōng yǔ <>) + +1.6.1 / 2018-11-28 +================== + +**fixes** + * [[`038ff1e`](http://github.com/alipay/sofa-rpc-node/commit/038ff1e52a2abbbecf370d810882a39a086c0559)] - fix: should auto recovery from zk disconnected or expired (#27) (zōng yǔ <>) + +1.6.0 / 2018-11-06 +================== + +**features** + * [[`2499080`](http://github.com/alipay/sofa-rpc-node/commit/2499080b4e0deec4c79f3bac31b2bf9a8d9560bf)] - feat: without registry & serverHost in unittest env (#23) (zōng yǔ <>) + +1.5.4 / 2018-11-06 +================== + +**fixes** + * [[`53938d8`](http://github.com/alipay/sofa-rpc-node/commit/53938d8620a1b458d22d914ce44ddce11b551dcd)] - fix: service wrong classMap default value (#22) (zōng yǔ <>) + +1.5.3 / 2018-11-02 +================== + +**fixes** + * [[`6412d6c`](http://github.com/alipay/sofa-rpc-node/commit/6412d6cc8bc105da33e9c3eb7c59dc00971cbc8c)] - fix: fit sofa-rpc group/version rule (#21) (zōng yǔ <>) + +1.5.2 / 2018-11-01 +================== + +**fixes** + * [[`d8186e6`](http://github.com/alipay/sofa-rpc-node/commit/d8186e6b40d8734223e35329ce45baf61cb89cc8)] - fix: fit dubbo url rule (#19) (zōng yǔ <>) + +1.5.1 / 2018-10-31 +================== + +**fixes** + * [[`8355941`](http://github.com/alipay/sofa-rpc-node/commit/835594142d0faa10ff7addc0c175476cb22a943c)] - fix: dubbo registry issue (#18) (zōng yǔ <>) + +1.5.0 / 2018-10-30 +================== + +**features** + * [[`8f846d6`](http://github.com/alipay/sofa-rpc-node/commit/8f846d6d31f40674aa22689bfd9d7e0fdec80a9f)] - feat: support dubbo registry rule (#17) (zōng yǔ <>) + +1.4.0 / 2018-10-22 +================== + +**features** + * [[`e3af79a`](http://github.com/alipay/sofa-rpc-node/commit/e3af79a0e58fd56408767f436fab328e4d328155)] - feat: add service publish info (#16) (zōng yǔ <>) + +1.3.1 / 2018-10-12 +================== + +**fixes** + * [[`62d3b14`](http://github.com/alipay/sofa-rpc-node/commit/62d3b14837c898c2f5596802f18ea76dc713bfd0)] - fix: avoid experimental warning of http2 (#14) (zōng yǔ <>) + +1.3.0 / 2018-10-06 +================== + +**features** + * [[`4341a41`](http://github.com/alipay/sofa-rpc-node/commit/4341a4127ef32e2cddcc6c324cfcb386c17e0202)] - feat: append ctx to request (#13) (zōng yǔ <>) + +1.2.1 / 2018-09-12 +================== + +**fixes** + * [[`69a9dc7`](http://github.com/alipay/sofa-rpc-node/commit/69a9dc790bf94af74314ebe27e092afadf9f7d08)] - fix: should end http2stream (#12) (zōng yǔ <>) + +1.2.0 / 2018-09-11 +================== + +**features** + * [[`9a94c21`](http://github.com/alipay/sofa-rpc-node/commit/9a94c2100030aa2efca372680c11ff8db5cda00f)] - feat: support gRPC (#11) (zōng yǔ <>) + +1.1.1 / 2018-08-26 +================== + +**fixes** + * [[`63df62e`](http://github.com/alipay/sofa-rpc-node/commit/63df62e27693eb96dc63487c2ce804392567b3a3)] - fix: consumer should wait registry ready (#10) (zōng yǔ <>) + +**others** + * [[`71596ee`](http://github.com/alipay/sofa-rpc-node/commit/71596ee2ec4b920531e7846643109170774a68bd)] - chore: remove egg-ci & change readme (#9) (zōng yǔ <>) + +1.1.0 / 2018-07-31 +================== + +**features** + * [[`409508e`](http://github.com/alipay/sofa-rpc-node/commit/409508e95fb3d667b65de075779d3c48354f63b4)] - feat: support more loadbalance algorithm (#7) (zōng yǔ <>) + * [[`aa7f1bf`](http://github.com/alipay/sofa-rpc-node/commit/aa7f1bfb971da3e0a52eaace3ca4b9667735df94)] - feat: support more loadbalance algorithm (#7) (zōng yǔ <>) + * [[`4608ddd`](http://github.com/alipay/sofa-rpc-node/commit/4608ddd729da9b80f822fa88f4267ba26793e158)] - feat: support more loadbalance algorithm (#7) (zōng yǔ <>) + +1.0.1 / 2018-06-29 +================== + +**fixes** + * [[`c7ca73a`](http://github.com/alipay/sofa-rpc-node/commit/c7ca73a320d64e7675114e8cd01c14c3579c0f61)] - fix: biz error should be with resultCode:01 (#5) (zōng yǔ <>) + +**others** + * [[`5c3f7ce`](http://github.com/alipay/sofa-rpc-node/commit/5c3f7ceed36f29e7277cdb509ce799cce5eec262)] - doc: add rpc wikis (#4) (zōng yǔ <>) + * [[`4856d66`](http://github.com/alipay/sofa-rpc-node/commit/4856d66b4eb431dd32d601df180ec850d8077398)] - doc: fix readme typo (gxcsoccer <>) + +1.0.0 / 2018-05-25 +================== + +**others** +,fatal: No names found, cannot describe anything. + diff --git a/History.md b/History.md deleted file mode 100644 index 1047645..0000000 --- a/History.md +++ /dev/null @@ -1,312 +0,0 @@ - -2.7.0 / 2022-12-05 -================== - -**features** - * [[`178cb61`](http://github.com/sofastack/sofa-rpc-node/commit/178cb6168ba948a0899c0f9817fc161544a78932)] - feat(lib): support consumer ready timeout (#108) (KenyeeCheung <>) - -2.6.0 / 2022-11-25 -================== - -**features** - * [[`a11b04e`](http://github.com/sofastack/sofa-rpc-node/commit/a11b04eb493061ef684f65a381360efe6fc41219)] - 👌 IMPROVE: Try to use ctx.logger first (#106) (fengmk2 <>) - -**others** - * [[`590be81`](http://github.com/sofastack/sofa-rpc-node/commit/590be8156112f96a343a6cb3a269f12a1831a93c)] - 🤖 TEST: Only test Node.js >= 14 (#105) (fengmk2 <>) - -2.5.0 / 2022-11-06 -================== - -**others** - * [[`c32eb53`](http://github.com/sofastack/sofa-rpc-node/commit/c32eb53d24fbeb15b801c9ad25bb9bfe2fc3dc58)] - chore: add parseRequestPropsWithHeader decode option (#104) (mytEcust <>) - -2.4.0 / 2022-09-26 -================== - -**features** - * [[`a8201b7`](http://github.com/sofastack/sofa-rpc-node/commit/a8201b72ccbbf6b54a101dee93acc3b0e869694d)] - feat(graceful): support serverGracefulIgnoreCode (#103) (hyj1991 <>) - -**others** - * [[`e74e280`](http://github.com/sofastack/sofa-rpc-node/commit/e74e280e24b3e1c9810675bff5140e0b467cd600)] - Create codeql-analysis.yml (fengmk2 <>) - -2.3.1 / 2022-09-06 -================== - -**fixes** - * [[`50b8500`](http://github.com/sofastack/sofa-rpc-node/commit/50b8500c7b7edf41f07aacf023da255a2acf9804)] - fix: print err if encoder/decoder error (#101) (killa <>) - -2.3.0 / 2022-04-12 -================== - -**features** - * [[`a88bf21`](http://github.com/sofastack/sofa-rpc-node/commit/a88bf21cdf99db807655a7e49a61d7d2ca768795)] - feat: do loadBalancer close when address_group close (mansonchor <>) - -2.2.2 / 2022-03-18 -================== - -**fixes** - * [[`91760de`](http://github.com/sofastack/sofa-rpc-node/commit/91760de4fbe3a61ea85a5018e72fedff5e5bad61)] - fix: 去掉 err 上附带 req 信息,打印 error 的话可能存在安全内容泄漏 (#94) (mansonchor.github.com <>) - -2.2.1 / 2022-03-17 -================== - -**others** - * [[`e06219e`](http://github.com/sofastack/sofa-rpc-node/commit/e06219e5479504d92964d2114a5a35c39db3d690)] - fix AddressGroup Ready may on 'next' event many times (#86) (羊鹿 <>) - -2.2.0 / 2022-03-13 -================== - -**features** - * [[`394b0ff`](http://github.com/sofastack/sofa-rpc-node/commit/394b0ff246280b50e8d11ab46c09c353d54f40c8)] - feat: 运行覆盖 ConnectionManager 初始化链接异常消息 (#91) (fengmk2 <>) - -2.1.0 / 2022-03-12 -================== - -**fixes** - * [[`11411f2`](http://github.com/sofastack/sofa-rpc-node/commit/11411f2a543d47fc4fe7681336c0ec4b99ea792c)] - fix: 统一使用 connectionManager 提供的 API (mansonchor.github.com <>) - * [[`6717e4f`](http://github.com/sofastack/sofa-rpc-node/commit/6717e4f9d980d95fcdd79ec232e0e1f154cfa9f9)] - fix: should await ready in invoke insteadof _invoke (#74) (killa <>) - * [[`99124c9`](http://github.com/sofastack/sofa-rpc-node/commit/99124c92fb90076df1d158c23772855cc73421c2)] - fix: create consumer with cache: false, will not override client._consumerCache map (#71) (mansonchor.github.com <>) - -**others** - * [[`23cc741`](http://github.com/sofastack/sofa-rpc-node/commit/23cc7412b3eaf3a07bff854d61661c87f0c5da7e)] - test: skip unstable assert (fengmk2 <>) - * [[`3436650`](http://github.com/sofastack/sofa-rpc-node/commit/3436650a8201806f3f88bdaad517586cc07e1fc8)] - chore: remove autod (fengmk2 <>) - * [[`b92c60d`](http://github.com/sofastack/sofa-rpc-node/commit/b92c60d151c84172d4726e40f60b1c14f1b79faf)] - test: run ci on GitHub Action (fengmk2 <>) - * [[`ef9ffa8`](http://github.com/sofastack/sofa-rpc-node/commit/ef9ffa8ac7178580b4c7c31e4e697eebbcf79393)] - refactor: support child class overwrite connections mng (#75) (killa <>) - -2.0.0 / 2020-07-07 -================== - -**others** - * [[`87b7683`](http://github.com/alipay/sofa-rpc-node/commit/87b7683ce93b44235e27c4d91d9f40629b174591)] - chore: upgrade sofa-bolt-node@2.0.1 (#70) (zōng yǔ <>) - -1.19.0 / 2020-07-02 -================== - -**fixes** - * [[`578528f`](http://github.com/alipay/sofa-rpc-node/commit/578528f4d20fff09d3ab566f59ccd3039cc4ecaf)] - fix: no provider wrapError (#69) (陈峰 <<348018533@qq.com>>) - -**others** - * [[`1560625`](http://github.com/alipay/sofa-rpc-node/commit/1560625421a8b0f5da519e2b2ba6b8dcba7dd218)] - egg的rpc.server支持customMeta配置,用于支持自定义元数据; (#67) (ChangedenChan <>) - -1.18.0 / 2020-03-23 -================== - -**features** - * [[`92e881c`](http://github.com/sofastack/sofa-rpc-node/commit/92e881c9071a354a6cc0fe8896f98f23bd62d946)] - feat: consumer parseUrl 前过滤非字符串内容 (#66) (mansonchor.github.com <>) - -1.17.0 / 2020-03-12 -================== - -**features** - * [[`6c16373`](http://github.com/sofastack/sofa-rpc-node/commit/6c16373f28c48a7e95169487a94dac2c95084bf2)] - feat: createConsumer support cache control (#65) (mansonchor.github.com <>) - -1.16.1 / 2020-02-28 -================== - -**fixes** - * [[`d18dabd`](http://github.com/sofastack/sofa-rpc-node/commit/d18dabda79ee44207183472c440e9f3d4b08db82)] - fix: mw should have no effective with result code (#63) (killa <>) - -1.16.0 / 2019-12-24 -================== - -**features** - * [[`a7e5cdb`](http://github.com/sofastack/sofa-rpc-node/commit/a7e5cdb500edf8557a1437c7edb038967f9be480)] - feat: support disable client decode cache (#62) (killa <>) - -1.15.0 / 2019-12-24 -================== - -**features** - * [[`ded6ad1`](http://github.com/sofastack/sofa-rpc-node/commit/ded6ad105a84a84929c999f5ee9e58433d518d2d)] - feat: support disable decode cache (#61) (killa <>) - -1.14.2 / 2019-10-16 -================== - -**fixes** - * [[`e51c0ff`](http://github.com/alipay/sofa-rpc-node/commit/e51c0ff88ecde604c1325156809b6f5056de581b)] - fix: print warn log when connection count great than limit (#58) (killa <>) - -1.14.1 / 2019-06-20 -================== - -**others** - * [[`b1547fd`](http://github.com/alipay/sofa-rpc-node/commit/b1547fdd3b909e16c09cfe30147079b2251a5b77)] - chore: print req info if rpc server handleRequest failed (#53) (zōng yǔ <>) - -1.14.0 / 2019-06-19 -================== - -**features** - * [[`0ba7c9f`](http://github.com/alipay/sofa-rpc-node/commit/0ba7c9f068720b9cbc3dac01bcc88dfa46b90793)] - feat: support zk registry to config acl (#52) (zōng yǔ <>) - -1.13.0 / 2019-06-04 -================== - -**others** - * [[`fb29b09`](http://github.com/alipay/sofa-rpc-node/commit/fb29b09ad5f71fada3938aa35f2f1364cff76602)] - refactor: choose addresses in loadbalancer (#49) (zōng yǔ <>) - -1.12.1 / 2019-05-06 -================== - -**fixes** - * [[`e800e19`](http://github.com/alipay/sofa-rpc-node/commit/e800e193726095f04993827c90c60b189e911d70)] - fix: grpc server crashes down when receives large request body (#45) (RabbitSion <>) - -1.12.0 / 2019-04-18 -================== - -**others** - * [[`905d628`](http://github.com/alipay/sofa-rpc-node/commit/905d62800cf0136ef16e52fbffee02264313f0da)] - refactor: quick ready not wait for connection (#43) (zōng yǔ <>) - -1.11.0 / 2019-03-27 -================== - -**fixes** - * [[`cd54a3a`](http://github.com/alipay/sofa-rpc-node/commit/cd54a3a8be55aebd12cf7b0e086db8ef898f2d6b)] - fix: zk registry bug (#41) (zōng yǔ <>) - -**others** - * [[`2439e1e`](http://github.com/alipay/sofa-rpc-node/commit/2439e1e0dca1065e0c328e4b8168f405ae2618cb)] - fix grpc bugs (#40) (zl <<1183163+smile21@users.noreply.github.com>>) - -1.10.0 / 2019-03-12 -================== - -**features** - * [[`b0a21ae`](http://github.com/alipay/sofa-rpc-node/commit/b0a21ae0f694bb468193e1d1ee20fe25879f08dd)] - feat: add an enableThreshold for connectionPoolConfig (#39) (zōng yǔ <>) - -1.9.1 / 2019-03-06 -================== - -**others** - * [[`45e4714`](http://github.com/alipay/sofa-rpc-node/commit/45e4714a1ee2bb169f35dbe9f24f6145316881c1)] - refactor: add consumer.createContext (#37) (zōng yǔ <>) - -1.9.0 / 2019-03-06 -================== - -**features** - * [[`30d014f`](http://github.com/alipay/sofa-rpc-node/commit/30d014f68dc60295e18bce54f14ea6970e10acd5)] - feat: rpc client support middleware (#36) (zōng yǔ <>) - -**fixes** - * [[`3c97e0e`](http://github.com/alipay/sofa-rpc-node/commit/3c97e0ebd61f9c29b6d3e3b2e0c4e0052024665a)] - fix: remove singleton instance after consumer close (#35) (zōng yǔ <>) - -1.8.0 / 2019-02-26 -================== - -**others** - * [[`61142bb`](http://github.com/alipay/sofa-rpc-node/commit/61142bb876608ada87e180b961008c38dcd13f1f)] - refactor: enhance elastic control of connections (#34) (zōng yǔ <>) - -1.7.0 / 2019-01-17 -================== - -**features** - * [[`0d7428a`](http://github.com/alipay/sofa-rpc-node/commit/0d7428abb24c3852528f07aeb20c8e9dc903842a)] - feat: add protocol name on rpc server url (#32) (zōng yǔ <>) - -**others** - * [[`1d74fd2`](http://github.com/alipay/sofa-rpc-node/commit/1d74fd2ffd36c8631108f860255698a973bcf8ea)] - chore: Update issue templates (#30) (zōng yǔ <>) - -1.6.2 / 2018-12-14 -================== - -**fixes** - * [[`31798c8`](http://github.com/alipay/sofa-rpc-node/commit/31798c87c0c9bdf72fec0a2ce7b2ab38dc85f518)] - fix: weight adjust bug for invalid address (#29) (zōng yǔ <>) - -1.6.1 / 2018-11-28 -================== - -**fixes** - * [[`038ff1e`](http://github.com/alipay/sofa-rpc-node/commit/038ff1e52a2abbbecf370d810882a39a086c0559)] - fix: should auto recovery from zk disconnected or expired (#27) (zōng yǔ <>) - -1.6.0 / 2018-11-06 -================== - -**features** - * [[`2499080`](http://github.com/alipay/sofa-rpc-node/commit/2499080b4e0deec4c79f3bac31b2bf9a8d9560bf)] - feat: without registry & serverHost in unittest env (#23) (zōng yǔ <>) - -1.5.4 / 2018-11-06 -================== - -**fixes** - * [[`53938d8`](http://github.com/alipay/sofa-rpc-node/commit/53938d8620a1b458d22d914ce44ddce11b551dcd)] - fix: service wrong classMap default value (#22) (zōng yǔ <>) - -1.5.3 / 2018-11-02 -================== - -**fixes** - * [[`6412d6c`](http://github.com/alipay/sofa-rpc-node/commit/6412d6cc8bc105da33e9c3eb7c59dc00971cbc8c)] - fix: fit sofa-rpc group/version rule (#21) (zōng yǔ <>) - -1.5.2 / 2018-11-01 -================== - -**fixes** - * [[`d8186e6`](http://github.com/alipay/sofa-rpc-node/commit/d8186e6b40d8734223e35329ce45baf61cb89cc8)] - fix: fit dubbo url rule (#19) (zōng yǔ <>) - -1.5.1 / 2018-10-31 -================== - -**fixes** - * [[`8355941`](http://github.com/alipay/sofa-rpc-node/commit/835594142d0faa10ff7addc0c175476cb22a943c)] - fix: dubbo registry issue (#18) (zōng yǔ <>) - -1.5.0 / 2018-10-30 -================== - -**features** - * [[`8f846d6`](http://github.com/alipay/sofa-rpc-node/commit/8f846d6d31f40674aa22689bfd9d7e0fdec80a9f)] - feat: support dubbo registry rule (#17) (zōng yǔ <>) - -1.4.0 / 2018-10-22 -================== - -**features** - * [[`e3af79a`](http://github.com/alipay/sofa-rpc-node/commit/e3af79a0e58fd56408767f436fab328e4d328155)] - feat: add service publish info (#16) (zōng yǔ <>) - -1.3.1 / 2018-10-12 -================== - -**fixes** - * [[`62d3b14`](http://github.com/alipay/sofa-rpc-node/commit/62d3b14837c898c2f5596802f18ea76dc713bfd0)] - fix: avoid experimental warning of http2 (#14) (zōng yǔ <>) - -1.3.0 / 2018-10-06 -================== - -**features** - * [[`4341a41`](http://github.com/alipay/sofa-rpc-node/commit/4341a4127ef32e2cddcc6c324cfcb386c17e0202)] - feat: append ctx to request (#13) (zōng yǔ <>) - -1.2.1 / 2018-09-12 -================== - -**fixes** - * [[`69a9dc7`](http://github.com/alipay/sofa-rpc-node/commit/69a9dc790bf94af74314ebe27e092afadf9f7d08)] - fix: should end http2stream (#12) (zōng yǔ <>) - -1.2.0 / 2018-09-11 -================== - -**features** - * [[`9a94c21`](http://github.com/alipay/sofa-rpc-node/commit/9a94c2100030aa2efca372680c11ff8db5cda00f)] - feat: support gRPC (#11) (zōng yǔ <>) - -1.1.1 / 2018-08-26 -================== - -**fixes** - * [[`63df62e`](http://github.com/alipay/sofa-rpc-node/commit/63df62e27693eb96dc63487c2ce804392567b3a3)] - fix: consumer should wait registry ready (#10) (zōng yǔ <>) - -**others** - * [[`71596ee`](http://github.com/alipay/sofa-rpc-node/commit/71596ee2ec4b920531e7846643109170774a68bd)] - chore: remove egg-ci & change readme (#9) (zōng yǔ <>) - -1.1.0 / 2018-07-31 -================== - -**features** - * [[`409508e`](http://github.com/alipay/sofa-rpc-node/commit/409508e95fb3d667b65de075779d3c48354f63b4)] - feat: support more loadbalance algorithm (#7) (zōng yǔ <>) - * [[`aa7f1bf`](http://github.com/alipay/sofa-rpc-node/commit/aa7f1bfb971da3e0a52eaace3ca4b9667735df94)] - feat: support more loadbalance algorithm (#7) (zōng yǔ <>) - * [[`4608ddd`](http://github.com/alipay/sofa-rpc-node/commit/4608ddd729da9b80f822fa88f4267ba26793e158)] - feat: support more loadbalance algorithm (#7) (zōng yǔ <>) - -1.0.1 / 2018-06-29 -================== - -**fixes** - * [[`c7ca73a`](http://github.com/alipay/sofa-rpc-node/commit/c7ca73a320d64e7675114e8cd01c14c3579c0f61)] - fix: biz error should be with resultCode:01 (#5) (zōng yǔ <>) - -**others** - * [[`5c3f7ce`](http://github.com/alipay/sofa-rpc-node/commit/5c3f7ceed36f29e7277cdb509ce799cce5eec262)] - doc: add rpc wikis (#4) (zōng yǔ <>) - * [[`4856d66`](http://github.com/alipay/sofa-rpc-node/commit/4856d66b4eb431dd32d601df180ec850d8077398)] - doc: fix readme typo (gxcsoccer <>) - -1.0.0 / 2018-05-25 -================== - -**others** -,fatal: No names found, cannot describe anything. - diff --git a/README.md b/README.md index ffb2acc..77849a1 100644 --- a/README.md +++ b/README.md @@ -332,3 +332,16 @@ invoke().catch(console.error); ## 五、开源协议 [MIT](LICENSE) + + + +## Contributors + +|[
gxcsoccer](https://github.com/gxcsoccer)
|[
fengmk2](https://github.com/fengmk2)
|[
killagu](https://github.com/killagu)
|[
mansonchor](https://github.com/mansonchor)
|[
semantic-release-bot](https://github.com/semantic-release-bot)
|[
ChangedenCZD](https://github.com/ChangedenCZD)
| +| :---: | :---: | :---: | :---: | :---: | :---: | +|[
KenyeeC](https://github.com/KenyeeC)
|[
RabbitSion](https://github.com/RabbitSion)
|[
hyj1991](https://github.com/hyj1991)
|[
mytEcust](https://github.com/mytEcust)
|[
smile21](https://github.com/smile21)
|[
onlylovermb](https://github.com/onlylovermb)
| +[
chenfengjw163](https://github.com/chenfengjw163)
+ +This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Mon May 22 2023 14:22:46 GMT+0800`. + + diff --git a/lib/client/client.js b/lib/client/client.js index 200b881..89cb9c0 100644 --- a/lib/client/client.js +++ b/lib/client/client.js @@ -1,11 +1,11 @@ 'use strict'; -const debug = require('debug')('rpc-client'); -const Base = require('sdk-base'); +const debug = require('util').debuglog('rpc-client'); const assert = require('assert'); +const Base = require('sdk-base'); +const protocol = require('sofa-bolt-node'); const Scheduler = require('./scheduler'); const RpcConsumer = require('./consumer'); -const protocol = require('sofa-bolt-node'); const RpcConnection = require('./connection/rpc'); const ConnectionManager = require('./connection_mgr'); diff --git a/package.json b/package.json index cb9e5a5..cc3a245 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "test": "npm run lint && npm run test-local", "test-local": "egg-bin test", "ci": "npm run start:zk && npm run lint && npm run cov", - "contributors": "contributors -f plain -o AUTHORS", + "contributors": "git-contributor", "start:zk": "node test/scripts/start.js", "stop:zk": "node test/scripts/stop.js" }, @@ -37,7 +37,6 @@ "await-first": "^1.0.0", "byte": "^2.0.0", "cluster-client": "^3.0.1", - "debug": "^4.1.1", "easy-table": "^1.1.1", "graceful": "^1.1.0", "is-type-of": "^1.2.1", @@ -53,12 +52,12 @@ "devDependencies": { "antpb": "^1.0.0", "coffee": "^5.4.0", - "contributors": "^0.5.1", "detect-port": "^1.5.1", "dubbo-remoting": "^2.1.4", "egg-bin": "^5.3.1", "eslint": "^8.27.0", "eslint-config-egg": "^12.1.0", + "git-contributor": "^2.1.5", "mm": "^3.2.0", "node-zookeeper-client": "^1.1.0", "pedding": "^1.1.0",