Skip to content

Commit

Permalink
Version Bump to v0.3.1!
Browse files Browse the repository at this point in the history
  • Loading branch information
mathsman5133 committed Nov 26, 2019
1 parent 20458cd commit cab9448
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
:license: MIT, see LICENSE for more details.
"""
__version__ = "0.3.0"
__version__ = "0.3.1"

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

Expand Down
19 changes: 19 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@ Changelog
This page keeps a fairly detailed, human readable version
of what has changed, and whats new for each version of the lib.

v0.3.1
--------
New Features.
~~~~~~~~~~~~~~
- :ref:`on_clan_member_trophy_change`, :ref:`on_clan_member_versus_trophy_change` and
:ref:`on_clan_member_league_change` were added as new events.
- Add ability to pass async and other iterables into methods that return iterators.
- Add the `HogGlider` to list of builder base troops.
- Added support for `SearchClan.labels` and `SearchPlayer.labels`. They will return a :class:`~coc.Label` object.
- Add a special parameter to `Client` to automatically "fix" or call `utils.correct_tag` on any tags passed in to calls.
- `Client.get_clan_labels()` and `Client.get_player_labels()` are now valid client calls.

BugFixes
~~~~~~~~~~~~
- Getting clans and players for a location will now default to getting for the global leaderboard.
- `LeagueWar` will no longer throw an `AttributeError` when no clan is found.
- Never update the cache automatically when the `EventsClient` is used.
- Fixed :ref:`on_war_state_change` not firing properly when a clan entered `preparation` or `warEnded`.

v0.3.0
-------
Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
with open(os.path.join(os.getcwd(), "requirements.txt")) as f:
REQUIREMENTS = f.read().splitlines()

VERSION = "0.3.0"
VERSION = "0.3.1"

README = ""
with open("README.rst") as f:
Expand Down

0 comments on commit cab9448

Please sign in to comment.