Changelog¶
All notable changes to this module are documented here.
v0.1.4¶
- Added a daily static asset update workflow that regenerates static data, commits changed assets, increments the patch tag, and publishes a GitHub release.
- Added a pull request test workflow that runs
go test ./...on pushes and PRs tomain. - Hardened current-war lookup so
GetCurrentWarfalls back from normal wars to CWL, handles private war logs and not-found/gateway league-group responses, and returns nil when no current war exists. - Added CWL round selection helpers that ignore future
#0placeholders, distinguish current war from current preparation, and orient league-war responses soClanis always the requested clan. - Added realtime support to
GetClanWarwithout applying realtime query parameters to CWL group lookups. - Replaced tournament-window helpers with season, legend-day, Clan Games, and raid-weekend helpers backed by tests.
- Changed
Clan.WarLeagueto a non-pointerLeaguevalue to match the API's always-present clan league shape. - Added Read the Docs documentation using the Read the Docs theme, generated sectioned API reference pages, expanded Go doc comments, and runnable examples.
v0.1.3¶
- Enforced
CacheMaxSizeso cached GET responses cannot grow past the configured entry limit. - Added fixed response body limits for API, developer-site, and static-data downloads.
- Escaped
seasonIDinGetSeasonRankings. - Made
ClanWar.Attackssafe for partial war payloads. - Removed
ClanWarMemberback-references to avoid cyclic war models.
v0.1.2¶
- Renamed clan member league data to
ClanMember.LeagueTierand mapped it to theleagueTierAPI field. - Kept
ClanMember.LeagueTierandPlayer.LeagueTieras non-pointer values because they are always returned by the API.
v0.1.1¶
- Added
ClanMember.TownHallfor thetownHallLevelfield returned by clan member payloads.
v0.1.0¶
- Initial tagged release.