Skip to content

v0.0.1-beta.2

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 16 Feb 18:46
25ba624

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