Skip to content

Releases: sumup/sumup-go

v0.0.1-beta.3

04 Mar 23:07
15f08fe
Compare
Choose a tag to compare

0.0.1-beta.3 (2025-03-04)

Updates SDK to latest state of the APIs and adds WithBaseURL option to the client that allows overriding the base URL used for API calls for e.g. testing purposes.

Bug Fixes

v0.0.1-beta.2

16 Feb 18:46
25ba624
Compare
Choose a tag to compare

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:
    client := sumup.NewClient().WithAuth(os.Getenv("SUMUP_KEY"))
    the new approach is:
    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 the client.WithAPIKey.
  • the SDK is now structured with a per-resource subfolders to avoid having one gigantic root sumup package.

Features

Bug Fixes