Skip to content

Commit d4cb5ed

Browse files
committed
Version bump to v1.2.0
1 parent 5b0aae1 commit d4cb5ed

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

coc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
SOFTWARE.
2323
"""
2424

25-
__version__ = "1.2.0a"
25+
__version__ = "1.2.0"
2626

2727
from .abc import BasePlayer, BaseClan
2828
from .clans import RankedClan, Clan

docs/miscellaneous/changelog.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,24 @@ 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+
v1.2.0
11+
------
12+
13+
- Adds new achievements and updated the order of existing ones.
14+
15+
- Added :attr:`Player.super_troops` and :attr:`Player.pets`.
16+
17+
- Added :attr:`Troop.is_active` to check whether a super troop is active.
18+
19+
- Added :attr:`WarAttack.duration`
20+
21+
- Added :attr:`Clan.chat_language` which is a :class:`ChatLanguage` object.
22+
23+
- Fixed errors when coc.py tried to parse 5xx (e.g. 502) errors as HTML when they were dicts.
24+
25+
- Improved docs for :attr:`RankedPlayer.previous_rank`.
26+
27+
1028
v1.1.0
1129
------
1230

setup.py

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

10-
VERSION = "1.2.0a"
10+
VERSION = "1.2.0"
1111
if "a" in VERSION:
1212
VERSION += "+" + subprocess.check_output(["git", "rev-parse", "--short", "HEAD"]).decode("utf-8").strip()
1313

0 commit comments

Comments
 (0)