Skip to content

Commit cab9448

Browse files
committed
Version Bump to v0.3.1!
1 parent 20458cd commit cab9448

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

coc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
:license: MIT, see LICENSE for more details.
99
1010
"""
11-
__version__ = "0.3.0"
11+
__version__ = "0.3.1"
1212

1313
from .cache import Cache, CacheConfig, DefaultCache, MaxSizeCache, TimeToLiveCache
1414

docs/changelog.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@ Changelog
77
This page keeps a fairly detailed, human readable version
88
of what has changed, and whats new for each version of the lib.
99

10+
v0.3.1
11+
--------
12+
New Features.
13+
~~~~~~~~~~~~~~
14+
- :ref:`on_clan_member_trophy_change`, :ref:`on_clan_member_versus_trophy_change` and
15+
:ref:`on_clan_member_league_change` were added as new events.
16+
- Add ability to pass async and other iterables into methods that return iterators.
17+
- Add the `HogGlider` to list of builder base troops.
18+
- Added support for `SearchClan.labels` and `SearchPlayer.labels`. They will return a :class:`~coc.Label` object.
19+
- Add a special parameter to `Client` to automatically "fix" or call `utils.correct_tag` on any tags passed in to calls.
20+
- `Client.get_clan_labels()` and `Client.get_player_labels()` are now valid client calls.
21+
22+
BugFixes
23+
~~~~~~~~~~~~
24+
- Getting clans and players for a location will now default to getting for the global leaderboard.
25+
- `LeagueWar` will no longer throw an `AttributeError` when no clan is found.
26+
- Never update the cache automatically when the `EventsClient` is used.
27+
- Fixed :ref:`on_war_state_change` not firing properly when a clan entered `preparation` or `warEnded`.
28+
1029
v0.3.0
1130
-------
1231
Bug Fixes

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
with open(os.path.join(os.getcwd(), "requirements.txt")) as f:
66
REQUIREMENTS = f.read().splitlines()
77

8-
VERSION = "0.3.0"
8+
VERSION = "0.3.1"
99

1010
README = ""
1111
with open("README.rst") as f:

0 commit comments

Comments
 (0)