2023-03-18 21:17:43 +08:00
|
|
|
|
## TBD-v3.3.0
|
|
|
|
|
|
2023-03-19 22:32:54 +08:00
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 支持微信 v2 版本刷卡支付(#753)
|
2023-04-09 18:28:30 +08:00
|
|
|
|
- feat: 增加申请代扣协议插件(#767)
|
|
|
|
|
- feat: 增加支付中签约插件(#763)
|
|
|
|
|
- feat: 增加只签约插件(#765)
|
2023-04-09 19:34:37 +08:00
|
|
|
|
- feat: `shortcut` 支持 `_no_common_plugins` 参数不使用通用插件(#771)
|
2023-04-09 23:40:36 +08:00
|
|
|
|
- feat: 增加委托代扣 shortcut(#773)
|
2023-03-19 22:32:54 +08:00
|
|
|
|
|
2023-03-18 21:17:43 +08:00
|
|
|
|
### deleted
|
|
|
|
|
|
|
|
|
|
- delete: 移除废弃的类(#752)
|
|
|
|
|
|
2023-03-19 19:36:30 +08:00
|
|
|
|
### refactor
|
|
|
|
|
|
|
|
|
|
- refactor: 重构 ArrayParser 类(#754)
|
2023-04-09 18:28:30 +08:00
|
|
|
|
- refactor: coding style(#769)
|
2023-04-09 23:16:10 +08:00
|
|
|
|
- refactor: 优化现有微信v2插件代码(#772)
|
2023-03-19 19:36:30 +08:00
|
|
|
|
|
|
|
|
|
### changed
|
|
|
|
|
|
2023-03-19 22:21:15 +08:00
|
|
|
|
- change: 所有的 `Find*Plugin` 调整为 `Query*Plugin`(#756)
|
2023-03-19 21:49:38 +08:00
|
|
|
|
- change: 插件开始装载日志由 `info` 调整为 `debug`(#755)
|
2023-03-19 22:32:54 +08:00
|
|
|
|
- change: ParserInterface 签名由 `?ResponseInterface $response` 变更为 `PackerInterface $packer, ?ResponseInterface $response`(#754)
|
|
|
|
|
- change: \Yansongda\Pay\Plugin\Wechat\RadarSignPlugin 增加 `__construct(JsonPacker $jsonPacker, XmlPacker $xmlPacker)` 方法(#753)
|
2023-04-09 18:45:17 +08:00
|
|
|
|
- change: 所有 `Parser` 更名为 `Direction`(#770)
|
2023-03-19 19:36:30 +08:00
|
|
|
|
|
2023-02-26 19:52:56 +08:00
|
|
|
|
## v3.2.14
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: 微信投诉相关插件响应解析错误(#746)
|
|
|
|
|
|
2023-02-13 21:35:26 +08:00
|
|
|
|
## v3.2.13
|
|
|
|
|
|
|
|
|
|
### optimized
|
|
|
|
|
|
|
|
|
|
- optimize: 微信退款可取消 notify_url(#741)
|
|
|
|
|
|
2023-01-07 21:38:52 +08:00
|
|
|
|
## v3.2.12
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 增加获取微信平台公钥证书方法(#733)
|
|
|
|
|
|
2022-12-22 18:04:42 +08:00
|
|
|
|
## v3.2.11
|
|
|
|
|
|
|
|
|
|
### docs
|
|
|
|
|
|
|
|
|
|
- docs: 增加微信转账注释方便ide识别(#725)
|
|
|
|
|
|
2022-11-25 19:41:16 +08:00
|
|
|
|
## v3.2.10
|
|
|
|
|
|
2022-12-22 18:04:42 +08:00
|
|
|
|
### fixed
|
|
|
|
|
|
2022-11-25 19:41:16 +08:00
|
|
|
|
- fix: CallbackReceived 事件在获取到回调参数后触发(#716)
|
|
|
|
|
|
2022-10-30 14:14:58 +08:00
|
|
|
|
## v3.2.9
|
|
|
|
|
|
2022-12-22 18:04:42 +08:00
|
|
|
|
### fixed
|
|
|
|
|
|
2022-10-30 14:14:58 +08:00
|
|
|
|
- fix: 当配置文件出错微信解密失败后报错的问题(#698)
|
|
|
|
|
|
2022-09-28 12:03:34 +08:00
|
|
|
|
## v3.2.8
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: 商家批次单号查询批次单时 query 参数不正确(#690)
|
|
|
|
|
|
2022-09-27 23:01:52 +08:00
|
|
|
|
## v3.2.7
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: 微信批次单号查询批次单时 query 参数不正确(#688)
|
|
|
|
|
|
2022-09-26 20:20:11 +08:00
|
|
|
|
## v3.2.6
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: json 中有 `&` 时解析错误(#687)
|
|
|
|
|
|
2022-09-18 13:44:28 +08:00
|
|
|
|
## v3.2.5
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: 修复支付宝 subject 中存在 + 号回调验签不通过(#684)
|
|
|
|
|
|
2022-09-17 00:45:33 +08:00
|
|
|
|
## v3.2.4
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 银联支付(#662)
|
|
|
|
|
|
2022-09-13 16:04:09 +08:00
|
|
|
|
## v3.2.3
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 微信 Native 支付支持关联其它类型 appid(#680)
|
|
|
|
|
|
2022-09-12 23:11:53 +08:00
|
|
|
|
## v3.2.2
|
|
|
|
|
|
|
|
|
|
### refactor
|
|
|
|
|
|
|
|
|
|
- refactor: 优化支付宝 launch 插件代码(#678)
|
|
|
|
|
|
|
|
|
|
### deprecated
|
|
|
|
|
|
|
|
|
|
- deprecated: 支付宝 `RadarPlugin`, `SignPlugin` 已废弃,使用 `RadarSignPlugin` 代替(#678)
|
|
|
|
|
- deprecated: 微信 `SignPlugin` 已废弃,使用 `RadarSignPlugin` 代替(#678)
|
|
|
|
|
|
2022-09-07 16:42:18 +08:00
|
|
|
|
## v3.2.1
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: `wechat_public_cert_path` 未配置时报错的问题(#674)
|
|
|
|
|
|
|
|
|
|
### refactor
|
|
|
|
|
|
|
|
|
|
- refactor: 优化 `wechat_public_cert_path` 配置(#674)
|
|
|
|
|
|
2022-09-03 22:34:49 +08:00
|
|
|
|
## v3.2.0
|
|
|
|
|
|
|
|
|
|
### changed
|
|
|
|
|
|
2022-09-03 23:03:28 +08:00
|
|
|
|
- change: Function 增加命名空间(#665)
|
2022-09-04 00:48:24 +08:00
|
|
|
|
- change: `get_alipay_config`,`get_wechat_config` 返回类型由 `Config` 改为 `array`(#667)
|
2022-09-03 23:47:34 +08:00
|
|
|
|
- change: 支付宝转账查询接口由老版本改为为新版本(#666)
|
2022-09-03 22:34:49 +08:00
|
|
|
|
|
|
|
|
|
### deleted
|
|
|
|
|
|
|
|
|
|
- delete: Function 中将 `get_wechat_authorization` 方法移除(#664)
|
|
|
|
|
|
|
|
|
|
### performance
|
|
|
|
|
|
2022-09-04 12:19:33 +08:00
|
|
|
|
- perf: 支付宝中支付宝根证书、应用证书序列号在常驻进程中缓存(#668)
|
2022-09-03 22:34:49 +08:00
|
|
|
|
|
2022-09-03 13:39:21 +08:00
|
|
|
|
## v3.1.12
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: 微信代金券详情 url 不正确(#663)
|
|
|
|
|
|
|
|
|
|
### refactor
|
|
|
|
|
|
|
|
|
|
- refactor: 优化代码 (#661)
|
|
|
|
|
|
2022-08-20 12:00:17 +08:00
|
|
|
|
## v3.1.11
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 微信退款自动增加回调url(#649)
|
|
|
|
|
|
2022-08-09 21:49:29 +08:00
|
|
|
|
## v3.1.10
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 支付宝周期扣款签约接口(#644)
|
|
|
|
|
|
|
|
|
|
## v3.1.9
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: 微信服务商模式预下单存在子商户appid时,invoke 时也应该为子商户 appid (#638)
|
|
|
|
|
|
2022-07-21 22:18:15 +08:00
|
|
|
|
## v3.1.8
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
2022-07-21 22:42:59 +08:00
|
|
|
|
- fix: 提前读取响应数据造成数据错误的问题(#633, #634)
|
2022-07-21 22:18:15 +08:00
|
|
|
|
|
2022-07-17 21:54:48 +08:00
|
|
|
|
## v3.1.7
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: 微信内网页支付供应商模式 sub_appid 非必填(#628)
|
|
|
|
|
|
2022-07-14 15:51:15 +08:00
|
|
|
|
## v3.1.6
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: 微信注释中返回类型错误(#630)
|
|
|
|
|
|
2022-06-02 22:03:47 +08:00
|
|
|
|
## v3.1.5
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 微信服务商退款及查询退款支持自动 sub_mchid 参数(#619)
|
|
|
|
|
|
|
|
|
|
## v3.1.4
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 支持微信投诉API (#614)
|
|
|
|
|
|
|
|
|
|
## v3.1.3
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 配置文件增加第三方应用授权token的支持 (#602)
|
|
|
|
|
|
2022-03-29 14:44:46 +08:00
|
|
|
|
## v3.1.2
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: alipay 中 event dispatch provider 是 wechat 的问题 #595
|
|
|
|
|
|
|
|
|
|
## v3.1.1
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: 设置 container,强制更新 config 后 container 不是设置的 container 的问题 #591
|
|
|
|
|
|
2022-03-05 21:59:11 +08:00
|
|
|
|
## v3.1.0
|
|
|
|
|
|
|
|
|
|
兼容 v3.0 版本,推荐升级(#579)
|
|
|
|
|
|
|
|
|
|
### dependency
|
|
|
|
|
|
|
|
|
|
- delete: 移除 `php-di/php-di` 依赖。如果您使用的框架非 `hyperf`, `laravel` 或 没有指定 `ContainerInterface`,仍需手动安装 `composer require php-di/php-di`
|
|
|
|
|
- delete: 移除 `guzzlehttp/guzzle` 依赖。如果没有指定 `\Yansongda\Pay\Contract\HttpClientInterface` 仍需手动安装 `composer require guzzlehttp/guzzle`
|
|
|
|
|
- upgrade: 升级 `yansongda/supports` 到 `~v3.2.0`
|
|
|
|
|
- upgrade: 升级 `php` 最低版本到 `7.4.0`
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: 解决 php8.1 下 deprecated 的提示
|
|
|
|
|
|
|
|
|
|
### kernel
|
|
|
|
|
|
|
|
|
|
- refactor: 自动识别 `hyperf`, `laravel` 框架,使用相应的 `container` 减少内存占用
|
|
|
|
|
- refactor: 完全支持 `psr11`,可手动传入 `ContainerInterface` 使用
|
|
|
|
|
- changed: `Pay::config(array $config = [], $container = null)` 方法第二个参数增加为 $container,可手动传入 `ContainerInterface`/`Closure`。注意 `Closure` 需最终返回一个 `ContainerInterface` 的实例。
|
|
|
|
|
|
2022-02-18 21:49:42 +08:00
|
|
|
|
## v3.0.27
|
|
|
|
|
|
2022-03-05 21:59:11 +08:00
|
|
|
|
### fixed
|
2022-02-18 21:49:42 +08:00
|
|
|
|
|
|
|
|
|
- fix: 添加分账接受人姓名加密字段错误 (#566)
|
|
|
|
|
|
|
|
|
|
## v3.0.26
|
2022-01-21 12:21:06 +08:00
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
2022-02-18 21:49:42 +08:00
|
|
|
|
- feat: 支持 psr/log 2.x and 3.x (#562)
|
|
|
|
|
|
|
|
|
|
## v3.0.25
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
2022-01-21 12:21:06 +08:00
|
|
|
|
- fix: 支持分账传递姓名 (#559)
|
|
|
|
|
|
2022-01-09 17:22:22 +08:00
|
|
|
|
## v3.0.24
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 支持使用小程序等其他类型转账 (#552)
|
|
|
|
|
|
2022-01-09 15:53:12 +08:00
|
|
|
|
## v3.0.23
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: 未设置微信公钥证书时,加密不生效的问题 (#549)
|
|
|
|
|
|
2022-01-08 22:58:25 +08:00
|
|
|
|
## v3.0.22
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: 微信分账传递姓名时未加密的问题 (#547)
|
|
|
|
|
|
2021-12-26 13:04:46 +08:00
|
|
|
|
## v3.0.21
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 微信转账快捷方式与加密方式支持 (#542)
|
|
|
|
|
|
2021-12-04 11:05:48 +08:00
|
|
|
|
## v3.0.20
|
|
|
|
|
|
|
|
|
|
### updated
|
|
|
|
|
|
|
|
|
|
- chore: 完善支付宝响应错误时的异常信息 (#530)
|
|
|
|
|
|
2021-12-02 21:14:22 +08:00
|
|
|
|
## v3.0.19
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fix: 支付宝 system.oauth.token 请求参数错误 (#528)
|
|
|
|
|
|
2021-11-16 21:16:55 +08:00
|
|
|
|
## v3.0.18
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 电商收付通的退款使用 _type 增加多类型 appid (#518)
|
|
|
|
|
|
2021-11-14 23:04:21 +08:00
|
|
|
|
## v3.0.17
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 增加电商收付通的退款相关插件 (#513)
|
|
|
|
|
|
2021-11-04 15:25:34 +08:00
|
|
|
|
## v3.0.16
|
2021-11-04 14:32:24 +08:00
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
2021-11-04 15:24:36 +08:00
|
|
|
|
- fixed: app 支付调起签名问题 (#1389476)
|
|
|
|
|
|
|
|
|
|
## v3.0.15
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
2021-11-04 14:47:27 +08:00
|
|
|
|
- fixed: 下载对账单时响应解析 (#df27f95)
|
2021-11-04 14:32:24 +08:00
|
|
|
|
|
|
|
|
|
## v3.0.14
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fixed: app 支付调起签名中参数大小写问题 (#7916fdd)
|
|
|
|
|
|
2021-11-04 12:11:13 +08:00
|
|
|
|
## v3.0.13
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fixed: app 支付调起签名中时间戳参数大小写问题 (#510)
|
|
|
|
|
|
2021-11-03 22:33:35 +08:00
|
|
|
|
## v3.0.12
|
|
|
|
|
|
|
|
|
|
### fixed
|
|
|
|
|
|
|
|
|
|
- fixed: 微信小程序支付供应商模式 sub_appid 非必填 (#509)
|
|
|
|
|
|
2021-10-31 17:01:19 +08:00
|
|
|
|
## v3.0.11
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
|
|
|
|
- feat: 微信 h5 支付支持关联 mini_app_id (#506)
|
|
|
|
|
|
2021-10-25 00:06:16 +08:00
|
|
|
|
## v3.0.10
|
2021-10-24 00:46:59 +08:00
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
2021-10-25 00:05:36 +08:00
|
|
|
|
- feat: 服务商批量转账到零钱 (#503)
|
|
|
|
|
|
|
|
|
|
## v3.0.9
|
|
|
|
|
|
|
|
|
|
### added
|
|
|
|
|
|
2021-10-24 00:46:59 +08:00
|
|
|
|
- feat: 支持直连商户批量转账到零钱 (#501)
|
|
|
|
|
|
2021-09-18 11:25:23 +08:00
|
|
|
|
## v3.0.8
|
|
|
|
|
|
2021-10-24 00:46:59 +08:00
|
|
|
|
### fixed
|
2021-09-18 11:25:23 +08:00
|
|
|
|
|
|
|
|
|
- fix: 设置 bcscale 时支付宝根证书计算错误的问题 (#492, #494)
|
|
|
|
|
|
2021-09-10 16:39:57 +08:00
|
|
|
|
## v3.0.7
|
|
|
|
|
|
2021-10-24 00:46:59 +08:00
|
|
|
|
### fixed
|
2021-09-10 16:39:57 +08:00
|
|
|
|
|
|
|
|
|
- fix: 支付宝 wap/web 支付 get 方法时url拼接问题 (#488)
|
|
|
|
|
|
2021-09-02 20:43:48 +08:00
|
|
|
|
## v3.0.6
|
|
|
|
|
|
2021-10-24 00:46:59 +08:00
|
|
|
|
### optimized
|
2021-09-02 20:43:48 +08:00
|
|
|
|
|
|
|
|
|
- chore: 优化服务商模式小程序下单场景 (#487)
|
|
|
|
|
|
2021-08-31 23:09:29 +08:00
|
|
|
|
## v3.0.5
|
|
|
|
|
|
2021-10-24 00:46:59 +08:00
|
|
|
|
### fixed
|
2021-08-31 23:09:29 +08:00
|
|
|
|
|
2021-09-02 20:43:48 +08:00
|
|
|
|
- fix: 服务商模式交易查询 (#483)
|
2021-08-31 23:09:29 +08:00
|
|
|
|
|
2021-08-28 22:31:45 +08:00
|
|
|
|
## v3.0.4
|
|
|
|
|
|
2021-10-24 00:46:59 +08:00
|
|
|
|
### added
|
2021-08-28 22:31:45 +08:00
|
|
|
|
|
2021-09-02 20:43:48 +08:00
|
|
|
|
- feat: 支持服务商模式 (#479)
|
|
|
|
|
- feat: 支持微信服务商分账功能 (#480)
|
2021-08-28 22:31:45 +08:00
|
|
|
|
|
2021-08-28 21:17:16 +08:00
|
|
|
|
## v3.0.3
|
2021-08-18 21:43:05 +08:00
|
|
|
|
|
2021-10-24 00:46:59 +08:00
|
|
|
|
### added
|
2021-08-18 21:43:05 +08:00
|
|
|
|
|
2021-09-02 20:43:48 +08:00
|
|
|
|
- feat: 公钥证书增加 cer 后缀支持 (#d22e29a)
|
2021-08-28 21:16:42 +08:00
|
|
|
|
|
|
|
|
|
## v3.0.2
|
|
|
|
|
|
2021-10-24 00:46:59 +08:00
|
|
|
|
### fixed
|
2021-08-28 21:16:42 +08:00
|
|
|
|
|
2021-09-02 20:43:48 +08:00
|
|
|
|
- 修复微信支付关闭订单时报错问题 (#475)
|
2021-08-28 21:16:42 +08:00
|
|
|
|
|
2021-08-28 21:17:16 +08:00
|
|
|
|
## v3.0.1
|
2021-08-28 21:16:42 +08:00
|
|
|
|
|
2021-10-24 00:46:59 +08:00
|
|
|
|
### fixed
|
2021-08-28 21:16:42 +08:00
|
|
|
|
|
2021-09-02 20:43:48 +08:00
|
|
|
|
- 修复微信支付关闭订单时报错问题 (#475)
|