Skip to content

Big Bug fix and feature Release v2.3.0

Choose a tag to compare

@doluk doluk released this 01 Feb 20:24
· 346 commits to master since this release
a9714c4

This release fixes multiple bugs.
Also multiple new features have been added like an event for new wars.
We worked on the docs, to improve their structure and readability.

Additions:

  • Added new events ClientEvents.raid_weekend_start, ClientEvents.raid_weekend_end, ClientEvents.clan_games_start, ClientEvents.clan_games_end, WarEvents.new_war and ClanEvents.member_versus_rank
  • Added utility functions utils.get_clan_games_start, utils.get_clan_games_end, utils.get_raid_weekend_start and utils.get_raid_weekend_end
  • Added clan capital leaderboards
  • Added Clan.capital_points andClan.family_friendly
  • Added ClanMember.versus_rank
  • Added Client.raw_attribute to control if the new _raw_data attribute of various objects gets populated
  • Added full_war_api as an extension
  • Added Client.login_with_tokens offering the same functionality as Client.login_with_keys as an asynchronous function

Changes:

  • Rename of LRU to FIFO in order to match the cache type (this is only internal)
  • Restructured the documentation
  • Client.login_with_keys was marked as deprecated

Bugs Fixed:

  • Fixed a bug which affected the key creation if there are 10 keys with at least one having the correct name but wrong ip range
  • Fixed a memory leak caused by python not properly freeing disk space after the removal of cache entries
  • Fixed a bug that prevented :Client.http.stats from collecting API response time stats
  • Fixed a bug that tried to use a cache when max_cache_size was set to 0
  • Corrected order of elixir troops
  • Fixed a bug when clans faced each other multiple times in one raid weekend
  • Fixed a bug that caused automated tests on forks to fail
  • Fixed a bug that prevented you from importing some classes as coc.Class

Contributions

We want to say thank you to all those who contributed!

Full Changelog: v2.2.3...v2.3.0