Skip to content

Releases: TeddiO/GoSteamAuth

v1.0.6

02 Jan 20:06
b8aa3d6

Choose a tag to compare

What's Changed

No outward API changes have been made and so users of this package should be able to upgrade without issue.

  • Remove regex usage & regex library
  • Added STEAM_AUTH_HTTP_TIMEOUT with a default value of 15 seconds to give better control around the outbound lifecycle for requests to Steam.
  • Replaced manual query string construction with idiomatic use of url.Values and string methods, simplifying the logic and reducing potential bugs.
  • Introduced a httpDoer interface and a global httpClient variable, allowing for dependency injection and easier testing of HTTP interactions.
  • Improved error handling and validation in ValidateResponse, including stricter checks on claimed identity and SteamID extraction.
  • Added a new test file gosteamauth_test.go with a fakeHTTPClient to mock HTTP responses, providing thorough unit tests for ValidateResponse, including success, failure, network error, timeout, and identity mismatch scenarios.
  • Add GitHub Actions CI job for running said tests.

Full Changelog: v1.0.5...v1.0.6

v1.0.5

05 Apr 21:57
84958da

Choose a tag to compare

  • Change the string index we look for when checking for https

Update source-code comments / docs

15 Mar 19:44
fc2a149

Choose a tag to compare

Minor bump to update the inline code comments to be reflective of their nature.

v1.0.3

11 Aug 20:16

Choose a tag to compare

This is more of a soft release to deal with the whole v1.0.2 retraction test and to update the readme.