diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9376f71..d8f0d3f 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -42,7 +42,7 @@ jobs: go-version: "1.19" - name: staticcheck run: | - go install honnef.co/go/tools/cmd/staticcheck@latest && + go install honnef.co/go/tools/cmd/staticcheck@v0.4.7 && $HOME/go/bin/staticcheck ./... - name: Revive Action uses: morphy2k/revive-action@v2.1.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index a14af00..b005729 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.2.20] - 2024-08-20 + +### Added + ++ 支持使用微信支付公钥验证微信支付签名 ++ 支持商家转账到零钱的 `notify_url` + ## [0.2.18] - 2023-10-11 ### Changed diff --git a/core/consts/const.go b/core/consts/const.go index 9a02e07..01e63ab 100644 --- a/core/consts/const.go +++ b/core/consts/const.go @@ -13,7 +13,7 @@ const ( // SDK 相关信息 const ( - Version = "0.2.18" // SDK 版本 + Version = "0.2.20" // SDK 版本 UserAgentFormat = "WechatPay-Go/%s (%s) GO/%s" // UserAgent中的信息 )