Releases: sumup/sumup-go
Releases · sumup/sumup-go
v0.0.1-beta.2
0.0.1-beta.2 (2025-02-16)
2nd beta release of the SumUp Go SDK. New version bring several improvements (and breaking changes):
- builder pattern for client initialization was replaced with the options pattern. For example instead of:
the new approach is:
client := sumup.NewClient().WithAuth(os.Getenv("SUMUP_KEY"))
client := sumup.NewClient(client.WithAPIKey("your API key obtained from elsewhere..."))
- the client is now auto-configured with api key from
SUMUP_API_KEY
environment variable (if present). You can provide your value using theclient.WithAPIKey
. - the SDK is now structured with a per-resource subfolders to avoid having one gigantic root
sumup
package.
Features
- cd: send notification on release (#32) (013a4bb)
- ci/cd: update actions, add dependabot (#3) (43b02ff)
- ci: auto-generate latest SDK (#5) (2343544)
- ci: commit generated code (#6) (26cc46b)
- ci: lint github actions (#22) (da1168f)
- doc.go (44434a7)
- docs: add link to API reference and developer portal (#29) (ad2507e)
- docs: README badges (28627fb)
- docs: security policy (fd03276)
- generate latest sdk (#16) (ed69f6e)
- init (f0e2412)
- releases and changelog (#27) (28f5183)
- switch to go-sdk-gen (#20) (1223a9f)
- tooling: create releases in draft mode (#34) (6f7c81b)
- update to latest specs (ebdf8a3)
- update to latest version (#10) (b04189a)
Bug Fixes
- ci: code generation (#7) (9713af5)
- ci: go version for vulncheck (#28) (86c6082)
- ci: release process token permissions (#30) (7442793)
- docs: remove github discussions link from readme (#25) (4b05842)
- docs: update readme (#41) (770b300)
- ReaderService impl (#9) (1a04e19)
- run latest make generate (#35) (58653cf)
- use idiomatic comment syntax (186afa2)