119 Commits

Author SHA1 Message Date
Duan-0916
c6beb142f3
chore: Add Code Scan Action (#113)
Motivation:

为了增强代码审查流程并确保代码的安全性和合规性,我新增了代码安全扫描和开源组件扫描。通过加入这些扫描,我们可以识别潜在的漏洞,并确保代码库符合开源项目治理标准化的要求。

Modification:

新增了cloud_code_scan.yml模板,添加了代码安全扫描和开源组件扫描步骤。这些步骤将作为工作流的一部分进行执行,以执行必要的安全检查和合规性验证。通过添加这些扫描,我们可以积极解决安全问题,并确保遵守开源许可协议。

Result:

通过引入代码安全扫描和开源组件扫描,增强了代码审查流程。它有助于识别安全漏洞,并确保符合开源许可要求。这一改进有助于提高代码库的整体质量和安全性。
2023-12-01 22:54:35 +08:00
semantic-release-bot
81fcb24288 Release 2.10.0
[skip ci]

## [2.10.0](https://github.com/sofastack/sofa-rpc-node/compare/v2.9.0...v2.10.0) (2023-05-22)

### Features

* remove debug deps ([#112](https://github.com/sofastack/sofa-rpc-node/issues/112)) ([aada766](aada7662fa))
v2.10.0
2023-05-22 06:52:49 +00:00
fengmk2
aada7662fa
feat: remove debug deps (#112) 2023-05-22 14:51:59 +08:00
semantic-release-bot
489eb7f497 Release 2.9.0
[skip ci]

## [2.9.0](https://github.com/sofastack/sofa-rpc-node/compare/v2.8.0...v2.9.0) (2023-05-22)

### Features

* add logger for decoder/encoder options ([#111](https://github.com/sofastack/sofa-rpc-node/issues/111)) ([2115ffb](2115ffb0e5))
v2.9.0
2023-05-22 03:49:14 +00:00
killa
2115ffb0e5
feat: add logger for decoder/encoder options (#111) 2023-05-22 11:48:19 +08:00
semantic-release-bot
91ba177b26 Release 2.8.0
[skip ci]

## [2.8.0](https://github.com/sofastack/sofa-rpc-node/compare/v2.7.0...v2.8.0) (2022-12-21)

### Features

* support localStorage mode on sdk-base ([#109](https://github.com/sofastack/sofa-rpc-node/issues/109)) ([be9a630](be9a630891))
v2.8.0
2022-12-21 14:33:07 +00:00
fengmk2
be9a630891
feat: support localStorage mode on sdk-base (#109)
https://github.com/node-modules/sdk-base/pull/21
2022-12-21 22:14:47 +08:00
fengmk2
943825a3df
Release 2.7.0 2.7.0 v2.7.0 2022-12-05 15:00:47 +08:00
KenyeeCheung
178cb6168b
feat(lib): support consumer ready timeout (#108)
closes https://github.com/sofastack/sofa-rpc-node/issues/107

1.invoke 若未 ready 时按照 responseTimeout 来计算超时
2.ready 失败的清除数组内的回调函数(除了实例化时的回调)

Co-authored-by: zhangjianye1 <zhangjianye1@joyy.com>
2022-12-05 14:58:06 +08:00
fengmk2
73000c20c4
Release 2.6.0 2.6.0 2022-11-25 00:17:25 +08:00
fengmk2
a11b04eb49
👌 IMPROVE: Try to use ctx.logger first (#106) 2022-11-25 00:16:44 +08:00
fengmk2
590be81561
🤖 TEST: Only test Node.js >= 14 (#105) 2022-11-23 12:00:55 +08:00
killagu
ef4f9420a4 Release 2.5.0 2.5.0 2022-11-06 23:36:04 +08:00
mytEcust
c32eb53d24
chore: add parseRequestPropsWithHeader decode option (#104)
* chore: add parseRequestPropsWithHeader decode option

Co-authored-by: yunting.myt <yunting.myt@antfin.com>
2022-11-06 23:35:13 +08:00
fengmk2
6929c71571
Release 2.4.0 2.4.0 2022-09-26 14:03:32 +08:00
hyj1991
a8201b72cc
feat(graceful): support serverGracefulIgnoreCode (#103) 2022-09-26 14:02:57 +08:00
fengmk2
e74e280e24
Create codeql-analysis.yml 2022-09-06 08:44:08 +08:00
fengmk2
9fac3807b0
Release 2.3.1 2.3.1 2022-09-06 08:36:32 +08:00
killa
50b8500c7b
fix: print err if encoder/decoder error (#101)
pump will destroy socket, if destroy socket in cb again.
it will do nothing and error whil not print.
2022-09-06 08:35:38 +08:00
mansonchor
1921e7d96b Release 2.3.0 2.3.0 2022-04-12 11:23:43 +08:00
mansonchor
a88bf21cdf feat: do loadBalancer close when address_group close 2022-04-12 11:23:08 +08:00
mansonchor
512634e76a Release 2.2.2 2.2.2 2022-03-18 10:16:44 +08:00
mansonchor.github.com
91760de4fb
fix: 去掉 err 上附带 req 信息,打印 error 的话可能存在安全内容泄漏 (#94) 2022-03-18 10:16:01 +08:00
mansonchor
448a6dbea2 Release 2.2.1 2.2.1 2022-03-17 12:36:11 +08:00
羊鹿
e06219e547
fix AddressGroup Ready may on 'next' event many times (#86)
* fix: fix AddressGroup Ready may on 'next' event many times

* chore: revert github action change

Co-authored-by: 岱鹿 <gattaca.yl@antgroup.com>
Co-authored-by: mansonchor <mansonchor1987@gmail.com>
2022-03-17 12:35:37 +08:00
fengmk2
b9b588e5cd
Release 2.2.0 2.2.0 2022-03-13 19:47:14 +08:00
fengmk2
394b0ff246
feat: 运行覆盖 ConnectionManager 初始化链接异常消息 (#91)
让应用框架可以在本地开发阶段不输出这些干扰的错误信息
2022-03-13 19:46:24 +08:00
fengmk2
b8a0aa9589
Release 2.1.0 2.1.0 2022-03-12 22:57:23 +08:00
fengmk2
23cc7412b3 test: skip unstable assert 2022-03-12 22:56:04 +08:00
fengmk2
3436650a82 chore: remove autod 2022-03-12 22:56:04 +08:00
fengmk2
b92c60d151 test: run ci on GitHub Action 2022-03-12 22:56:04 +08:00
mansonchor.github.com
11411f2a54 fix: 统一使用 connectionManager 提供的 API
pick from https://github.com/sofastack/sofa-rpc-node/pull/79

v1: 1.20.1

closes https://github.com/sofastack/sofa-rpc-node/issues/88
2022-03-12 22:56:04 +08:00
killa
ef9ffa8ac7 refactor: support child class overwrite connections mng (#75)
pick from https://github.com/sofastack/sofa-rpc-node/pull/75
2022-03-12 22:56:04 +08:00
killa
6717e4f9d9 fix: should await ready in invoke insteadof _invoke (#74)
pick from https://github.com/sofastack/sofa-rpc-node/pull/74
2022-03-12 22:56:04 +08:00
mansonchor.github.com
99124c92fb fix: create consumer with cache: false, will not override client._consumerCache map (#71)
pick from https://github.com/sofastack/sofa-rpc-node/pull/71
2022-03-12 22:56:04 +08:00
gxcsoccer
3e04f15d56 Release 2.0.0 2.0.0 2020-07-07 10:59:44 +08:00
zōng yǔ
87b7683ce9
chore: upgrade sofa-bolt-node@2.0.1 (#70) 2020-07-07 10:57:33 +08:00
gxcsoccer
904df086b8 Release 1.19.0 1.19.0 2020-07-02 09:01:40 +08:00
陈峰
578528f4d2
fix: no provider wrapError (#69)
Co-authored-by: 风棋
2020-07-01 22:36:45 +08:00
ChangedenChan
1560625421
egg的rpc.server支持customMeta配置,用于支持自定义元数据; (#67)
* egg的rpc.server支持metaKey配置,用于支持自定义元数据;

Co-authored-by: Changeden <chenzhiduan@unizone.tech>
2020-06-15 09:14:33 +08:00
killagu
314bccf40d Release 1.18.0 1.18.0 2020-03-23 22:00:13 +08:00
mansonchor.github.com
92e881c907
feat: consumer parseUrl 前过滤非字符串内容 (#66) 2020-03-23 21:59:07 +08:00
killagu
b9f94ae2ae Release 1.17.0 1.17.0 2020-03-12 17:09:26 +08:00
mansonchor.github.com
6c16373f28
feat: createConsumer support cache control (#65) 2020-03-12 17:08:34 +08:00
killagu
fad88e9a37 Release 1.16.1 1.16.1 2020-02-28 10:35:30 +08:00
killa
d18dabda79
fix: mw should have no effective with result code (#63) 2020-02-28 10:33:24 +08:00
killagu
d3adf0e3e1 Release 1.16.0 1.16.0 2019-12-24 15:48:25 +08:00
killa
a7e5cdb500
feat: support disable client decode cache (#62) 2019-12-24 15:47:54 +08:00
killagu
18a0a9e7f7 Release 1.15.0 1.15.0 2019-12-24 13:23:44 +08:00
killa
ded6ad105a
feat: support disable decode cache (#61) 2019-12-24 13:21:29 +08:00