Skip to content

v3.3.0

Compare
Choose a tag to compare
@yansongda yansongda released this 21 May 15:04
· 104 commits to master since this release
ead4d7e

added

  • feat: 支持微信 v2 版本刷卡支付(#753)
  • feat: 增加申请代扣协议插件(#767)
  • feat: 增加支付中签约插件(#763)
  • feat: 增加只签约插件(#765)
  • feat: shortcut 支持 _no_common_plugins 参数不使用通用插件(#771)
  • feat: 增加委托代扣 shortcut(#773)

deleted

  • delete: 移除废弃的类(#752)

fixed

  • fix: 微信代金券 api 参数错误问题(#777)

refactor

  • refactor: 重构 ArrayParser 类(#754)
  • refactor: coding style(#769)
  • refactor: 优化现有微信v2插件代码(#772)
  • refactor: 所有参数判断使用 $payload->has() 判断是否存在(#778)

chore

  • chore: 支持 psr/http-message 2.0 版(#784)

changed

  • change: 所有的 Find*Plugin 调整为 Query*Plugin(#756)
  • change: 插件开始装载日志由 info 调整为 debug(#755)
  • change: ParserInterface 签名由 ?ResponseInterface $response 变更为 PackerInterface $packer, ?ResponseInterface $response(#754)
  • change: \Yansongda\Pay\Plugin\Wechat\RadarSignPlugin 增加 __construct(JsonPacker $jsonPacker, XmlPacker $xmlPacker) 方法(#753)
  • change: 所有 Parser 更名为 Direction(#770, #774)
  • change: '_type' 类型统一定义为渠道id,如: 小程序id,公众号id等;增加 '_action' 为操作类型用于 shortcut(#781)
  • change: 默认 container 由 php-di/php-di 改为 hyperf/pimple(#786)

Full Changelog: v3.2.14...v3.3.0