Skip to content

Commit

Permalink
bump to v0.7.6
Browse files Browse the repository at this point in the history
- optimize `Decorator.responseVerifier` for better tracing exceptions, ref #28, #30
- test cases covers onto #28, #30
  • Loading branch information
TheNorthMemory committed Jun 26, 2021
1 parent a11991d commit 674d1da
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npm test
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 变更历史

## v0.7.6 (2021-06-26)
- 优化 APIv3 `Decorator.responseVerifier`,对于验签逻辑异常原样返回 `response{data,headers}` 结构,方便排查问题,相关 [#28]((https://github.com/TheNorthMemory/wechatpay-axios-plugin/issues/28), [#30]((https://github.com/TheNorthMemory/wechatpay-axios-plugin/issues/30);
- 新增 `OpenAPI` mock测试,使用 `nock` 驱动,覆盖 [#28]((https://github.com/TheNorthMemory/wechatpay-axios-plugin/issues/28), [#30]((https://github.com/TheNorthMemory/wechatpay-axios-plugin/issues/30) 问题;

## v0.7.5 (2021-06-12)
- 解决`index.d.ts`上的`AesEcb`类型签名遗漏,感谢 @zhoulingfengofcd
- 新增 `aes-128-cbc/pkcs7padding` 加解密功能, `AesCbc::encrypt` 与其他语言兼容,详情见 [PR #29](https://github.com/TheNorthMemory/wechatpay-axios-plugin/pull/29) 感谢 @zhoulingfengofcd
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wechatpay-axios-plugin",
"version": "0.7.5",
"version": "0.7.6",
"description": "微信支付APIv2及v3 NodeJS SDK,支持CLI模式请求OpenAPI,支持v3证书下载,v2付款码支付、企业付款、退款,企业微信-企业支付-企业红包/向员工付款,v2&v3 Native支付、扫码支付、H5支付、JSAPI/小程序支付、合单支付...",
"main": "index.js",
"typings": "index.d.ts",
Expand Down

0 comments on commit 674d1da

Please sign in to comment.